Lines Matching refs:bno

325 	diskaddr_t bno;  member
399 static void rdfs(diskaddr_t bno, int size, char *bf);
400 static void wtfs(diskaddr_t bno, int size, char *bf);
401 static void awtfs(diskaddr_t bno, int size, char *bf, int release);
402 static void wtfs_breakup(diskaddr_t bno, int size, char *bf);
2516 diskaddr_t bno; /* UFS block number (not sector number) */ in initcg() local
2673 bno = dupper / sblock.fs_frag; in initcg()
2699 setblock(&sblock, cg_blksfree(&icg), bno); in initcg()
2711 bno++; in initcg()
3116 wtfs_breakup(transp->bno, transp->size, transp->buffer); in wait_for_write()
3121 transp->bno); in wait_for_write()
3205 rdfs(diskaddr_t bno, int size, char *bf) in rdfs() argument
3220 if (llseek(fsi, (offset_t)bno * sectorsize, 0) < 0) { in rdfs()
3224 bno, strerror(saverr)); in rdfs()
3233 bno, strerror(saverr)); in rdfs()
3237 n, size, bno); in rdfs()
3246 wtfs(diskaddr_t bno, int size, char *bf) in wtfs() argument
3258 if (llseek(fso, (offset_t)bno * sectorsize, 0) < 0) { in wtfs()
3262 bno, strerror(saverr)); in wtfs()
3273 bno, strerror(saverr)); in wtfs()
3277 n, size, bno); in wtfs()
3286 awtfs(diskaddr_t bno, int size, char *bf, int release) in awtfs() argument
3306 transp->bno = bno; in awtfs()
3311 n = aiowrite(fso, bf, size, (off_t)bno * sectorsize, in awtfs()
3323 wtfs_breakup(transp->bno, transp->size, transp->buffer); in awtfs()
3345 wtfs_breakup(diskaddr_t bno, int size, char *bf) in wtfs_breakup() argument
3364 if (llseek(fso, (offset_t)bno * sectorsize, 0) < 0) { in wtfs_breakup()
3368 bno, strerror(saverr)); in wtfs_breakup()
3377 bno, strerror(saverr)); in wtfs_breakup()
3384 n, size, bno); in wtfs_breakup()
3388 bno += block_incr; in wtfs_breakup()