Home
last modified time | relevance | path

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

/openbmc/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()
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 …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_ns_current_pid_tgid.c15 struct bpf_pidns_info nsdata; in get_pid_tgid() local
17 if (bpf_get_ns_current_pid_tgid(dev, ino, &nsdata, sizeof(struct bpf_pidns_info))) in get_pid_tgid()
20 user_pid = nsdata.pid; in get_pid_tgid()
21 user_tgid = nsdata.tgid; in get_pid_tgid()
/openbmc/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()
/openbmc/linux/net/mac80211/
H A Diface.c334 struct ieee80211_sub_if_data *nsdata; in ieee80211_check_concurrent_iface() local
340 list_for_each_entry(nsdata, &local->interfaces, list) { in ieee80211_check_concurrent_iface()
341 if (nsdata != sdata && ieee80211_sdata_running(nsdata)) { in ieee80211_check_concurrent_iface()
346 nsdata->vif.type != NL80211_IFTYPE_MONITOR) || in ieee80211_check_concurrent_iface()
348 nsdata->vif.type == NL80211_IFTYPE_OCB)) in ieee80211_check_concurrent_iface()
362 nsdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_check_concurrent_iface()
368 if (nsdata->vif.bss_conf.csa_active) in ieee80211_check_concurrent_iface()
376 nsdata->vif.addr)) in ieee80211_check_concurrent_iface()
383 nsdata->vif.type)) in ieee80211_check_concurrent_iface()
389 nsdata->vif.type == NL80211_IFTYPE_AP && in ieee80211_check_concurrent_iface()
[all …]
/openbmc/linux/kernel/bpf/
H A Dhelpers.c590 struct bpf_pidns_info *, nsdata, u32, size) in BPF_CALL_4() argument
614 nsdata->pid = task_pid_nr_ns(task, pidns); in BPF_CALL_4()
615 nsdata->tgid = task_tgid_nr_ns(task, pidns); in BPF_CALL_4()
618 memset((void *)nsdata, 0, (size_t) size); in BPF_CALL_4()