Searched refs:sysenv (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.0-release/sys/kern/
H A Dsubr_param.c188 char *sysenv; local
191 sysenv = getenv("smbios.bios.vendor");
192 if (sysenv != NULL) {
194 if (strcmp(sysenv, vm_bnames[i]) == 0) {
195 freeenv(sysenv);
198 freeenv(sysenv);
200 sysenv = getenv("smbios.system.product");
201 if (sysenv != NULL) {
203 if (strcmp(sysenv, vm_pnames[i]) == 0) {
204 freeenv(sysenv);
[all...]
/freebsd-10.0-release/sys/amd64/amd64/
H A Dmachdep.c224 char *sysenv; local
234 sysenv = getenv("smbios.system.product");
235 if (sysenv != NULL) {
236 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
237 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
238 strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
239 strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
240 strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
241 strncmp(sysenv, "Macmini1,1", 10) == 0) {
247 freeenv(sysenv);
[all...]
/freebsd-10.0-release/sys/dev/mii/
H A Dbrgphy.c167 char *sysenv; local
172 sysenv = getenv("smbios.system.product");
173 if (sysenv != NULL) {
174 if (strncmp(sysenv, HS21_PRODUCT_ID,
177 freeenv(sysenv);
/freebsd-10.0-release/sys/i386/i386/
H A Dmachdep.c262 char *sysenv; local
272 sysenv = getenv("smbios.system.product");
273 if (sysenv != NULL) {
274 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
275 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
276 strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
277 strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
278 strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
279 strncmp(sysenv, "Macmini1,1", 10) == 0) {
285 freeenv(sysenv);
[all...]

Completed in 157 milliseconds