Lines Matching refs:del_nr
697 int del_nr = 0; in __btrfs_drop_extents() local
732 BUG_ON(del_nr > 0); in __btrfs_drop_extents()
751 ASSERT(del_nr == 0); in __btrfs_drop_extents()
809 BUG_ON(del_nr > 0); in __btrfs_drop_extents()
890 BUG_ON(del_nr > 0); in __btrfs_drop_extents()
914 if (del_nr == 0) { in __btrfs_drop_extents()
916 del_nr = 1; in __btrfs_drop_extents()
918 BUG_ON(del_slot + del_nr != path->slots[0]); in __btrfs_drop_extents()
919 del_nr++; in __btrfs_drop_extents()
951 del_nr); in __btrfs_drop_extents()
957 del_nr = 0; in __btrfs_drop_extents()
967 if (!ret && del_nr > 0) { in __btrfs_drop_extents()
975 ret = btrfs_del_items(trans, root, path, del_slot, del_nr); in __btrfs_drop_extents()
995 if (!del_nr && path->slots[0] < btrfs_header_nritems(leaf)) { in __btrfs_drop_extents()
1087 int del_nr = 0; in btrfs_mark_extent_written() local
1261 del_nr++; in btrfs_mark_extent_written()
1279 del_nr++; in btrfs_mark_extent_written()
1286 if (del_nr == 0) { in btrfs_mark_extent_written()
1303 ret = btrfs_del_items(trans, root, path, del_slot, del_nr); in btrfs_mark_extent_written()