Searched refs:ioc_data (Results 1 – 2 of 2) sorted by relevance
/net/atm/ |
D | lec.c | 99 const struct atmlec_ioc *ioc_data, 687 struct atmlec_ioc ioc_data; in lec_vcc_attach() local 690 bytes_left = copy_from_user(&ioc_data, arg, sizeof(struct atmlec_ioc)); in lec_vcc_attach() 693 if (ioc_data.dev_num < 0 || ioc_data.dev_num >= MAX_LEC_ITF) in lec_vcc_attach() 695 ioc_data.dev_num = array_index_nospec(ioc_data.dev_num, MAX_LEC_ITF); in lec_vcc_attach() 696 if (!dev_lec[ioc_data.dev_num]) in lec_vcc_attach() 705 lec_vcc_added(netdev_priv(dev_lec[ioc_data.dev_num]), in lec_vcc_attach() 706 &ioc_data, vcc, vcc->push); in lec_vcc_attach() 707 vcc->proto_data = dev_lec[ioc_data.dev_num]; in lec_vcc_attach() 1925 lec_vcc_added(struct lec_priv *priv, const struct atmlec_ioc *ioc_data, in lec_vcc_added() argument [all …]
|
D | mpc.c | 609 struct atmmpc_ioc ioc_data; in atm_mpoa_vcc_attach() local 613 bytes_left = copy_from_user(&ioc_data, arg, sizeof(struct atmmpc_ioc)); in atm_mpoa_vcc_attach() 619 ipaddr = ioc_data.ipaddr; in atm_mpoa_vcc_attach() 620 if (ioc_data.dev_num < 0 || ioc_data.dev_num >= MAX_LEC_ITF) in atm_mpoa_vcc_attach() 623 mpc = find_mpc_by_itfnum(ioc_data.dev_num); in atm_mpoa_vcc_attach() 627 if (ioc_data.type == MPC_SOCKET_INGRESS) { in atm_mpoa_vcc_attach()
|