Lines Matching refs:rxd
1038 struct macsec_rxh_data *rxd; in handle_not_macsec() local
1042 rxd = macsec_data_rcu(skb->dev); in handle_not_macsec()
1048 list_for_each_entry_rcu(macsec, &rxd->secys, secys) { in handle_not_macsec()
1084 struct macsec_rxh_data *rxd; in macsec_handle_frame() local
1141 rxd = macsec_data_rcu(skb->dev); in macsec_handle_frame()
1143 list_for_each_entry_rcu(macsec, &rxd->secys, secys) { in macsec_handle_frame()
1269 list_for_each_entry_rcu(macsec, &rxd->secys, secys) { in macsec_handle_frame()
1399 struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev); in create_rx_sc() local
1402 list_for_each_entry(macsec, &rxd->secys, secys) { in create_rx_sc()
3145 struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev); in macsec_dellink() local
3149 if (list_empty(&rxd->secys)) { in macsec_dellink()
3151 kfree(rxd); in macsec_dellink()
3159 struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev); in register_macsec_dev() local
3161 if (!rxd) { in register_macsec_dev()
3164 rxd = kmalloc(sizeof(*rxd), GFP_KERNEL); in register_macsec_dev()
3165 if (!rxd) in register_macsec_dev()
3168 INIT_LIST_HEAD(&rxd->secys); in register_macsec_dev()
3171 rxd); in register_macsec_dev()
3173 kfree(rxd); in register_macsec_dev()
3178 list_add_tail_rcu(&macsec->secys, &rxd->secys); in register_macsec_dev()
3184 struct macsec_rxh_data *rxd = macsec_data_rtnl(dev); in sci_exists() local
3187 list_for_each_entry(macsec, &rxd->secys, secys) { in sci_exists()
3497 struct macsec_rxh_data *rxd; in macsec_notify() local
3499 rxd = macsec_data_rtnl(real_dev); in macsec_notify()
3500 list_for_each_entry_safe(m, n, &rxd->secys, secys) { in macsec_notify()
3505 kfree(rxd); in macsec_notify()
3512 struct macsec_rxh_data *rxd; in macsec_notify() local
3514 rxd = macsec_data_rtnl(real_dev); in macsec_notify()
3515 list_for_each_entry(m, &rxd->secys, secys) { in macsec_notify()