Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/gnu/fs/xfs/FreeBSD/
Dxfs_ioctl.c71 #undef copy_from_user
73 copy_from_user(void *dst, void *src, int len) { in copy_from_user() function
104 if (copy_from_user(&hreq, arg, sizeof(hreq))) in xfs_find_handle()
248 if (copy_from_user(handlep, hanp, hlen)) in xfs_vget_fsop_handlereq()
313 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t))) in xfs_open_by_handle()
399 if (copy_from_user(&hreq, arg, sizeof(xfs_fsop_handlereq_t))) in xfs_readlink_by_handle()
414 if (copy_from_user(&olen, hreq.ohandlen, sizeof(__u32))) { in xfs_readlink_by_handle()
450 if (copy_from_user(&dmhreq, arg, sizeof(xfs_fsop_setdm_handlereq_t))) in xfs_fssetdm_by_handle()
462 if (copy_from_user(&fsd, dmhreq.data, sizeof(fsd))) { in xfs_fssetdm_by_handle()
494 if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t))) in xfs_attrlist_by_handle()
[all …]
Dxfs_compat.h128 #ifndef copy_from_user
129 #define copy_from_user(dst, src, len) copyin((src), (dst), (len)) macro
/freebsd-9-stable/sys/ofed/drivers/infiniband/core/
Ducma.c308 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_get_event()
367 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_create_id()
476 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_destroy_id()
506 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_bind_addr()
526 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_resolve_addr()
548 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_resolve_route()
637 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_query_route()
702 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_connect()
725 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_listen()
747 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_accept()
[all …]
Ducm.c404 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_event()
489 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_create_id()
536 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_destroy_id()
581 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_attr_id()
614 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_init_qp_attr()
658 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_listen()
684 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_notify()
709 if (copy_from_user(data, (void __user *)(unsigned long)src, len)) { in ib_ucm_alloc_data()
732 if (copy_from_user(&upath, (void __user *)(unsigned long)src, in ib_ucm_path_get()
757 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_send_req()
[all …]
Duverbs_cmd.c288 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_get_context()
375 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_query_device()
444 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_query_port()
495 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_alloc_pd()
563 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_dealloc_pd()
605 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_reg_mr()
700 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_dereg_mr()
740 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_create_comp_channel()
773 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_create_cq()
869 if (copy_from_user(&cmd, buf, sizeof cmd)) in ib_uverbs_resize_cq()
[all …]
Duser_mad.c386 copy_from_user(msg->mad + IB_MGMT_RMPP_HDR, buf + IB_MGMT_RMPP_HDR, in copy_rmpp_mad()
393 if (copy_from_user(ib_get_rmpp_segment(msg, seg), buf, in copy_rmpp_mad()
464 if (copy_from_user(&packet->mad, buf, hdr_size(file))) { in ib_umad_write()
477 if (copy_from_user(packet->mad.data, buf, IB_MGMT_RMPP_HDR)) { in ib_umad_write()
540 if (copy_from_user(packet->msg->mad + copy_offset, in ib_umad_write()
626 if (copy_from_user(&ureq, arg, sizeof ureq)) { in ib_umad_reg_agent()
Duverbs_main.c628 if (copy_from_user(&hdr, buf, sizeof hdr)) in ib_uverbs_write()
/freebsd-9-stable/sys/ofed/include/asm/
Duaccess.h44 copy_from_user(void *to, const void *from, unsigned long n) in copy_from_user() function
/freebsd-9-stable/sys/contrib/xz-embedded/linux/lib/xz/
Dxz_dec_test.c125 if (copy_from_user(buffer_in, buf, buffers.in_size)) in xz_dec_test_write()
/freebsd-9-stable/sys/dev/drm2/ttm/
Dttm_bo_vm.c468 ret = copy_from_user(virtual, wbuf, io_size);
536 ret = copy_from_user(virtual, wbuf, io_size);
/freebsd-9-stable/sys/gnu/fs/xfs/
Dxfs_dfrag.c77 if (copy_from_user(sxp, sxu, sizeof(xfs_swapext_t))) { in xfs_swapext()
Dxfs_bmap.c5752 #undef copy_from_user
5754 copy_from_user(void *dst, void *src, int len) { in copy_from_user() function
/freebsd-9-stable/sys/dev/lmc/
Dif_lmc.h1405 # define copyin(u, k, len) copy_from_user(k, u, len)
Dif_lmc.c6561 error = copy_from_user(kern_addr, user_addr, length);
6603 error = copy_from_user(&sc->hdlc_settings,
/freebsd-9-stable/sys/ofed/include/rdma/
Dib_verbs.h1417 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
/freebsd-9-stable/sys/contrib/ipfilter/netinet/
Dip_compat.h1153 # define COPYIN(a,b,c) copy_from_user((caddr_t)(b), (caddr_t)(a), (c))