Searched refs:z_erofs_gbufpool (Results 1 – 1 of 1) sorted by relevance
15 static struct z_erofs_gbuf *z_erofs_gbufpool, *z_erofs_rsvbuf; variable42 gbuf = &z_erofs_gbufpool[z_erofs_gbuf_id()]; in z_erofs_get_gbuf()59 gbuf = &z_erofs_gbufpool[z_erofs_gbuf_id()]; in z_erofs_put_gbuf()81 gbuf = &z_erofs_gbufpool[i]; in z_erofs_gbuf_growsize()134 z_erofs_gbufpool = kcalloc(total, sizeof(*z_erofs_gbufpool), in z_erofs_gbuf_init()136 if (!z_erofs_gbufpool) in z_erofs_gbuf_init()140 z_erofs_rsvbuf = &z_erofs_gbufpool[total - 1]; in z_erofs_gbuf_init()149 spin_lock_init(&z_erofs_gbufpool[i].lock); in z_erofs_gbuf_init()158 struct z_erofs_gbuf *gbuf = &z_erofs_gbufpool[i]; in z_erofs_gbuf_exit()174 kfree(z_erofs_gbufpool); in z_erofs_gbuf_exit()