Home
last modified time | relevance | path

Searched refs:SBCOUNT (Results 1 – 1 of 1) sorted by relevance

/openbsd/sbin/scan_ffs/
H A Dscan_ffs.c41 #define SBCOUNT 64 /* XXX - Should be configurable */ macro
76 static u_int8_t buf[SBSIZE * SBCOUNT]; in ufsscan()
84 for (blk = beg; blk <= ((end<0)?blk:end); blk += (SBCOUNT*SBSIZE/512)){ in ufsscan()
85 memset(buf, 0, SBSIZE * SBCOUNT); in ufsscan()
88 if (read(fd, buf, SBSIZE * SBCOUNT) == -1) in ufsscan()
91 for (n = 0; n < (SBSIZE * SBCOUNT); n += 512){ in ufsscan()
108 if ((n + size) < (SBSIZE * SBCOUNT)) in ufsscan()
112 (SBCOUNT*SBCOUNT)); in ufsscan()