Lines Matching refs:field

103                 _cleanup_free_ char *buf = NULL, *field = NULL;  in boot_entry_load_type1()  local
120 r = extract_first_word(&p, &field, " \t", 0); in boot_entry_load_type1()
132 if (!STR_IN_SET(field, "options", "devicetree-overlay")) in boot_entry_load_type1()
133 log_warning("%s:%u: Field %s without value", tmp.path, line, field); in boot_entry_load_type1()
137 if (streq(field, "title")) in boot_entry_load_type1()
139 else if (streq(field, "sort-key")) in boot_entry_load_type1()
141 else if (streq(field, "version")) in boot_entry_load_type1()
143 else if (streq(field, "machine-id")) in boot_entry_load_type1()
145 else if (streq(field, "architecture")) in boot_entry_load_type1()
147 else if (streq(field, "options")) in boot_entry_load_type1()
149 else if (streq(field, "linux")) in boot_entry_load_type1()
151 else if (streq(field, "efi")) in boot_entry_load_type1()
153 else if (streq(field, "initrd")) in boot_entry_load_type1()
155 else if (streq(field, "devicetree")) in boot_entry_load_type1()
157 else if (streq(field, "devicetree-overlay")) { in boot_entry_load_type1()
166 log_notice("%s:%u: Unknown line \"%s\", ignoring.", tmp.path, line, field); in boot_entry_load_type1()
235 _cleanup_free_ char *buf = NULL, *field = NULL; in boot_loader_read_conf() local
252 r = extract_first_word(&p, &field, " \t", 0); in boot_loader_read_conf()
262 if (streq(field, "default")) in boot_loader_read_conf()
264 else if (streq(field, "timeout")) in boot_loader_read_conf()
266 else if (streq(field, "editor")) in boot_loader_read_conf()
268 else if (streq(field, "auto-entries")) in boot_loader_read_conf()
270 else if (streq(field, "auto-firmware")) in boot_loader_read_conf()
272 else if (streq(field, "console-mode")) in boot_loader_read_conf()
274 else if (streq(field, "random-seed-mode")) in boot_loader_read_conf()
276 else if (streq(field, "beep")) in boot_loader_read_conf()
279 log_notice("%s:%u: Unknown line \"%s\", ignoring.", path, line, field); in boot_loader_read_conf()
1068 static void boot_entry_file_list(const char *field, const char *root, const char *p, int *ret_statu… in boot_entry_file_list() argument
1071 printf("%13s%s ", strempty(field), field ? ":" : " "); in boot_entry_file_list()