Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A 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()
147 err = rhashtable_lookup_insert_fast(&nsdata->namespaces, &ns->head, in ioam6_genl_addns()
153 mutex_unlock(&nsdata->lock); in ioam6_genl_addns()
159 struct ioam6_pernet_data *nsdata; in ioam6_genl_delns() local
169 nsdata = ioam6_pernet(genl_info_net(info)); in ioam6_genl_delns()
171 mutex_lock(&nsdata->lock); in ioam6_genl_delns()
173 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_delns()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_ns_current_pid_tgid.c22 struct bpf_pidns_info nsdata; in get_pid_tgid() local
24 if (bpf_get_ns_current_pid_tgid(dev, ino, &nsdata, sizeof(struct bpf_pidns_info))) in get_pid_tgid()
27 user_pid = nsdata.pid; in get_pid_tgid()
28 user_tgid = nsdata.tgid; in get_pid_tgid()
/linux/net/mac802154/
H A Diface.c215 struct ieee802154_sub_if_data *nsdata) in ieee802154_check_mac_settings() argument
217 struct wpan_dev *nwpan_dev = &nsdata->wpan_dev; in ieee802154_check_mac_settings()
222 if (sdata->iface_default_filtering != nsdata->iface_default_filtering) in ieee802154_check_mac_settings()
257 struct ieee802154_sub_if_data *nsdata; in ieee802154_check_concurrent_iface() local
260 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee802154_check_concurrent_iface()
261 if (nsdata != sdata && ieee802154_sdata_running(nsdata)) { in ieee802154_check_concurrent_iface()
270 nsdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_check_concurrent_iface()
276 ret = ieee802154_check_mac_settings(local, sdata, nsdata); in ieee802154_check_concurrent_iface()
/linux/net/mac80211/
H A Diface.c345 struct ieee80211_sub_if_data *nsdata; in ieee80211_check_concurrent_iface() local
351 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee80211_check_concurrent_iface()
352 if (nsdata != sdata && ieee80211_sdata_running(nsdata)) { in ieee80211_check_concurrent_iface()
357 nsdata->vif.type != NL80211_IFTYPE_MONITOR) || in ieee80211_check_concurrent_iface()
359 nsdata->vif.type == NL80211_IFTYPE_OCB)) in ieee80211_check_concurrent_iface()
373 nsdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_check_concurrent_iface()
379 if (nsdata->vif.bss_conf.csa_active) in ieee80211_check_concurrent_iface()
387 nsdata->vif.addr)) in ieee80211_check_concurrent_iface()
394 nsdata->vif.type)) in ieee80211_check_concurrent_iface()
400 nsdata->vif.type == NL80211_IFTYPE_AP && in ieee80211_check_concurrent_iface()
[all …]
/linux/kernel/bpf/
H A Dhelpers.c591 struct bpf_pidns_info *, nsdata, u32, size) in BPF_CALL_4() argument
615 nsdata->pid = task_pid_nr_ns(task, pidns); in BPF_CALL_4()
616 nsdata->tgid = task_tgid_nr_ns(task, pidns); in BPF_CALL_4()
619 memset((void *)nsdata, 0, (size_t) size); in BPF_CALL_4()