Searched refs:mem (Results 1 – 11 of 11) sorted by relevance
/fs/squashfs/ |
D | zstd_wrapper.c | 33 void *mem; member 47 wksp->mem = vmalloc(wksp->mem_size); in zstd_init() 48 if (wksp->mem == NULL) in zstd_init() 65 vfree(wksp->mem); in zstd_free() 82 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 | zstd.c | 42 void *mem; member 52 kvfree(workspace->mem); in zstd_free_workspace() 70 workspace->mem = kvmalloc(workspace->size, GFP_KERNEL); in zstd_alloc_workspace() 72 if (!workspace->mem || !workspace->buf) in zstd_alloc_workspace() 111 stream = ZSTD_initCStream(params, len, workspace->mem, in zstd_compress_pages() 280 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress_bio() 358 ZSTD_BTRFS_MAX_INPUT, workspace->mem, workspace->size); in zstd_decompress()
|
D | lzo.c | 34 void *mem; member 46 kvfree(workspace->mem); in lzo_free_workspace() 58 workspace->mem = kvmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); in lzo_alloc_workspace() 61 if (!workspace->mem || !workspace->buf || !workspace->cbuf) in lzo_alloc_workspace() 143 &out_len, workspace->mem); in lzo_compress_pages()
|
/fs/xfs/ |
D | xfs_error.h | 32 #define XFS_CORRUPTION_ERROR(e, lvl, mp, mem) \ argument 33 xfs_corruption_error(e, lvl, mp, mem, \
|
D | xfs_buf.c | 886 void *mem, in xfs_buf_associate_memory() argument 896 pageaddr = (unsigned long)mem & PAGE_MASK; in xfs_buf_associate_memory() 897 offset = (unsigned long)mem - pageaddr; in xfs_buf_associate_memory() 906 bp->b_addr = mem; in xfs_buf_associate_memory()
|
D | xfs_buf.h | 295 int xfs_buf_associate_memory(struct xfs_buf *bp, void *mem, size_t length);
|
/fs/ |
D | userfaultfd.c | 1913 static void init_once_userfaultfd_ctx(void *mem) in init_once_userfaultfd_ctx() argument 1915 struct userfaultfd_ctx *ctx = (struct userfaultfd_ctx *) mem; in init_once_userfaultfd_ctx()
|
/fs/reiserfs/ |
D | journal.c | 287 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/ |
D | nfs4state.c | 1537 int mem, i; in alloc_session() local 1541 mem = numslots * sizeof(struct nfsd4_slot *); in alloc_session() 1543 new = kzalloc(sizeof(*new) + mem, GFP_KERNEL); in alloc_session()
|