Lines Matching refs:next_lpos
637 unsigned long next_lpos; in data_push_tail() local
675 if (!data_make_reusable(rb, tail_lpos, lpos, &next_lpos)) { in data_push_tail()
751 next_lpos)) { /* LMM(data_push_tail:D) */ in data_push_tail()
1006 unsigned long next_lpos; in get_next_lpos() local
1009 next_lpos = lpos + size; in get_next_lpos()
1012 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos)) in get_next_lpos()
1013 return next_lpos; in get_next_lpos()
1016 return (DATA_THIS_WRAP_START_LPOS(data_ring, next_lpos) + size); in get_next_lpos()
1030 unsigned long next_lpos; in data_alloc() local
1044 next_lpos = get_next_lpos(data_ring, begin_lpos, size); in data_alloc()
1046 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) { in data_alloc()
1071 next_lpos)); /* LMM(data_alloc:A) */ in data_alloc()
1076 if (DATA_WRAPS(data_ring, begin_lpos) != DATA_WRAPS(data_ring, next_lpos)) { in data_alloc()
1088 blk_lpos->next = next_lpos; in data_alloc()
1111 unsigned long next_lpos; in data_realloc() local
1124 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc()
1127 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()
1135 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) in data_realloc()
1140 next_lpos)) { /* LMM(data_realloc:A) */ in data_realloc()
1146 if (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, next_lpos)) { in data_realloc()
1169 blk_lpos->next = next_lpos; in data_realloc()