Searched refs:affected_item_num (Results 1 – 2 of 2) sorted by relevance
978 void leaf_paste_in_buffer(struct buffer_info *bi, int affected_item_num, in leaf_paste_in_buffer() argument1011 ih = item_head(bh, affected_item_num); in leaf_paste_in_buffer()1013 last_loc = ih_location(&ih[nr - affected_item_num - 1]); in leaf_paste_in_buffer()1014 unmoved_loc = affected_item_num ? ih_location(ih - 1) : bh->b_size; in leaf_paste_in_buffer()1021 for (i = affected_item_num; i < nr; i++) in leaf_paste_in_buffer()1022 put_ih_location(&ih[i - affected_item_num], in leaf_paste_in_buffer()1023 ih_location(&ih[i - affected_item_num]) - in leaf_paste_in_buffer()
31 static inline int old_item_num(int new_num, int affected_item_num, int mode) in old_item_num() argument33 if (mode == M_PASTE || mode == M_CUT || new_num < affected_item_num) in old_item_num()