Searched refs:rules (Results 1 - 8 of 8) sorted by relevance

/systemd/test/
H A Dudev-test.pl12 # udev parses the rules, looks at the provided sysfs and
30 my $udev_rules_dir = "$udev_run/udev/rules.d";
31 my $udev_rules = "$udev_rules_dir/udev-test.rules";
36 desc => "no rules",
40 rules => <<EOF
48 rules => <<EOF
57 rules => <<EOF
66 rules => <<EOF
75 rules => <<EOF
83 rules
[all...]
H A Dtest-functions209 inst_rules 55-dm.rules 60-persistent-storage-dm.rules
211 inst_rules 10-dm.rules 13-dm-disk.rules 95-dm-notify.rules
880 # udev rules always get installed in the same place, so
883 local _target=/etc/udev/rules.d _rule _found
885 inst_dir "/lib/udev/rules.d"
889 for r in /lib/udev/rules.d /etc/udev/rules
[all...]
/systemd/tools/
H A Dmake-man-rules.py31 {rules}
44 # Do not edit. Generated by make-man-rules.py.
74 def add_rules(rules, name):
80 rulegroup = rules[conditional]
90 for group in rules.values()), "duplicate page name"
97 rules = collections.defaultdict(dict)
100 add_rules(rules, name)
104 return rules
109 def make_makefile(rules, dist_files):
114 rules
125 rules = create_rules(sys.argv[1:]) variable
[all...]
/systemd/src/udev/
H A Dudev-rules.c58 "/etc/udev/rules.d",
59 "/run/udev/rules.d",
60 UDEVLIBEXECDIR "/rules.d",
69 /* every key in the rules file becomes a token */
86 static char *rules_str(struct udev_rules *rules, unsigned int off) { argument
87 return rules->strbuf->buf + off;
90 static unsigned int rules_add_string(struct udev_rules *rules, const char *s) { argument
91 return strbuf_add_string(rules->strbuf, s, strlen(s));
224 struct udev_rules *rules; member in struct:rule_tmp
326 static void dump_token(struct udev_rules *rules, struc argument
437 dump_rules(struct udev_rules *rules) argument
449 dump_token(struct udev_rules *rules, struct token *token) argument
450 dump_rules(struct udev_rules *rules) argument
453 add_token(struct udev_rules *rules, struct token *token) argument
475 add_uid(struct udev_rules *rules, const char *owner) argument
522 add_gid(struct udev_rules *rules, const char *group) argument
979 sort_token(struct udev_rules *rules, struct rule_tmp *rule_tmp) argument
1013 add_rule(struct udev_rules *rules, char *line, const char *filename, unsigned int filename_off, unsigned int lineno) argument
1556 parse_file(struct udev_rules *rules, const char *filename) argument
1640 struct udev_rules *rules; local
1707 udev_rules_unref(struct udev_rules *rules) argument
1718 udev_rules_check_timestamp(struct udev_rules *rules) argument
1725 match_key(struct udev_rules *rules, struct token *token, const char *val) argument
1798 match_attr(struct udev_rules *rules, struct udev_device *dev, struct udev_event *event, struct token *cur) argument
1852 udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, struct udev_list *properties_list) argument
2567 udev_rules_apply_static_dev_perms(struct udev_rules *rules) argument
[all...]
H A Dudevadm-test.c49 _cleanup_udev_rules_unref_ struct udev_rules *rules = NULL; local
107 rules = udev_rules_new(udev, resolve_names);
108 if (rules == NULL) {
109 fprintf(stderr, "error reading rules\n");
139 rules);
H A Dudev.h69 /* udev-rules.c */
72 struct udev_rules *udev_rules_unref(struct udev_rules *rules);
73 bool udev_rules_check_timestamp(struct udev_rules *rules);
74 int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event,
77 int udev_rules_apply_static_dev_perms(struct udev_rules *rules);
93 struct udev_rules *rules);
H A Dudevd.c85 struct udev_rules *rules; member in struct:Manager
316 udev_rules_unref(manager->rules);
455 /* apply rules, create node, symlinks */
459 manager->rules);
766 /* reload requested, HUP signal received, rules changed, builtin changed */
776 manager->rules = udev_rules_unref(manager->rules);
798 if (udev_rules_check_timestamp(manager->rules) ||
807 if (!manager->rules) {
808 manager->rules
[all...]
/systemd/src/test/
H A Dtest-udev.c46 { "test/run", "/etc/udev/rules.d", "failed to mount empty /etc/udev/rules.d" },
47 { "test/run", UDEVLIBEXECDIR "/rules.d","failed to mount empty " UDEVLIBEXECDIR "/rules.d" },
81 _cleanup_udev_rules_unref_ struct udev_rules *rules = NULL; local
110 rules = udev_rules_new(udev, 1);
144 rules);

Completed in 1340 milliseconds