Lines Matching defs:next_lpos
638 unsigned long next_lpos;
676 if (!data_make_reusable(rb, tail_lpos, lpos, &next_lpos)) {
752 next_lpos)) { /* LMM(data_push_tail:D) */
1007 unsigned long next_lpos;
1010 next_lpos = lpos + size;
1013 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos))
1014 return next_lpos;
1017 return (DATA_THIS_WRAP_START_LPOS(data_ring, next_lpos) + size);
1031 unsigned long next_lpos;
1049 next_lpos = get_next_lpos(data_ring, begin_lpos, size);
1060 if (WARN_ON_ONCE(next_lpos - begin_lpos > DATA_SIZE(data_ring)) ||
1061 !data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) {
1085 next_lpos)); /* LMM(data_alloc:A) */
1090 if (DATA_WRAPS(data_ring, begin_lpos) != DATA_WRAPS(data_ring, next_lpos)) {
1102 blk_lpos->next = next_lpos;
1125 unsigned long next_lpos;
1138 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size);
1141 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) {
1157 if (WARN_ON_ONCE(next_lpos - blk_lpos->begin > DATA_SIZE(data_ring)) ||
1158 !data_push_tail(rb, next_lpos - DATA_SIZE(data_ring))) {
1164 next_lpos)) { /* LMM(data_realloc:A) */
1170 if (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, next_lpos)) {
1193 blk_lpos->next = next_lpos;