Lines Matching refs:item_len
2431 unsigned long item_len; in copy_to_sk() local
2449 item_len = btrfs_item_size(leaf, i); in copy_to_sk()
2455 if (sizeof(sh) + item_len > *buf_size) { in copy_to_sk()
2466 *buf_size = sizeof(sh) + item_len; in copy_to_sk()
2467 item_len = 0; in copy_to_sk()
2471 if (sizeof(sh) + item_len + *sk_offset > *buf_size) { in copy_to_sk()
2479 sh.len = item_len; in copy_to_sk()
2495 if (item_len) { in copy_to_sk()
2502 item_off, item_len)) { in copy_to_sk()
2508 *sk_offset += item_len; in copy_to_sk()
2774 unsigned long item_len; in btrfs_search_path_in_tree_user() local
2901 item_len = btrfs_item_size(leaf, slot); in btrfs_search_path_in_tree_user()
2911 item_len -= sizeof(struct btrfs_root_ref); in btrfs_search_path_in_tree_user()
2912 read_extent_buffer(leaf, args->name, item_off, item_len); in btrfs_search_path_in_tree_user()
2913 args->name[item_len] = 0; in btrfs_search_path_in_tree_user()
3016 unsigned long item_len; in btrfs_ioctl_get_subvol_info() local
3098 item_len = btrfs_item_size(leaf, slot) in btrfs_ioctl_get_subvol_info()
3101 item_off, item_len); in btrfs_ioctl_get_subvol_info()