/fs/btrfs/ |
D | dir-item.c | 23 u32 data_size, in insert_with_overflow() argument 33 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in insert_with_overflow() 39 btrfs_extend_item(path, data_size); in insert_with_overflow() 46 BUG_ON(data_size > btrfs_item_size(leaf, item)); in insert_with_overflow() 47 ptr += btrfs_item_size(leaf, item) - data_size; in insert_with_overflow() 67 u32 data_size; in btrfs_insert_xattr_item() local 76 data_size = sizeof(*dir_item) + name_len + data_len; in btrfs_insert_xattr_item() 77 dir_item = insert_with_overflow(trans, root, path, &key, data_size, in btrfs_insert_xattr_item() 121 u32 data_size; in btrfs_insert_dir_item() local 134 data_size = sizeof(*dir_item) + name_len; in btrfs_insert_dir_item() [all …]
|
D | ctree.c | 22 int data_size, int extend); 3634 int data_size, int empty, in __push_leaf_right() argument 3660 push_space += data_size; in __push_leaf_right() 3679 push_space += data_size; in __push_leaf_right() 3783 int min_data_size, int data_size, in push_leaf_right() argument 3816 if (free_space < data_size) in push_leaf_right() 3826 if (free_space < data_size) in push_leaf_right() 3862 static noinline int __push_leaf_left(struct btrfs_path *path, int data_size, in __push_leaf_left() argument 3901 push_space += data_size; in __push_leaf_left() 4018 int data_size, int empty, u32 max_slot) in push_leaf_left() argument [all …]
|
D | xattr.c | 172 const u32 data_size = sizeof(*di) + name_len + size; in btrfs_setxattr() local 190 btrfs_truncate_item(path, data_size, 1); in btrfs_setxattr() 196 btrfs_extend_item(path, data_size); in btrfs_setxattr() 201 ptr += btrfs_item_size(leaf, item) - data_size; in btrfs_setxattr()
|
D | free-space-tree.c | 287 u32 data_size; in convert_free_space_to_bitmaps() local 290 data_size = free_space_bitmap_size(extent_size, in convert_free_space_to_bitmaps() 298 data_size); in convert_free_space_to_bitmaps() 305 data_size); in convert_free_space_to_bitmaps() 310 bitmap_cursor += data_size; in convert_free_space_to_bitmaps() 373 u32 bitmap_pos, data_size; in convert_free_space_to_extents() local 383 data_size = free_space_bitmap_size(found_key.offset, in convert_free_space_to_extents() 388 data_size); in convert_free_space_to_extents()
|
D | delayed-inode.c | 704 u32 *data_size; in btrfs_batch_insert_items() local 757 data_size = kmalloc_array(nitems, sizeof(u32), GFP_NOFS); in btrfs_batch_insert_items() 758 if (!data_size) { in btrfs_batch_insert_items() 767 data_size[i] = next->data_len; in btrfs_batch_insert_items() 772 setup_items_for_insert(root, path, keys, data_size, in btrfs_batch_insert_items() 791 kfree(data_size); in btrfs_batch_insert_items()
|
D | ctree.h | 2541 void btrfs_extend_item(struct btrfs_path *path, u32 data_size); 2583 const struct btrfs_key *cpu_key, u32 *data_size, 2586 const struct btrfs_key *key, void *data, u32 data_size); 2590 const struct btrfs_key *cpu_key, u32 *data_size, 2597 u32 data_size) in btrfs_insert_empty_item() argument 2599 return btrfs_insert_empty_items(trans, root, path, key, &data_size, 1); in btrfs_insert_empty_item()
|
/fs/ecryptfs/ |
D | miscdev.c | 146 int ecryptfs_send_miscdev(char *data, size_t data_size, in ecryptfs_send_miscdev() argument 152 msg = kmalloc((sizeof(*msg) + data_size), GFP_KERNEL); in ecryptfs_send_miscdev() 159 msg_ctx->msg->data_len = data_size; in ecryptfs_send_miscdev() 161 memcpy(msg_ctx->msg->data, data, data_size); in ecryptfs_send_miscdev() 162 msg_ctx->msg_size = (sizeof(*msg_ctx->msg) + data_size); in ecryptfs_send_miscdev() 322 size_t data_size, u32 seq) in ecryptfs_miscdev_response() argument 327 if ((sizeof(*msg) + msg->data_len) != data_size) { in ecryptfs_miscdev_response() 330 (sizeof(*msg) + msg->data_len), data_size); in ecryptfs_miscdev_response()
|
D | ecryptfs_kernel.h | 688 int ecryptfs_send_miscdev(char *data, size_t data_size,
|
/fs/ntfs/ |
D | attrib.h | 71 return sle64_to_cpu(a->data.non_resident.data_size); in ntfs_attr_size() 92 extern int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size);
|
D | attrib.c | 1521 int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size) in ntfs_attr_make_non_resident() argument 1559 new_size = (data_size + vol->cluster_size - 1) & in ntfs_attr_make_non_resident() 1643 BUG_ON(attr_size != data_size); in ntfs_attr_make_non_resident() 1678 a->data.non_resident.data_size = in ntfs_attr_make_non_resident() 2347 sle64_to_cpu(a->data.non_resident.data_size)); in ntfs_attr_extend_allocation() 2348 a->data.non_resident.data_size = cpu_to_sle64(new_data_size); in ntfs_attr_extend_allocation()
|
D | inode.c | 939 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_inode() 1103 a->data.non_resident.data_size); in ntfs_read_locked_inode() 1378 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_attr_inode() 1637 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_index_inode() 2041 a->data.non_resident.data_size); in ntfs_read_inode_mount() 2623 a->data.non_resident.data_size = cpu_to_sle64(new_size); in ntfs_truncate() 2768 a->data.non_resident.data_size = cpu_to_sle64(new_size); in ntfs_truncate()
|
D | layout.h | 759 /* 48*/ sle64 data_size; /* Byte size of the attribute member 1064 /* 30*/ sle64 data_size; /* Byte size of actual data in unnamed member
|
D | file.c | 197 sle64_to_cpu(a->data.non_resident.data_size)); in ntfs_attr_extend_initialized() 198 a->data.non_resident.data_size = cpu_to_sle64(new_init_size); in ntfs_attr_extend_initialized() 1480 a->data.non_resident.data_size = in ntfs_commit_pages_after_non_resident_write()
|
D | mft.c | 1622 a->data.non_resident.data_size = in ntfs_mft_bitmap_extend_initialized_nolock() 1670 a->data.non_resident.data_size = cpu_to_sle64(old_data_size); in ntfs_mft_bitmap_extend_initialized_nolock() 2480 a->data.non_resident.data_size = in ntfs_mft_record_alloc()
|
/fs/nfs/ |
D | nfs4idmap.c | 306 size_t data_size, struct idmap *idmap) in nfs_idmap_get_key() argument 336 if (ret > 0 && ret <= data_size) in nfs_idmap_get_key() 369 ssize_t data_size; in nfs_idmap_lookup_id() local 372 data_size = nfs_idmap_get_key(name, namelen, type, id_str, NFS_UINT_MAXLEN, idmap); in nfs_idmap_lookup_id() 373 if (data_size <= 0) { in nfs_idmap_lookup_id()
|
/fs/ |
D | fs_context.c | 35 size_t data_size; member 542 src_ctx->data_size, GFP_KERNEL); in legacy_fs_context_dup() 560 unsigned int size = ctx->data_size; in legacy_parse_param() 611 ctx->data_size = size; in legacy_parse_param()
|
/fs/ext4/ |
D | move_extent.c | 257 unsigned int tmp_data_size, data_size, replaced_size; in move_extent_per_page() local 296 data_size = tmp_data_size + in move_extent_per_page() 299 data_size = block_len_in_page << orig_inode->i_blkbits; in move_extent_per_page() 301 replaced_size = data_size; in move_extent_per_page()
|
/fs/proc/ |
D | vmcore.c | 1456 size_t data_size; in vmcore_add_device_dump() local 1475 data_size = roundup(sizeof(struct vmcoredd_header) + data->size, in vmcore_add_device_dump() 1479 buf = vmcore_alloc_buf(data_size); in vmcore_add_device_dump() 1485 vmcoredd_write_header(buf, data, data_size - in vmcore_add_device_dump() 1495 dump->size = data_size; in vmcore_add_device_dump() 1502 vmcoredd_update_size(data_size); in vmcore_add_device_dump()
|
/fs/verity/ |
D | open.c | 176 if (le64_to_cpu(desc->data_size) != inode->i_size) { in fsverity_create_info() 179 le64_to_cpu(desc->data_size), inode->i_size); in fsverity_create_info()
|
D | fsverity_private.h | 87 __le64 data_size; /* size of file the Merkle tree is built over */ member
|
D | enable.c | 196 desc->data_size = cpu_to_le64(inode->i_size); in enable_verity()
|
/fs/befs/ |
D | befs_fs_types.h | 171 fs16 data_size; member
|
/fs/cifs/ |
D | smb2ops.c | 3882 init_read_bvec(struct page **pages, unsigned int npages, unsigned int data_size, in init_read_bvec() argument 3895 bvec[i].bv_len = min_t(unsigned int, PAGE_SIZE, data_size); in init_read_bvec() 3896 data_size -= bvec[i].bv_len; in init_read_bvec() 3899 if (data_size != 0) { in init_read_bvec()
|
/fs/fuse/ |
D | file.c | 1621 __u64 data_size = wpa->ia.ap.num_pages * PAGE_SIZE; in fuse_send_writepage() local 1625 if (inarg->offset + data_size <= size) { in fuse_send_writepage() 1626 inarg->size = data_size; in fuse_send_writepage()
|