Lines Matching refs:item_len
1581 unsigned long item_len; in copy_to_sk() local
1599 item_len = btrfs_item_size(leaf, i); in copy_to_sk()
1605 if (sizeof(sh) + item_len > *buf_size) { in copy_to_sk()
1616 *buf_size = sizeof(sh) + item_len; in copy_to_sk()
1617 item_len = 0; in copy_to_sk()
1621 if (sizeof(sh) + item_len + *sk_offset > *buf_size) { in copy_to_sk()
1629 sh.len = item_len; in copy_to_sk()
1645 if (item_len) { in copy_to_sk()
1652 item_off, item_len)) { in copy_to_sk()
1658 *sk_offset += item_len; in copy_to_sk()
1923 unsigned long item_len; in btrfs_search_path_in_tree_user() local
2056 item_len = btrfs_item_size(leaf, slot); in btrfs_search_path_in_tree_user()
2066 item_len -= sizeof(struct btrfs_root_ref); in btrfs_search_path_in_tree_user()
2067 read_extent_buffer(leaf, args->name, item_off, item_len); in btrfs_search_path_in_tree_user()
2068 args->name[item_len] = 0; in btrfs_search_path_in_tree_user()
2171 unsigned long item_len; in btrfs_ioctl_get_subvol_info() local
2253 item_len = btrfs_item_size(leaf, slot) in btrfs_ioctl_get_subvol_info()
2256 item_off, item_len); in btrfs_ioctl_get_subvol_info()