Lines Matching refs:stb

1453 	struct stat64 stb;  in allocsp_f()  local
1473 if (fstat64(fd, &stb) < 0) { in allocsp_f()
1482 off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); in allocsp_f()
1804 struct stat64 stb; in dread_f() local
1832 if (fstat64(fd, &stb) < 0) { in dread_f()
1840 if (stb.st_size == 0) { in dread_f()
1851 diob.d_miniosz = stb.st_blksize; in dread_f()
1852 diob.d_maxiosz = stb.st_blksize * 256; /* good number ? */ in dread_f()
1853 diob.d_mem = stb.st_blksize; in dread_f()
1868 off = (off64_t) (lr % stb.st_size); in dread_f()
1905 struct stat64 stb; in dwrite_f() local
1931 if (fstat64(fd, &stb) < 0) { in dwrite_f()
1941 diob.d_miniosz = stb.st_blksize; in dwrite_f()
1942 diob.d_maxiosz = stb.st_blksize * 256; /* good number ? */ in dwrite_f()
1943 diob.d_mem = stb.st_blksize; in dwrite_f()
1958 off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); in dwrite_f()
2028 struct stat64 stb; in freesp_f() local
2048 if (fstat64(fd, &stb) < 0) { in freesp_f()
2057 off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); in freesp_f()
2257 struct stat64 stb; in read_f() local
2277 if (fstat64(fd, &stb) < 0) { in read_f()
2285 if (stb.st_size == 0) { in read_f()
2294 off = (off64_t) (lr % stb.st_size); in read_f()
2393 struct stat64 stb; in resvsp_f() local
2413 if (fstat64(fd, &stb) < 0) { in resvsp_f()
2422 off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); in resvsp_f()
2465 struct stat64 stb; in stat_f() local
2475 e = lstat64_path(&f, &stb) < 0 ? errno : 0; in stat_f()
2542 struct stat64 stb; in truncate_f() local
2552 e = stat64_path(&f, &stb) < 0 ? errno : 0; in truncate_f()
2562 off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); in truncate_f()
2605 struct stat64 stb; in unresvsp_f() local
2625 if (fstat64(fd, &stb) < 0) { in unresvsp_f()
2634 off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); in unresvsp_f()
2659 struct stat64 stb; in write_f() local
2679 if (fstat64(fd, &stb) < 0) { in write_f()
2688 off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); in write_f()