dmi_name_in_vendors(9)
dmi_name_in_vendors(9) π
okay bestie, this is the dmi_name_in_vendors(9) page from the Kernel API Manual β and it's giving "tiny function, very specific job" energy. π
β¨ NAME β¨
dmi_name_in_vendors β check if a string is in the DMI system or board vendor name. literally that's the whole vibe. π
π SYNOPSIS π
int dmi_name_in_vendors (const char *str );
no cap, that's the exact signature β yes, there's a lil space before the ); and we're keeping it. π«Ά
π¦ ARGUMENTS π¦
strβ the Case sensitive Name you're checking. so keep the case exactly as written, fr fr β this one is case sensitive. π
π₯ SEE ALSO π₯
the kernel file is ./drivers/firmware/dmi_scan.c, and here's the whole squad:
dmi_setup(9)dmi_matches(9)dmi_is_end_of_table(9)dmi_check_system(9)dmi_first_match(9)dmi_get_system_info(9)dmi_name_in_serial(9)dmi_find_device(9)dmi_get_date(9)dmi_get_bios_year(9)dmi_walk(9)dmi_match(9)dmi_memdev_type(9)dmi_memdev_handle(9)
lowkey that's the whole page. no hidden lore, just a case-sensitive vendor-name check and a very solid reference list. π
sign-off cuteness: source ./drivers/firmware Β· October 2026 Β· dmi_name_in_vendors(9) πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms