Searched defs:udata (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-head/share/examples/kld/khelp/
H A Dh_example.c60 static int example_hook(int hhook_type, int hhook_id, void *udata,
118 * - udata will be NULL, because we didn't elect to pass a pointer in either of
133 example_hook(int hhook_type, int hhook_id, void *udata, void *ctx_data, argument
/freebsd-head/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_ah.c63 struct ib_udata *udata)
75 if (ll == IB_LINK_LAYER_ETHERNET && udata) {
81 if (udata->outlen < min_resp_len)
91 err = ib_copy_to_udata(udata, &resp, resp.response_length);
62 mlx5_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, struct ib_udata *udata) argument
H A Dmlx5_ib_srq.c72 struct ib_udata *udata, int buf_size)
84 ucmdlen = min(udata->inlen, sizeof(ucmd));
86 if (ib_copy_from_udata(&ucmd, udata, ucmdlen)) {
87 mlx5_ib_dbg(dev, "failed copy udata\n");
94 if (udata->inlen > sizeof(ucmd) &&
95 !ib_is_udata_cleared(udata, sizeof(ucmd),
96 udata->inlen - sizeof(ucmd)))
101 &ucmd, udata->inlen, &uidx);
236 struct ib_udata *udata)
286 err = create_srq_user(pd, srq, &in, udata, buf_siz
70 create_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq, struct mlx5_srq_attr *in, struct ib_udata *udata, int buf_size) argument
234 mlx5_ib_create_srq(struct ib_pd *pd, struct ib_srq_init_attr *init_attr, struct ib_udata *udata) argument
348 mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) argument
[all...]
/freebsd-head/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c132 struct ib_udata *udata)
131 mlx4_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, struct ib_udata *udata) argument
H A Dmlx4_ib_srq.c73 struct ib_udata *udata)
111 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) {
199 if (ib_copy_to_udata(udata, &srq->msrq.srqn, sizeof (__u32))) {
234 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata)
71 mlx4_ib_create_srq(struct ib_pd *pd, struct ib_srq_init_attr *init_attr, struct ib_udata *udata) argument
233 mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) argument
H A Dmlx4_ib_mr.c139 struct ib_udata *udata)
195 struct ib_udata *udata)
344 struct ib_udata *udata)
137 mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, u64 virt_addr, int access_flags, struct ib_udata *udata) argument
192 mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, u64 start, u64 length, u64 virt_addr, int mr_access_flags, struct ib_pd *pd, struct ib_udata *udata) argument
343 mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type, struct ib_udata *udata) argument
H A Dmlx4_ib_cq.c174 struct ib_udata *udata)
206 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) {
252 if (ib_copy_to_udata(udata, &cq->mcq.cqn, sizeof (__u32))) {
309 int entries, struct ib_udata *udata)
317 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd))
373 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
399 err = mlx4_alloc_resize_umem(dev, cq, entries, udata);
171 mlx4_ib_create_cq(struct ib_device *ibdev, const struct ib_cq_init_attr *attr, struct ib_ucontext *context, struct ib_udata *udata) argument
308 mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, int entries, struct ib_udata *udata) argument
/freebsd-head/tests/sys/aio/
H A Dlio_test.c71 void *udata[2]; local
99 udata[i] = (void*)((caddr_t)0xdead0000 + i);
102 sev[i].sigev_value.sival_ptr = udata[i];
144 void *udata = (void*)0xdeadbeefdeadbeef; local
152 sev.sigev_value.sival_ptr = udata;
158 ATF_REQUIRE_EQ(udata, kq_returned.udata);
/freebsd-head/sys/security/audit/
H A Daudit_syscalls.c169 union auditon_udata udata; local
189 memset((void *)&udata, 0, sizeof(udata));
215 error = copyin(uap->data, (void *)&udata, uap->length);
218 AUDIT_ARG_AUDITON(&udata);
228 if (uap->length == sizeof(udata.au_policy64)) {
230 udata.au_policy64 |= AUDIT_CNT;
232 udata.au_policy64 |= AUDIT_AHLT;
234 udata.au_policy64 |= AUDIT_ARGV;
236 udata
[all...]
/freebsd-head/sys/kern/
H A Dkern_kthread.c61 kproc_start(const void *udata) argument
63 const struct kproc_desc *kp = udata;
241 kthread_start(const void *udata) argument
243 const struct kthread_desc *kp = udata;
/freebsd-head/contrib/bsnmp/snmpd/
H A Dtrans_udp.c94 udp_input(int fd __unused, void *udata) argument
96 struct udp_port *p = udata;
H A Dtrans_lsock.c242 lsock_input(int fd __unused, void *udata) argument
244 struct lsock_peer *peer = udata;
258 lsock_listen_input(int fd, void *udata) argument
260 struct lsock_port *p = udata;
H A Dsnmpd.h92 void *udata; /* user data */ member in struct:timer
109 void *udata; /* user data */ member in struct:fdesc
/freebsd-head/sys/ufs/ffs/
H A Dffs_rawread.c63 caddr_t udata,
189 caddr_t udata,
210 iolen = ((vm_offset_t) udata) & PAGE_MASK;
220 bp->b_data = udata;
274 caddr_t udata; local
280 udata = uio->uio_iov->iov_base;
300 error = ffs_rawread_readahead(vp, udata, offset,
315 udata +
347 udata += iolen;
352 udata,
188 ffs_rawread_readahead(struct vnode *vp, caddr_t udata, off_t offset, size_t len, struct thread *td, struct buf *bp) argument
[all...]
/freebsd-head/sys/netinet/khelp/
H A Dh_ertt.c74 void *udata, void *ctx_data, void *hdata, struct osd *hosd);
76 void *udata, void *ctx_data, void *hdata, struct osd *hosd);
197 ertt_packet_measurement_hook(int hhook_type, int hhook_id, void *udata, argument
432 ertt_add_tx_segment_info_hook(int hhook_type, int hhook_id, void *udata, argument
/freebsd-head/lib/libifconfig/
H A Dlibifconfig.c129 ifconfig_foreach_func_t cb, void *udata)
141 cb(h, ifa, udata);
154 ifconfig_foreach_func_t cb, void *udata)
163 cb(h, ift, udata);
128 ifconfig_foreach_iface(ifconfig_handle_t *h, ifconfig_foreach_func_t cb, void *udata) argument
153 ifconfig_foreach_ifaddr(ifconfig_handle_t *h, struct ifaddrs *ifa, ifconfig_foreach_func_t cb, void *udata) argument
/freebsd-head/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c78 static void smartpqi_get_driver_info_ioctl(caddr_t udata, struct cdev *cdev) argument
81 pdriver_info driver_info = (pdriver_info)udata;
83 DBG_FUNC("IN udata = %p cdev = %p\n", udata, cdev);
99 static void smartpqi_get_pci_info_ioctl(caddr_t udata, struct cdev *cdev) argument
103 pqi_pci_info_t *pci_info = (pqi_pci_info_t *)udata;
109 DBG_FUNC("IN udata = %p cdev = %p\n", udata, cdev);
127 static int smartpqi_ioctl(struct cdev *cdev, u_long cmd, caddr_t udata, argument
133 DBG_FUNC("IN cmd = 0x%lx udata
[all...]
/freebsd-head/tests/sys/kqueue/libkqueue/
H A Dmain.c210 "[ident=%ju, filter=%d, %s, %s, data=%jd, udata=%p, "
217 kev->udata,
236 void *udata)
265 k1->data != k2->data || k1->udata != k2->udata ||
230 kevent_add(int kqfd, struct kevent *kev, uintptr_t ident, short filter, u_short flags, u_int fflags, intptr_t data, void *udata) argument
/freebsd-head/sys/net/
H A Dif_enc.c234 * + udata contains pointer to enc_softc;
238 enc_hhook(int32_t hhook_type, int32_t hhook_id, void *udata, void *ctx_data, argument
247 sc = (struct enc_softc *)udata;
/freebsd-head/sys/dev/mthca/
H A Dmthca_srq.c365 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata)
364 mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) argument
H A Dmthca_provider.c302 struct ib_udata *udata)
337 if (ib_copy_to_udata(udata, &uresp, sizeof uresp)) {
377 struct ib_udata *udata)
393 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) {
413 struct ib_udata *udata)
441 struct ib_udata *udata)
458 if (ib_copy_from_udata(&ucmd, udata, sizeof ucmd)) {
484 if (context && ib_copy_to_udata(udata, &srq->srqn, sizeof (__u32))) {
517 struct ib_udata *udata)
540 if (ib_copy_from_udata(&ucmd, udata, sizeo
301 mthca_alloc_ucontext(struct ib_device *ibdev, struct ib_udata *udata) argument
375 mthca_alloc_pd(struct ib_device *ibdev, struct ib_ucontext *context, struct ib_udata *udata) argument
411 mthca_ah_create(struct ib_pd *pd, struct ib_ah_attr *ah_attr, struct ib_udata *udata) argument
439 mthca_create_srq(struct ib_pd *pd, struct ib_srq_init_attr *init_attr, struct ib_udata *udata) argument
515 mthca_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *init_attr, struct ib_udata *udata) argument
649 mthca_create_cq(struct ib_device *ibdev, const struct ib_cq_init_attr *attr, struct ib_ucontext *context, struct ib_udata *udata) argument
776 mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument
902 mthca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, u64 virt, int acc, struct ib_udata *udata) argument
[all...]
/freebsd-head/sys/dev/cxgbe/iw_cxgbe/
H A Dcq.c908 struct ib_ucontext *ib_context, struct ib_udata *udata)
1004 ret = ib_copy_to_udata(udata, &uresp,
1038 int c4iw_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata) argument
907 c4iw_create_cq(struct ib_device *ibdev, const struct ib_cq_init_attr *attr, struct ib_ucontext *ib_context, struct ib_udata *udata) argument
H A Dprovider.c63 struct ib_udata *udata)
122 struct ib_udata *udata)
143 if (udata->outlen < sizeof(uresp) - sizeof(uresp.reserved)) {
162 ret = ib_copy_to_udata(udata, &uresp,
248 struct ib_udata *udata)
255 context, udata);
268 if (ib_copy_to_udata(udata, &php->pdid, sizeof(u32))) {
281 ibdev, context, udata, pdid, php);
61 c4iw_ah_create(struct ib_pd *pd, struct ib_ah_attr *ah_attr, struct ib_udata *udata) argument
121 c4iw_alloc_ucontext(struct ib_device *ibdev, struct ib_udata *udata) argument
247 c4iw_allocate_pd(struct ib_device *ibdev, struct ib_ucontext *context, struct ib_udata *udata) argument
H A Dmem.c451 u64 virt, int acc, struct ib_udata *udata)
554 struct ib_udata *udata)
450 c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, u64 virt, int acc, struct ib_udata *udata) argument
553 c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type, struct ib_udata *udata) argument
/freebsd-head/usr.sbin/bhyve/
H A Dusb_mouse.c328 uint8_t *udata; local
336 udata = NULL;
342 udata = data->buf;
372 *udata = umouse_confd.confd.bConfigurationValue;
427 udata[0] = 4;
428 udata[1] = UDESC_STRING;
434 udata[2] = str[0];
435 udata[3] = str[1];
445 udata[0] = slen;
446 udata[
684 uint8_t *udata; local
[all...]

Completed in 391 milliseconds

12