/fs/orangefs/ |
D | orangefs-bufmap.c | 151 int total_size; member 227 bufmap->total_size = user_desc->total_size; in orangefs_bufmap_alloc() 243 bufmap->page_count = bufmap->total_size / PAGE_SIZE; in orangefs_bufmap_alloc() 328 if (user_desc->total_size < 0 || in orangefs_bufmap_initialize() 344 if (PAGE_ALIGN(((unsigned long)user_desc->ptr + user_desc->total_size)) in orangefs_bufmap_initialize() 345 != (unsigned long)(user_desc->ptr + user_desc->total_size)) { in orangefs_bufmap_initialize() 348 user_desc->total_size); in orangefs_bufmap_initialize() 352 if (user_desc->total_size != (user_desc->size * user_desc->count)) { in orangefs_bufmap_initialize() 354 user_desc->total_size, in orangefs_bufmap_initialize()
|
D | file.c | 49 loff_t *offset, struct iov_iter *iter, size_t total_size, in wait_for_direct_io() argument 87 new_op->upcall.req.io.count = total_size; in wait_for_direct_io() 99 total_size); in wait_for_direct_io() 103 if (type == ORANGEFS_IO_WRITE && total_size) { in wait_for_direct_io() 105 total_size); in wait_for_direct_io() 138 iov_iter_revert(iter, total_size); in wait_for_direct_io() 179 ret = total_size; in wait_for_direct_io()
|
D | devorangefs-req.c | 717 __s32 total_size; member 743 desc.total_size = d32.total_size; in orangefs_devreq_compat_ioctl()
|
D | protocol.h | 346 __s32 total_size; member
|
/fs/pstore/ |
D | inode.c | 38 size_t total_size; member 69 data->off = ps->total_size % REC_SIZE; in pstore_ftrace_seq_start() 71 if (data->off + REC_SIZE > ps->total_size) { in pstore_ftrace_seq_start() 91 if (data->off + REC_SIZE > ps->total_size) in pstore_ftrace_seq_next() 131 ps->record->buf, ps->total_size); in pstore_file_read() 335 inode->i_size = private->total_size = size; in pstore_mkfile()
|
/fs/ |
D | binfmt_elf.c | 350 unsigned long total_size) in elf_map() argument 371 if (total_size) { in elf_map() 372 total_size = ELF_PAGEALIGN(total_size); in elf_map() 373 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in elf_map() 375 vm_munmap(map_addr+size, total_size-size); in elf_map() 556 unsigned long total_size; in load_elf_interp() local 569 total_size = total_mapping_size(interp_elf_phdata, in load_elf_interp() 571 if (!total_size) { in load_elf_interp() 591 eppnt, elf_prot, elf_type, total_size); in load_elf_interp() 592 total_size = 0; in load_elf_interp() [all …]
|
/fs/btrfs/ |
D | xattr.c | 256 size_t total_size = 0, size_left = size; in btrfs_listxattr() local 321 total_size += name_len + 1; in btrfs_listxattr() 346 ret = total_size; in btrfs_listxattr()
|
D | tree-checker.c | 328 u32 total_size; in check_dir_item() local 391 total_size = sizeof(*di) + name_len + data_len; in check_dir_item() 394 if (cur + total_size > item_size) { in check_dir_item() 397 cur + total_size, item_size); in check_dir_item() 419 cur += total_size; in check_dir_item() 420 di = (struct btrfs_dir_item *)((void *)di + total_size); in check_dir_item()
|
D | delayed-inode.c | 700 int total_data_size = 0, total_size = 0; in btrfs_batch_insert_items() local 723 while (total_size + next->data_len + sizeof(struct btrfs_item) <= in btrfs_batch_insert_items() 726 total_size += next->data_len + sizeof(struct btrfs_item); in btrfs_batch_insert_items() 773 total_data_size, total_size, nitems); in btrfs_batch_insert_items()
|
D | ctree.c | 4751 u32 total_data, u32 total_size, int nr) in setup_items_for_insert() argument 4775 if (btrfs_leaf_free_space(leaf) < total_size) { in setup_items_for_insert() 4778 total_size, btrfs_leaf_free_space(leaf)); in setup_items_for_insert() 4849 u32 total_size = 0; in btrfs_insert_empty_items() local 4855 total_size = total_data + (nr * sizeof(struct btrfs_item)); in btrfs_insert_empty_items() 4856 ret = btrfs_search_slot(trans, root, cpu_key, path, total_size, 1); in btrfs_insert_empty_items() 4866 total_data, total_size, nr); in btrfs_insert_empty_items()
|
D | free-space-cache.c | 2930 u64 total_size = 0; in setup_cluster_no_bitmap() local 2995 total_size += entry->bytes; in setup_cluster_no_bitmap() 3000 trace_btrfs_setup_cluster(block_group, cluster, total_size, 0); in setup_cluster_no_bitmap()
|
D | tree-log.c | 2347 u32 total_size; in replay_xattr_deletes() local 2357 total_size = btrfs_item_size_nr(path->nodes[0], i); in replay_xattr_deletes() 2359 while (cur < total_size) { in replay_xattr_deletes()
|
D | ctree.h | 2584 u32 total_data, u32 total_size, int nr);
|
/fs/ext4/ |
D | xattr.c | 2638 unsigned int total_size; /* EA entry size + value size */ in ext4_xattr_make_inode_space() local 2654 total_size = EXT4_XATTR_LEN(last->e_name_len); in ext4_xattr_make_inode_space() 2656 total_size += EXT4_XATTR_SIZE( in ext4_xattr_make_inode_space() 2658 if (total_size <= bfree && in ext4_xattr_make_inode_space() 2659 total_size < min_total_size) { in ext4_xattr_make_inode_space() 2660 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space() 2664 min_total_size = total_size; in ext4_xattr_make_inode_space() 2676 total_size = entry_size; in ext4_xattr_make_inode_space() 2678 total_size += EXT4_XATTR_SIZE( in ext4_xattr_make_inode_space() 2686 ifree += total_size; in ext4_xattr_make_inode_space() [all …]
|
/fs/hfsplus/ |
D | hfsplus_raw.h | 97 __be64 total_size; member
|
D | inode.c | 466 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork() 484 fork->total_size = cpu_to_be64(inode->i_size); in hfsplus_inode_write_fork()
|
D | super.c | 130 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
|
/fs/cifs/ |
D | cifssmb.c | 454 unsigned int total_size; in validate_t2() local 465 total_size = get_unaligned_le16(&pSMB->t2_rsp.ParameterCount); in validate_t2() 466 if (total_size >= 512) in validate_t2() 472 total_size += get_unaligned_le16(&pSMB->t2_rsp.DataCount); in validate_t2() 473 if (total_size > get_bcc(&pSMB->hdr) || in validate_t2() 474 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2()
|