Home
last modified time | relevance | path

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

/linux/drivers/iommu/iommufd/
H A Dmain.c184 struct iommufd_object *to_destroy) in iommufd_object_dec_wait() argument
186 if (refcount_dec_and_test(&to_destroy->wait_cnt)) in iommufd_object_dec_wait()
189 if (iommufd_object_ops[to_destroy->type].pre_destroy) in iommufd_object_dec_wait()
190 iommufd_object_ops[to_destroy->type].pre_destroy(to_destroy); in iommufd_object_dec_wait()
193 refcount_read(&to_destroy->wait_cnt) == 0, in iommufd_object_dec_wait()
198 refcount_inc(&to_destroy->wait_cnt); in iommufd_object_dec_wait()
207 struct iommufd_object *to_destroy, u32 id, in iommufd_object_remove() argument
223 ret = iommufd_object_dec_wait(ictx, to_destroy); in iommufd_object_remove()
229 refcount_dec(&to_destroy->users); in iommufd_object_remove()
237 if (to_destroy) { in iommufd_object_remove()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c68 bool to_destroy; member
133 group->to_destroy = false; in nfp_fl_lag_group_create()
330 if (entry->to_destroy) { in nfp_fl_lag_do_work()
532 group->to_destroy = true; in nfp_fl_lag_schedule_group_delete()
/linux/drivers/infiniband/core/
H A Dcma.c2721 struct rdma_id_private **to_destroy) in cma_listen_on_dev() argument
2729 *to_destroy = NULL; in cma_listen_on_dev()
2764 *to_destroy = dev_id_priv; in cma_listen_on_dev()
2771 struct rdma_id_private *to_destroy; in cma_listen_on_all() local
2778 ret = cma_listen_on_dev(id_priv, cma_dev, &to_destroy); in cma_listen_on_all()
2781 if (to_destroy) in cma_listen_on_all()
2782 list_del_init(&to_destroy->device_item); in cma_listen_on_all()
2792 if (to_destroy) in cma_listen_on_all()
2793 rdma_destroy_id(&to_destroy->id); in cma_listen_on_all()
5367 struct rdma_id_private *to_destroy; in cma_add_one() local
[all …]