Searched refs:affected_item_num (Results 1 – 2 of 2) sorted by relevance
806 void leaf_paste_in_buffer (struct buffer_info * bi, int affected_item_num, in leaf_paste_in_buffer() argument838 ih = B_N_PITEM_HEAD(bh, affected_item_num); in leaf_paste_in_buffer()840 last_loc = ih_location( &(ih[nr - affected_item_num - 1]) ); in leaf_paste_in_buffer()841 unmoved_loc = affected_item_num ? ih_location( ih-1 ) : bh->b_size; in leaf_paste_in_buffer()849 for (i = affected_item_num; i < nr; i ++) in leaf_paste_in_buffer()850 put_ih_location( &(ih[i-affected_item_num]), in leaf_paste_in_buffer()851 ih_location( &(ih[i-affected_item_num])) - paste_size ); in leaf_paste_in_buffer()
61 static inline int old_item_num (int new_num, int affected_item_num, int mode) in old_item_num() argument63 if (mode == M_PASTE || mode == M_CUT || new_num < affected_item_num) in old_item_num()