Lines Matching refs:begin

325 #define BLK_DATALESS(blk)		(LPOS_DATALESS((blk)->begin) && \
605 if (blk_lpos->begin != lpos_begin) in data_make_reusable()
614 if (blk_lpos->begin != lpos_begin) in data_make_reusable()
1034 blk_lpos->begin = NO_LPOS; in data_alloc()
1048 blk_lpos->begin = FAILED_LPOS; in data_alloc()
1087 blk_lpos->begin = begin_lpos; in data_alloc()
1120 wrapped = (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, blk_lpos->next)); in data_realloc()
1124 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc()
1131 blk = to_block(data_ring, blk_lpos->begin); in data_realloc()
1144 blk = to_block(data_ring, blk_lpos->begin); in data_realloc()
1146 if (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, next_lpos)) { in data_realloc()
1165 (blk_lpos->next - blk_lpos->begin) - sizeof(blk->id)); in data_realloc()
1182 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next)) { in space_used()
1185 DATA_INDEX(data_ring, blk_lpos->begin)); in space_used()
1193 DATA_SIZE(data_ring) - DATA_INDEX(data_ring, blk_lpos->begin)); in space_used()
1213 if (blk_lpos->begin == NO_LPOS && blk_lpos->next == NO_LPOS) { in get_data()
1221 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next) && in get_data()
1222 blk_lpos->begin < blk_lpos->next) { in get_data()
1223 db = to_block(data_ring, blk_lpos->begin); in get_data()
1224 *data_size = blk_lpos->next - blk_lpos->begin; in get_data()
1227 } else if (DATA_WRAPS(data_ring, blk_lpos->begin + DATA_SIZE(data_ring)) == in get_data()
1239 if (WARN_ON_ONCE(blk_lpos->begin != ALIGN(blk_lpos->begin, sizeof(db->id))) || in get_data()
1783 (blk_lpos->begin == FAILED_LPOS && blk_lpos->next == FAILED_LPOS)) { in desc_read_finalized_seq()
2098 descs[_DESCS_COUNT(descbits) - 1].text_blk_lpos.begin = FAILED_LPOS; in prb_init()