Home
last modified time | relevance | path

Searched defs:rules (Results 1 – 25 of 57) sorted by relevance

123

/Linux-v6.6/tools/testing/selftests/landlock/
Dfs_test.c650 const struct rule rules[]) in create_ruleset()
692 const struct rule rules[] = { in TEST_F_FORK() local
741 const struct rule rules[] = { in TEST_F_FORK() local
764 const struct rule rules[] = { in TEST_F_FORK() local
822 const struct rule rules[] = { in TEST_F_FORK() local
849 const struct rule rules[] = { in TEST_F_FORK() local
1231 const struct rule rules[] = { in TEST_F_FORK() local
1348 const struct rule rules[] = { in TEST_F_FORK() local
1386 const struct rule rules[] = { in TEST_F_FORK() local
1443 const struct rule rules[] = { in TEST_F_FORK() local
[all …]
/Linux-v6.6/tools/perf/util/
Dstrfilter.c160 struct strfilter *strfilter__new(const char *rules, const char **err) in strfilter__new()
179 const char *rules, const char **err) in strfilter__append()
207 int strfilter__or(struct strfilter *filter, const char *rules, const char **err) in strfilter__or()
212 int strfilter__and(struct strfilter *filter, const char *rules, in strfilter__and()
/Linux-v6.6/security/apparmor/
Dresource.c87 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_setrlimit() local
160 struct aa_ruleset *rules = list_first_entry(&old->rules, in __aa_transition_rlimits() local
180 struct aa_ruleset *rules = list_first_entry(&new->rules, in __aa_transition_rlimits() local
Ddomain.c84 struct aa_ruleset *rules = list_first_entry(&profile->rules, in match_component() local
122 struct aa_ruleset *rules = list_first_entry(&profile->rules, in label_compound_match() local
184 struct aa_ruleset *rules = list_first_entry(&profile->rules, in label_components_match() local
508 struct aa_ruleset *rules = list_first_entry(&profile->rules, in x_table_lookup() local
559 struct aa_ruleset *rules = list_first_entry(&profile->rules, in x_to_label() local
627 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_transition() local
727 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_onexec() local
1268 struct aa_ruleset *rules = list_first_entry(&profile->rules, in change_profile_perms_wrapper() local
Dcapability.c67 struct aa_ruleset *rules = list_first_entry(&profile->rules, in audit_caps() local
119 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_capable() local
Dmount.c306 struct aa_ruleset *rules = list_first_entry(&profile->rules, in match_mnt_path_str() local
363 struct aa_ruleset *rules = list_first_entry(&profile->rules, in match_mnt() local
572 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_umount() local
633 struct aa_ruleset *rules = list_first_entry(&profile->rules, in build_pivotroot() local
Dnet.c111 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_profile_af_perm() local
221 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_secmark_perm() local
Dpolicy.c206 static void free_ruleset(struct aa_ruleset *rules) in free_ruleset()
223 struct aa_ruleset *rules; in aa_alloc_ruleset() local
296 struct aa_ruleset *rules; in aa_alloc_profile() local
582 struct aa_ruleset *rules; in aa_alloc_null() local
Dpolicy_unpack.c565 static bool unpack_secmark(struct aa_ext *e, struct aa_ruleset *rules) in unpack_secmark()
611 static bool unpack_rlimits(struct aa_ext *e, struct aa_ruleset *rules) in unpack_rlimits()
804 struct aa_ruleset *rules; in unpack_profile() local
1239 struct aa_ruleset *rules = list_first_entry(&profile->rules, in verify_profile() local
Dlib.c335 struct aa_ruleset *rules, in aa_profile_match_label()
354 struct aa_ruleset *rules = list_first_entry(&profile->rules, in aa_profile_label_perm() local
Dipc.c81 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_signal_perm() local
Dfile.c215 struct aa_ruleset *rules = list_first_entry(&profile->rules, in __aa_path_perm() local
309 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_path_link() local
Dtask.c232 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_ptrace_perm() local
Dlabel.c1265 struct aa_ruleset *rules, in match_component()
1298 struct aa_ruleset *rules, in label_compound_match()
1358 struct aa_ruleset *rules, in label_components_match()
1418 int aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules, in aa_label_match()
/Linux-v6.6/drivers/net/dsa/qca/
Dqca8k-leds.c65 qca8k_parse_netdev(unsigned long rules, u32 *offload_trigger) in qca8k_parse_netdev()
278 qca8k_cled_hw_control_is_supported(struct led_classdev *ldev, unsigned long rules) in qca8k_cled_hw_control_is_supported()
286 qca8k_cled_hw_control_set(struct led_classdev *ldev, unsigned long rules) in qca8k_cled_hw_control_set()
310 qca8k_cled_hw_control_get(struct led_classdev *ldev, unsigned long *rules) in qca8k_cled_hw_control_get()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c33 struct mlx5_ttc_rule rules[MLX5_NUM_TT]; member
240 struct mlx5_ttc_rule *rules; in mlx5_generate_ttc_table_rules() local
400 struct mlx5_ttc_rule *rules; in mlx5_generate_inner_ttc_table_rules() local
/Linux-v6.6/security/apparmor/include/
Dpolicy.h211 struct list_head rules; member
275 static inline aa_state_t RULE_MEDIATES(struct aa_ruleset *rules, in RULE_MEDIATES()
285 static inline aa_state_t RULE_MEDIATES_AF(struct aa_ruleset *rules, u16 AF) in RULE_MEDIATES_AF()
/Linux-v6.6/net/netfilter/
Dnft_set_pipapo.h123 unsigned long rules; member
252 unsigned long rules; in pipapo_estimate_size() local
Dnft_set_pipapo.c365 int pipapo_refill(unsigned long *map, int len, int rules, unsigned long *dst, in pipapo_refill()
621 static int pipapo_resize(struct nft_pipapo_field *f, int old_rules, int rules) in pipapo_resize()
1448 static void pipapo_unmap(union nft_pipapo_map_bucket *mt, int rules,
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.h16 struct mlx5_flow_handle *rules[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS]; member
/Linux-v6.6/drivers/net/phy/
Dmarvell.c2898 unsigned long rules; member
3017 static int marvell_find_led_mode(unsigned long rules, in marvell_find_led_mode()
3033 static int marvell_get_led_mode(u8 index, unsigned long rules, int *mode) in marvell_get_led_mode()
3057 static int marvell_find_led_rules(unsigned long *rules, in marvell_find_led_rules()
3073 static int marvell_get_led_rules(u8 index, unsigned long *rules, int mode) in marvell_get_led_rules()
3098 unsigned long rules) in m88e1318_led_hw_is_supported()
3116 unsigned long rules) in m88e1318_led_hw_control_set()
3145 unsigned long *rules) in m88e1318_led_hw_control_get()
/Linux-v6.6/samples/bpf/
Dcookie_uid_helper_example.c174 char rules[256]; in prog_attach_iptables() local
/Linux-v6.6/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c188 u32 *rules) in mana_get_rxnfc()
/Linux-v6.6/tools/perf/tests/shell/lib/
Dperf_metric_validation.py432 def remove_unsupported_rules(self, rules): argument
/Linux-v6.6/net/core/
Dfib_rules.c1214 static void attach_rules(struct list_head *rules, struct net_device *dev) in attach_rules()
1228 static void detach_rules(struct list_head *rules, struct net_device *dev) in detach_rules()

123