Lines Matching refs:ioc_data
99 const struct atmlec_ioc *ioc_data,
685 struct atmlec_ioc ioc_data; in lec_vcc_attach() local
688 bytes_left = copy_from_user(&ioc_data, arg, sizeof(struct atmlec_ioc)); in lec_vcc_attach()
691 if (ioc_data.dev_num < 0 || ioc_data.dev_num >= MAX_LEC_ITF) in lec_vcc_attach()
693 ioc_data.dev_num = array_index_nospec(ioc_data.dev_num, MAX_LEC_ITF); in lec_vcc_attach()
694 if (!dev_lec[ioc_data.dev_num]) in lec_vcc_attach()
703 lec_vcc_added(netdev_priv(dev_lec[ioc_data.dev_num]), in lec_vcc_attach()
704 &ioc_data, vcc, vcc->push); in lec_vcc_attach()
705 vcc->proto_data = dev_lec[ioc_data.dev_num]; in lec_vcc_attach()
1923 lec_vcc_added(struct lec_priv *priv, const struct atmlec_ioc *ioc_data, in lec_vcc_added() argument
1933 if (ioc_data->receive == 2) { in lec_vcc_added()
1941 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()
1949 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()
1954 } else if (ioc_data->receive == 1) { in lec_vcc_added()
1960 ATM_ESA_LEN, ioc_data->atm_addr); in lec_vcc_added()
1964 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()
1977 ATM_ESA_LEN, ioc_data->atm_addr); in lec_vcc_added()
1982 (ioc_data->atm_addr, entry->atm_addr, in lec_vcc_added()
2040 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()