Lines Matching defs:arsb
79 static struct stat arsb; /* stat of archive device at open */
163 if (fstat(arfd, &arsb) < 0) {
170 if (S_ISDIR(arsb.st_mode)) {
179 if (S_ISCHR(arsb.st_mode))
181 else if (S_ISBLK(arsb.st_mode))
244 if ((arsb.st_blksize > 0) && (arsb.st_blksize < MAXBLK) &&
245 ((arsb.st_blksize % BLKMULT) == 0))
246 rdblksz = arsb.st_blksize;
262 if ((act == APPND) && wrblksz && ((arsb.st_size%wrblksz)==0)){
270 if ((arsb.st_size % rdblksz) == 0)
329 if (can_unlnk && (fstat(arfd, &arsb) == 0) && (S_ISREG(arsb.st_mode)) &&
330 (arsb.st_size == 0)) {
769 if (((fsbz = arsb.st_blksize) <= 0) || (artyp != ISREG))
839 if ((mpos = cpos + sksz) > arsb.st_size) {
840 *skipped = arsb.st_size - cpos;
841 mpos = arsb.st_size;