Home
last modified time | relevance | path

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

/fs/orangefs/
Dorangefs-bufmap.c151 int total_size; member
224 bufmap->total_size = user_desc->total_size; in orangefs_bufmap_alloc()
239 bufmap->page_count = bufmap->total_size / PAGE_SIZE; in orangefs_bufmap_alloc()
324 if (user_desc->total_size < 0 || in orangefs_bufmap_initialize()
340 if (PAGE_ALIGN(((unsigned long)user_desc->ptr + user_desc->total_size)) in orangefs_bufmap_initialize()
341 != (unsigned long)(user_desc->ptr + user_desc->total_size)) { in orangefs_bufmap_initialize()
344 user_desc->total_size); in orangefs_bufmap_initialize()
348 if (user_desc->total_size != (user_desc->size * user_desc->count)) { in orangefs_bufmap_initialize()
350 user_desc->total_size, in orangefs_bufmap_initialize()
Dfile.c49 loff_t *offset, struct iov_iter *iter, size_t total_size, in wait_for_direct_io() argument
90 new_op->upcall.req.io.count = total_size; in wait_for_direct_io()
134 total_size); in wait_for_direct_io()
138 if (type == ORANGEFS_IO_WRITE && total_size) { in wait_for_direct_io()
140 total_size); in wait_for_direct_io()
173 iov_iter_revert(iter, total_size); in wait_for_direct_io()
214 ret = total_size; in wait_for_direct_io()
Ddevorangefs-req.c717 __s32 total_size; member
743 desc.total_size = d32.total_size; in orangefs_devreq_compat_ioctl()
Dprotocol.h346 __s32 total_size; member
/fs/pstore/
Dinode.c41 size_t total_size; member
72 data->off = ps->total_size % REC_SIZE; in pstore_ftrace_seq_start()
74 if (data->off + REC_SIZE > ps->total_size) { in pstore_ftrace_seq_start()
95 if (data->off + REC_SIZE > ps->total_size) in pstore_ftrace_seq_next()
137 ps->record->buf, ps->total_size); in pstore_file_read()
388 inode->i_size = private->total_size = size; in pstore_mkfile()
Dzone.c1160 if (*off + size > info->total_size) { in psz_init_zone()
1162 name, size, *off, info->total_size); in psz_init_zone()
1194 loff_t *off, size_t total_size, ssize_t record_size, in psz_init_zones() argument
1203 if (!total_size || !record_size) in psz_init_zones()
1206 if (*off + total_size > info->total_size) { in psz_init_zones()
1208 name, total_size, *off, info->total_size); in psz_init_zones()
1212 c = total_size / record_size; in psz_init_zones()
1270 info->total_size - off_size, in psz_alloc_zones()
1298 if (info->total_size < 4096) { in register_pstore_zone()
1324 check_size(total_size, 4096); in register_pstore_zone()
[all …]
Dblk.c118 if (!dev || !dev->total_size || !dev->read || !dev->write) in __register_pstore_device()
149 pstore_zone_info->total_size = dev->total_size; in __register_pstore_device()
399 dev.total_size = info->nr_sects << SECTOR_SHIFT; in __register_pstore_blk()
/fs/
Dbinfmt_elf.c362 unsigned long total_size) in elf_map() argument
383 if (total_size) { in elf_map()
384 total_size = ELF_PAGEALIGN(total_size); in elf_map()
385 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in elf_map()
387 vm_munmap(map_addr+size, total_size-size); in elf_map()
599 unsigned long total_size; in load_elf_interp() local
612 total_size = total_mapping_size(interp_elf_phdata, in load_elf_interp()
614 if (!total_size) { in load_elf_interp()
635 eppnt, elf_prot, elf_type, total_size); in load_elf_interp()
636 total_size = 0; in load_elf_interp()
[all …]
/fs/btrfs/
Dxattr.c281 size_t total_size = 0, size_left = size; in btrfs_listxattr() local
346 total_size += name_len + 1; in btrfs_listxattr()
371 ret = total_size; in btrfs_listxattr()
Dtree-checker.c491 u32 total_size; in check_dir_item() local
574 total_size = sizeof(*di) + name_len + data_len; in check_dir_item()
577 if (cur + total_size > item_size) { in check_dir_item()
580 cur + total_size, item_size); in check_dir_item()
602 cur += total_size; in check_dir_item()
603 di = (struct btrfs_dir_item *)((void *)di + total_size); in check_dir_item()
Ddelayed-inode.c700 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()
Dctree.c4826 u32 total_size; in setup_items_for_insert() local
4831 total_size = total_data + (nr * sizeof(struct btrfs_item)); in setup_items_for_insert()
4845 if (btrfs_leaf_free_space(leaf) < total_size) { in setup_items_for_insert()
4848 total_size, btrfs_leaf_free_space(leaf)); in setup_items_for_insert()
4919 u32 total_size = 0; in btrfs_insert_empty_items() local
4925 total_size = total_data + (nr * sizeof(struct btrfs_item)); in btrfs_insert_empty_items()
4926 ret = btrfs_search_slot(trans, root, cpu_key, path, total_size, 1); in btrfs_insert_empty_items()
Dfree-space-cache.c3170 u64 total_size = 0; in setup_cluster_no_bitmap() local
3235 total_size += entry->bytes; in setup_cluster_no_bitmap()
3240 trace_btrfs_setup_cluster(block_group, cluster, total_size, 0); in setup_cluster_no_bitmap()
Dtree-log.c2367 u32 total_size; in replay_xattr_deletes() local
2377 total_size = btrfs_item_size_nr(path->nodes[0], i); in replay_xattr_deletes()
2379 while (cur < total_size) { in replay_xattr_deletes()
/fs/ext4/
Dxattr.c2640 unsigned int total_size; /* EA entry size + value size */ in ext4_xattr_make_inode_space() local
2656 total_size = EXT4_XATTR_LEN(last->e_name_len); in ext4_xattr_make_inode_space()
2658 total_size += EXT4_XATTR_SIZE( in ext4_xattr_make_inode_space()
2660 if (total_size <= bfree && in ext4_xattr_make_inode_space()
2661 total_size < min_total_size) { in ext4_xattr_make_inode_space()
2662 if (total_size + ifree < isize_diff) { in ext4_xattr_make_inode_space()
2666 min_total_size = total_size; in ext4_xattr_make_inode_space()
2678 total_size = entry_size; in ext4_xattr_make_inode_space()
2680 total_size += EXT4_XATTR_SIZE( in ext4_xattr_make_inode_space()
2688 ifree += total_size; in ext4_xattr_make_inode_space()
[all …]
/fs/hfsplus/
Dhfsplus_raw.h97 __be64 total_size; member
Dinode.c466 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()
Dsuper.c130 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
/fs/cifs/
Dcifssmb.c377 unsigned int total_size; in validate_t2() local
388 total_size = get_unaligned_le16(&pSMB->t2_rsp.ParameterCount); in validate_t2()
389 if (total_size >= 512) in validate_t2()
395 total_size += get_unaligned_le16(&pSMB->t2_rsp.DataCount); in validate_t2()
396 if (total_size > get_bcc(&pSMB->hdr) || in validate_t2()
397 total_size >= CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) in validate_t2()