Home
last modified time | relevance | path

Searched refs:z_erofs_rsvbuf (Results 1 – 1 of 1) sorted by relevance

/linux/fs/erofs/
H A Dzutil.c143 if (!z_erofs_rsvbuf->pages) { in z_erofs_gbuf_init()
144 z_erofs_rsvbuf = NULL; in z_erofs_gbuf_init()
183 } else if (tryrsv && z_erofs_rsvbuf && z_erofs_rsvbuf->nrpages) { in __erofs_allocpage()
184 spin_lock(&z_erofs_rsvbuf->lock); in __erofs_allocpage()
185 if (z_erofs_rsvbuf->nrpages) in __erofs_allocpage()
186 page = z_erofs_rsvbuf->pages[--z_erofs_rsvbuf->nrpages]; in __erofs_allocpage()
187 spin_unlock(&z_erofs_rsvbuf->lock); in __erofs_allocpage()
202 if (z_erofs_rsvbuf && z_erofs_rsvbuf->nrpages < in erofs_release_pages()
204 spin_lock(&z_erofs_rsvbuf->lock); in erofs_release_pages()
206 z_erofs_rsvbuf->pages[z_erofs_rsvbuf->nrpages++] in erofs_release_pages()
[all …]