Home
last modified time | relevance | path

Searched refs:allocation_size (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_zswap.c196 size_t allocation_size = page_size * 512; in test_swapin_nozswap() local
198 min_swap = allocation_size / 4; in test_swapin_nozswap()
199 snprintf(mem_max_buf, sizeof(mem_max_buf), "%zu", allocation_size * 3/4); in test_swapin_nozswap()
212 if (cg_run(test_group, allocate_and_read_bytes, (void *)allocation_size)) in test_swapin_nozswap()
468 size_t allocation_size = page_size * 1024; in test_no_invasive_cgroup_shrink() local
469 unsigned int nr_pages = allocation_size / page_size; in test_no_invasive_cgroup_shrink()
475 snprintf(mem_max_buf, sizeof(mem_max_buf), "%zu", allocation_size / 2); in test_no_invasive_cgroup_shrink()
494 zw_allocation = malloc(allocation_size); in test_no_invasive_cgroup_shrink()
514 wb_allocation = malloc(allocation_size); in test_no_invasive_cgroup_shrink()
/linux/fs/smb/server/
H A Dvfs_cache.h114 __u64 allocation_size; member
H A Dsmb2pdu.c5037 fp->allocation_size = S_ISDIR(stat.mode) ? 0 : in smb2_open()
5149 if (!S_ISDIR(stat.mode) && stat.size > fp->allocation_size) in smb2_open()
5150 fp->allocation_size = round_up(stat.size, stat.blksize); in smb2_open()
5151 rsp->AllocationSize = cpu_to_le64(fp->allocation_size); in smb2_open()
6604 fp->allocation_size = S_ISDIR(stat->mode) ? 0 : stat->blocks << 9; in get_file_allocation_stat()
6625 sinfo->AllocationSize = cpu_to_le64(fp->allocation_size); in get_file_standard_info()
6705 file_info->AllocationSize = cpu_to_le64(fp->allocation_size); in get_file_all_info()
7006 file_info->AllocationSize = cpu_to_le64(fp->allocation_size); in get_file_network_open_info()
7140 file_info->AllocationSize = cpu_to_le64(fp->allocation_size); in find_file_posix_info()
7909 rsp->AllocationSize = cpu_to_le64(fp->allocation_size); in smb2_close()
[all …]
/linux/fs/smb/client/
H A Dsmb2proto.h209 loff_t allocation_size);
H A Dsmb2pdu.c6002 loff_t allocation_size) in SMB2_set_allocation()
6008 info.AllocationSize = cpu_to_le64(allocation_size); in SMB2_set_allocation()
5996 SMB2_set_allocation(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 pid,loff_t allocation_size) SMB2_set_allocation() argument