/fs/ubifs/ |
D | xattr.c | 108 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; in create_xattr() 147 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(ui->data_len == inode->i_size); in change_xattr() 213 ui->data_len = size; in change_xattr() 217 host_ui->xattr_size -= CALC_XATTR_BYTES(ui->data_len); in change_xattr() 236 host_ui->xattr_size += CALC_XATTR_BYTES(ui->data_len); in change_xattr() 397 ubifs_assert(inode->i_size == ui->data_len); in ubifs_getxattr() 398 ubifs_assert(ubifs_inode(host)->xattr_size > ui->data_len); in ubifs_getxattr() 402 if (ui->data_len > size) { in ubifs_getxattr() [all …]
|
D | journal.c | 460 int data_len = 0, last_reference = !inode->i_nlink; in pack_inode() local 479 ino->data_len = cpu_to_le32(ui->data_len); in pack_inode() 490 memcpy(ino->data, ui->data, ui->data_len); in pack_inode() 491 data_len = ui->data_len; in pack_inode() 494 ubifs_prep_grp_node(c, ino, UBIFS_INO_NODE_SZ + data_len, last); in pack_inode() 555 inode->i_ino, nm->len, nm->name, ui->data_len, dir->i_ino); in ubifs_jnl_update() 568 ilen += ui->data_len; in ubifs_jnl_update() 793 len += ui->data_len; in ubifs_jnl_write_inode() 937 ubifs_assert(ubifs_inode(old_dir)->data_len == 0); in ubifs_jnl_rename() 938 ubifs_assert(ubifs_inode(new_dir)->data_len == 0); in ubifs_jnl_rename() [all …]
|
D | super.c | 86 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode() 144 ui->data_len = le32_to_cpu(ino->data_len); in ubifs_iget() 168 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 173 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget() 174 ((char *)ui->data)[ui->data_len] = '\0'; in ubifs_iget() 175 } else if (ui->data_len != 0) { in ubifs_iget() 183 if (ui->data_len != 0) { in ubifs_iget() 190 if (ui->data_len <= 0 || ui->data_len > UBIFS_MAX_INO_DATA) { in ubifs_iget() 194 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 199 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget() [all …]
|
D | dir.c | 504 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in ubifs_link() 809 ui->data_len = devlen; in ubifs_mknod() 884 ui->data_len = len; in ubifs_symlink() 967 .dirtied_ino_d = ALIGN(old_inode_ui->data_len, 8) }; in ubifs_rename()
|
D | ioctl.c | 108 .dirtied_ino_d = ui->data_len }; in setflags()
|
D | ubifs.h | 141 #define CALC_XATTR_BYTES(data_len) ALIGN(UBIFS_INO_NODE_SZ + (data_len) + 1, 8) argument 418 int data_len; member
|
D | ubifs-media.h | 506 __le32 data_len; member
|
D | budget.c | 613 req.dd_growth = c->bi.inode_budget + ALIGN(ui->data_len, 8); in ubifs_release_dirty_inode_budget()
|
/fs/ |
D | binfmt_flat.c | 432 unsigned long text_len, data_len, bss_len, stack_len, flags; in load_flat_file() local 447 data_len = ntohl(hdr->data_end) - ntohl(hdr->data_start); in load_flat_file() 457 full_data = data_len + relocs * sizeof(unsigned long); in load_flat_file() 513 if (data_len + bss_len > rlim) { in load_flat_file() 559 len = data_len + extra + MAX_SHARED_LIBS * sizeof(unsigned long); in load_flat_file() 578 (int)(data_len + bss_len + stack_len), (int)datapos); in load_flat_file() 604 len = text_len + data_len + extra + MAX_SHARED_LIBS * sizeof(unsigned long); in load_flat_file() 656 vm_munmap(textpos, text_len + data_len + extra + in load_flat_file() 674 current->mm->end_data = datapos + data_len; in load_flat_file() 682 current->mm->start_brk = datapos + data_len + bss_len; in load_flat_file() [all …]
|
/fs/btrfs/ |
D | props.c | 210 u32 data_len = btrfs_dir_data_len(leaf, di); in iterate_object_props() local 214 this_len = sizeof(*di) + name_len + data_len; in iterate_object_props() 240 if (data_len > value_buf_len) { in iterate_object_props() 242 value_buf_len = data_len; in iterate_object_props() 243 value_buf = kmalloc(data_len, GFP_NOFS); in iterate_object_props() 249 read_extent_buffer(leaf, value_buf, data_ptr, data_len); in iterate_object_props() 251 iterator(ctx, handler, value_buf, data_len); in iterate_object_props()
|
D | dir-item.c | 72 const void *data, u16 data_len) in btrfs_insert_xattr_item() argument 82 BUG_ON(name_len + data_len > BTRFS_MAX_XATTR_SIZE(root)); in btrfs_insert_xattr_item() 88 data_size = sizeof(*dir_item) + name_len + data_len; in btrfs_insert_xattr_item() 101 btrfs_set_dir_data_len(leaf, dir_item, data_len); in btrfs_insert_xattr_item() 106 write_extent_buffer(leaf, data, data_ptr, data_len); in btrfs_insert_xattr_item()
|
D | send.c | 959 const char *data, int data_len, 981 u32 data_len; in iterate_dir_item() local 1013 data_len = btrfs_dir_data_len(eb, di); in iterate_dir_item() 1022 if (name_len + data_len > BTRFS_MAX_XATTR_SIZE(root)) { in iterate_dir_item() 1030 if (name_len + data_len > PATH_MAX) { in iterate_dir_item() 1036 if (name_len + data_len > buf_len) { in iterate_dir_item() 1037 buf_len = name_len + data_len; in iterate_dir_item() 1059 name_len + data_len); in iterate_dir_item() 1061 len = sizeof(*di) + name_len + data_len; in iterate_dir_item() 1066 data_len, type, ctx); in iterate_dir_item() [all …]
|
D | delayed-inode.c | 315 static struct btrfs_delayed_item *btrfs_alloc_delayed_item(u32 data_len) in btrfs_alloc_delayed_item() argument 318 item = kmalloc(sizeof(*item) + data_len, GFP_NOFS); in btrfs_alloc_delayed_item() 320 item->data_len = data_len; in btrfs_alloc_delayed_item() 748 while (total_size + next->data_len + sizeof(struct btrfs_item) <= in btrfs_batch_insert_items() 750 total_data_size += next->data_len; in btrfs_batch_insert_items() 751 total_size += next->data_len + sizeof(struct btrfs_item); in btrfs_batch_insert_items() 792 data_size[i] = next->data_len; in btrfs_batch_insert_items() 809 curr->data_len); in btrfs_batch_insert_items() 839 delayed_item->data_len); in btrfs_insert_delayed_item() 848 delayed_item->data_len); in btrfs_insert_delayed_item()
|
D | delayed-inode.h | 85 u32 data_len; member
|
D | backref.c | 49 u64 data_len; in check_extent_in_eb() local 52 data_len = btrfs_file_extent_num_bytes(eb, fi); in check_extent_in_eb() 55 extent_item_pos >= data_offset + data_len) in check_extent_in_eb()
|
/fs/ecryptfs/ |
D | messaging.c | 249 msg_size = (sizeof(*msg) + msg->data_len); in ecryptfs_process_response() 277 ecryptfs_send_message_locked(char *data, int data_len, u8 msg_type, in ecryptfs_send_message_locked() argument 299 rc = ecryptfs_send_miscdev(data, data_len, *msg_ctx, msg_type, 0, in ecryptfs_send_message_locked() 318 int ecryptfs_send_message(char *data, int data_len, in ecryptfs_send_message() argument 324 rc = ecryptfs_send_message_locked(data, data_len, ECRYPTFS_MSG_REQUEST, in ecryptfs_send_message()
|
D | keystore.c | 161 size_t data_len; in write_tag_64_packet() local 174 data_len = (5 + ECRYPTFS_SIG_SIZE_HEX in write_tag_64_packet() 176 *packet = kmalloc(data_len, GFP_KERNEL); in write_tag_64_packet() 217 size_t data_len; in parse_tag_65_packet() local 231 message_len = msg->data_len; in parse_tag_65_packet() 248 rc = ecryptfs_parse_packet_length(&data[i], &m_size, &data_len); in parse_tag_65_packet() 254 i += data_len; in parse_tag_65_packet() 304 size_t data_len; in write_tag_66_packet() local 318 data_len = (5 + ECRYPTFS_SIG_SIZE_HEX + crypt_stat->key_size); in write_tag_66_packet() 319 *packet = kmalloc(data_len, GFP_KERNEL); in write_tag_66_packet() [all …]
|
D | miscdev.c | 176 msg_ctx->msg->data_len = data_size; in ecryptfs_send_miscdev() 344 if ((sizeof(*msg) + msg->data_len) != data_size) { in ecryptfs_miscdev_response() 347 (sizeof(*msg) + msg->data_len), data_size); in ecryptfs_miscdev_response()
|
D | ecryptfs_kernel.h | 384 u32 data_len; member 630 int ecryptfs_send_message(char *data, int data_len, 643 static inline int ecryptfs_send_message(char *data, int data_len, in ecryptfs_send_message() argument
|
/fs/ocfs2/cluster/ |
D | tcp.c | 90 be16_to_cpu(__hdr->magic), be16_to_cpu(__hdr->data_len), \ 975 static void o2net_init_msg(struct o2net_msg *msg, u16 data_len, u16 msg_type, u32 key) in o2net_init_msg() argument 979 msg->data_len = cpu_to_be16(data_len); in o2net_init_msg() 1173 hdr->data_len = 0; in o2net_send_status_magic() 1231 if (be16_to_cpu(hdr->data_len) > nmh->nh_max_len) in o2net_process_message() 1241 be16_to_cpu(hdr->data_len), in o2net_process_message() 1387 if (be16_to_cpu(hdr->data_len) > in o2net_advance_rx() 1407 if (sc->sc_page_off - sizeof(struct o2net_msg) < be16_to_cpu(hdr->data_len)) { in o2net_advance_rx() 1410 datalen = (sizeof(struct o2net_msg) + be16_to_cpu(hdr->data_len)) - in o2net_advance_rx() 1419 if (sc->sc_page_off - sizeof(struct o2net_msg) == be16_to_cpu(hdr->data_len)) { in o2net_advance_rx()
|
D | tcp.h | 43 __be16 data_len; member
|
/fs/ntfs/ |
D | index.h | 79 u16 data_len; member
|
D | quota.c | 67 if (ictx->data_len < offsetof(QUOTA_CONTROL_ENTRY, sid)) { in ntfs_mark_quotas_out_of_date()
|
D | index.c | 219 ictx->data_len = le16_to_cpu(ie->data.vi.data_length); in ntfs_index_lookup()
|
/fs/gfs2/ |
D | xattr.c | 679 unsigned int data_len = er->er_data_len; in ea_write() local 700 copy = data_len > sdp->sd_jbsize ? sdp->sd_jbsize : in ea_write() 701 data_len; in ea_write() 709 data_len -= copy; in ea_write() 714 gfs2_assert_withdraw(sdp, !data_len); in ea_write()
|