Lines Matching refs:next_lpos
634 unsigned long next_lpos; in data_push_tail() local
673 &next_lpos)) { in data_push_tail()
749 next_lpos)) { /* LMM(data_push_tail:D) */ in data_push_tail()
1004 unsigned long next_lpos; in get_next_lpos() local
1007 next_lpos = lpos + size; in get_next_lpos()
1010 if (DATA_WRAPS(data_ring, begin_lpos) == DATA_WRAPS(data_ring, next_lpos)) in get_next_lpos()
1011 return next_lpos; in get_next_lpos()
1014 return (DATA_THIS_WRAP_START_LPOS(data_ring, next_lpos) + size); in get_next_lpos()
1028 unsigned long next_lpos; in data_alloc() local
1042 next_lpos = get_next_lpos(data_ring, begin_lpos, size); in data_alloc()
1044 if (!data_push_tail(rb, data_ring, next_lpos - DATA_SIZE(data_ring))) { in data_alloc()
1069 next_lpos)); /* LMM(data_alloc:A) */ in data_alloc()
1074 if (DATA_WRAPS(data_ring, begin_lpos) != DATA_WRAPS(data_ring, next_lpos)) { in data_alloc()
1086 blk_lpos->next = next_lpos; in data_alloc()
1109 unsigned long next_lpos; in data_realloc() local
1122 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc()
1125 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) { in data_realloc()
1133 if (!data_push_tail(rb, data_ring, next_lpos - DATA_SIZE(data_ring))) in data_realloc()
1138 next_lpos)) { /* LMM(data_realloc:A) */ in data_realloc()
1144 if (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, next_lpos)) { in data_realloc()
1167 blk_lpos->next = next_lpos; in data_realloc()