Searched refs:pcb (Results 1 – 1 of 1) sorted by relevance
22 __acquires(pcb->lock) in erofs_get_pcpubuf()24 struct erofs_pcpubuf *pcb = &get_cpu_var(erofs_pcb); in erofs_get_pcpubuf() local26 raw_spin_lock(&pcb->lock); in erofs_get_pcpubuf()28 if (requiredpages > pcb->nrpages) { in erofs_get_pcpubuf()29 raw_spin_unlock(&pcb->lock); in erofs_get_pcpubuf()32 __acquire(pcb->lock); in erofs_get_pcpubuf()35 return pcb->ptr; in erofs_get_pcpubuf()38 void erofs_put_pcpubuf(void *ptr) __releases(pcb->lock) in erofs_put_pcpubuf()40 struct erofs_pcpubuf *pcb = &per_cpu(erofs_pcb, smp_processor_id()); in erofs_put_pcpubuf() local42 DBG_BUGON(pcb->ptr != ptr); in erofs_put_pcpubuf()[all …]