[PATCH 5.4 102/215] loop: Refactor loop_set_status() size calculation