Lines Matching refs:next_lpos
634 unsigned long next_lpos; in data_push_tail() local
672 if (!data_make_reusable(rb, tail_lpos, lpos, &next_lpos)) { in data_push_tail()
748 next_lpos)) { /* LMM(data_push_tail:D) */ in data_push_tail()
1003 unsigned long next_lpos; in get_next_lpos() local
1006 next_lpos = lpos + size; in get_next_lpos()
1009 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos)) in get_next_lpos()
1010 return next_lpos; in get_next_lpos()
1013 return (DATA_THIS_WRAP_START_LPOS(data_ring, next_lpos) + size); in get_next_lpos()
1027 unsigned long next_lpos; in data_alloc() local
1041 next_lpos = get_next_lpos(data_ring, begin_lpos, size); in data_alloc()
1043 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) { in data_alloc()
1068 next_lpos)); /* LMM(data_alloc:A) */ in data_alloc()
1073 if (DATA_WRAPS(data_ring, begin_lpos) != DATA_WRAPS(data_ring, next_lpos)) { in data_alloc()
1085 blk_lpos->next = next_lpos; in data_alloc()
1108 unsigned long next_lpos; in data_realloc() local
1121 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc()
1124 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()
1132 if (!data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) in data_realloc()
1137 next_lpos)) { /* LMM(data_realloc:A) */ in data_realloc()
1143 if (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, next_lpos)) { in data_realloc()
1166 blk_lpos->next = next_lpos; in data_realloc()