Lines Matching refs:begin
98 unsigned int begin; member
105 brb->begin = 0; in brb_init()
111 return brb->begin == brb->end; in brb_empty()
131 if (next == brb->begin) in brb_push()
151 bop = brb->bops + brb->begin; in brb_peek()
161 brb->begin = brb_next(brb, brb->begin); in brb_pop()
174 dm_block_t begin; member
314 for (i = smm->uncommitted.begin; in sm_metadata_get_count()
354 for (i = smm->uncommitted.begin; in sm_metadata_count_is_more_than_one()
458 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_()
464 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, 0, smm->begin, b); in sm_metadata_new_block_()
470 smm->begin = *b + 1; in sm_metadata_new_block_()
610 *count = smm->ll.nr_blocks - smm->begin; in sm_bootstrap_get_nr_free()
620 *result = (b < smm->begin) ? 1 : 0; in sm_bootstrap_get_count()
648 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block()
651 *b = smm->begin++; in sm_bootstrap_new_block()
728 smm->begin = old_len; in sm_metadata_extend()
743 r = add_bop(smm, BOP_INC, old_len, smm->begin); in sm_metadata_extend()
747 old_len = smm->begin; in sm_metadata_extend()
759 } while (old_len != smm->begin); in sm_metadata_extend()
792 smm->begin = superblock + 1; in dm_sm_metadata_create()
814 r = add_bop(smm, BOP_INC, superblock, smm->begin); in dm_sm_metadata_create()
838 smm->begin = 0; in dm_sm_metadata_open()