Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 16 of 16) sorted by relevance

/fs/orangefs/
Dfile.c52 size_t total_size) in precopy_buffers() argument
61 if (total_size) { in precopy_buffers()
64 total_size); in precopy_buffers()
87 size_t total_size) in postcopy_buffers() argument
95 if (total_size) { in postcopy_buffers()
98 total_size); in postcopy_buffers()
112 size_t total_size, loff_t readahead_size) in wait_for_direct_io() argument
149 new_op->upcall.req.io.count = total_size; in wait_for_direct_io()
157 total_size); in wait_for_direct_io()
165 total_size); in wait_for_direct_io()
[all …]
Dorangefs-bufmap.c150 int total_size; member
240 bufmap->total_size = user_desc->total_size; in orangefs_bufmap_alloc()
262 bufmap->page_count = bufmap->total_size / PAGE_SIZE; in orangefs_bufmap_alloc()
358 if (PAGE_ALIGN(((unsigned long)user_desc->ptr + user_desc->total_size)) in orangefs_bufmap_initialize()
359 != (unsigned long)(user_desc->ptr + user_desc->total_size)) { in orangefs_bufmap_initialize()
362 user_desc->total_size); in orangefs_bufmap_initialize()
366 if (user_desc->total_size != (user_desc->size * user_desc->count)) { in orangefs_bufmap_initialize()
368 user_desc->total_size, in orangefs_bufmap_initialize()
Ddevorangefs-req.c718 __s32 total_size; member
742 if (copy_in_user(&p->total_size, &p32->total_size, sizeof(__s32))) in translate_dev_map26()
Dprotocol.h395 __s32 total_size; member
/fs/
Dbinfmt_elf.c338 unsigned long total_size) in elf_map() argument
359 if (total_size) { in elf_map()
360 total_size = ELF_PAGEALIGN(total_size); in elf_map()
361 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in elf_map()
363 vm_munmap(map_addr+size, total_size-size); in elf_map()
528 unsigned long total_size; in load_elf_interp() local
540 total_size = total_mapping_size(interp_elf_phdata, in load_elf_interp()
542 if (!total_size) { in load_elf_interp()
568 eppnt, elf_prot, elf_type, total_size); in load_elf_interp()
569 total_size = 0; in load_elf_interp()
[all …]
/fs/btrfs/
Dxattr.c271 size_t total_size = 0, size_left = size; in btrfs_listxattr() local
341 total_size += name_len + 1; in btrfs_listxattr()
366 ret = total_size; in btrfs_listxattr()
Ddelayed-inode.c707 int total_data_size = 0, total_size = 0; in btrfs_batch_insert_items() local
730 while (total_size + next->data_len + sizeof(struct btrfs_item) <= in btrfs_batch_insert_items()
733 total_size += next->data_len + sizeof(struct btrfs_item); in btrfs_batch_insert_items()
783 total_data_size, total_size, nitems); in btrfs_batch_insert_items()
Dctree.c4722 u32 total_data, u32 total_size, int nr) in setup_items_for_insert() argument
4747 if (btrfs_leaf_free_space(root, leaf) < total_size) { in setup_items_for_insert()
4751 total_size, btrfs_leaf_free_space(root, leaf)); in setup_items_for_insert()
4822 u32 total_size = 0; in btrfs_insert_empty_items() local
4828 total_size = total_data + (nr * sizeof(struct btrfs_item)); in btrfs_insert_empty_items()
4829 ret = btrfs_search_slot(trans, root, cpu_key, path, total_size, 1); in btrfs_insert_empty_items()
4839 total_data, total_size, nr); in btrfs_insert_empty_items()
Dfree-space-cache.c2886 u64 total_size = 0; in setup_cluster_no_bitmap() local
2951 total_size += entry->bytes; in setup_cluster_no_bitmap()
2956 trace_btrfs_setup_cluster(block_group, cluster, total_size, 0); in setup_cluster_no_bitmap()
Dtree-log.c2111 u32 total_size; in replay_xattr_deletes() local
2121 total_size = btrfs_item_size_nr(path->nodes[0], i); in replay_xattr_deletes()
2123 while (cur < total_size) { in replay_xattr_deletes()
Dctree.h2846 u32 total_data, u32 total_size, int nr);
/fs/ext4/
Dxattr.c1416 unsigned int total_size; /* EA entry size + value size */ in ext4_xattr_make_inode_space() local
1427 total_size = in ext4_xattr_make_inode_space()
1430 if (total_size <= bfree && in ext4_xattr_make_inode_space()
1431 total_size < min_total_size) { in ext4_xattr_make_inode_space()
1432 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
1436 min_total_size = total_size; in ext4_xattr_make_inode_space()
1448 total_size = entry_size + in ext4_xattr_make_inode_space()
1456 ifree += total_size; in ext4_xattr_make_inode_space()
1457 bfree -= total_size; in ext4_xattr_make_inode_space()
/fs/hfsplus/
Dinode.c454 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
472 fork->total_size = cpu_to_be64(inode->i_size); in hfsplus_inode_write_fork()
Dhfsplus_raw.h96 __be64 total_size; member
Dsuper.c129 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
/fs/cifs/
Dcifssmb.c336 unsigned int total_size; in validate_t2() local
347 total_size = get_unaligned_le16(&pSMB->t2_rsp.ParameterCount); in validate_t2()
348 if (total_size >= 512) in validate_t2()
354 total_size += get_unaligned_le16(&pSMB->t2_rsp.DataCount); in validate_t2()
355 if (total_size > get_bcc(&pSMB->hdr) || in validate_t2()
356 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2()