Home
last modified time | relevance | path

Searched refs:rules (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/linux/Documentation/admin-guide/aoe/
A Dudev.txt1 # These rules tell udev what device nodes to create for aoe support.
11 # udev_rules="/etc/udev/rules.d/"
12 # bash# ls /etc/udev/rules.d/
13 # 10-wacom.rules 50-udev.rules
15 # /etc/udev/rules.d/60-aoe.rules
A Dexamples.rst1 Example of udev rules
7 Example of udev install rules script
/linux/net/netfilter/
A Dnf_tables_core.c129 struct nft_rule *const *rules; member
162 struct nft_rule *const *rules; in nft_do_chain() local
176 rules = rcu_dereference(chain->rules_gen_1); in nft_do_chain()
178 rules = rcu_dereference(chain->rules_gen_0); in nft_do_chain()
181 rule = *rules; in nft_do_chain()
183 for (; *rules ; rules++) { in nft_do_chain()
184 rule = *rules; in nft_do_chain()
225 jumpstack[stackptr].rules = rules + 1; in nft_do_chain()
246 rules = jumpstack[stackptr].rules; in nft_do_chain()
A Dnft_set_pipapo.c378 if (unlikely(i >= rules)) { in pipapo_refill()
672 if (rules > old_rules) { in pipapo_resize()
906 ret = pipapo_resize(f, f->rules - 1, f->rules); in pipapo_insert()
1227 rulemap[i].to = f->rules;
1381 for (r = first; r < f->rules; r++) {
1443 for (i = start; i < rules - n; i++)
1511 if (pipapo_resize(f, f->rules, f->rules - rulemap[i].n)) {
1517 f->rules -= rulemap[i].n;
1960 for (r = 0; r < f->rules; r++) {
2090 f->rules = 0;
[all …]
A Dnft_set_pipapo.h123 unsigned long rules; member
179 int pipapo_refill(unsigned long *map, int len, int rules, unsigned long *dst,
252 unsigned long rules; in pipapo_estimate_size() local
261 rules = ilog2(desc->field_len[i] * BITS_PER_BYTE) * 2; in pipapo_estimate_size()
262 entry_size += rules * in pipapo_estimate_size()
265 entry_size += rules * sizeof(union nft_pipapo_map_bucket); in pipapo_estimate_size()
/linux/tools/testing/selftests/landlock/
A Dfs_test.c471 ASSERT_NE(NULL, rules) { in create_ruleset()
486 rules[i].path); in create_ruleset()
1555 rules); in TEST_F_FORK()
1588 rules); in TEST_F_FORK()
1625 rules); in TEST_F_FORK()
1702 rules); in TEST_F_FORK()
1756 rules); in TEST_F_FORK()
1793 rules); in TEST_F_FORK()
1904 rules); in TEST_F_FORK()
1949 rules); in TEST_F_FORK()
[all …]
/linux/tools/perf/util/
A Dstrfilter.c160 struct strfilter *strfilter__new(const char *rules, const char **err) in strfilter__new() argument
166 filter->root = strfilter_node__new(rules, &ep); in strfilter__new()
179 const char *rules, const char **err) in strfilter__append() argument
184 if (!filter || !rules) in strfilter__append()
187 right = strfilter_node__new(rules, &ep); in strfilter__append()
207 int strfilter__or(struct strfilter *filter, const char *rules, const char **err) in strfilter__or() argument
209 return strfilter__append(filter, true, rules, err); in strfilter__or()
212 int strfilter__and(struct strfilter *filter, const char *rules, in strfilter__and() argument
215 return strfilter__append(filter, false, rules, err); in strfilter__and()
A Dstrfilter.h30 struct strfilter *strfilter__new(const char *rules, const char **err);
43 const char *rules, const char **err);
56 const char *rules, const char **err);
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_ttc.c33 struct mlx5_ttc_rule rules[MLX5_NUM_TT]; member
47 if (!IS_ERR_OR_NULL(ttc->rules[i].rule)) { in mlx5_cleanup_ttc_rules()
48 mlx5_del_flow_rules(ttc->rules[i].rule); in mlx5_cleanup_ttc_rules()
49 ttc->rules[i].rule = NULL; in mlx5_cleanup_ttc_rules()
240 struct mlx5_ttc_rule *rules; in mlx5_generate_ttc_table_rules() local
246 rules = ttc->rules; in mlx5_generate_ttc_table_rules()
248 struct mlx5_ttc_rule *rule = &rules[tt]; in mlx5_generate_ttc_table_rules()
400 struct mlx5_ttc_rule *rules; in mlx5_generate_inner_ttc_table_rules() local
406 rules = ttc->rules; in mlx5_generate_inner_ttc_table_rules()
409 struct mlx5_ttc_rule *rule = &rules[tt]; in mlx5_generate_inner_ttc_table_rules()
[all …]
/linux/security/smack/
A DKconfig17 bool "Reporting on access granted by Smack rules"
21 Enable the bring-up ("b") access mode in Smack rules.
26 rules. The developer can use the information to
27 identify which rules are necessary and what accesses
54 delivering a signal in the Smack rules.
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dconntrack.c643 rules[i]); in nfp_fl_ct_add_offload()
654 rules[i]); in nfp_fl_ct_add_offload()
657 rules[i], NULL); in nfp_fl_ct_add_offload()
670 rules[i]); in nfp_fl_ct_add_offload()
681 rules[i]); in nfp_fl_ct_add_offload()
692 rules[i]); in nfp_fl_ct_add_offload()
707 (void *)msk, rules[i]); in nfp_fl_ct_add_offload()
724 (void *)msk, rules[i]); in nfp_fl_ct_add_offload()
743 rules[i]); in nfp_fl_ct_add_offload()
759 (void *)msk, rules[i]); in nfp_fl_ct_add_offload()
[all …]
/linux/kernel/
A Daudit_watch.c43 struct list_head rules; /* anchor for krule->rlist */ member
109 WARN_ON(!list_empty(&watch->rules)); in audit_put_watch()
168 INIT_LIST_HEAD(&watch->rules); in audit_init_watch()
277 list_for_each_entry_safe(r, nextr, &owatch->rules, rlist) { in audit_update_watch()
298 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch()
330 list_for_each_entry_safe(r, nextr, &w->rules, rlist) { in audit_remove_parent_watches()
395 list_add(&krule->rlist, &watch->rules); in audit_add_to_parent()
454 if (list_empty(&watch->rules)) { in audit_remove_watch_rule()
/linux/samples/bpf/
A Dcookie_uid_helper_example.c170 char rules[256]; in prog_attach_iptables() local
178 ret = snprintf(rules, sizeof(rules), in prog_attach_iptables()
181 if (ret < 0 || ret >= sizeof(rules)) { in prog_attach_iptables()
185 ret = system(rules); in prog_attach_iptables()
/linux/drivers/media/i2c/ccs/
A Dccs-data.c442 bin_alloc(bin, sizeof(*rules) * *__num_rules); in ccs_data_parse_rules()
496 rules = next_rule; in ccs_data_parse_rules()
514 rules->if_rules = if_rule; in ccs_data_parse_rules()
515 rules->num_if_rules = __num_if_rules; in ccs_data_parse_rules()
520 rval = ccs_data_parse_reg_rules(bin, &rules->read_only_regs, in ccs_data_parse_rules()
521 &rules->num_read_only_regs, in ccs_data_parse_rules()
529 rval = ccs_data_parse_ffd(bin, &rules->frame_format, in ccs_data_parse_rules()
538 &rules->manufacturer_regs, in ccs_data_parse_rules()
539 &rules->num_manufacturer_regs, in ccs_data_parse_rules()
548 &rules->pdaf_readout, in ccs_data_parse_rules()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dport_sel.c78 lag_definer->rules[i] = mlx5_add_flow_rules(lag_definer->ft, in mlx5_lag_create_port_sel_table()
81 if (IS_ERR(lag_definer->rules[i])) { in mlx5_lag_create_port_sel_table()
82 err = PTR_ERR(lag_definer->rules[i]); in mlx5_lag_create_port_sel_table()
84 mlx5_del_flow_rules(lag_definer->rules[i]); in mlx5_lag_create_port_sel_table()
335 mlx5_del_flow_rules(lag_definer->rules[i]); in mlx5_lag_destroy_definer()
560 struct mlx5_flow_handle **rules = definers[tt]->rules; in mlx5_lag_modify_definers_destinations() local
565 err = mlx5_modify_rule_destination(rules[MLX5_LAG_P1], in mlx5_lag_modify_definers_destinations()
574 err = mlx5_modify_rule_destination(rules[MLX5_LAG_P2], in mlx5_lag_modify_definers_destinations()
/linux/Documentation/sound/designs/
A Dtracepoints.rst116 struct snd_pcm_hardware and rules of constraints in the runtime. The
117 structure describes capabilities of handled hardware. The rules describes
120 to compute the target parameter. ALSA PCM core registers some rules to the
129 2. In the same callback, drivers are also expected to register additional rules
156 device, rules of constraint and name of the changed parameter, in order. The
157 field for rules of constraint consists of two sub-fields; index of applied rule
158 and total number of rules added to the runtime. As an exception, the index 000
159 means that the parameter is changed by ALSA PCM core, regardless of the rules.
/linux/net/ceph/crush/
A Dcrush.c122 if (map->rules) { in crush_destroy()
125 crush_destroy_rule(map->rules[b]); in crush_destroy()
126 kfree(map->rules); in crush_destroy()
/linux/security/safesetid/
A Dsecurityfs.c78 hash_for_each_safe(pol->rules, bucket, tmp, rule, next) in __release_ruleset()
91 hash_add(pol->rules, &rule->next, __kuid_val(rule->src_id.uid)); in insert_rule()
93 hash_add(pol->rules, &rule->next, __kgid_val(rule->src_id.gid)); in insert_rule()
104 hash_for_each(pol->rules, bucket, rule, next) { in verify_ruleset()
151 hash_init(pol->rules); in handle_policy_update()
/linux/Documentation/filesystems/
A Ddirectory-locking.rst16 1) read access. Locking rules: caller locks directory we are accessing.
19 2) object creation. Locking rules: same as above, but the lock is taken
22 3) object removal. Locking rules: caller locks parent, finds victim,
25 4) rename() that is _not_ cross-directory. Locking rules: caller locks
34 5) link creation. Locking rules:
44 rules:
61 The rules above obviously guarantee that all directories that are going to be
120 But locking rules for cross-directory rename guarantee that we do not
/linux/Documentation/userspace-api/
A Dlandlock.rst21 Landlock rules
26 rights`_. A set of rules is aggregated in a ruleset, which can then restrict
32 We first need to create the ruleset that will contain our rules. For this
33 example, the ruleset will contain rules that only allow read actions, but write
137 One policy layer grants access to a file path if at least one of its rules
152 hierarchy is then composed of the exact same files, on which Landlock rules can
153 be tied, either via the source or the destination path. These rules restrict
176 Landlock rules to itself, but they will not be automatically applied to other
192 process, a sandboxed process should have a subset of the target process rules,
235 handle composition of rules. Such property also implies rules nesting.
/linux/Documentation/ABI/testing/
A Dsysfs-block-dm7 Users: util-linux, device-mapper udev rules
16 Users: util-linux, device-mapper udev rules
25 Users: util-linux, device-mapper udev rules
/linux/tools/testing/selftests/bpf/progs/
A Dtwfw.c36 struct rules_map rules SEC(".maps");
47 struct rule* rule = bpf_map_lookup_elem(&rules, &key); in twfw_verifier()
/linux/Documentation/translations/zh_CN/process/
A Dindex.rst33 license-rules
46 stable-kernel-rules
/linux/Documentation/translations/zh_TW/process/
A Dindex.rst36 license-rules
49 stable-kernel-rules
/linux/security/apparmor/include/
A Dfile.h204 static inline void aa_free_file_rules(struct aa_file_rules *rules) in aa_free_file_rules() argument
206 aa_put_dfa(rules->dfa); in aa_free_file_rules()
207 aa_free_domain_entries(&rules->trans); in aa_free_file_rules()

Completed in 61 milliseconds

12345678910>>...16