/systemd/src/udev/scsi_id/ |
H A D | scsi_id.h | 30 * added prefixes such as vendor and product (model) strings. 41 char vendor[9]; member in struct:scsi_id_device
|
H A D | scsi_id.c | 156 * If vendor == NULL, find a line in the config file with only "OPTIONS="; 157 * if vendor and model are set find the first OPTIONS line in the config 160 * vendor and model can end in '\n'. 163 const char *vendor, const char *model, 250 * Only allow: [vendor=foo[,model=bar]]options=stuff 257 if (vendor == NULL) { 261 strneq(vendor, vendor_in, strlen(vendor_in)) && 265 * Matched vendor and optionally model. 481 udev_util_encode_string(dev_scsi->vendor, vendor_enc_str, sizeof(vendor_enc_str)); 484 util_replace_whitespace(dev_scsi->vendor, vendor_st 162 get_file_options(struct udev *udev, const char *vendor, const char *model, int *argc, char ***newargv) argument [all...] |
/systemd/src/basic/ |
H A D | virt.c | 159 const char *vendor; member in struct:__anon33 188 if (startswith(s, dmi_vendor_table[j].vendor))
|
/systemd/src/boot/efi/ |
H A D | util.c | 23 * the (ESP)\loader\entries\<vendor>-<revision>.conf convention and the 95 EFI_STATUS efivar_set_raw(const EFI_GUID *vendor, CHAR16 *name, CHAR8 *buf, UINTN size, BOOLEAN persistent) { argument 102 return uefi_call_wrapper(RT->SetVariable, 5, name, (EFI_GUID *)vendor, flags, size, buf); 148 EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, CHAR16 *name, CHAR8 **buffer, UINTN *size) { argument 158 err = uefi_call_wrapper(RT->GetVariable, 5, name, (EFI_GUID *)vendor, NULL, &l, buf);
|
/systemd/src/shared/ |
H A D | efivars.h | 45 int efi_get_variable(sd_id128_t vendor, const char *name, uint32_t *attribute, void **value, size_t *size); 46 int efi_set_variable(sd_id128_t vendor, const char *name, const void *value, size_t size); 47 int efi_get_variable_string(sd_id128_t vendor, const char *name, char **p); 85 static inline int efi_get_variable(sd_id128_t vendor, const char *name, uint32_t *attribute, void **value, size_t *size) { argument 89 static inline int efi_set_variable(sd_id128_t vendor, const char *name, const void *value, size_t size) { argument 93 static inline int efi_get_variable_string(sd_id128_t vendor, const char *name, char **p) { argument
|
H A D | efivars.c | 195 sd_id128_t vendor, 214 name, SD_ID128_FORMAT_VAL(vendor)) < 0) 259 sd_id128_t vendor, 275 name, SD_ID128_FORMAT_VAL(vendor)) < 0) 298 int efi_get_variable_string(sd_id128_t vendor, const char *name, char **p) { argument 304 r = efi_get_variable(vendor, name, NULL, &s, &ss); 633 static int read_usec(sd_id128_t vendor, const char *name, usec_t *u) { argument 194 efi_get_variable( sd_id128_t vendor, const char *name, uint32_t *attribute, void **value, size_t *size) argument 258 efi_set_variable( sd_id128_t vendor, const char *name, const void *value, size_t size) argument
|
/systemd/src/network/ |
H A D | networkctl.c | 259 /* IEEE Organizationally Unique Identifier vendor string */ 512 const char *driver = NULL, *path = NULL, *vendor = NULL, *model = NULL, *link = NULL; local 592 r = sd_device_get_property_value(d, "ID_VENDOR_FROM_DATABASE", &vendor); 594 (void) sd_device_get_property_value(d, "ID_VENDOR", &vendor); 624 if (vendor) 625 printf(" Vendor: %s\n", vendor);
|