/kernel/linux/linux-5.10/drivers/net/ |
D | eql.c | 279 return eql_enslave(dev, ifr->ifr_data); in eql_ioctl() 281 return eql_emancipate(dev, ifr->ifr_data); in eql_ioctl() 283 return eql_g_slave_cfg(dev, ifr->ifr_data); in eql_ioctl() 285 return eql_s_slave_cfg(dev, ifr->ifr_data); in eql_ioctl() 287 return eql_g_master_cfg(dev, ifr->ifr_data); in eql_ioctl() 289 return eql_s_master_cfg(dev, ifr->ifr_data); in eql_ioctl()
|
D | sb1000.c | 1014 if(copy_to_user(ifr->ifr_data, stats, sizeof(stats))) in sb1000_dev_ioctl() 1022 if(copy_to_user(ifr->ifr_data, version, sizeof(version))) in sb1000_dev_ioctl() 1029 if(put_user(frequency, (int __user *) ifr->ifr_data)) in sb1000_dev_ioctl() 1036 if(get_user(frequency, (int __user *) ifr->ifr_data)) in sb1000_dev_ioctl() 1045 if(copy_to_user(ifr->ifr_data, PID, sizeof(PID))) in sb1000_dev_ioctl() 1052 if(copy_from_user(PID, ifr->ifr_data, sizeof(PID))) in sb1000_dev_ioctl()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 138 if (!ifr->ifr_data) in rtw_android_priv_cmd() 140 if (copy_from_user(&priv_cmd, ifr->ifr_data, sizeof(priv_cmd))) in rtw_android_priv_cmd()
|
/kernel/linux/linux-5.10/drivers/net/hamradio/ |
D | baycom_par.c | 431 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 443 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 452 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 467 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_fdx.c | 522 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 534 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 543 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 558 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_hdx.c | 576 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 588 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 597 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 612 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | bpqether.c | 319 struct bpq_ethaddr __user *ethaddr = ifr->ifr_data; in bpq_ioctl() 328 if (copy_from_user(&req, ifr->ifr_data, sizeof(struct bpq_req))) in bpq_ioctl()
|
D | yam.c | 930 if (copy_from_user(&ioctl_cmd, ifr->ifr_data, sizeof(int))) in yam_ioctl() 950 ym = memdup_user(ifr->ifr_data, in yam_ioctl() 966 if (copy_from_user(&yi, ifr->ifr_data, sizeof(struct yamdrv_ioctl_cfg))) in yam_ioctl() 1046 if (copy_to_user(ifr->ifr_data, &yi, sizeof(struct yamdrv_ioctl_cfg))) in yam_ioctl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 277 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in aq_ndev_hwtstamp_set() 285 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in aq_ndev_hwtstamp_set() 298 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in aq_ndev_hwtstamp_get()
|
/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
D | lmc_main.c | 127 if (copy_to_user(ifr->ifr_data, &sc->ictl, sizeof(lmc_ctl_t))) in lmc_ioctl() 144 if (copy_from_user(&ctl, ifr->ifr_data, sizeof(lmc_ctl_t))) { in lmc_ioctl() 174 if (copy_from_user(&new_type, ifr->ifr_data, sizeof(u16))) { in lmc_ioctl() 214 if (copy_to_user(ifr->ifr_data, &sc->lmc_xinfo, in lmc_ioctl() 248 if (copy_to_user(ifr->ifr_data, &sc->lmc_device->stats, in lmc_ioctl() 250 copy_to_user(ifr->ifr_data + sizeof(sc->lmc_device->stats), in lmc_ioctl() 285 if (copy_from_user(&ctl, ifr->ifr_data, sizeof(lmc_ctl_t))) { in lmc_ioctl() 317 if (copy_to_user(ifr->ifr_data, &lmcEventLogIndex, sizeof(u32))) { in lmc_ioctl() 321 if (copy_to_user(ifr->ifr_data + sizeof(u32), lmcEventLogBuf, in lmc_ioctl() 349 if (copy_from_user(&xc, ifr->ifr_data, sizeof(struct lmc_xilinx_control))) { in lmc_ioctl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 444 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in igc_ptp_set_ts_config() 455 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in igc_ptp_set_ts_config() 473 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in igc_ptp_get_ts_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 426 if (copy_to_user(rq->ifr_data, tstamp_config, sizeof(*tstamp_config))) in gem_get_hwtst() 458 if (copy_from_user(tstamp_config, ifr->ifr_data, in gem_set_hwtst() 514 if (copy_to_user(ifr->ifr_data, tstamp_config, sizeof(*tstamp_config))) in gem_set_hwtst()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 473 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in fec_ptp_set() 502 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in fec_ptp_set() 516 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in fec_ptp_get()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/net/ |
D | if.h | 125 #define ifr_data ifr_ifru.ifru_data macro
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 186 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in mv88e6xxx_port_hwtstamp_set() 196 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in mv88e6xxx_port_hwtstamp_set() 210 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in mv88e6xxx_port_hwtstamp_get()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 526 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in i40e_ptp_get_ts_config() 676 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in i40e_ptp_set_ts_config() 686 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in i40e_ptp_set_ts_config()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | hwtstamp_config.c | 115 ifr.ifr_data = (caddr_t)&config; in main()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | if.h | 270 #define ifr_data ifr_ifru.ifru_data /* for use by interface */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | if.h | 177 #define ifr_data ifr_ifru.ifru_data macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | if.h | 170 #define ifr_data ifr_ifru.ifru_data macro
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 300 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in qede_ptp_hw_ts() 322 return copy_to_user(ifr->ifr_data, &config, in qede_ptp_hw_ts()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 94 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in sja1105_hwtstamp_set() 130 if (copy_to_user(ifr->ifr_data, &config, sizeof(config))) in sja1105_hwtstamp_set() 150 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in sja1105_hwtstamp_get()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | farsync.c | 1987 dbg(DBG_IOCTL, "ioctl: %x, %p\n", cmd, ifr->ifr_data); in fst_ioctl() 2011 if (ifr->ifr_data == NULL) { in fst_ioctl() 2014 if (copy_from_user(&wrthdr, ifr->ifr_data, in fst_ioctl() 2029 buf = memdup_user(ifr->ifr_data + sizeof(struct fstioc_write), in fst_ioctl() 2062 if (ifr->ifr_data == NULL) { in fst_ioctl() 2068 if (copy_to_user(ifr->ifr_data, &info, sizeof (info))) { in fst_ioctl() 2085 if (copy_from_user(&info, ifr->ifr_data, sizeof (info))) { in fst_ioctl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 956 return copy_to_user(ifr->ifr_data, config, in ixgbe_ptp_get_ts_config() 1149 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in ixgbe_ptp_set_ts_config() 1160 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in ixgbe_ptp_set_ts_config()
|
/kernel/linux/linux-5.10/drivers/net/appletalk/ |
D | ipddp.c | 273 struct ipddp_route __user *rt = ifr->ifr_data; in ipddp_ioctl()
|