Home
last modified time | relevance | path

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

/io_uring/
Dio-wq.c42 refcount_t ref; member
148 return refcount_inc_not_zero(&worker->ref); in io_worker_get()
153 if (refcount_dec_and_test(&worker->ref)) in io_worker_release()
228 if (refcount_dec_and_test(&worker->ref)) in io_worker_exit()
823 refcount_set(&worker->ref, 1); in create_io_worker()
Dio_uring.c1202 static void io_refs_resurrect(struct percpu_ref *ref, struct completion *compl) in io_refs_resurrect() argument
1204 bool got = percpu_ref_tryget(ref); in io_refs_resurrect()
1209 percpu_ref_resurrect(ref); in io_refs_resurrect()
1211 percpu_ref_put(ref); in io_refs_resurrect()
1281 static void io_ring_ctx_ref_free(struct percpu_ref *ref) in io_ring_ctx_ref_free() argument
1283 struct io_ring_ctx *ctx = container_of(ref, struct io_ring_ctx, refs); in io_ring_ctx_ref_free()
7801 static void io_rsrc_node_ref_zero(struct percpu_ref *ref) in io_rsrc_node_ref_zero() argument
7803 struct io_rsrc_node *node = container_of(ref, struct io_rsrc_node, refs); in io_rsrc_node_ref_zero()