Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 8 of 8) 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()
73 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/
Dzstd.c43 void *mem; member
339 kvfree(workspace->mem); in zstd_free_workspace()
356 workspace->mem = kvmalloc(workspace->size, GFP_KERNEL); in zstd_alloc_workspace()
358 if (!workspace->mem || !workspace->buf) in zstd_alloc_workspace()
397 stream = ZSTD_initCStream(params, len, workspace->mem, in zstd_compress_pages()
566 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress_bio()
643 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress()
Dlzo.c58 void *mem; member
92 kvfree(workspace->mem); in lzo_free_workspace()
104 workspace->mem = kvmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); in lzo_alloc_workspace()
107 if (!workspace->mem || !workspace->buf || !workspace->cbuf) in lzo_alloc_workspace()
189 &out_len, workspace->mem); in lzo_compress_pages()
/fs/
Duserfaultfd.c1937 static void init_once_userfaultfd_ctx(void *mem) in init_once_userfaultfd_ctx() argument
1939 struct userfaultfd_ctx *ctx = (struct userfaultfd_ctx *) mem; in init_once_userfaultfd_ctx()
/fs/reiserfs/
Djournal.c287 int mem = bmap_nr * sizeof(struct reiserfs_bitmap_node *); in reiserfs_allocate_list_bitmaps() local
292 jb->bitmaps = vzalloc(mem); in reiserfs_allocate_list_bitmaps()
/fs/nfsd/
Dnfs4state.c1625 int mem, i; in alloc_session() local
1629 mem = numslots * sizeof(struct nfsd4_slot *); in alloc_session()
1631 new = kzalloc(sizeof(*new) + mem, GFP_KERNEL); in alloc_session()