/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.c | 122 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in hellcreek_port_hwtstamp_set() 132 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in hellcreek_port_hwtstamp_set() 146 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in hellcreek_port_hwtstamp_get()
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_ptp.c | 31 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in tsnep_ptp_ioctl() 69 if (copy_to_user(ifr->ifr_data, &adapter->hwtstamp_config, in tsnep_ptp_ioctl()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_main.c | 306 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in aq_ndev_hwtstamp_set() 314 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in aq_ndev_hwtstamp_set() 327 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in aq_ndev_hwtstamp_get()
|
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb_ptp.c | 386 if (copy_to_user(rq->ifr_data, tstamp_config, sizeof(*tstamp_config))) in gem_get_hwtst() 416 if (copy_from_user(tstamp_config, ifr->ifr_data, in gem_set_hwtst() 469 if (copy_to_user(ifr->ifr_data, tstamp_config, sizeof(*tstamp_config))) in gem_set_hwtst()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/macchanger/macchanger/ |
H A D | 0001-Fix-musl-build.patch | 8 | req.ifr_data = (caddr_t)epa;
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 182 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in mv88e6xxx_port_hwtstamp_set() 192 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in mv88e6xxx_port_hwtstamp_set() 206 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in mv88e6xxx_port_hwtstamp_get()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | hwtstamp_config.c | 117 ifr.ifr_data = (caddr_t)&config; in main()
|
/openbmc/linux/net/core/ |
H A D | dev_ioctl.c | 304 if (copy_to_user(ifr->ifr_data, &cfg, sizeof(cfg))) in dev_get_hwtstamp() 375 if (copy_from_user(&cfg, ifr->ifr_data, sizeof(cfg))) in dev_set_hwtstamp() 408 if (copy_to_user(ifr->ifr_data, &cfg, sizeof(cfg))) in dev_set_hwtstamp()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.c | 208 return copy_to_user(ifr->ifr_data, &hdev->ptp->ts_cfg, in hclge_ptp_get_cfg() 368 if (copy_from_user(&cfg, ifr->ifr_data, sizeof(cfg))) in hclge_ptp_set_cfg() 377 return copy_to_user(ifr->ifr_data, &cfg, sizeof(cfg)) ? -EFAULT : 0; in hclge_ptp_set_cfg()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_phc.c | 194 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in ionic_lif_hwstamp_set() 205 if (copy_to_user(ifr->ifr_data, &config, sizeof(config))) in ionic_lif_hwstamp_set() 260 if (copy_to_user(ifr->ifr_data, &config, sizeof(config))) in ionic_lif_hwstamp_get()
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | dev.c | 336 if (copy_from_user(&hwts_cfg, ifr->ifr_data, sizeof(hwts_cfg))) in can_eth_ioctl_hwts() 346 if (copy_to_user(ifr->ifr_data, &hwts_cfg, sizeof(hwts_cfg))) in can_eth_ioctl_hwts()
|
/openbmc/linux/include/uapi/linux/ |
H A D | if.h | 270 #define ifr_data ifr_ifru.ifru_data /* for use by interface */ macro
|
/openbmc/phosphor-networkd/src/ |
H A D | system_queries.cpp | 47 ifr.ifr_data = reinterpret_cast<char*>(data); in executeIFReq()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 312 .ifr_data = (void *)&ch, in rxq_num() 333 .ifr_data = (void *)cfg, in hwtstamp_ioctl()
|
/openbmc/qemu/net/ |
H A D | tap-bsd.c | 138 ifr.ifr_data = ifname; in tap_open_clone()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 303 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in qede_ptp_hw_ts() 320 return copy_to_user(ifr->ifr_data, &config, in qede_ptp_hw_ts()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_ptp.c | 66 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in sja1105_hwtstamp_set() 89 if (copy_to_user(ifr->ifr_data, &config, sizeof(config))) in sja1105_hwtstamp_set() 109 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in sja1105_hwtstamp_get()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_ptp.c | 541 return copy_to_user(ifr->ifr_data, &cfg, sizeof(cfg)) ? -EFAULT : 0; in ocelot_hwstamp_get() 554 if (copy_from_user(&cfg, ifr->ifr_data, sizeof(cfg))) in ocelot_hwstamp_set() 596 if (copy_to_user(ifr->ifr_data, &cfg, sizeof(cfg))) { in ocelot_hwstamp_set()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 946 return copy_to_user(ifr->ifr_data, config, in ixgbe_ptp_get_ts_config() 1138 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in ixgbe_ptp_set_ts_config() 1149 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in ixgbe_ptp_set_ts_config()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | 851 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in igc_ptp_set_ts_config() 862 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in igc_ptp_set_ts_config() 880 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in igc_ptp_get_ts_config()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 549 if (copy_from_user(&stmpconf, ifr->ifr_data, sizeof(stmpconf))) in bnxt_hwtstamp_set() 602 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in bnxt_hwtstamp_set() 626 return copy_to_user(ifr->ifr_data, &stmpconf, sizeof(stmpconf)) ? in bnxt_hwtstamp_get()
|
/openbmc/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 752 if (copy_from_user(&hwts_cfg, ifr->ifr_data, sizeof(hwts_cfg))) in peak_eth_ioctl() 762 if (copy_to_user(ifr->ifr_data, &hwts_cfg, sizeof(hwts_cfg))) in peak_eth_ioctl()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 331 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in ksz_hwtstamp_get() 416 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in ksz_hwtstamp_set() 425 if (copy_to_user(ifr->ifr_data, &config, sizeof(config))) in ksz_hwtstamp_set()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ptp.c | 930 return copy_to_user(ifr->ifr_data, config, sizeof(*config)) ? in i40e_ptp_get_ts_config() 1314 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in i40e_ptp_set_ts_config() 1324 return copy_to_user(ifr->ifr_data, &config, sizeof(config)) ? in i40e_ptp_set_ts_config()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_ines.c | 338 if (copy_from_user(&cfg, ifr->ifr_data, sizeof(cfg))) in ines_hwtstamp() 396 return copy_to_user(ifr->ifr_data, &cfg, sizeof(cfg)) ? -EFAULT : 0; in ines_hwtstamp()
|