Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 25 of 25) sorted by relevance

/fs/btrfs/
Ddir-item.c23 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 …]
Dctree.c22 int data_size, int extend);
3676 int data_size, int empty, in __push_leaf_right() argument
3702 push_space += data_size; in __push_leaf_right()
3721 push_space += data_size; in __push_leaf_right()
3825 int min_data_size, int data_size, in push_leaf_right() argument
3858 if (free_space < data_size) in push_leaf_right()
3868 if (free_space < data_size) in push_leaf_right()
3911 static noinline int __push_leaf_left(struct btrfs_path *path, int data_size, in __push_leaf_left() argument
3950 push_space += data_size; in __push_leaf_left()
4065 int data_size, int empty, u32 max_slot) in push_leaf_left() argument
[all …]
Dxattr.c172 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()
Dfree-space-tree.c290 u32 data_size; in convert_free_space_to_bitmaps() local
293 data_size = free_space_bitmap_size(extent_size, in convert_free_space_to_bitmaps()
301 data_size); in convert_free_space_to_bitmaps()
308 data_size); in convert_free_space_to_bitmaps()
313 bitmap_cursor += data_size; in convert_free_space_to_bitmaps()
376 u32 bitmap_pos, data_size; in convert_free_space_to_extents() local
386 data_size = free_space_bitmap_size(found_key.offset, in convert_free_space_to_extents()
391 data_size); in convert_free_space_to_extents()
Ddelayed-inode.c704 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, nitems); in btrfs_batch_insert_items()
790 kfree(data_size); in btrfs_batch_insert_items()
Dctree.h2722 void btrfs_extend_item(struct btrfs_path *path, u32 data_size);
2762 const struct btrfs_key *cpu_key, u32 *data_size,
2765 const struct btrfs_key *key, void *data, u32 data_size);
2769 const struct btrfs_key *cpu_key, u32 *data_size,
2776 u32 data_size) in btrfs_insert_empty_item() argument
2778 return btrfs_insert_empty_items(trans, root, path, key, &data_size, 1); in btrfs_insert_empty_item()
/fs/ecryptfs/
Dmiscdev.c146 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()
Decryptfs_kernel.h688 int ecryptfs_send_miscdev(char *data, size_t data_size,
/fs/ntfs/
Dattrib.h71 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);
Dattrib.c1545 int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size) in ntfs_attr_make_non_resident() argument
1583 new_size = (data_size + vol->cluster_size - 1) & in ntfs_attr_make_non_resident()
1667 BUG_ON(attr_size != data_size); in ntfs_attr_make_non_resident()
1702 a->data.non_resident.data_size = in ntfs_attr_make_non_resident()
2371 sle64_to_cpu(a->data.non_resident.data_size)); in ntfs_attr_extend_allocation()
2372 a->data.non_resident.data_size = cpu_to_sle64(new_data_size); in ntfs_attr_extend_allocation()
Dinode.c946 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_inode()
1110 a->data.non_resident.data_size); in ntfs_read_locked_inode()
1385 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_attr_inode()
1644 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_index_inode()
2065 a->data.non_resident.data_size); in ntfs_read_inode_mount()
2647 a->data.non_resident.data_size = cpu_to_sle64(new_size); in ntfs_truncate()
2792 a->data.non_resident.data_size = cpu_to_sle64(new_size); in ntfs_truncate()
Dlayout.h759 /* 48*/ sle64 data_size; /* Byte size of the attribute member
1064 /* 30*/ sle64 data_size; /* Byte size of actual data in unnamed member
Dfile.c197 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()
Dmft.c1622 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/zonefs/
Dsuper.c337 loff_t isize, data_size; in zonefs_handle_io_error() local
345 data_size = zonefs_check_zone_condition(inode, zone, true, false); in zonefs_handle_io_error()
349 !write && isize == data_size) in zonefs_handle_io_error()
371 if (isize != data_size) in zonefs_handle_io_error()
374 inode->i_ino, isize, data_size); in zonefs_handle_io_error()
388 data_size = zonefs_check_zone_condition(inode, zone, in zonefs_handle_io_error()
397 data_size = zonefs_check_zone_condition(inode, zone, in zonefs_handle_io_error()
401 data_size > isize) { in zonefs_handle_io_error()
403 data_size = isize; in zonefs_handle_io_error()
430 zonefs_update_stats(inode, data_size); in zonefs_handle_io_error()
[all …]
/fs/nfs/
Dnfs4idmap.c307 size_t data_size, struct idmap *idmap) in nfs_idmap_get_key() argument
337 if (ret > 0 && ret <= data_size) in nfs_idmap_get_key()
370 ssize_t data_size; in nfs_idmap_lookup_id() local
373 data_size = nfs_idmap_get_key(name, namelen, type, id_str, NFS_UINT_MAXLEN, idmap); in nfs_idmap_lookup_id()
374 if (data_size <= 0) { in nfs_idmap_lookup_id()
/fs/
Dfs_context.c35 size_t data_size; member
487 src_ctx->data_size, GFP_KERNEL); in legacy_fs_context_dup()
505 unsigned int size = ctx->data_size; in legacy_parse_param()
557 ctx->data_size = size; in legacy_parse_param()
/fs/ext4/
Dmove_extent.c257 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/
Dvmcore.c1460 size_t data_size; in vmcore_add_device_dump() local
1479 data_size = roundup(sizeof(struct vmcoredd_header) + data->size, in vmcore_add_device_dump()
1483 buf = vmcore_alloc_buf(data_size); in vmcore_add_device_dump()
1489 vmcoredd_write_header(buf, data, data_size - in vmcore_add_device_dump()
1499 dump->size = data_size; in vmcore_add_device_dump()
1506 vmcoredd_update_size(data_size); in vmcore_add_device_dump()
/fs/verity/
Dopen.c247 if (le64_to_cpu(desc->data_size) != inode->i_size) { in validate_fsverity_descriptor()
250 le64_to_cpu(desc->data_size), inode->i_size); in validate_fsverity_descriptor()
Denable.c235 desc->data_size = cpu_to_le64(inode->i_size); in enable_verity()
/fs/befs/
Dbefs_fs_types.h171 fs16 data_size; member
/fs/incfs/
Dverity.c267 .data_size = cpu_to_le64(inode->i_size), in incfs_get_fsverity_descriptor()
/fs/fuse/
Dfile.c1761 __u64 data_size = wpa->ia.ap.num_pages * PAGE_SIZE; in fuse_send_writepage() local
1765 if (inarg->offset + data_size <= size) { in fuse_send_writepage()
1766 inarg->size = data_size; in fuse_send_writepage()
/fs/cifs/
Dsmb2ops.c4537 init_read_bvec(struct page **pages, unsigned int npages, unsigned int data_size, in init_read_bvec() argument
4550 bvec[i].bv_len = min_t(unsigned int, PAGE_SIZE, data_size); in init_read_bvec()
4551 data_size -= bvec[i].bv_len; in init_read_bvec()
4554 if (data_size != 0) { in init_read_bvec()