Lines Matching refs:ptr
14 void *ptr; member
35 return pcb->ptr; in erofs_get_pcpubuf()
38 void erofs_put_pcpubuf(void *ptr) __releases(pcb->lock) in erofs_put_pcpubuf() argument
42 DBG_BUGON(pcb->ptr != ptr); in erofs_put_pcpubuf()
65 void *ptr, *old_ptr; in erofs_pcpubuf_growsize() local
81 ptr = vmap(pages, nrpages, VM_MAP, PAGE_KERNEL); in erofs_pcpubuf_growsize()
82 if (!ptr) { in erofs_pcpubuf_growsize()
88 old_ptr = pcb->ptr; in erofs_pcpubuf_growsize()
89 pcb->ptr = ptr; in erofs_pcpubuf_growsize()
135 if (pcb->ptr) { in erofs_pcpubuf_exit()
136 vunmap(pcb->ptr); in erofs_pcpubuf_exit()
137 pcb->ptr = NULL; in erofs_pcpubuf_exit()