Lines Matching refs:ref
33 refcount_t ref; member
42 refcount_t ref; member
47 if (!refcount_dec_and_test(&io->ref)) in erofs_fscache_io_put()
77 if (!refcount_dec_and_test(&req->ref)) in erofs_fscache_req_put()
93 refcount_set(&req->ref, 1); in erofs_fscache_req_alloc()
123 refcount_inc(&req->ref); in erofs_fscache_req_io_alloc()
124 refcount_set(&io->ref, 1); in erofs_fscache_req_io_alloc()
158 refcount_inc(&io->ref); in erofs_fscache_read_io_async()
201 refcount_set(&io->io.ref, 1); in erofs_fscache_bio_alloc()
387 if (refcount_dec_and_test(&domain->ref)) { in erofs_fscache_domain_put()
457 refcount_set(&domain->ref, 1); in erofs_fscache_init_domain()
478 refcount_inc(&domain->ref); in erofs_fscache_register_domain()
502 refcount_set(&ctx->ref, 1); in erofs_fscache_acquire_cookie()
568 refcount_inc(&domain->ref); in erofs_domain_init_cookie()
586 refcount_inc(&ctx->ref); in erofs_domain_register_cookie()
619 if (refcount_dec_and_test(&ctx->ref)) { in erofs_fscache_unregister_cookie()