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

/freebsd-9.3-release/sys/kern/
H A Dsubr_param.c187 char *sysenv; local
190 sysenv = getenv("smbios.bios.vendor");
191 if (sysenv != NULL) {
193 if (strcmp(sysenv, vm_bnames[i]) == 0) {
194 freeenv(sysenv);
197 freeenv(sysenv);
199 sysenv = getenv("smbios.system.product");
200 if (sysenv != NULL) {
202 if (strcmp(sysenv, vm_pnames[i]) == 0) {
203 freeenv(sysenv);
[all...]
/freebsd-9.3-release/sys/amd64/amd64/
H A Dmachdep.c219 char *sysenv; local
229 sysenv = getenv("smbios.system.product");
230 if (sysenv != NULL) {
231 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
232 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
233 strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
234 strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
235 strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
236 strncmp(sysenv, "Macmini1,1", 10) == 0) {
242 freeenv(sysenv);
[all...]
/freebsd-9.3-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-9.3-release/sys/i386/i386/
H A Dmachdep.c258 char *sysenv; local
268 sysenv = getenv("smbios.system.product");
269 if (sysenv != NULL) {
270 if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
271 strncmp(sysenv, "MacBook3,1", 10) == 0 ||
272 strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
273 strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
274 strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
275 strncmp(sysenv, "Macmini1,1", 10) == 0) {
281 freeenv(sysenv);
[all...]

Completed in 108 milliseconds