Searched refs:nsdata (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/net/ipv6/ |
D | ioam6.c | 107 struct ioam6_pernet_data *nsdata; in ioam6_genl_addns() local 118 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_addns() 120 mutex_lock(&nsdata->lock); in ioam6_genl_addns() 122 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_addns() 149 err = rhashtable_lookup_insert_fast(&nsdata->namespaces, &ns->head, in ioam6_genl_addns() 155 mutex_unlock(&nsdata->lock); in ioam6_genl_addns() 161 struct ioam6_pernet_data *nsdata; in ioam6_genl_delns() local 171 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_delns() 173 mutex_lock(&nsdata->lock); in ioam6_genl_delns() 175 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_delns() [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | test_ns_current_pid_tgid.c | 16 struct bpf_pidns_info nsdata; in handler() local 18 if (bpf_get_ns_current_pid_tgid(dev, ino, &nsdata, sizeof(struct bpf_pidns_info))) in handler() 21 user_pid = nsdata.pid; in handler() 22 user_tgid = nsdata.tgid; in handler()
|
/Linux-v5.15/net/mac802154/ |
D | iface.c | 270 struct ieee802154_sub_if_data *nsdata; in ieee802154_check_concurrent_iface() local 273 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee802154_check_concurrent_iface() 274 if (nsdata != sdata && ieee802154_sdata_running(nsdata)) { in ieee802154_check_concurrent_iface() 283 nsdata->wpan_dev.iftype == NL802154_IFTYPE_NODE) in ieee802154_check_concurrent_iface() 290 &nsdata->wpan_dev); in ieee802154_check_concurrent_iface()
|
/Linux-v5.15/net/mac80211/ |
D | iface.c | 244 struct ieee80211_sub_if_data *nsdata; in ieee80211_check_concurrent_iface() local 250 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee80211_check_concurrent_iface() 251 if (nsdata != sdata && ieee80211_sdata_running(nsdata)) { in ieee80211_check_concurrent_iface() 256 nsdata->vif.type != NL80211_IFTYPE_MONITOR) || in ieee80211_check_concurrent_iface() 258 nsdata->vif.type == NL80211_IFTYPE_OCB)) in ieee80211_check_concurrent_iface() 272 nsdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_check_concurrent_iface() 278 if (nsdata->vif.csa_active) in ieee80211_check_concurrent_iface() 286 nsdata->vif.addr)) in ieee80211_check_concurrent_iface() 293 nsdata->vif.type)) in ieee80211_check_concurrent_iface() 300 nsdata->vif.type == NL80211_IFTYPE_AP) in ieee80211_check_concurrent_iface() [all …]
|
/Linux-v5.15/kernel/bpf/ |
D | helpers.c | 569 struct bpf_pidns_info *, nsdata, u32, size) in BPF_CALL_4() argument 593 nsdata->pid = task_pid_nr_ns(task, pidns); in BPF_CALL_4() 594 nsdata->tgid = task_tgid_nr_ns(task, pidns); in BPF_CALL_4() 597 memset((void *)nsdata, 0, (size_t) size); in BPF_CALL_4()
|