Home
last modified time | relevance | path

Searched refs:cl_num_shrunk (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Discsi.c498 int64_t cl_num_expanded, nb_cls_expanded, cl_num_shrunk, nb_cls_shrunk; in iscsi_allocmap_update() local
509 cl_num_shrunk = DIV_ROUND_UP(offset, iscsilun->cluster_size); in iscsi_allocmap_update()
510 nb_cls_shrunk = (offset + bytes) / iscsilun->cluster_size - cl_num_shrunk; in iscsi_allocmap_update()
515 bitmap_clear(iscsilun->allocmap, cl_num_shrunk, nb_cls_shrunk); in iscsi_allocmap_update()
524 bitmap_set(iscsilun->allocmap_valid, cl_num_shrunk, nb_cls_shrunk); in iscsi_allocmap_update()