/net/netfilter/ |
H A D | core.c | 68 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(®->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(®->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 D | nf_sockopt.c | 24 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 D | mlme.c | 571 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 D | Makefile | 12 cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
|
H A D | core.c | 749 struct cfg80211_beacon_registration *reg, *treg; local 754 list_for_each_entry_safe(reg, treg, &rdev->beacon_registrations, list) { 755 list_del(®->list); 756 kfree(reg);
|
H A D | trace.h | 1340 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 D | rdev-ops.h | 689 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 D | nl80211.c | 25 #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 D | dsa.c | 301 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 D | slave.c | 18 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 D | irda_device.c | 88 struct dongle_reg *reg = arg; local 90 reg->type);
|
/net/mac80211/ |
H A D | cfg.c | 2901 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
|