Searched refs:new_num (Results 1 – 2 of 2) sorted by relevance
57 static inline int old_item_num(int new_num, int affected_item_num, int mode) in old_item_num() argument59 if (mode == M_PASTE || mode == M_CUT || new_num < affected_item_num) in old_item_num()60 return new_num; in old_item_num()64 RFALSE(new_num == 0, in old_item_num()67 return new_num - 1; in old_item_num()74 return new_num + 1; in old_item_num()81 int new_num; in create_virtual_node() local115 for (new_num = 0; new_num < vn->vn_nr_item; new_num++) { in create_virtual_node()117 struct virtual_item *vi = vn->vn_vi + new_num; in create_virtual_node()119 ((new_num != vn->vn_affected_item_num) ? 0 : 1); in create_virtual_node()[all …]
542 u64 new_num; in btrfs_drop_extents() local547 new_num = start - key.offset; in btrfs_drop_extents()556 new_num); in btrfs_drop_extents()559 extent, new_num); in btrfs_drop_extents()