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);
2495 diskaddr_t bno; /* UFS block number (not sector number) */ in initcg() local
2652 bno = dupper / sblock.fs_frag; in initcg()
2678 setblock(&sblock, cg_blksfree(&icg), bno); in initcg()
2690 bno++; in initcg()
3095 wtfs_breakup(transp->bno, transp->size, transp->buffer); in wait_for_write()
3100 transp->bno); in wait_for_write()
3184 rdfs(diskaddr_t bno, int size, char *bf) in rdfs() argument
3199 if (llseek(fsi, (offset_t)bno * sectorsize, 0) < 0) { in rdfs()
3203 bno, strerror(saverr)); in rdfs()
3212 bno, strerror(saverr)); in rdfs()
3216 n, size, bno); in rdfs()
3225 wtfs(diskaddr_t bno, int size, char *bf) in wtfs() argument
3237 if (llseek(fso, (offset_t)bno * sectorsize, 0) < 0) { in wtfs()
3241 bno, strerror(saverr)); in wtfs()
3252 bno, strerror(saverr)); in wtfs()
3256 n, size, bno); in wtfs()
3265 awtfs(diskaddr_t bno, int size, char *bf, int release) in awtfs() argument
3285 transp->bno = bno; in awtfs()
3290 n = aiowrite(fso, bf, size, (off_t)bno * sectorsize, in awtfs()
3302 wtfs_breakup(transp->bno, transp->size, transp->buffer); in awtfs()
3324 wtfs_breakup(diskaddr_t bno, int size, char *bf) in wtfs_breakup() argument
3343 if (llseek(fso, (offset_t)bno * sectorsize, 0) < 0) { in wtfs_breakup()
3347 bno, strerror(saverr)); in wtfs_breakup()
3356 bno, strerror(saverr)); in wtfs_breakup()
3363 n, size, bno); in wtfs_breakup()
3367 bno += block_incr; in wtfs_breakup()