Searched refs:reg (Results 1 - 12 of 12) sorted by relevance

/net/netfilter/
H A Dcore.c68 int nf_register_hook(struct nf_hook_ops *reg) argument
76 list_for_each_entry(elem, &nf_hooks[reg->pf][reg->hooknum], list) {
77 if (reg->priority < elem->priority)
80 list_add_rcu(&reg->list, elem->list.prev);
83 static_key_slow_inc(&nf_hooks_needed[reg->pf][reg->hooknum]);
89 void nf_unregister_hook(struct nf_hook_ops *reg) argument
92 list_del_rcu(&reg->list);
95 static_key_slow_dec(&nf_hooks_needed[reg
101 nf_register_hooks(struct nf_hook_ops *reg, unsigned int n) argument
120 nf_unregister_hooks(struct nf_hook_ops *reg, unsigned int n) argument
[all...]
H A Dnf_sockopt.c24 int nf_register_sockopt(struct nf_sockopt_ops *reg) argument
33 if (ops->pf == reg->pf
35 reg->set_optmin, reg->set_optmax)
37 reg->get_optmin, reg->get_optmax))) {
41 reg->set_optmin, reg->set_optmax,
42 reg->get_optmin, reg
55 nf_unregister_sockopt(struct nf_sockopt_ops *reg) argument
[all...]
/net/wireless/
H A Dmlme.c571 struct cfg80211_mgmt_registration *reg, *nreg; local
588 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL);
594 list_for_each_entry(reg, &wdev->mgmt_registrations, list) {
595 int mlen = min(match_len, reg->match_len);
597 if (frame_type != le16_to_cpu(reg->frame_type))
600 if (memcmp(reg->match, match_data, mlen) == 0) {
630 struct cfg80211_mgmt_registration *reg, *tmp; local
634 list_for_each_entry_safe(reg, tmp, &wdev->mgmt_registrations, list) {
635 if (reg->nlportid != nlportid)
639 u16 frame_type = le16_to_cpu(reg
662 struct cfg80211_mgmt_registration *reg, *tmp; local
781 struct cfg80211_mgmt_registration *reg; local
[all...]
H A DMakefile12 cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
H A Dcore.c749 struct cfg80211_beacon_registration *reg, *treg; local
754 list_for_each_entry_safe(reg, treg, &rdev->beacon_registrations, list) {
755 list_del(&reg->list);
756 kfree(reg);
H A Dtrace.h1340 u16 frame_type, bool reg),
1341 TP_ARGS(wiphy, wdev, frame_type, reg),
1346 __field(bool, reg)
1352 __entry->reg = reg;
1354 TP_printk(WIPHY_PR_FMT ", " WDEV_PR_FMT ", frame_type: 0x%.2x, reg: %s ",
1356 __entry->reg ? "true" : "false")
H A Drdev-ops.h689 struct wireless_dev *wdev, u16 frame_type, bool reg)
691 trace_rdev_mgmt_frame_register(&rdev->wiphy, wdev , frame_type, reg);
692 rdev->ops->mgmt_frame_register(&rdev->wiphy, wdev , frame_type, reg);
688 rdev_mgmt_frame_register(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u16 frame_type, bool reg) argument
H A Dnl80211.c25 #include "reg.h"
8208 struct cfg80211_beacon_registration *reg, *nreg; local
8220 list_for_each_entry(reg, &rdev->beacon_registrations, list) {
8221 if (reg->nlportid == info->snd_portid) {
10683 struct cfg80211_beacon_registration *reg; local
10688 list_for_each_entry(reg, &rdev->beacon_registrations, list) {
10709 genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, reg->nlportid);
10884 struct cfg80211_beacon_registration *reg, *tmp; local
10896 list_for_each_entry_safe(reg, tmp, &rdev->beacon_registrations,
10898 if (reg
[all...]
/net/dsa/
H A Ddsa.c301 const __be32 *reg; local
311 reg = of_get_property(parent_sw, "reg", &len);
312 if (!reg || (len != sizeof(*reg) * 2))
315 link_sw_addr = be32_to_cpup(reg + 1);
330 reg = of_get_property(link, "reg", NULL);
331 if (!reg) {
336 link_port_addr = be32_to_cpup(reg);
[all...]
H A Dslave.c18 static int dsa_slave_phy_read(struct mii_bus *bus, int addr, int reg) argument
23 return ds->drv->phy_read(ds, addr, reg);
28 static int dsa_slave_phy_write(struct mii_bus *bus, int addr, int reg, u16 val) argument
33 return ds->drv->phy_write(ds, addr, reg, val);
/net/irda/
H A Dirda_device.c88 struct dongle_reg *reg = arg; local
90 reg->type);
/net/mac80211/
H A Dcfg.c2901 u16 frame_type, bool reg)
2911 if (reg)
2918 if (reg)
2899 ieee80211_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev, u16 frame_type, bool reg) argument

Completed in 235 milliseconds