Searched defs:reg (Results 1 - 11 of 11) sorted by relevance

/net/netfilter/
H A Dnf_sockopt.c24 int nf_register_sockopt(struct nf_sockopt_ops *reg) argument
31 if (ops->pf == reg->pf
33 reg->set_optmin, reg->set_optmax)
35 reg->get_optmin, reg->get_optmax))) {
39 reg->set_optmin, reg->set_optmax,
40 reg->get_optmin, reg
53 nf_unregister_sockopt(struct nf_sockopt_ops *reg) argument
[all...]
H A Dcore.c64 int nf_register_hook(struct nf_hook_ops *reg) argument
69 list_for_each_entry(elem, &nf_hooks[reg->pf][reg->hooknum], list) {
70 if (reg->priority < elem->priority)
73 list_add_rcu(&reg->list, elem->list.prev);
76 static_key_slow_inc(&nf_hooks_needed[reg->pf][reg->hooknum]);
82 void nf_unregister_hook(struct nf_hook_ops *reg) argument
85 list_del_rcu(&reg->list);
88 static_key_slow_dec(&nf_hooks_needed[reg
94 nf_register_hooks(struct nf_hook_ops *reg, unsigned int n) argument
113 nf_unregister_hooks(struct nf_hook_ops *reg, unsigned int n) argument
[all...]
H A Dnf_tables_api.c3847 * @reg: the register number
3852 int nft_validate_input_register(enum nft_registers reg) argument
3854 if (reg <= NFT_REG_VERDICT)
3856 if (reg > NFT_REG_MAX)
3865 * @reg: the register number
3870 int nft_validate_output_register(enum nft_registers reg) argument
3872 if (reg < NFT_REG_VERDICT)
3874 if (reg > NFT_REG_MAX)
3884 * @reg: the destination register number
3893 int nft_validate_data_load(const struct nft_ctx *ctx, enum nft_registers reg, argument
[all...]
/net/irda/
H A Dirda_device.c86 struct dongle_reg *reg = arg; local
88 reg->type);
/net/dsa/
H A Ddsa.c378 const __be32 *reg; local
388 reg = of_get_property(parent_sw, "reg", &len);
389 if (!reg || (len != sizeof(*reg) * 2))
392 link_sw_addr = be32_to_cpup(reg + 1);
407 reg = of_get_property(link, "reg", NULL);
408 if (!reg) {
413 link_port_addr = be32_to_cpup(reg);
[all...]
H A Dslave.c20 static int dsa_slave_phy_read(struct mii_bus *bus, int addr, int reg) argument
25 return ds->drv->phy_read(ds, addr, reg);
30 static int dsa_slave_phy_write(struct mii_bus *bus, int addr, int reg, u16 val) argument
35 return ds->drv->phy_write(ds, addr, reg, val);
/net/wireless/
H A Dcore.c738 struct cfg80211_beacon_registration *reg, *treg; local
740 list_for_each_entry_safe(reg, treg, &rdev->beacon_registrations, list) {
741 list_del(&reg->list);
742 kfree(reg);
H A Dmlme.c406 struct cfg80211_mgmt_registration *reg, *nreg; local
423 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL);
429 list_for_each_entry(reg, &wdev->mgmt_registrations, list) {
430 int mlen = min(match_len, reg->match_len);
432 if (frame_type != le16_to_cpu(reg->frame_type))
435 if (memcmp(reg->match, match_data, mlen) == 0) {
465 struct cfg80211_mgmt_registration *reg, *tmp; local
469 list_for_each_entry_safe(reg, tmp, &wdev->mgmt_registrations, list) {
470 if (reg->nlportid != nlportid)
474 u16 frame_type = le16_to_cpu(reg
497 struct cfg80211_mgmt_registration *reg, *tmp; local
612 struct cfg80211_mgmt_registration *reg; local
[all...]
H A Drdev-ops.h686 struct wireless_dev *wdev, u16 frame_type, bool reg)
688 trace_rdev_mgmt_frame_register(&rdev->wiphy, wdev , frame_type, reg);
689 rdev->ops->mgmt_frame_register(&rdev->wiphy, wdev , frame_type, reg);
685 rdev_mgmt_frame_register(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u16 frame_type, bool reg) argument
H A Dnl80211.c26 #include "reg.h"
9097 struct cfg80211_beacon_registration *reg, *nreg; local
9109 list_for_each_entry(reg, &rdev->beacon_registrations, list) {
9110 if (reg->nlportid == info->snd_portid) {
11745 struct cfg80211_beacon_registration *reg; local
11750 list_for_each_entry(reg, &rdev->beacon_registrations, list) {
11771 genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, reg->nlportid);
11943 struct cfg80211_beacon_registration *reg, *tmp; local
11961 list_for_each_entry_safe(reg, tmp, &rdev->beacon_registrations,
11963 if (reg
[all...]
/net/mac80211/
H A Dcfg.c3318 u16 frame_type, bool reg)
3324 if (reg)
3316 ieee80211_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev, u16 frame_type, bool reg) argument

Completed in 270 milliseconds