Lines Matching refs:next
326 LPOS_DATALESS((blk)->next))
619 lpos_begin = blk_lpos->next; in data_make_reusable()
813 if (!data_push_tail(rb, &rb->text_data_ring, desc.text_blk_lpos.next)) in desc_push_tail()
1036 blk_lpos->next = NO_LPOS; in data_alloc()
1050 blk_lpos->next = FAILED_LPOS; in data_alloc()
1089 blk_lpos->next = next_lpos; in data_alloc()
1117 if (head_lpos != blk_lpos->next) in data_realloc()
1121 wrapped = (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, blk_lpos->next)); in data_realloc()
1166 (blk_lpos->next - blk_lpos->begin) - sizeof(blk->id)); in data_realloc()
1170 blk_lpos->next = next_lpos; in data_realloc()
1183 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next)) { in space_used()
1185 return (DATA_INDEX(data_ring, blk_lpos->next) - in space_used()
1193 return (DATA_INDEX(data_ring, blk_lpos->next) + in space_used()
1214 if (blk_lpos->begin == NO_LPOS && blk_lpos->next == NO_LPOS) { in get_data()
1222 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next) && in get_data()
1223 blk_lpos->begin < blk_lpos->next) { in get_data()
1225 *data_size = blk_lpos->next - blk_lpos->begin; in get_data()
1229 DATA_WRAPS(data_ring, blk_lpos->next)) { in get_data()
1231 *data_size = DATA_INDEX(data_ring, blk_lpos->next); in get_data()
1241 WARN_ON_ONCE(blk_lpos->next != ALIGN(blk_lpos->next, sizeof(db->id)))) { in get_data()
1685 const char *next = text; in count_lines() local
1688 next = memchr(next, '\n', next_size); in count_lines()
1689 if (!next) in count_lines()
1692 next++; in count_lines()
1693 next_size = text_size - (next - text); in count_lines()
1785 (blk_lpos->begin == FAILED_LPOS && blk_lpos->next == FAILED_LPOS)) { in desc_read_finalized_seq()
2101 descs[_DESCS_COUNT(descbits) - 1].text_blk_lpos.next = FAILED_LPOS; in prb_init()