/freebsd/sys/dev/ath/ |
H A D | if_ath_ioctl.c | 267 return copyout(&sc->sc_stats, ifr_data_get_ptr(ifr), in ath_ioctl() 271 return copyout(&sc->sc_aggr_stats, ifr_data_get_ptr(ifr), in ath_ioctl()
|
/freebsd/sys/net/ |
H A D | if_gre.c | 303 if ((error = copyin(ifr_data_get_ptr(ifr), &opt, in gre_ioctl() 363 error = copyout(&sc->gre_key, ifr_data_get_ptr(ifr), in gre_ioctl() 367 error = copyout(&sc->gre_options, ifr_data_get_ptr(ifr), in gre_ioctl() 371 error = copyout(&sc->gre_port, ifr_data_get_ptr(ifr), in gre_ioctl()
|
H A D | if_gif.c | 658 error = copyout(&options, ifr_data_get_ptr(ifr), in gif_ioctl() 664 error = copyin(ifr_data_get_ptr(ifr), &options, in gif_ioctl()
|
H A D | if_ipsec.c | 762 error = copyout(&reqid, ifr_data_get_ptr(ifr), sizeof(reqid)); in ipsec_ioctl() 767 error = copyin(ifr_data_get_ptr(ifr), &reqid, sizeof(reqid)); in ipsec_ioctl()
|
H A D | if_var.h | 740 void *ifr_data_get_ptr(void *ifrp);
|
H A D | if.c | 2334 ifr_data_get_ptr(void *ifrp) in ifr_data_get_ptr() function 2512 error = copyout(&ifd, ifr_data_get_ptr(ifr), sizeof(ifd)); in ifhwioctl() 2715 error = copyinstr(ifr_data_get_ptr(ifr), new_name, IFNAMSIZ, in ifhwioctl() 3021 ifr_data_get_ptr(ifr) : NULL); in ifioctl()
|
H A D | if_vlan.c | 2335 error = copyin(ifr_data_get_ptr(ifr), &vlr, sizeof(vlr)); in vlan_ioctl() 2377 error = copyout(&vlr, ifr_data_get_ptr(ifr), sizeof(vlr)); in vlan_ioctl()
|
H A D | iflib.c | 4568 err = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in iflib_if_ioctl() 4581 err = copyout(&i2c, ifr_data_get_ptr(ifr), in iflib_if_ioctl()
|
/freebsd/sys/security/mac/ |
H A D | mac_net.c | 408 error = copyin(ifr_data_get_ptr(ifr), &mac, sizeof(mac)); in mac_ifnet_ioctl_get() 451 error = copyin(ifr_data_get_ptr(ifr), &mac, sizeof(mac)); in mac_ifnet_ioctl_set()
|
/freebsd/sys/dev/sfxge/ |
H A D | sfxge.c | 526 error = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in sfxge_if_ioctl() 541 error = copyout(&i2c, ifr_data_get_ptr(ifr), in sfxge_if_ioctl() 550 error = copyin(ifr_data_get_ptr(ifr), &ioc, sizeof(ioc)); in sfxge_if_ioctl() 555 error = copyout(&ioc, ifr_data_get_ptr(ifr), in sfxge_if_ioctl()
|
/freebsd/sys/dev/sume/ |
H A D | if_sume.c | 890 error = copyin(ifr_data_get_ptr(ifr), &sifr, sizeof(sifr)); in sume_if_ioctl() 899 error = copyin(ifr_data_get_ptr(ifr), &sifr, sizeof(sifr)); in sume_if_ioctl() 909 error = copyout(&sifr, ifr_data_get_ptr(ifr), sizeof(sifr)); in sume_if_ioctl()
|
/freebsd/sys/dev/oce/ |
H A D | oce_if.c | 576 rc = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in oce_ioctl() 603 rc = copyout(&i2c, ifr_data_get_ptr(ifr), sizeof(i2c)); in oce_ioctl() 2235 void *priv_data = ifr_data_get_ptr(ifr); in oce_handle_passthrough()
|
/freebsd/sys/dev/sbni/ |
H A D | if_sbni.c | 1125 error = copyout(in_stats, ifr_data_get_ptr(ifr), in sbni_ioctl()
|
/freebsd/sys/netinet/ |
H A D | ip_carp.c | 2396 if ((error = copyin(ifr_data_get_ptr(ifr), &carpr, sizeof carpr))) in carp_ioctl() 2423 (char *)ifr_data_get_ptr(ifr), in carp_ioctl()
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pfsync.c | 1655 return (copyout(&pfsyncr, ifr_data_get_ptr(ifr), in pfsyncioctl() 1705 if ((error = copyin(ifr_data_get_ptr(ifr), &pfsyncr, in pfsyncioctl()
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 2072 error = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in mlx4_en_ioctl() 2089 error = copyout(&i2c, ifr_data_get_ptr(ifr), sizeof(i2c)); in mlx4_en_ioctl()
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge.c | 4150 err = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in mxge_ioctl() 4161 err = copyout(&i2c, ifr_data_get_ptr(ifr), in mxge_ioctl()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 3770 error = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in mlx5e_ioctl() 3839 error = copyout(&i2c, ifr_data_get_ptr(ifr), sizeof(i2c)); in mlx5e_ioctl()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_ioctl.c | 3659 error = copyout(&vap->iv_stats, ifr_data_get_ptr(ifr), in ieee80211_ioctl()
|
/freebsd/sys/dev/iwi/ |
H A D | if_iwi.c | 2056 error = copyout(&sc->sc_linkqual, ifr_data_get_ptr(ifr), in iwi_ioctl()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 2766 ret = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in qlnx_ioctl() 2796 ret = copyout(&i2c, ifr_data_get_ptr(ifr), sizeof(i2c)); in qlnx_ioctl()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl.c | 4732 return (copyout(&sc->sc_stats, ifr_data_get_ptr(ifr), in mwl_ioctl()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_main.c | 3167 rc = copyin(ifr_data_get_ptr(ifr), &i2c, sizeof(i2c)); in cxgbe_ioctl() 3188 rc = copyout(&i2c, ifr_data_get_ptr(ifr), sizeof(i2c)); in cxgbe_ioctl()
|