Lines Matching refs:next
330 LPOS_DATALESS((blk)->next))
624 lpos_begin = blk_lpos->next; in data_make_reusable()
816 if (!data_push_tail(rb, desc.text_blk_lpos.next)) in desc_push_tail()
1043 blk_lpos->next = EMPTY_LINE_LPOS; in data_alloc()
1057 blk_lpos->next = FAILED_LPOS; in data_alloc()
1096 blk_lpos->next = next_lpos; in data_alloc()
1124 if (head_lpos != blk_lpos->next) in data_realloc()
1128 wrapped = (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, blk_lpos->next)); in data_realloc()
1173 (blk_lpos->next - blk_lpos->begin) - sizeof(blk->id)); in data_realloc()
1177 blk_lpos->next = next_lpos; in data_realloc()
1190 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next)) { in space_used()
1192 return (DATA_INDEX(data_ring, blk_lpos->next) - in space_used()
1200 return (DATA_INDEX(data_ring, blk_lpos->next) + in space_used()
1227 blk_lpos->next == EMPTY_LINE_LPOS) { in get_data()
1237 if (DATA_WRAPS(data_ring, blk_lpos->begin) == DATA_WRAPS(data_ring, blk_lpos->next) && in get_data()
1238 blk_lpos->begin < blk_lpos->next) { in get_data()
1240 *data_size = blk_lpos->next - blk_lpos->begin; in get_data()
1244 DATA_WRAPS(data_ring, blk_lpos->next)) { in get_data()
1246 *data_size = DATA_INDEX(data_ring, blk_lpos->next); in get_data()
1256 WARN_ON_ONCE(blk_lpos->next != ALIGN(blk_lpos->next, sizeof(db->id)))) { in get_data()
1794 const char *next = text; in count_lines() local
1797 next = memchr(next, '\n', next_size); in count_lines()
1798 if (!next) in count_lines()
1801 next++; in count_lines()
1802 next_size = text_size - (next - text); in count_lines()
1894 (blk_lpos->begin == FAILED_LPOS && blk_lpos->next == FAILED_LPOS)) { in desc_read_finalized_seq()
2331 descs[_DESCS_COUNT(descbits) - 1].text_blk_lpos.next = FAILED_LPOS; in prb_init()