Home
last modified time | relevance | path

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

/fs/btrfs/
Ddir-item.c37 u32 data_size, in insert_with_overflow() argument
46 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in insert_with_overflow()
52 btrfs_extend_item(trans, root, path, data_size); in insert_with_overflow()
59 BUG_ON(data_size > btrfs_item_size(leaf, item)); in insert_with_overflow()
60 ptr += btrfs_item_size(leaf, item) - data_size; in insert_with_overflow()
80 u32 data_size; in btrfs_insert_xattr_item() local
88 data_size = sizeof(*dir_item) + name_len + data_len; in btrfs_insert_xattr_item()
89 dir_item = insert_with_overflow(trans, root, path, &key, data_size, in btrfs_insert_xattr_item()
133 u32 data_size; in btrfs_insert_dir_item() local
146 data_size = sizeof(*dir_item) + name_len; in btrfs_insert_dir_item()
[all …]
Dctree.c31 struct btrfs_path *path, int data_size, int extend);
2349 int data_size, int empty, in __push_leaf_right() argument
2376 push_space += data_size; in __push_leaf_right()
2394 push_space += data_size; in __push_leaf_right()
2498 int min_data_size, int data_size, in push_leaf_right() argument
2527 if (free_space < data_size) in push_leaf_right()
2537 if (free_space < data_size) in push_leaf_right()
2562 struct btrfs_path *path, int data_size, in __push_leaf_left() argument
2601 push_space += data_size; in __push_leaf_left()
2718 int data_size, int empty, u32 max_slot) in push_leaf_left() argument
[all …]
Ddelayed-inode.c769 u32 *data_size; in btrfs_batch_insert_items() local
822 data_size = kmalloc(sizeof(u32) * nitems, GFP_NOFS); in btrfs_batch_insert_items()
823 if (!data_size) { in btrfs_batch_insert_items()
832 data_size[i] = next->data_len; in btrfs_batch_insert_items()
840 setup_items_for_insert(trans, root, path, keys, data_size, in btrfs_batch_insert_items()
859 kfree(data_size); in btrfs_batch_insert_items()
Dctree.h2645 u32 data_size);
2685 struct btrfs_key *cpu_key, u32 *data_size,
2688 *root, struct btrfs_key *key, void *data, u32 data_size);
2692 struct btrfs_key *cpu_key, u32 *data_size, int nr);
2698 u32 data_size) in btrfs_insert_empty_item() argument
2700 return btrfs_insert_empty_items(trans, root, path, key, &data_size, 1); in btrfs_insert_empty_item()
/fs/ecryptfs/
Dmiscdev.c194 int ecryptfs_send_miscdev(char *data, size_t data_size, in ecryptfs_send_miscdev() argument
200 msg = kmalloc((sizeof(*msg) + data_size), GFP_KERNEL); in ecryptfs_send_miscdev()
204 (sizeof(*msg) + data_size)); in ecryptfs_send_miscdev()
211 msg_ctx->msg->data_len = data_size; in ecryptfs_send_miscdev()
213 memcpy(msg_ctx->msg->data, data, data_size); in ecryptfs_send_miscdev()
214 msg_ctx->msg_size = (sizeof(*msg_ctx->msg) + data_size); in ecryptfs_send_miscdev()
392 static int ecryptfs_miscdev_response(char *data, size_t data_size, in ecryptfs_miscdev_response() argument
399 if ((sizeof(*msg) + msg->data_len) != data_size) { in ecryptfs_miscdev_response()
402 (sizeof(*msg) + msg->data_len), data_size); in ecryptfs_miscdev_response()
Decryptfs_kernel.h685 int ecryptfs_send_miscdev(char *data, size_t data_size,
/fs/yaffs2/
Dyaffs_tagscompat.c125 int data_size = dev->data_bytes_per_chunk; in yaffs_wr_nand() local
128 data, data_size, in yaffs_wr_nand()
141 int data_size; in yaffs_rd_chunk_nand() local
151 data_size = dev->data_bytes_per_chunk; in yaffs_rd_chunk_nand()
156 data, data_size, in yaffs_rd_chunk_nand()
164 data, data_size, in yaffs_rd_chunk_nand()
/fs/
Dbinfmt_som.c137 unsigned long code_start, code_size, data_start, data_size; in map_som_binary() local
156 data_size = SOM_PAGEALIGN(hpuxhdr->exec_dsize); in map_som_binary()
158 current->mm->end_data = bss_start = data_start + data_size; in map_som_binary()
159 retval = vm_mmap(file, data_start, data_size, in map_som_binary()
Dbio-integrity.c362 bix.data_size = bv->bv_len; in bio_integrity_generate()
503 bix.data_size = bv->bv_len; in bio_integrity_verify()
/fs/nfs/
Didmap.c272 size_t data_size, struct idmap *idmap) in nfs_idmap_request_key() argument
311 if (ret > 0 && ret <= data_size) in nfs_idmap_request_key()
325 size_t data_size, struct idmap *idmap) in nfs_idmap_get_key() argument
329 data_size, NULL); in nfs_idmap_get_key()
334 data_size, idmap); in nfs_idmap_get_key()
362 ssize_t data_size; in nfs_idmap_lookup_id() local
365 data_size = nfs_idmap_get_key(name, namelen, type, id_str, NFS_UINT_MAXLEN, idmap); in nfs_idmap_lookup_id()
366 if (data_size <= 0) { in nfs_idmap_lookup_id()
/fs/ntfs/
Dattrib.h85 return sle64_to_cpu(a->data.non_resident.data_size); in ntfs_attr_size()
106 extern int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size);
Dattrib.c1535 int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size) in ntfs_attr_make_non_resident() argument
1573 new_size = (data_size + vol->cluster_size - 1) & in ntfs_attr_make_non_resident()
1657 BUG_ON(attr_size != data_size); in ntfs_attr_make_non_resident()
1692 a->data.non_resident.data_size = in ntfs_attr_make_non_resident()
2362 sle64_to_cpu(a->data.non_resident.data_size)); in ntfs_attr_extend_allocation()
2363 a->data.non_resident.data_size = cpu_to_sle64(new_data_size); in ntfs_attr_extend_allocation()
Dinode.c972 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_inode()
1135 a->data.non_resident.data_size); in ntfs_read_locked_inode()
1410 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_attr_inode()
1669 vi->i_size = sle64_to_cpu(a->data.non_resident.data_size); in ntfs_read_locked_index_inode()
2075 a->data.non_resident.data_size); in ntfs_read_inode_mount()
2653 a->data.non_resident.data_size = cpu_to_sle64(new_size); in ntfs_truncate()
2798 a->data.non_resident.data_size = cpu_to_sle64(new_size); in ntfs_truncate()
Dlayout.h773 /* 48*/ sle64 data_size; /* Byte size of the attribute member
1078 /* 30*/ sle64 data_size; /* Byte size of actual data in unnamed member
Dfile.c212 sle64_to_cpu(a->data.non_resident.data_size)); in ntfs_attr_extend_initialized()
213 a->data.non_resident.data_size = cpu_to_sle64(new_init_size); in ntfs_attr_extend_initialized()
1565 a->data.non_resident.data_size = in ntfs_commit_pages_after_non_resident_write()
Dmft.c1627 a->data.non_resident.data_size = in ntfs_mft_bitmap_extend_initialized_nolock()
1675 a->data.non_resident.data_size = cpu_to_sle64(old_data_size); in ntfs_mft_bitmap_extend_initialized_nolock()
2485 a->data.non_resident.data_size = in ntfs_mft_record_alloc()
/fs/ext4/
Dmove_extent.c769 unsigned int tmp_data_size, data_size, replaced_size; in move_extent_per_page() local
820 data_size = tmp_data_size + in move_extent_per_page()
823 data_size = block_len_in_page << orig_inode->i_blkbits; in move_extent_per_page()
825 replaced_size = data_size; in move_extent_per_page()
827 *err = a_ops->write_begin(o_filp, mapping, offs, data_size, w_flags, in move_extent_per_page()
878 *err = a_ops->write_end(o_filp, mapping, offs, data_size, replaced_size, in move_extent_per_page()
/fs/befs/
Dbefs_fs_types.h170 fs16 data_size; member