Home | Sort by: relevance | last modified time | path |
/src/usr.sbin/memswitch/ | |
memswitch.c | 292 int sramfd = 0; local in function:alloc_current_values 299 sramfd = open(_PATH_DEVSRAM, O_RDONLY); 300 if (sramfd < 0) 306 if (ioctl(sramfd, SIOGSRAM, &buffer) < 0) 311 close(sramfd); 366 int sramfd = 0; local in function:flush 387 if (sramfd == 0) { 388 sramfd = open(_PATH_DEVSRAM, O_RDWR); 389 if (sramfd < 0) 394 if (ioctl(sramfd, SIOPSRAM, &buffer) < 0 443 int sramfd, fd, i; local in function:restore [all...] |
memswitch.c | 292 int sramfd = 0; local in function:alloc_current_values 299 sramfd = open(_PATH_DEVSRAM, O_RDONLY); 300 if (sramfd < 0) 306 if (ioctl(sramfd, SIOGSRAM, &buffer) < 0) 311 close(sramfd); 366 int sramfd = 0; local in function:flush 387 if (sramfd == 0) { 388 sramfd = open(_PATH_DEVSRAM, O_RDWR); 389 if (sramfd < 0) 394 if (ioctl(sramfd, SIOPSRAM, &buffer) < 0 443 int sramfd, fd, i; local in function:restore [all...] |