Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 9 of 9) sorted by relevance

/fs/squashfs/
Dzstd_wrapper.c24 void *mem; member
38 wksp->mem = vmalloc(wksp->mem_size); in zstd_init()
39 if (wksp->mem == NULL) in zstd_init()
56 vfree(wksp->mem); in zstd_free()
74 stream = ZSTD_initDStream(wksp->window_size, wksp->mem, wksp->mem_size); in zstd_uncompress()
/fs/ufs/
Dutil.c150 unsigned char * mem, struct ufs_buffer_head * ubh, unsigned size) in _ubh_ubhcpymem_() argument
158 memcpy (mem, ubh->bh[bhno]->b_data, len); in _ubh_ubhcpymem_()
159 mem += uspi->s_fsize; in _ubh_ubhcpymem_()
166 struct ufs_buffer_head * ubh, unsigned char * mem, unsigned size) in _ubh_memcpyubh_() argument
174 memcpy (ubh->bh[bhno]->b_data, mem, len); in _ubh_memcpyubh_()
175 mem += uspi->s_fsize; in _ubh_memcpyubh_()
Dutil.h276 #define ubh_ubhcpymem(mem,ubh,size) _ubh_ubhcpymem_(uspi,mem,ubh,size) argument
278 #define ubh_memcpyubh(ubh,mem,size) _ubh_memcpyubh_(uspi,ubh,mem,size) argument
/fs/btrfs/
Dlzo.c59 void *mem; member
73 kvfree(workspace->mem); in lzo_free_workspace()
85 workspace->mem = kvmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); in lzo_alloc_workspace()
88 if (!workspace->mem || !workspace->buf || !workspace->cbuf) in lzo_alloc_workspace()
166 &out_len, workspace->mem); in lzo_compress_pages()
Dzstd.c43 void *mem; member
338 kvfree(workspace->mem); in zstd_free_workspace()
355 workspace->mem = kvmalloc(workspace->size, GFP_KERNEL); in zstd_alloc_workspace()
357 if (!workspace->mem || !workspace->buf) in zstd_alloc_workspace()
392 stream = ZSTD_initCStream(params, len, workspace->mem, in zstd_compress_pages()
559 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress_bio()
634 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress()
/fs/
DKconfig63 --mode=fsdax --map=mem
66 --map=mem:
Duserfaultfd.c2102 static void init_once_userfaultfd_ctx(void *mem) in init_once_userfaultfd_ctx() argument
2104 struct userfaultfd_ctx *ctx = (struct userfaultfd_ctx *) mem; in init_once_userfaultfd_ctx()
/fs/reiserfs/
Djournal.c285 int mem = bmap_nr * sizeof(struct reiserfs_bitmap_node *); in reiserfs_allocate_list_bitmaps() local
290 jb->bitmaps = vzalloc(mem); in reiserfs_allocate_list_bitmaps()
/fs/nfsd/
Dnfs4state.c1729 int mem, i; in alloc_session() local
1733 mem = numslots * sizeof(struct nfsd4_slot *); in alloc_session()
1735 new = kzalloc(sizeof(*new) + mem, GFP_KERNEL); in alloc_session()