Home
last modified time | relevance | path

Searched refs:nsdata (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/ipv6/
Dioam6.c109 struct ioam6_pernet_data *nsdata; in ioam6_genl_addns() local
120 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_addns()
122 mutex_lock(&nsdata->lock); in ioam6_genl_addns()
124 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_addns()
151 err = rhashtable_lookup_insert_fast(&nsdata->namespaces, &ns->head, in ioam6_genl_addns()
157 mutex_unlock(&nsdata->lock); in ioam6_genl_addns()
163 struct ioam6_pernet_data *nsdata; in ioam6_genl_delns() local
173 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_delns()
175 mutex_lock(&nsdata->lock); in ioam6_genl_delns()
177 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_delns()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_ns_current_pid_tgid.c16 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-6.1.9/net/mac802154/
Diface.c269 struct ieee802154_sub_if_data *nsdata; in ieee802154_check_concurrent_iface() local
272 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee802154_check_concurrent_iface()
273 if (nsdata != sdata && ieee802154_sdata_running(nsdata)) { in ieee802154_check_concurrent_iface()
282 nsdata->wpan_dev.iftype == NL802154_IFTYPE_NODE) in ieee802154_check_concurrent_iface()
289 &nsdata->wpan_dev); in ieee802154_check_concurrent_iface()
/linux-6.1.9/net/mac80211/
Diface.c313 struct ieee80211_sub_if_data *nsdata; in ieee80211_check_concurrent_iface() local
319 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee80211_check_concurrent_iface()
320 if (nsdata != sdata && ieee80211_sdata_running(nsdata)) { in ieee80211_check_concurrent_iface()
325 nsdata->vif.type != NL80211_IFTYPE_MONITOR) || in ieee80211_check_concurrent_iface()
327 nsdata->vif.type == NL80211_IFTYPE_OCB)) in ieee80211_check_concurrent_iface()
341 nsdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_check_concurrent_iface()
347 if (nsdata->vif.bss_conf.csa_active) in ieee80211_check_concurrent_iface()
355 nsdata->vif.addr)) in ieee80211_check_concurrent_iface()
362 nsdata->vif.type)) in ieee80211_check_concurrent_iface()
368 nsdata->vif.type == NL80211_IFTYPE_AP && in ieee80211_check_concurrent_iface()
[all …]
/linux-6.1.9/kernel/bpf/
Dhelpers.c576 struct bpf_pidns_info *, nsdata, u32, size) in BPF_CALL_4() argument
600 nsdata->pid = task_pid_nr_ns(task, pidns); in BPF_CALL_4()
601 nsdata->tgid = task_tgid_nr_ns(task, pidns); in BPF_CALL_4()
604 memset((void *)nsdata, 0, (size_t) size); in BPF_CALL_4()