/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_ucma.c | 273 struct ucma_event *uevent) in ucma_set_event_context() argument 275 uevent->ctx = ctx; in ucma_set_event_context() 279 uevent->mc = __DECONST(struct ucma_multicast *, in ucma_set_event_context() 281 uevent->resp.uid = uevent->mc->uid; in ucma_set_event_context() 282 uevent->resp.id = uevent->mc->id; in ucma_set_event_context() 285 uevent->resp.uid = ctx->uid; in ucma_set_event_context() 286 uevent->resp.id = ctx->id; in ucma_set_event_context() 332 struct ucma_event *uevent; in ucma_event_handler() local 336 uevent = kzalloc(sizeof(*uevent), GFP_KERNEL); in ucma_event_handler() 337 if (!uevent) in ucma_event_handler() [all …]
|
H A D | ib_ucm.c | 156 struct ib_ucm_event *uevent; in ib_ucm_cleanup_events() local 162 uevent = list_entry(ctx->events.next, in ib_ucm_cleanup_events() 164 list_del(&uevent->file_list); in ib_ucm_cleanup_events() 165 list_del(&uevent->ctx_list); in ib_ucm_cleanup_events() 169 if (ib_ucm_new_cm_id(uevent->resp.event)) in ib_ucm_cleanup_events() 170 ib_destroy_cm_id(uevent->cm_id); in ib_ucm_cleanup_events() 172 kfree(uevent); in ib_ucm_cleanup_events() 352 struct ib_ucm_event *uevent; in ib_ucm_event_handler() local 358 uevent = kzalloc(sizeof *uevent, GFP_KERNEL); in ib_ucm_event_handler() 359 if (!uevent) in ib_ucm_event_handler() [all …]
|
H A D | ib_uverbs_std_types_cq.c | 44 container_of(uobject, struct ib_ucq_object, uevent.uobject); in uverbs_free_cq() 65 typeof(*obj), uevent.uobject); in UVERBS_HANDLER() 109 INIT_LIST_HEAD(&obj->uevent.event_list); in UVERBS_HANDLER() 128 obj->uevent.uobject.object = cq; in UVERBS_HANDLER() 129 obj->uevent.uobject.user_handle = user_handle; in UVERBS_HANDLER() 180 container_of(uobj, struct ib_ucq_object, uevent.uobject); in UVERBS_HANDLER() 183 .async_events_reported = obj->uevent.events_reported in UVERBS_HANDLER()
|
H A D | ib_uverbs_std_types.c | 82 container_of(uobject, struct ib_uqp_object, uevent.uobject); in uverbs_free_qp() 106 ib_uverbs_release_uevent(&uqp->uevent); in uverbs_free_qp() 132 container_of(uobject, struct ib_uwq_object, uevent.uobject); in uverbs_free_wq() 139 ib_uverbs_release_uevent(&uwq->uevent); in uverbs_free_wq() 148 struct ib_uevent_object *uevent = in uverbs_free_srq() local 159 container_of(uevent, struct ib_usrq_object, uevent); in uverbs_free_srq() 164 ib_uverbs_release_uevent(uevent); in uverbs_free_srq()
|
H A D | ib_uverbs_cmd.c | 1020 obj->uevent.uobject.user_handle = cmd->user_handle; in create_cq() 1022 INIT_LIST_HEAD(&obj->uevent.event_list); in create_cq() 1044 obj->uevent.uobject.object = cq; in create_cq() 1046 resp.base.cq_handle = obj->uevent.uobject.id; in create_cq() 1054 rdma_alloc_commit_uobject(&obj->uevent.uobject, attrs); in create_cq() 1067 uobj_alloc_abort(&obj->uevent.uobject, attrs); in create_cq() 1136 rdma_lookup_put_uobject(&cq->uobject->uevent.uobject, in ib_uverbs_resize_cq() 1217 rdma_lookup_put_uobject(&cq->uobject->uevent.uobject, in ib_uverbs_poll_cq() 1239 rdma_lookup_put_uobject(&cq->uobject->uevent.uobject, in ib_uverbs_req_notify_cq() 1260 obj = container_of(uobj, struct ib_ucq_object, uevent.uobject); in ib_uverbs_destroy_cq() [all …]
|
H A D | uverbs.h | 197 struct ib_uevent_object uevent; member 202 struct ib_uevent_object uevent; member 210 struct ib_uevent_object uevent; member 214 struct ib_uevent_object uevent; member
|
H A D | ib_uverbs_main.c | 145 ib_uverbs_release_uevent(&uobj->uevent); in ib_uverbs_release_ucq() 377 entry->desc.comp.cq_handle = cq->uobject->uevent.uobject.user_handle; in ib_uverbs_comp_handler() 435 uverbs_uobj_event(&event->element.cq->uobject->uevent, event); in ib_uverbs_cq_event_handler() 444 uverbs_uobj_event(&event->element.qp->uobject->uevent, event); in ib_uverbs_qp_event_handler() 449 uverbs_uobj_event(&event->element.wq->uobject->uevent, event); in ib_uverbs_wq_event_handler() 454 uverbs_uobj_event(&event->element.srq->uobject->uevent, event); in ib_uverbs_srq_event_handler()
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | fuzz_hid.c | 24 char uevent[MAXSTR]; member 69 unpack_string(v[1], p->uevent) < 0 || in unpack() 98 (argv[1] = pack_string(p->uevent)) == NULL || in pack() 137 strlcpy(dummy.uevent, dummy_uevent, sizeof(dummy.uevent)); in pack_dummy() 188 set_udev_parameters(p->uevent, &p->report_descriptor); in manifest() 234 mutate_string(p->uevent); in mutate()
|
H A D | udev.c | 49 static const char *uevent; variable 102 return uevent; in __wrap_udev_device_get_sysattr_value() 268 uevent = uevent_ptr; in set_udev_parameters()
|
/freebsd/contrib/libfido2/src/ |
H A D | hid_linux.c | 79 parse_uevent(const char *uevent, int *bus, int16_t *vendor_id, in parse_uevent() argument 90 if ((s = cp = strdup(uevent)) == NULL) in parse_uevent() 137 char *uevent = NULL; in copy_info() local 150 if ((uevent = get_parent_attr(dev, "hid", NULL, "uevent")) == NULL || in copy_info() 151 parse_uevent(uevent, &bus, &di->vendor_id, &di->product_id) < 0) { in copy_info() 176 free(uevent); in copy_info()
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_insn_decoder.c | 1592 int pt_insn_event(struct pt_insn_decoder *decoder, struct pt_event *uevent, in pt_insn_event() argument 1598 if (!decoder || !uevent) in pt_insn_event() 1738 memcpy(uevent, ev, size); in pt_insn_event()
|
H A D | pt_block_decoder.c | 3321 int pt_blk_event(struct pt_block_decoder *decoder, struct pt_event *uevent, in pt_blk_event() argument 3327 if (!decoder || !uevent) in pt_blk_event() 3469 memcpy(uevent, ev, size); in pt_blk_event()
|