Home
last modified time | relevance | path

Searched refs:sub_item_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/btrfs/
Ddir-item.c420 u32 sub_item_len; in btrfs_delete_one_dir_name() local
425 sub_item_len = sizeof(*di) + btrfs_dir_name_len(leaf, di) + in btrfs_delete_one_dir_name()
428 if (sub_item_len == item_len) { in btrfs_delete_one_dir_name()
436 memmove_extent_buffer(leaf, ptr, ptr + sub_item_len, in btrfs_delete_one_dir_name()
437 item_len - (ptr + sub_item_len - start)); in btrfs_delete_one_dir_name()
438 btrfs_truncate_item(path, item_len - sub_item_len, 1); in btrfs_delete_one_dir_name()
Dinode-item.c182 u32 sub_item_len; in btrfs_del_inode_ref() local
222 sub_item_len = name_len + sizeof(*ref); in btrfs_del_inode_ref()
224 memmove_extent_buffer(leaf, ptr, ptr + sub_item_len, in btrfs_del_inode_ref()
225 item_size - (ptr + sub_item_len - item_start)); in btrfs_del_inode_ref()
226 btrfs_truncate_item(path, item_size - sub_item_len, 1); in btrfs_del_inode_ref()