Lines Matching refs:begin
97 unsigned begin; member
104 brb->begin = 0; in brb_init()
110 return brb->begin == brb->end; in brb_empty()
129 if (next == brb->begin) in brb_push()
149 bop = brb->bops + brb->begin; in brb_peek()
159 brb->begin = brb_next(brb, brb->begin); in brb_pop()
172 dm_block_t begin; member
311 for (i = smm->uncommitted.begin; in sm_metadata_get_count()
351 for (i = smm->uncommitted.begin; in sm_metadata_count_is_more_than_one()
455 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_()
461 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, 0, smm->begin, b); in sm_metadata_new_block_()
467 smm->begin = *b + 1; in sm_metadata_new_block_()
606 *count = smm->ll.nr_blocks - smm->begin; in sm_bootstrap_get_nr_free()
616 *result = (b < smm->begin) ? 1 : 0; in sm_bootstrap_get_count()
644 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block()
647 *b = smm->begin++; in sm_bootstrap_new_block()
724 smm->begin = old_len; in sm_metadata_extend()
739 r = add_bop(smm, BOP_INC, old_len, smm->begin); in sm_metadata_extend()
743 old_len = smm->begin; in sm_metadata_extend()
755 } while (old_len != smm->begin); in sm_metadata_extend()
788 smm->begin = superblock + 1; in dm_sm_metadata_create()
810 r = add_bop(smm, BOP_INC, superblock, smm->begin); in dm_sm_metadata_create()
834 smm->begin = 0; in dm_sm_metadata_open()