Searched refs:mem_size (Results 1 – 4 of 4) sorted by relevance
25 size_t mem_size; member37 wksp->mem_size = ZSTD_DStreamWorkspaceBound(wksp->window_size); in zstd_init()38 wksp->mem = vmalloc(wksp->mem_size); in zstd_init()74 stream = ZSTD_initDStream(wksp->window_size, wksp->mem, wksp->mem_size); in zstd_uncompress()
52 static ulong mem_size; variable53 module_param(mem_size, ulong, 0400);54 MODULE_PARM_DESC(mem_size,649 pdata->mem_size = rmem->size; in ramoops_parse_dt()657 pdata->mem_size = resource_size(res); in ramoops_parse_dt()752 if (!pdata->mem_size || (!pdata->record_size && !pdata->console_size && in ramoops_probe()769 cxt->size = pdata->mem_size; in ramoops_probe()854 mem_size = pdata->mem_size; in ramoops_probe()927 if (!mem_size) in ramoops_register_dummy()933 pdata.mem_size = mem_size; in ramoops_register_dummy()
50 unsigned long mem_size = 0; in f2fs_available_free_memory() local65 mem_size = (nm_i->nid_cnt[FREE_NID] * in f2fs_available_free_memory()67 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()69 mem_size = (nm_i->nat_cnt[TOTAL_NAT] * in f2fs_available_free_memory()71 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()77 mem_size = get_pages(sbi, F2FS_DIRTY_DENTS); in f2fs_available_free_memory()78 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()83 mem_size += sbi->im[i].ino_num * in f2fs_available_free_memory()85 mem_size >>= PAGE_SHIFT; in f2fs_available_free_memory()86 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()[all …]
39 int mem_size = size, real_size = 0; in xfs_init_local_fork() local50 mem_size++; in xfs_init_local_fork()58 real_size = roundup(mem_size, 4); in xfs_init_local_fork()