Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/core/
Dmad_rmpp.c74 static inline void deref_rmpp_recv(struct mad_rmpp_recv *rmpp_recv) in deref_rmpp_recv() argument
76 if (atomic_dec_and_test(&rmpp_recv->refcount)) in deref_rmpp_recv()
77 complete(&rmpp_recv->comp); in deref_rmpp_recv()
80 static void destroy_rmpp_recv(struct mad_rmpp_recv *rmpp_recv) in destroy_rmpp_recv() argument
82 deref_rmpp_recv(rmpp_recv); in destroy_rmpp_recv()
83 wait_for_completion(&rmpp_recv->comp); in destroy_rmpp_recv()
84 rdma_destroy_ah(rmpp_recv->ah, RDMA_DESTROY_AH_SLEEPABLE); in destroy_rmpp_recv()
85 kfree(rmpp_recv); in destroy_rmpp_recv()
90 struct mad_rmpp_recv *rmpp_recv, *temp_rmpp_recv; in ib_cancel_rmpp_recvs() local
94 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
[all …]