Lines Matching refs:wcache
81 static int set_wcache = 0, get_wcache = 0, wcache = 0;
1843 printf(" setting drive write-caching to %d", wcache);
1844 on_off(wcache);
1846 if (!wcache)
1848 if (ioctl(fd, HDIO_SET_WCACHE, wcache)) {
1850 setcache[2] = wcache ? 0x02 : 0x82;
1856 if (!wcache)
2198 wcache = !!(id[85] & 0x0020);
2199 printf(" write-caching = %2d", wcache);
2200 on_off(wcache);
2809 case GET_SET_PARM('W',"write-cache",wcache,0,1);