Home
last modified time | relevance | path

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

/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()
359 nsdata->vif.type != NL80211_IFTYPE_MONITOR) || in ieee80211_check_concurrent_iface()
361 nsdata->vif.type == NL80211_IFTYPE_OCB)) in ieee80211_check_concurrent_iface()
369 nsdata->vif.type == NL80211_IFTYPE_NAN) { in ieee80211_check_concurrent_iface()
370 if (!nsdata->u.nan.started) in ieee80211_check_concurrent_iface()
372 rcu_assign_pointer(sdata->u.nan_data.nmi, nsdata); in ieee80211_check_concurrent_iface()
386 nsdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_check_concurrent_iface()
392 for_each_link_data(nsdata, link) { 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()