Searched refs:sub_item_len (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | dir-item.c | 424 u32 sub_item_len; in btrfs_delete_one_dir_name() local 429 sub_item_len = sizeof(*di) + btrfs_dir_name_len(leaf, di) + in btrfs_delete_one_dir_name() 432 if (sub_item_len == item_len) { in btrfs_delete_one_dir_name() 440 memmove_extent_buffer(leaf, ptr, ptr + sub_item_len, in btrfs_delete_one_dir_name() 441 item_len - (ptr + sub_item_len - start)); in btrfs_delete_one_dir_name() 442 btrfs_truncate_item(trans, path, item_len - sub_item_len, 1); in btrfs_delete_one_dir_name()
|
H A D | inode-item.c | 189 u32 sub_item_len; in btrfs_del_inode_ref() local 228 sub_item_len = name->len + sizeof(*ref); in btrfs_del_inode_ref() 230 memmove_extent_buffer(leaf, ptr, ptr + sub_item_len, in btrfs_del_inode_ref() 231 item_size - (ptr + sub_item_len - item_start)); in btrfs_del_inode_ref() 232 btrfs_truncate_item(trans, path, item_size - sub_item_len, 1); in btrfs_del_inode_ref()
|