Searched refs:mem (Results 1 – 8 of 8) sorted by relevance
/fs/squashfs/ |
D | zstd_wrapper.c | 24 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/ |
D | util.c | 150 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_()
|
D | util.h | 276 #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/ |
D | lzo.c | 58 void *mem; member 72 kvfree(workspace->mem); in lzo_free_workspace() 84 workspace->mem = kvmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); in lzo_alloc_workspace() 87 if (!workspace->mem || !workspace->buf || !workspace->cbuf) in lzo_alloc_workspace() 165 &out_len, workspace->mem); in lzo_compress_pages()
|
D | zstd.c | 43 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() 561 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress_bio() 637 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress()
|
/fs/ |
D | userfaultfd.c | 2103 static void init_once_userfaultfd_ctx(void *mem) in init_once_userfaultfd_ctx() argument 2105 struct userfaultfd_ctx *ctx = (struct userfaultfd_ctx *) mem; in init_once_userfaultfd_ctx()
|
/fs/reiserfs/ |
D | journal.c | 285 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/ |
D | nfs4state.c | 1713 int mem, i; in alloc_session() local 1717 mem = numslots * sizeof(struct nfsd4_slot *); in alloc_session() 1719 new = kzalloc(sizeof(*new) + mem, GFP_KERNEL); in alloc_session()
|