Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 25 of 103) sorted by relevance

12345

/Linux-v4.19/net/ipv6/
Dfib6_rules.c33 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
42 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
132 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
157 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
197 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
258 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action()
267 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress()
294 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match()
338 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
378 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete()
[all …]
/Linux-v4.19/net/core/
Dfib_rules.c26 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall()
75 struct fib_rule *rule; in fib_default_rule_pref() local
177 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local
248 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
281 struct fib_rule *rule; in fib_rules_lookup() local
329 struct fib_rule *rule, int family) in call_fib_rule_notifier()
341 struct fib_rule *rule, in call_fib_rule_notifiers()
359 struct fib_rule *rule; in fib_rules_dump() local
390 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find()
493 struct fib_rule **rule, in fib_nl2rule()
[all …]
/Linux-v4.19/net/ipv4/
Dfib_rules.c50 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
59 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
108 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action()
143 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress()
171 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match()
214 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
277 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
300 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
328 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
353 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
/Linux-v4.19/drivers/pnp/
Dmanager.c23 unsigned char rule, in pnp_find_resource()
38 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) in pnp_assign_port()
81 static int pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) in pnp_assign_mem()
132 static int pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) in pnp_assign_irq()
191 static int pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) in pnp_assign_dma()
/Linux-v4.19/security/apparmor/
Daudit.c173 struct aa_audit_rule *rule = vrule; in aa_audit_rule_free() local
184 struct aa_audit_rule *rule; in aa_audit_rule_init() local
212 int aa_audit_rule_known(struct audit_krule *rule) in aa_audit_rule_known()
231 struct aa_audit_rule *rule = vrule; in aa_audit_rule_match() local
/Linux-v4.19/net/decnet/
Ddn_rules.c68 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action()
108 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match()
122 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure()
164 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare()
202 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill()
/Linux-v4.19/include/net/
Dfib_rules.h52 struct fib_rule *rule; member
102 struct fib_rule *rule; member
123 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get()
128 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put()
135 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table()
141 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table()
180 static inline bool fib_rule_requires_fldissect(struct fib_rule *rule) in fib_rule_requires_fldissect()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c57 struct mlx5_flow_handle *rule; member
404 struct arfs_rule *rule; in arfs_del_rules() local
466 struct mlx5_flow_handle *rule = NULL; in arfs_add_rule() local
556 struct mlx5_flow_handle *rule, u16 rxq) in arfs_modify_rule_rq()
575 struct mlx5_flow_handle *rule; in arfs_handle_work() local
629 struct arfs_rule *rule; in arfs_alloc_rule() local
Den_fs_ethtool.c39 struct mlx5_flow_handle *rule; member
370 struct mlx5e_ethtool_rule *rule) in add_rule_to_list()
403 struct mlx5_flow_handle *rule; in add_ethtool_flow_rule() local
684 struct mlx5_flow_handle *rule; in mlx5e_ethtool_flow_replace() local
/Linux-v4.19/sound/core/
Dpcm_drm_eld.c29 struct snd_pcm_hw_rule *rule) in eld_limit_rates()
57 struct snd_pcm_hw_rule *rule) in eld_limit_channels()
/Linux-v4.19/kernel/
Daudit_fsnotify.c40 struct audit_krule *rule; member
126 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change() local
158 struct audit_krule *rule = audit_mark->rule; in audit_autoremove_mark_rule() local
Daudit_tree.c497 static void audit_tree_log_remove_rule(struct audit_krule *rule) in audit_tree_log_remove_rule()
516 struct audit_krule *rule, *next; in kill_rules() local
600 int audit_remove_tree_rule(struct audit_krule *rule) in audit_remove_tree_rule()
679 int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) in audit_make_tree()
753 int audit_add_tree_rule(struct audit_krule *rule) in audit_add_tree_rule()
Daudit.h61 struct audit_krule rule; member
317 #define audit_remove_tree_rule(rule) BUG() argument
318 #define audit_add_tree_rule(rule) -EINVAL argument
319 #define audit_make_tree(rule, str, op) -EINVAL argument
323 #define audit_tree_path(rule) "" /* never called */ argument
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1099 static inline u32 vlan_tci_vid(struct ethtool_rx_flow_spec *rule) in vlan_tci_vid()
1104 static inline u32 vlan_tci_vidm(struct ethtool_rx_flow_spec *rule) in vlan_tci_vidm()
1109 static inline u32 vlan_tci_cfi(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfi()
1114 static inline u32 vlan_tci_cfim(struct ethtool_rx_flow_spec *rule) in vlan_tci_cfim()
1119 static inline u32 vlan_tci_prio(struct ethtool_rx_flow_spec *rule) in vlan_tci_prio()
1125 static inline u32 vlan_tci_priom(struct ethtool_rx_flow_spec *rule) in vlan_tci_priom()
1132 static int gfar_convert_to_filer(struct ethtool_rx_flow_spec *rule, in gfar_convert_to_filer()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c629 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_acl_rule_create() local
658 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_destroy()
668 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_add()
708 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_del()
734 mlxsw_sp_acl_rule_rulei(struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_rulei()
740 struct mlxsw_sp_acl_rule *rule) in mlxsw_sp_acl_rule_activity_update()
757 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_acl_rules_activity_update() local
798 struct mlxsw_sp_acl_rule *rule, in mlxsw_sp_acl_rule_get_stats()
Dspectrum_flower.c400 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_replace() local
446 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_destroy() local
468 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_stats() local
/Linux-v4.19/net/netfilter/
Dnf_tables_core.c43 const struct nft_rule *rule, in nft_trace_packet()
143 const struct nft_rule *rule; in nft_do_chain() local
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c856 struct mlx5_fpga_ipsec_rule *rule = in _rule_search() local
873 struct mlx5_fpga_ipsec_rule *rule; in rule_search() local
883 struct mlx5_fpga_ipsec_rule *rule) in _rule_insert()
910 struct mlx5_fpga_ipsec_rule *rule) in rule_insert()
922 struct mlx5_fpga_ipsec_rule *rule) in _rule_delete()
932 struct mlx5_fpga_ipsec_rule *rule) in rule_delete()
1041 struct mlx5_fpga_ipsec_rule *rule; in fpga_ipsec_fs_create_fte() local
1119 struct mlx5_fpga_ipsec_rule *rule; in fpga_ipsec_fs_delete_fte() local
/Linux-v4.19/security/integrity/ima/
Dima_policy.c75 void *rule; /* LSM file metadata specific */ member
280 static bool ima_match_rules(struct ima_rule_entry *rule, struct inode *inode, in ima_match_rules()
364 static int get_subaction(struct ima_rule_entry *rule, enum ima_hooks func) in get_subaction()
676 static int ima_parse_rule(char *rule, struct ima_rule_entry *entry) in ima_parse_rule()
997 ssize_t ima_parse_add_rule(char *rule) in ima_parse_add_rule()
/Linux-v4.19/sound/firewire/digi00x/
Ddigi00x-pcm.c12 struct snd_pcm_hw_rule *rule) in hw_rule_rate()
36 struct snd_pcm_hw_rule *rule) in hw_rule_channels()
/Linux-v4.19/sound/pci/ac97/
Dac97_pcm.c699 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_rate()
714 struct snd_pcm_hw_rule *rule) in double_rate_hw_constraint_channels()
/Linux-v4.19/sound/firewire/bebob/
Dbebob_pcm.c12 hw_rule_rate(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_rate()
40 hw_rule_channels(struct snd_pcm_hw_params *params, struct snd_pcm_hw_rule *rule) in hw_rule_channels()
/Linux-v4.19/net/ceph/crush/
Dcrush.c138 void crush_destroy_rule(struct crush_rule *rule) in crush_destroy_rule()
/Linux-v4.19/sound/soc/sh/rcar/
Dcore.c794 struct snd_pcm_hw_rule *rule, in __rsnd_soc_hw_rule_rate()
820 struct snd_pcm_hw_rule *rule) in rsnd_soc_hw_rule_rate_playback()
826 struct snd_pcm_hw_rule *rule) in rsnd_soc_hw_rule_rate_capture()
832 struct snd_pcm_hw_rule *rule, in __rsnd_soc_hw_rule_channels()
858 struct snd_pcm_hw_rule *rule) in rsnd_soc_hw_rule_channels_playback()
864 struct snd_pcm_hw_rule *rule) in rsnd_soc_hw_rule_channels_capture()
/Linux-v4.19/sound/isa/sb/
Dsb8_main.c77 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_rate_channels()
94 struct snd_pcm_hw_rule *rule) in snd_sb8_hw_constraint_channels_rate()

12345