Lines Matching refs:del_nr
217 int del_nr = 0; in btrfs_drop_extents() local
265 BUG_ON(del_nr > 0); in btrfs_drop_extents()
283 ASSERT(del_nr == 0); in btrfs_drop_extents()
341 BUG_ON(del_nr > 0); in btrfs_drop_extents()
426 BUG_ON(del_nr > 0); in btrfs_drop_extents()
450 if (del_nr == 0) { in btrfs_drop_extents()
452 del_nr = 1; in btrfs_drop_extents()
454 BUG_ON(del_slot + del_nr != path->slots[0]); in btrfs_drop_extents()
455 del_nr++; in btrfs_drop_extents()
489 del_nr); in btrfs_drop_extents()
495 del_nr = 0; in btrfs_drop_extents()
505 if (!ret && del_nr > 0) { in btrfs_drop_extents()
513 ret = btrfs_del_items(trans, root, path, del_slot, del_nr); in btrfs_drop_extents()
532 if (!del_nr && path->slots[0] < btrfs_header_nritems(leaf)) { in btrfs_drop_extents()
611 int del_nr = 0; in btrfs_mark_extent_written() local
786 del_nr++; in btrfs_mark_extent_written()
804 del_nr++; in btrfs_mark_extent_written()
811 if (del_nr == 0) { in btrfs_mark_extent_written()
828 ret = btrfs_del_items(trans, root, path, del_slot, del_nr); in btrfs_mark_extent_written()