Lines Matching full:begin
96 unsigned begin; member
103 brb->begin = 0; in brb_init()
109 return brb->begin == brb->end; in brb_empty()
128 if (next == brb->begin) in brb_push()
147 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
312 for (i = smm->uncommitted.begin; in sm_metadata_get_count()
352 for (i = smm->uncommitted.begin; in sm_metadata_count_is_more_than_one()
451 r = sm_ll_find_free_block(&smm->old_ll, smm->begin, smm->old_ll.nr_blocks, b); in sm_metadata_new_block_()
455 smm->begin = *b + 1; in sm_metadata_new_block_()
503 smm->begin = 0; in sm_metadata_commit()
595 *count = smm->ll.nr_blocks - smm->begin; in sm_bootstrap_get_nr_free()
605 *result = (b < smm->begin) ? 1 : 0; in sm_bootstrap_get_count()
633 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block()
636 *b = smm->begin++; in sm_bootstrap_new_block()
703 smm->begin = old_len; in sm_metadata_extend()
718 for (i = old_len; !r && i < smm->begin; i++) in sm_metadata_extend()
724 old_len = smm->begin; in sm_metadata_extend()
736 } while (old_len != smm->begin); in sm_metadata_extend()
770 smm->begin = superblock + 1; in dm_sm_metadata_create()
792 for (i = superblock; !r && i < smm->begin; i++) in dm_sm_metadata_create()
818 smm->begin = 0; in dm_sm_metadata_open()