Lines Matching defs:name
34 static void print_property(struct udev_device *dev, bool test, const char *name, const char *value) {
39 if (streq(name, "TYPE")) {
42 } else if (streq(name, "USAGE")) {
45 } else if (streq(name, "VERSION")) {
48 } else if (streq(name, "UUID")) {
54 } else if (streq(name, "UUID_SUB")) {
60 } else if (streq(name, "LABEL")) {
66 } else if (streq(name, "PTTYPE")) {
69 } else if (streq(name, "PTUUID")) {
72 } else if (streq(name, "PART_ENTRY_NAME")) {
76 } else if (streq(name, "PART_ENTRY_TYPE")) {
80 } else if (startswith(name, "PART_ENTRY_")) {
81 strscpyl(s, sizeof(s), "ID_", name, NULL);
84 } else if (streq(name, "SYSTEM_ID")) {
88 } else if (streq(name, "PUBLISHER_ID")) {
92 } else if (streq(name, "APPLICATION_ID")) {
96 } else if (streq(name, "BOOT_SYSTEM_ID")) {
140 const char *name;
211 if (blkid_probe_get_value(pr, i, &name, &data, NULL))
214 print_property(dev, test, name, data);
226 .name = "blkid",