/fs/ubifs/ |
D | xattr.c | 89 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; in create_xattr() 134 ui->data_len = size; in create_xattr() 199 .dirtied_ino_d = ALIGN(size, 8) + ALIGN(host_ui->data_len, 8) }; in change_xattr() 201 ubifs_assert(c, ui->data_len == inode->i_size); in change_xattr() 214 old_size = ui->data_len; in change_xattr() 215 ui->data_len = size; in change_xattr() 360 ubifs_assert(c, inode->i_size == ui->data_len); in ubifs_xattr_get() 361 ubifs_assert(c, ubifs_inode(host)->xattr_size > ui->data_len); in ubifs_xattr_get() 365 if (ui->data_len > size) { in ubifs_xattr_get() 370 memcpy(buf, ui->data, ui->data_len); in ubifs_xattr_get() [all …]
|
D | journal.c | 449 int data_len = 0, last_reference = !inode->i_nlink; in pack_inode() local 468 ino->data_len = cpu_to_le32(ui->data_len); in pack_inode() 479 memcpy(ino->data, ui->data, ui->data_len); in pack_inode() 480 data_len = ui->data_len; in pack_inode() 483 ubifs_prep_grp_node(c, ino, UBIFS_INO_NODE_SZ + data_len, last); in pack_inode() 566 ilen += ui->data_len; in ubifs_jnl_update() 576 len += ALIGN(host_ui->data_len, 8) + ubifs_auth_node_sz(c); in ubifs_jnl_update() 578 len += host_ui->data_len; in ubifs_jnl_update() 678 UBIFS_INO_NODE_SZ + host_ui->data_len, hash_ino_host); in ubifs_jnl_update() 858 ilen += ui->data_len; in ubifs_jnl_write_inode() [all …]
|
D | super.c | 92 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode() 154 ui->data_len = le32_to_cpu(ino->data_len); in ubifs_iget() 175 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 180 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget() 181 ((char *)ui->data)[ui->data_len] = '\0'; in ubifs_iget() 182 } else if (ui->data_len != 0) { in ubifs_iget() 190 if (ui->data_len != 0) { in ubifs_iget() 197 if (ui->data_len <= 0 || ui->data_len > UBIFS_MAX_INO_DATA) { in ubifs_iget() 201 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 206 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget() [all …]
|
D | dir.c | 730 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in ubifs_link() 1104 ui->data_len = devlen; in ubifs_mknod() 1203 ui->data_len = disk_link.len - 1; in ubifs_symlink() 1301 .dirtied_ino_d = ALIGN(old_inode_ui->data_len, 8) }; in do_rename() 1325 req.dirtied_ino_d = ALIGN(ubifs_inode(new_inode)->data_len, 8); in do_rename() 1387 whiteout_ui->data_len = ubifs_encode_dev(dev, MKDEV(0, 0)); in do_rename() 1392 wht_req.new_ino_d = ALIGN(whiteout_ui->data_len, 8); in do_rename()
|
/fs/ |
D | binfmt_flat.c | 409 u32 text_len, data_len, bss_len, stack_len, full_data, flags; in load_flat_file() local 422 data_len = ntohl(hdr->data_end) - ntohl(hdr->data_start); in load_flat_file() 432 full_data = data_len + relocs * sizeof(unsigned long); in load_flat_file() 479 if ((text_len | data_len | bss_len | stack_len | full_data) >> 28) { in load_flat_file() 501 if (data_len + bss_len > rlim) { in load_flat_file() 543 len = data_len + extra + in load_flat_file() 563 data_len + bss_len + stack_len, datapos); in load_flat_file() 590 len = text_len + data_len + extra + in load_flat_file() 682 vm_munmap(textpos, text_len + data_len + extra + in load_flat_file() 696 current->mm->end_data = datapos + data_len; in load_flat_file() [all …]
|
/fs/ceph/ |
D | metric.c | 58 cap->header.data_len = cpu_to_le32(sizeof(*cap) - header_len); in ceph_mdsc_send_metrics() 69 read->header.data_len = cpu_to_le32(sizeof(*read) - header_len); in ceph_mdsc_send_metrics() 82 write->header.data_len = cpu_to_le32(sizeof(*write) - header_len); in ceph_mdsc_send_metrics() 95 meta->header.data_len = cpu_to_le32(sizeof(*meta) - header_len); in ceph_mdsc_send_metrics() 108 dlease->header.data_len = cpu_to_le32(sizeof(*dlease) - header_len); in ceph_mdsc_send_metrics() 121 files->header.data_len = cpu_to_le32(sizeof(*files) - header_len); in ceph_mdsc_send_metrics() 131 icaps->header.data_len = cpu_to_le32(sizeof(*icaps) - header_len); in ceph_mdsc_send_metrics() 141 inodes->header.data_len = cpu_to_le32(sizeof(*inodes) - header_len); in ceph_mdsc_send_metrics() 151 rsize->header.data_len = cpu_to_le32(sizeof(*rsize) - header_len); in ceph_mdsc_send_metrics() 161 wsize->header.data_len = cpu_to_le32(sizeof(*wsize) - header_len); in ceph_mdsc_send_metrics()
|
/fs/xfs/ |
D | xfs_log.h | 41 int data_len) in xlog_finish_iovec() argument 53 len = xlog_calc_iovec_len(data_len); in xlog_finish_iovec() 54 if (len - data_len != 0) { in xlog_finish_iovec() 57 memset(buf + data_len, 0, len - data_len); in xlog_finish_iovec()
|
/fs/btrfs/ |
D | props.c | 190 u32 data_len = btrfs_dir_data_len(leaf, di); in iterate_object_props() local 194 this_len = sizeof(*di) + name_len + data_len; in iterate_object_props() 220 if (data_len > value_buf_len) { in iterate_object_props() 222 value_buf_len = data_len; in iterate_object_props() 223 value_buf = kmalloc(data_len, GFP_NOFS); in iterate_object_props() 229 read_extent_buffer(leaf, value_buf, data_ptr, data_len); in iterate_object_props() 231 iterator(ctx, handler, value_buf, data_len); in iterate_object_props()
|
D | delayed-inode.c | 305 static struct btrfs_delayed_item *btrfs_alloc_delayed_item(u16 data_len, in btrfs_alloc_delayed_item() argument 311 item = kmalloc(sizeof(*item) + data_len, GFP_NOFS); in btrfs_alloc_delayed_item() 313 item->data_len = data_len; in btrfs_alloc_delayed_item() 654 const u32 first_data_size = first_item->data_len; in btrfs_insert_delayed_item() 704 next_size = next->data_len + sizeof(struct btrfs_item); in btrfs_insert_delayed_item() 711 batch.total_data_size += next->data_len; in btrfs_insert_delayed_item() 740 ins_sizes[i] = curr->data_len; in btrfs_insert_delayed_item() 754 (unsigned long)data_ptr, curr->data_len); in btrfs_insert_delayed_item() 1463 u32 data_len; in btrfs_insert_delayed_dir_index() local 1488 data_len = delayed_item->data_len + sizeof(struct btrfs_item); in btrfs_insert_delayed_dir_index() [all …]
|
D | dir-item.c | 57 const void *data, u16 data_len) in btrfs_insert_xattr_item() argument 67 if (name_len + data_len > BTRFS_MAX_XATTR_SIZE(root->fs_info)) in btrfs_insert_xattr_item() 74 data_size = sizeof(*dir_item) + name_len + data_len; in btrfs_insert_xattr_item() 87 btrfs_set_dir_data_len(leaf, dir_item, data_len); in btrfs_insert_xattr_item() 92 write_extent_buffer(leaf, data, data_ptr, data_len); in btrfs_insert_xattr_item()
|
D | send.c | 1043 const char *data, int data_len, 1063 u32 data_len; in iterate_dir_item() local 1093 data_len = btrfs_dir_data_len(eb, di); in iterate_dir_item() 1101 if (name_len + data_len > in iterate_dir_item() 1110 if (name_len + data_len > PATH_MAX) { in iterate_dir_item() 1116 if (name_len + data_len > buf_len) { in iterate_dir_item() 1117 buf_len = name_len + data_len; in iterate_dir_item() 1139 name_len + data_len); in iterate_dir_item() 1141 len = sizeof(*di) + name_len + data_len; in iterate_dir_item() 1146 data_len, ctx); in iterate_dir_item() [all …]
|
D | tree-checker.c | 510 u32 data_len; in check_dir_item() local 573 data_len = btrfs_dir_data_len(leaf, di); in check_dir_item() 580 if (unlikely(name_len + data_len > BTRFS_MAX_XATTR_SIZE(fs_info))) { in check_dir_item() 583 name_len + data_len, in check_dir_item() 588 if (unlikely(data_len && dir_type != BTRFS_FT_XATTR)) { in check_dir_item() 591 data_len); in check_dir_item() 595 total_size = sizeof(*di) + name_len + data_len; in check_dir_item()
|
/fs/ecryptfs/ |
D | messaging.c | 235 msg_size = (sizeof(*msg) + msg->data_len); in ecryptfs_process_response() 262 ecryptfs_send_message_locked(char *data, int data_len, u8 msg_type, in ecryptfs_send_message_locked() argument 284 rc = ecryptfs_send_miscdev(data, data_len, *msg_ctx, msg_type, 0, in ecryptfs_send_message_locked() 303 int ecryptfs_send_message(char *data, int data_len, in ecryptfs_send_message() argument 309 rc = ecryptfs_send_message_locked(data, data_len, ECRYPTFS_MSG_REQUEST, in ecryptfs_send_message()
|
D | keystore.c | 148 size_t data_len; in write_tag_64_packet() local 161 data_len = (5 + ECRYPTFS_SIG_SIZE_HEX in write_tag_64_packet() 163 *packet = kmalloc(data_len, GFP_KERNEL); in write_tag_64_packet() 204 size_t data_len; in parse_tag_65_packet() local 218 message_len = msg->data_len; in parse_tag_65_packet() 235 rc = ecryptfs_parse_packet_length(&data[i], &m_size, &data_len); in parse_tag_65_packet() 241 i += data_len; in parse_tag_65_packet() 291 size_t data_len; in write_tag_66_packet() local 305 data_len = (5 + ECRYPTFS_SIG_SIZE_HEX + crypt_stat->key_size); in write_tag_66_packet() 306 *packet = kmalloc(data_len, GFP_KERNEL); in write_tag_66_packet() [all …]
|
D | miscdev.c | 159 msg_ctx->msg->data_len = data_size; in ecryptfs_send_miscdev() 328 if ((sizeof(*msg) + msg->data_len) != data_size) { in ecryptfs_miscdev_response() 331 (sizeof(*msg) + msg->data_len), data_size); in ecryptfs_miscdev_response()
|
D | ecryptfs_kernel.h | 372 u32 data_len; member 605 int ecryptfs_send_message(char *data, int data_len, 618 static inline int ecryptfs_send_message(char *data, int data_len, in ecryptfs_send_message() argument
|
/fs/cachefiles/ |
D | ondemand.c | 311 size_t data_len, in cachefiles_ondemand_send_req() argument 326 req = kzalloc(sizeof(*req) + data_len, GFP_KERNEL); in cachefiles_ondemand_send_req() 333 req->msg.len = sizeof(struct cachefiles_msg) + data_len; in cachefiles_ondemand_send_req() 480 size_t volume_key_size, cookie_key_size, data_len; in cachefiles_ondemand_init_object() local 493 data_len = sizeof(struct cachefiles_open) + in cachefiles_ondemand_init_object() 497 data_len, cachefiles_ondemand_init_open_req, NULL); in cachefiles_ondemand_init_object()
|
/fs/lockd/ |
D | svcxdr.h | 48 svcxdr_decode_string(struct xdr_stream *xdr, char **data, unsigned int *data_len) in svcxdr_decode_string() argument 60 *data_len = len; in svcxdr_decode_string()
|
/fs/ocfs2/cluster/ |
D | tcp.c | 75 be16_to_cpu(__hdr->magic), be16_to_cpu(__hdr->data_len), \ 958 static void o2net_init_msg(struct o2net_msg *msg, u16 data_len, u16 msg_type, u32 key) in o2net_init_msg() argument 962 msg->data_len = cpu_to_be16(data_len); in o2net_init_msg() 1157 hdr->data_len = 0; in o2net_send_status_magic() 1214 if (be16_to_cpu(hdr->data_len) > nmh->nh_max_len) in o2net_process_message() 1224 be16_to_cpu(hdr->data_len), in o2net_process_message() 1370 if (be16_to_cpu(hdr->data_len) > in o2net_advance_rx() 1390 if (sc->sc_page_off - sizeof(struct o2net_msg) < be16_to_cpu(hdr->data_len)) { in o2net_advance_rx() 1393 datalen = (sizeof(struct o2net_msg) + be16_to_cpu(hdr->data_len)) - in o2net_advance_rx() 1402 if (sc->sc_page_off - sizeof(struct o2net_msg) == be16_to_cpu(hdr->data_len)) { in o2net_advance_rx()
|
D | tcp.h | 26 __be16 data_len; member
|
/fs/smb/client/ |
D | fscache.c | 237 size_t len, data_len; in __cifs_fscache_query_occupancy() local 247 &data_start, &data_len); in __cifs_fscache_query_occupancy()
|
D | cifs_ioctl.h | 102 __u32 data_len; /* size of notify data below */ member
|
/fs/ntfs/ |
D | index.h | 65 u16 data_len; member
|
D | quota.c | 53 if (ictx->data_len < offsetof(QUOTA_CONTROL_ENTRY, sid)) { in ntfs_mark_quotas_out_of_date()
|
/fs/gfs2/ |
D | xattr.c | 693 unsigned int data_len = er->er_data_len; in ea_write() local 714 copy = data_len > sdp->sd_jbsize ? sdp->sd_jbsize : in ea_write() 715 data_len; in ea_write() 723 data_len -= copy; in ea_write() 728 gfs2_assert_withdraw(sdp, !data_len); in ea_write()
|