/Linux-v5.15/Documentation/admin-guide/aoe/ |
D | udev.txt | 1 # 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
|
D | examples.rst | 1 Example of udev rules 7 Example of udev install rules script
|
/Linux-v5.15/net/netfilter/ |
D | nf_tables_core.c | 129 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()
|
D | nft_set_pipapo.c | 365 int pipapo_refill(unsigned long *map, int len, int rules, unsigned long *dst, in pipapo_refill() argument 378 if (unlikely(i >= rules)) { in pipapo_refill() 460 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in nft_pipapo_lookup() 563 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in pipapo_get() 620 static int pipapo_resize(struct nft_pipapo_field *f, int old_rules, int rules) in pipapo_resize() argument 627 new_bucket_size = DIV_ROUND_UP(rules, BITS_PER_LONG); in pipapo_resize() 665 new_mt = kvmalloc(rules * sizeof(*new_mt), GFP_KERNEL); in pipapo_resize() 671 memcpy(new_mt, f->mt, min(old_rules, rules) * sizeof(*new_mt)); in pipapo_resize() 672 if (rules > old_rules) { in pipapo_resize() 674 (rules - old_rules) * sizeof(*new_mt)); in pipapo_resize() [all …]
|
D | nft_set_pipapo.h | 123 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-v5.15/tools/testing/selftests/landlock/ |
D | fs_test.c | 464 const __u64 handled_access_fs, const struct rule rules[]) in create_ruleset() argument 471 ASSERT_NE(NULL, rules) { in create_ruleset() 474 ASSERT_NE(NULL, rules[0].path) { in create_ruleset() 484 for (i = 0; rules[i].path; i++) { in create_ruleset() 485 add_path_beneath(_metadata, ruleset_fd, rules[i].access, in create_ruleset() 486 rules[i].path); in create_ruleset() 502 const struct rule rules[] = { in TEST_F_FORK() local 511 const int ruleset_fd = create_ruleset(_metadata, rules[0].access | in TEST_F_FORK() 512 LANDLOCK_ACCESS_FS_READ_DIR, rules); in TEST_F_FORK() 549 const struct rule rules[] = { in TEST_F_FORK() local [all …]
|
/Linux-v5.15/tools/perf/util/ |
D | strfilter.c | 160 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()
|
D | strfilter.h | 30 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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_ttc.c | 33 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() 396 struct mlx5_ttc_rule *rules; in mlx5_generate_inner_ttc_table_rules() local 402 rules = ttc->rules; in mlx5_generate_inner_ttc_table_rules() 405 struct mlx5_ttc_rule *rule = &rules[tt]; in mlx5_generate_inner_ttc_table_rules() [all …]
|
/Linux-v5.15/security/smack/ |
D | Kconfig | 17 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-v5.15/drivers/net/ethernet/netronome/nfp/flower/ |
D | conntrack.c | 475 static int nfp_fl_merge_actions_offload(struct flow_rule **rules, in nfp_fl_merge_actions_offload() argument 485 num_actions = rules[CT_TYPE_PRE_CT]->action.num_entries + in nfp_fl_merge_actions_offload() 486 rules[CT_TYPE_NFT]->action.num_entries + in nfp_fl_merge_actions_offload() 487 rules[CT_TYPE_POST_CT]->action.num_entries; in nfp_fl_merge_actions_offload() 494 a_rule->match = rules[CT_TYPE_PRE_CT]->match; in nfp_fl_merge_actions_offload() 498 if (flow_rule_match_key(rules[j], FLOW_DISSECTOR_KEY_BASIC)) { in nfp_fl_merge_actions_offload() 508 flow_rule_match_basic(rules[j], &match); in nfp_fl_merge_actions_offload() 510 a_rule->match = rules[j]->match; in nfp_fl_merge_actions_offload() 513 for (i = 0; i < rules[j]->action.num_entries; i++) { in nfp_fl_merge_actions_offload() 514 a_in = &rules[j]->action.entries[i]; in nfp_fl_merge_actions_offload() [all …]
|
/Linux-v5.15/samples/bpf/ |
D | cookie_uid_helper_example.c | 170 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-v5.15/kernel/ |
D | audit_watch.c | 43 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() 276 list_for_each_entry_safe(r, nextr, &owatch->rules, rlist) { in audit_update_watch() 297 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch() 329 list_for_each_entry_safe(r, nextr, &w->rules, rlist) { in audit_remove_parent_watches() 394 list_add(&krule->rlist, &watch->rules); in audit_add_to_parent() 453 if (list_empty(&watch->rules)) { in audit_remove_watch_rule()
|
/Linux-v5.15/net/ceph/crush/ |
D | crush.c | 122 if (map->rules) { in crush_destroy() 125 crush_destroy_rule(map->rules[b]); in crush_destroy() 126 kfree(map->rules); in crush_destroy()
|
/Linux-v5.15/drivers/media/i2c/ccs/ |
D | ccs-data.c | 435 struct ccs_rule *rules_base = NULL, *rules = NULL, *next_rule = NULL; in ccs_data_parse_rules() local 442 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() [all …]
|
/Linux-v5.15/Documentation/sound/designs/ |
D | tracepoints.rst | 116 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-v5.15/Documentation/ABI/testing/ |
D | sysfs-block-dm | 7 Users: util-linux, device-mapper udev rules 16 Users: util-linux, device-mapper udev rules 25 Users: util-linux, device-mapper udev rules
|
/Linux-v5.15/security/safesetid/ |
D | securityfs.c | 78 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-v5.15/Documentation/translations/zh_CN/process/ |
D | index.rst | 33 license-rules 46 stable-kernel-rules
|
/Linux-v5.15/Documentation/translations/zh_TW/process/ |
D | index.rst | 36 license-rules 49 stable-kernel-rules
|
/Linux-v5.15/Documentation/filesystems/ |
D | directory-locking.rst | 16 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-v5.15/Documentation/userspace-api/ |
D | landlock.rst | 21 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-v5.15/security/apparmor/include/ |
D | file.h | 204 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()
|
/Linux-v5.15/Documentation/networking/ |
D | tc-actions-env-rules.rst | 8 The "environmental" rules for authors of any new tc actions are: 23 The "environmental" rules for callers of actions (qdiscs etc) are:
|
/Linux-v5.15/drivers/net/ethernet/marvell/prestera/ |
D | prestera_acl.c | 13 struct list_head rules; member 316 list_add_tail(&rule->list, &sw->acl->rules); in prestera_acl_rule_add() 363 INIT_LIST_HEAD(&acl->rules); in prestera_acl_init() 374 WARN_ON(!list_empty(&acl->rules)); in prestera_acl_fini()
|