Searched refs:mem_size (Results 1 – 4 of 4) sorted by relevance
25 size_t mem_size; member37 wksp->mem_size = zstd_dstream_workspace_bound(wksp->window_size); in zstd_init()38 wksp->mem = vmalloc(wksp->mem_size); in zstd_init()74 stream = zstd_init_dstream(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()
51 unsigned long mem_size = 0; in f2fs_available_free_memory() local66 mem_size = (nm_i->nid_cnt[FREE_NID] * in f2fs_available_free_memory()68 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()70 mem_size = (nm_i->nat_cnt[TOTAL_NAT] * in f2fs_available_free_memory()72 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()78 mem_size = get_pages(sbi, F2FS_DIRTY_DENTS); in f2fs_available_free_memory()79 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()84 mem_size += sbi->im[i].ino_num * in f2fs_available_free_memory()86 mem_size >>= PAGE_SHIFT; in f2fs_available_free_memory()87 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()[all …]
39 int mem_size = size; in xfs_init_local_fork() local50 mem_size++; in xfs_init_local_fork()53 ifp->if_u1.if_data = kmem_alloc(mem_size, KM_NOFS); in xfs_init_local_fork()