Searched refs:mem (Results 1 – 9 of 9) 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 | 59 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()
|
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() 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/ |
D | Kconfig | 63 --mode=fsdax --map=mem 66 --map=mem:
|
D | userfaultfd.c | 2102 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/ |
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 | 1729 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()
|