/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() 198 .dirtied_ino_d = ALIGN(size, 8) + ALIGN(host_ui->data_len, 8) }; in change_xattr() 200 ubifs_assert(ui->data_len == inode->i_size); in change_xattr() 212 ui->data_len = size; in change_xattr() 216 host_ui->xattr_size -= CALC_XATTR_BYTES(ui->data_len); in change_xattr() 235 host_ui->xattr_size += CALC_XATTR_BYTES(ui->data_len); in change_xattr() 396 ubifs_assert(inode->i_size == ui->data_len); in ubifs_getxattr() 397 ubifs_assert(ubifs_inode(host)->xattr_size > ui->data_len); in ubifs_getxattr() 401 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() 556 ubifs_assert(dir_ui->data_len == 0); in ubifs_jnl_update() 569 ilen += ui->data_len; in ubifs_jnl_update() 794 len += ui->data_len; in ubifs_jnl_write_inode() 940 ubifs_assert(ubifs_inode(old_dir)->data_len == 0); in ubifs_jnl_rename() [all …]
|
D | super.c | 85 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode() 143 ui->data_len = le32_to_cpu(ino->data_len); in ubifs_iget() 167 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 172 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget() 173 ((char *)ui->data)[ui->data_len] = '\0'; in ubifs_iget() 174 } else if (ui->data_len != 0) { in ubifs_iget() 182 if (ui->data_len != 0) { in ubifs_iget() 189 if (ui->data_len <= 0 || ui->data_len > UBIFS_MAX_INO_DATA) { in ubifs_iget() 193 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget() 198 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget() [all …]
|
D | ioctl.c | 108 .dirtied_ino_d = ui->data_len }; in setflags()
|
D | dir.c | 530 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in ubifs_link() 836 ui->data_len = devlen; in ubifs_mknod() 911 ui->data_len = len; in ubifs_symlink() 994 .dirtied_ino_d = ALIGN(old_inode_ui->data_len, 8) }; in ubifs_rename()
|
D | ubifs.h | 132 #define CALC_XATTR_BYTES(data_len) ALIGN(UBIFS_INO_NODE_SZ + (data_len) + 1, 8) argument 411 int data_len; member
|
D | ubifs-media.h | 506 __le32 data_len; member
|
D | budget.c | 614 req.dd_growth = c->bi.inode_budget + ALIGN(ui->data_len, 8); in ubifs_release_dirty_inode_budget()
|
D | file.c | 1216 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in do_setattr() 1381 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in update_mctime()
|
/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/ecryptfs/ |
D | messaging.c | 249 msg_size = (sizeof(*msg) + msg->data_len); in ecryptfs_process_response() 278 ecryptfs_send_message_locked(char *data, int data_len, u8 msg_type, in ecryptfs_send_message_locked() argument 300 rc = ecryptfs_send_miscdev(data, data_len, *msg_ctx, msg_type, 0, in ecryptfs_send_message_locked() 319 int ecryptfs_send_message(char *data, int data_len, in ecryptfs_send_message() argument 325 rc = ecryptfs_send_message_locked(data, data_len, ECRYPTFS_MSG_REQUEST, in ecryptfs_send_message()
|
D | keystore.c | 162 size_t data_len; in write_tag_64_packet() local 175 data_len = (5 + ECRYPTFS_SIG_SIZE_HEX in write_tag_64_packet() 177 *packet = kmalloc(data_len, GFP_KERNEL); in write_tag_64_packet() 218 size_t data_len; in parse_tag_65_packet() local 232 message_len = msg->data_len; in parse_tag_65_packet() 249 rc = ecryptfs_parse_packet_length(&data[i], &m_size, &data_len); in parse_tag_65_packet() 255 i += data_len; in parse_tag_65_packet() 305 size_t data_len; in write_tag_66_packet() local 319 data_len = (5 + ECRYPTFS_SIG_SIZE_HEX + crypt_stat->key_size); in write_tag_66_packet() 320 *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 | 372 u32 data_len; member 632 int ecryptfs_send_message(char *data, int data_len, 645 static inline int ecryptfs_send_message(char *data, int data_len, in ecryptfs_send_message() argument
|
/fs/btrfs/ |
D | dir-item.c | 76 const void *data, u16 data_len) in btrfs_insert_xattr_item() argument 86 BUG_ON(name_len + data_len > BTRFS_MAX_XATTR_SIZE(root)); in btrfs_insert_xattr_item() 92 data_size = sizeof(*dir_item) + name_len + data_len; in btrfs_insert_xattr_item() 105 btrfs_set_dir_data_len(leaf, dir_item, data_len); in btrfs_insert_xattr_item() 110 write_extent_buffer(leaf, data, data_ptr, data_len); in btrfs_insert_xattr_item()
|
D | delayed-inode.c | 311 static struct btrfs_delayed_item *btrfs_alloc_delayed_item(u32 data_len) in btrfs_alloc_delayed_item() argument 314 item = kmalloc(sizeof(*item) + data_len, GFP_NOFS); in btrfs_alloc_delayed_item() 316 item->data_len = data_len; in btrfs_alloc_delayed_item() 759 while (total_size + next->data_len + sizeof(struct btrfs_item) <= in btrfs_batch_insert_items() 761 total_data_size += next->data_len; in btrfs_batch_insert_items() 762 total_size += next->data_len + sizeof(struct btrfs_item); in btrfs_batch_insert_items() 803 data_size[i] = next->data_len; in btrfs_batch_insert_items() 820 curr->data_len); in btrfs_batch_insert_items() 850 delayed_item->data_len); in btrfs_insert_delayed_item() 859 delayed_item->data_len); in btrfs_insert_delayed_item() [all …]
|
D | send.c | 867 const char *data, int data_len, 892 u32 data_len; in iterate_dir_item() local 918 data_len = btrfs_dir_data_len(eb, di); in iterate_dir_item() 922 if (name_len + data_len > buf_len) { in iterate_dir_item() 923 buf_len = PAGE_ALIGN(name_len + data_len); in iterate_dir_item() 949 name_len + data_len); in iterate_dir_item() 951 len = sizeof(*di) + name_len + data_len; in iterate_dir_item() 956 data_len, type, ctx); in iterate_dir_item() 3289 const char *data, int data_len) in send_set_xattr() argument 3299 TLV_PUT(sctx, BTRFS_SEND_A_XATTR_DATA, data, data_len); in send_set_xattr() [all …]
|
D | delayed-inode.h | 82 u32 data_len; member
|
D | backref.c | 40 u64 data_len; in check_extent_in_eb() local 44 data_len = btrfs_file_extent_num_bytes(eb, fi); in check_extent_in_eb() 47 extent_item_pos >= data_offset + data_len) in check_extent_in_eb()
|
/fs/ocfs2/cluster/ |
D | tcp.c | 90 be16_to_cpu(__hdr->magic), be16_to_cpu(__hdr->data_len), \ 998 static void o2net_init_msg(struct o2net_msg *msg, u16 data_len, u16 msg_type, u32 key) in o2net_init_msg() argument 1002 msg->data_len = cpu_to_be16(data_len); in o2net_init_msg() 1196 hdr->data_len = 0; in o2net_send_status_magic() 1254 if (be16_to_cpu(hdr->data_len) > nmh->nh_max_len) in o2net_process_message() 1264 be16_to_cpu(hdr->data_len), in o2net_process_message() 1410 if (be16_to_cpu(hdr->data_len) > in o2net_advance_rx() 1430 if (sc->sc_page_off - sizeof(struct o2net_msg) < be16_to_cpu(hdr->data_len)) { in o2net_advance_rx() 1433 datalen = (sizeof(struct o2net_msg) + be16_to_cpu(hdr->data_len)) - in o2net_advance_rx() 1442 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 | 678 unsigned int data_len = er->er_data_len; in ea_write() local 699 copy = data_len > sdp->sd_jbsize ? sdp->sd_jbsize : in ea_write() 700 data_len; in ea_write() 708 data_len -= copy; in ea_write() 713 gfs2_assert_withdraw(sdp, !data_len); in ea_write()
|