Searched refs:ref (Results 1 – 3 of 3) sorted by relevance
45 refcount_t ref; member153 return refcount_inc_not_zero(&worker->ref); in io_worker_get()158 if (refcount_dec_and_test(&worker->ref)) in io_worker_release()822 refcount_set(&worker->ref, 1); in create_io_worker()
219 static __cold void io_rsrc_node_ref_zero(struct percpu_ref *ref) in io_rsrc_node_ref_zero() argument221 struct io_rsrc_node *node = container_of(ref, struct io_rsrc_node, refs); in io_rsrc_node_ref_zero()
234 static __cold void io_ring_ctx_ref_free(struct percpu_ref *ref) in io_ring_ctx_ref_free() argument236 struct io_ring_ctx *ctx = container_of(ref, struct io_ring_ctx, refs); in io_ring_ctx_ref_free()