/linux-2.4.37.9/drivers/net/hamradio/soundmodem/ |
D | sm.c | 508 if (copy_to_user(ifr->ifr_data, hi, sizeof(*hi))) in sm_ioctl() 536 if (copy_to_user(ifr->ifr_data, hi, sizeof(*hi))) in sm_ioctl() 542 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sm_ioctl() 550 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl() 556 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sm_ioctl() 572 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl() 577 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl() 584 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl() 598 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sm_ioctl()
|
D | sm_sbc.c | 513 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in sbc_ioctl() 545 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sbc_ioctl() 578 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in sbc_ioctl()
|
D | sm_wss.c | 589 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in wss_ioctl() 607 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in wss_ioctl() 625 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in wss_ioctl()
|
/linux-2.4.37.9/drivers/net/hamradio/ |
D | baycom_par.c | 431 if (get_user(cmd2, (int *)ifr->ifr_data)) in baycom_ioctl() 439 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 451 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 460 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 475 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_fdx.c | 545 if (get_user(cmd2, (int *)ifr->ifr_data)) in baycom_ioctl() 555 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 567 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 576 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 591 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_hdx.c | 582 if (get_user(cmd2, (int *)ifr->ifr_data)) in baycom_ioctl() 592 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 604 if (copy_to_user(ifr->ifr_data, hi, sizeof(struct hdlcdrv_ioctl))) in baycom_ioctl() 613 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 628 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | bpqether.c | 360 struct bpq_ethaddr *ethaddr = (struct bpq_ethaddr *)ifr->ifr_data; in bpq_ioctl() 372 if (copy_from_user(&req, ifr->ifr_data, sizeof(struct bpq_req))) in bpq_ioctl()
|
D | yam.c | 931 if (copy_from_user(&ioctl_cmd, ifr->ifr_data, sizeof(int))) in yam_ioctl() 954 if (copy_from_user(ym, ifr->ifr_data, sizeof(struct yamdrv_ioctl_mcs))) { in yam_ioctl() 969 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()
|
D | baycom_epp.c | 1211 if (get_user(cmd, (int *)ifr->ifr_data)) in baycom_ioctl() 1219 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl() 1230 if (copy_to_user(ifr->ifr_data, &si, sizeof(si))) in baycom_ioctl() 1236 if (copy_from_user(&hi, ifr->ifr_data, sizeof(hi))) in baycom_ioctl() 1327 if (copy_to_user(ifr->ifr_data, &hi, sizeof(hi))) in baycom_ioctl()
|
D | hdlcdrv.c | 614 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in hdlcdrv_ioctl() 722 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in hdlcdrv_ioctl()
|
/linux-2.4.37.9/drivers/net/e100/ |
D | e100_main.c | 3179 if (copy_from_user(&ecmd, ifr->ifr_data, sizeof (ecmd.cmd))) in e100_do_ethtool_ioctl() 3211 void *addr = ifr->ifr_data; in e100_do_ethtool_ioctl() 3253 rc = copy_to_user(ifr->ifr_data, &ering, sizeof(ering)) in e100_do_ethtool_ioctl() 3262 if (copy_from_user(&ering, ifr->ifr_data, sizeof(ering))) in e100_do_ethtool_ioctl() 3302 rc = copy_to_user(ifr->ifr_data, &epause, sizeof(epause)) in e100_do_ethtool_ioctl() 3313 if (copy_from_user(&epause, ifr->ifr_data, sizeof(epause))) in e100_do_ethtool_ioctl() 3341 rc = copy_to_user(ifr->ifr_data, &eval, sizeof(eval)) in e100_do_ethtool_ioctl() 3352 if (copy_from_user(&eval, ifr->ifr_data, sizeof(eval))) in e100_do_ethtool_ioctl() 3441 if (copy_to_user(ifr->ifr_data, &ecmd, sizeof (ecmd))) in e100_ethtool_get_settings() 3456 if (copy_from_user(&ecmd, ifr->ifr_data, sizeof (ecmd))) { in e100_ethtool_set_settings() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | eql.c | 321 return eql_enslave (dev, (slaving_request_t *) ifr->ifr_data); in eql_ioctl() 323 return eql_emancipate (dev, (slaving_request_t *) ifr->ifr_data); in eql_ioctl() 325 return eql_g_slave_cfg (dev, (slave_config_t *) ifr->ifr_data); in eql_ioctl() 327 return eql_s_slave_cfg (dev, (slave_config_t *) ifr->ifr_data); in eql_ioctl() 329 return eql_g_master_cfg (dev, (master_config_t *) ifr->ifr_data); in eql_ioctl() 331 return eql_s_master_cfg (dev, (master_config_t *) ifr->ifr_data); in eql_ioctl()
|
D | slip.c | 1267 if (((unsigned int)((unsigned long)rq->ifr_data)) > 255) { 1271 sl->keepalive = (unchar) ((unsigned long)rq->ifr_data); 1282 rq->ifr_data=(caddr_t)((unsigned long)sl->keepalive); 1286 if (((unsigned)((unsigned long)rq->ifr_data)) > 255) { /* max for unchar */ 1290 if ((sl->outfill = (unchar)((unsigned long) rq->ifr_data)) != 0){ 1299 rq->ifr_data=(caddr_t)((unsigned long)sl->outfill); 1311 if ((unsigned long)rq->ifr_data) 1316 rq->ifr_data=(caddr_t)((unsigned long)sl->leased);
|
D | sb1000.c | 1043 if(copy_to_user(ifr->ifr_data, stats, sizeof(stats))) in sb1000_dev_ioctl() 1051 if(copy_to_user(ifr->ifr_data, version, sizeof(version))) in sb1000_dev_ioctl() 1058 if(put_user(frequency, (int*) ifr->ifr_data)) in sb1000_dev_ioctl() 1065 if(get_user(frequency, (int*) ifr->ifr_data)) in sb1000_dev_ioctl() 1074 if(copy_to_user(ifr->ifr_data, PID, sizeof(PID))) in sb1000_dev_ioctl() 1081 if(copy_from_user(PID, ifr->ifr_data, sizeof(PID))) in sb1000_dev_ioctl()
|
D | rcpci45.c | 834 (&RCuser, rq->ifr_data, sizeof (RCuser))) in RCioctl() 937 if (copy_to_user (rq->ifr_data, &RCuser, in RCioctl()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | ioctl32.c | 217 ifr.ifr_data = (__kernel_caddr_t)get_free_page(GFP_KERNEL); in bond_ioctl() 218 if (!ifr.ifr_data) in bond_ioctl() 240 if (copy_from_user(ifr.ifr_data, (char *)A(data), len)) { in bond_ioctl() 250 len = copy_to_user((char *)A(data), ifr.ifr_data, len); in bond_ioctl() 256 free_page((unsigned long)ifr.ifr_data); in bond_ioctl()
|
/linux-2.4.37.9/drivers/net/wan/ |
D | sbni.c | 1292 error = verify_area( VERIFY_WRITE, ifr->ifr_data, in sbni_ioctl() 1295 copy_to_user( ifr->ifr_data, &nl->in_stats, in sbni_ioctl() 1312 error = verify_area( VERIFY_WRITE, ifr->ifr_data, in sbni_ioctl() 1315 copy_to_user( ifr->ifr_data, &flags, sizeof flags ); in sbni_ioctl() 1323 flags = *(struct sbni_flags*) &ifr->ifr_data; in sbni_ioctl() 1343 if( (error = verify_area( VERIFY_READ, ifr->ifr_data, in sbni_ioctl() 1347 copy_from_user( slave_name, ifr->ifr_data, sizeof slave_name ); in sbni_ioctl()
|
D | farsync.c | 2022 dbg(DBG_IOCTL, "ioctl: %x, %p\n", cmd, ifr->ifr_data); in fst_ioctl() 2046 if (ifr->ifr_data == NULL) { in fst_ioctl() 2049 if (copy_from_user(&wrthdr, ifr->ifr_data, in fst_ioctl() 2067 ifr->ifr_data + sizeof (struct fstioc_write), in fst_ioctl() 2097 if (ifr->ifr_data == NULL) { in fst_ioctl() 2103 if (copy_to_user(ifr->ifr_data, &info, sizeof (info))) { in fst_ioctl() 2121 if (copy_from_user(&info, ifr->ifr_data, sizeof (info))) { in fst_ioctl()
|
/linux-2.4.37.9/drivers/net/wan/lmc/ |
D | lmc_main.c | 173 LMC_COPY_TO_USER(ifr->ifr_data, &sc->ictl, sizeof (lmc_ctl_t)); in lmc_ioctl() 189 LMC_COPY_FROM_USER(&ctl, ifr->ifr_data, sizeof (lmc_ctl_t)); in lmc_ioctl() 219 LMC_COPY_FROM_USER(&new_type, ifr->ifr_data, sizeof(u_int16_t)); in lmc_ioctl() 256 LMC_COPY_TO_USER(ifr->ifr_data, &sc->lmc_xinfo, in lmc_ioctl() 287 LMC_COPY_TO_USER(ifr->ifr_data, &sc->stats, in lmc_ioctl() 318 LMC_COPY_FROM_USER(&ctl, ifr->ifr_data, sizeof (lmc_ctl_t)); in lmc_ioctl() 343 LMC_COPY_TO_USER(ifr->ifr_data, &lmcEventLogIndex, sizeof (u32)); in lmc_ioctl() 344 LMC_COPY_TO_USER(ifr->ifr_data + sizeof (u32), lmcEventLogBuf, sizeof (lmcEventLogBuf)); in lmc_ioctl() 369 LMC_COPY_FROM_USER(&xc, ifr->ifr_data, sizeof (struct lmc_xilinx_control)); in lmc_ioctl()
|
/linux-2.4.37.9/include/linux/ |
D | if.h | 165 #define ifr_data ifr_ifru.ifru_data /* for use by interface */ macro
|
/linux-2.4.37.9/net/bridge/ |
D | br_device.c | 30 data = (unsigned long *)rq->ifr_data; in br_dev_do_ioctl()
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | ethernet.c | 1413 struct mii_ioctl_data *data = (struct mii_ioctl_data *)&ifr->ifr_data; in e100_ioctl() 1458 if (copy_from_user(&ecmd, ifr->ifr_data, sizeof (ecmd))) in e100_ethtool_ioctl() 1491 if (copy_to_user(ifr->ifr_data, &ecmd, sizeof (ecmd))) in e100_ethtool_ioctl() 1520 if (copy_to_user(ifr->ifr_data, &info, sizeof (info))) in e100_ethtool_ioctl()
|
/linux-2.4.37.9/drivers/net/appletalk/ |
D | ipddp.c | 257 struct ipddp_route *rt = (struct ipddp_route *)ifr->ifr_data; in ipddp_ioctl()
|
/linux-2.4.37.9/drivers/net/bonding/ |
D | bond_main.c | 1041 ifr.ifr_data = (char*)&etool; in bond_update_speed_duplex() 1113 mii = (struct mii_ioctl_data *)&ifr.ifr_data; in bond_check_dev_link() 1138 ifr.ifr_data = (char*)&etool; in bond_check_dev_link() 2367 void *addr = ifr->ifr_data; in bond_ethtool_ioctl() 3689 mii = (struct mii_ioctl_data *)&ifr->ifr_data; in bond_do_ioctl() 3700 mii = (struct mii_ioctl_data *)&ifr->ifr_data; in bond_do_ioctl() 3720 u_binfo = (struct ifbond *)ifr->ifr_data; in bond_do_ioctl() 3736 u_sinfo = (struct ifslave *)ifr->ifr_data; in bond_do_ioctl()
|
/linux-2.4.37.9/drivers/usb/ |
D | rtl8150.c | 654 data = (u16 *) & rq->ifr_data; in rtl8150_ioctl() 660 res = rtl8150_ethtool_ioctl(netdev, rq->ifr_data); in rtl8150_ioctl()
|