Searched refs:this_len (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/ |
D | props.c | 133 u32 total_len, cur, this_len; in iterate_object_props() local 169 this_len = sizeof(*di) + name_len + data_len; in iterate_object_props() 208 cur += this_len; in iterate_object_props() 209 di = (struct btrfs_dir_item *)((char *) di + this_len); in iterate_object_props()
|
D | dir-item.c | 379 u32 this_len; in btrfs_match_dir_item_name() local 387 this_len = sizeof(*dir_item) + in btrfs_match_dir_item_name() 396 cur += this_len; in btrfs_match_dir_item_name() 398 this_len); in btrfs_match_dir_item_name()
|
D | xattr.c | 318 u32 this_len = sizeof(*di) + name_len + data_len; in btrfs_listxattr() local 340 cur += this_len; in btrfs_listxattr() 341 di = (struct btrfs_dir_item *)((char *)di + this_len); in btrfs_listxattr()
|
D | tree-log.c | 2362 u32 this_len = sizeof(*di) + name_len + data_len; in replay_xattr_deletes() local 2400 cur += this_len; in replay_xattr_deletes() 2401 di = (struct btrfs_dir_item *)((char *)di + this_len); in replay_xattr_deletes() 4897 u32 this_len; in btrfs_check_ref_name_override() local 4908 this_len = sizeof(*iref) + this_name_len; in btrfs_check_ref_name_override() 4917 this_len = sizeof(*extref) + this_name_len; in btrfs_check_ref_name_override() 4958 cur_offset += this_len; in btrfs_check_ref_name_override()
|
/fs/ |
D | splice.c | 407 size_t this_len = min_t(size_t, len, PAGE_SIZE - offset); in default_file_splice_read() local 409 vec[i].iov_len = this_len; in default_file_splice_read() 410 len -= this_len; in default_file_splice_read() 724 size_t this_len = buf->len; in iter_file_splice_write() local 726 if (this_len > left) in iter_file_splice_write() 727 this_len = left; in iter_file_splice_write() 740 array[n].bv_len = this_len; in iter_file_splice_write() 742 left -= this_len; in iter_file_splice_write()
|
/fs/proc/ |
D | base.c | 840 int this_len = min_t(int, count, PAGE_SIZE); in mem_rw() local 842 if (write && copy_from_user(page, buf, this_len)) { in mem_rw() 847 this_len = access_remote_vm(mm, addr, page, this_len, flags); in mem_rw() 848 if (!this_len) { in mem_rw() 854 if (!write && copy_to_user(buf, page, this_len)) { in mem_rw() 859 buf += this_len; in mem_rw() 860 addr += this_len; in mem_rw() 861 copied += this_len; in mem_rw() 862 count -= this_len; in mem_rw() 948 size_t this_len, max_len; in environ_read() local [all …]
|
/fs/overlayfs/ |
D | copy_up.c | 149 size_t this_len = OVL_COPY_UP_CHUNK_SIZE; in ovl_copy_up_data() local 152 if (len < this_len) in ovl_copy_up_data() 153 this_len = len; in ovl_copy_up_data() 162 this_len, SPLICE_F_MOVE); in ovl_copy_up_data()
|
/fs/fuse/ |
D | virtio_fs.c | 833 unsigned int this_len; in sg_init_fuse_pages() local 837 this_len = min(page_descs[i].length, total_len); in sg_init_fuse_pages() 838 sg_set_page(&sg[i], pages[i], this_len, page_descs[i].offset); in sg_init_fuse_pages() 839 total_len -= this_len; in sg_init_fuse_pages()
|