Lines Matching refs:next_lpos
641 unsigned long next_lpos; in data_push_tail() local
679 if (!data_make_reusable(rb, tail_lpos, lpos, &next_lpos)) { in data_push_tail()
755 next_lpos)) { /* LMM(data_push_tail:D) */ in data_push_tail()
1010 unsigned long next_lpos; in get_next_lpos() local
1013 next_lpos = lpos + size; in get_next_lpos()
1016 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos)) in get_next_lpos()
1017 return next_lpos; in get_next_lpos()
1020 return (DATA_THIS_WRAP_START_LPOS(data_ring, next_lpos) + size); in get_next_lpos()
1034 unsigned long next_lpos; in data_alloc() local
1052 next_lpos = get_next_lpos(data_ring, begin_lpos, size); in data_alloc()
1054 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) { in data_alloc()
1079 next_lpos)); /* LMM(data_alloc:A) */ in data_alloc()
1084 if (DATA_WRAPS(data_ring, begin_lpos) != DATA_WRAPS(data_ring, next_lpos)) { in data_alloc()
1096 blk_lpos->next = next_lpos; in data_alloc()
1119 unsigned long next_lpos; in data_realloc() local
1132 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc()
1135 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()
1143 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) in data_realloc()
1148 next_lpos)) { /* LMM(data_realloc:A) */ in data_realloc()
1154 if (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, next_lpos)) { in data_realloc()
1177 blk_lpos->next = next_lpos; in data_realloc()