Home
last modified time | relevance | path

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

/openbsd/src/sbin/fsck_ext2fs/
Dsetup.c114 initbarea(&sblk); in setup()
116 sblk.b_un.b_buf = malloc(SBSIZE); in setup()
118 if (sblk.b_un.b_buf == NULL || asblk.b_un.b_buf == NULL) in setup()
278 if (bread(fsreadfd, (char *)sblk.b_un.b_fs, super, (long)SBSIZE) != 0) in readsb()
280 sblk.b_bno = super; in readsb()
281 sblk.b_size = SBSIZE; in readsb()
284 e2fs_sbload(sblk.b_un.b_fs, &sblock.e2fs); in readsb()
320 sblk.b_bno = super / DEV_BSIZE; in readsb()
342 asblk.b_un.b_fs->e2fs_rbcount = sblk.b_un.b_fs->e2fs_rbcount; in readsb()
343 asblk.b_un.b_fs->e2fs_fbcount = sblk.b_un.b_fs->e2fs_fbcount; in readsb()
[all …]
Dfsck.h72 extern struct bufarea sblk; /* file system superblock */
85 #define sbdirty() copyback_sb(&sblk); sblk.b_dirty = 1
Dutilities.c209 if (bp != &sblk) in flush()
240 flush(fswritefd, &sblk); in ckfini()
241 if (havesb && sblk.b_bno != SBOFF / DEV_BSIZE && in ckfini()
243 sblk.b_bno = SBOFF / DEV_BSIZE; in ckfini()
245 flush(fswritefd, &sblk); in ckfini()
271 flush(fswritefd, &sblk); in ckfini()
Dmain.c62 struct bufarea sblk; /* file system superblock */ variable
/openbsd/src/sys/dev/pci/
Dif_bnx.c4226 struct status_block *sblk = sc->status_block; in bnx_rx_intr() local
4248 hw_cons = sc->hw_rx_cons = sblk->status_rx_quick_consumer_index0; in bnx_rx_intr()
4457 sblk->status_rx_quick_consumer_index0; in bnx_rx_intr()
4498 struct status_block *sblk = sc->status_block; in bnx_tx_intr() local
4507 hw_tx_cons = sc->hw_tx_cons = sblk->status_tx_quick_consumer_index0; in bnx_tx_intr()
5737 struct status_block *sblk; in bnx_dump_status_block() local
5739 sblk = sc->status_block; in bnx_dump_status_block()
5746 sblk->status_attn_bits, sblk->status_attn_bits_ack, in bnx_dump_status_block()
5747 sblk->status_idx); in bnx_dump_status_block()
5750 sblk->status_rx_quick_consumer_index0, in bnx_dump_status_block()
[all …]
/openbsd/src/sbin/fsck_ffs/
Dfsck.h137 extern struct bufarea sblk; /* file system superblock */
149 #define sbdirty() sblk.b_dirty = 1
150 #define sblock (*sblk.b_un.b_fs)
Dutilities.c271 if (bp != &sblk) in flush()
324 flush(fswritefd, &sblk); in ckfini()
325 if (havesb && sblk.b_bno != sblockloc / DEV_BSIZE && !preen && in ckfini()
327 sblk.b_bno = sblockloc / DEV_BSIZE; in ckfini()
329 flush(fswritefd, &sblk); in ckfini()
363 flush(fswritefd, &sblk); in ckfini()
Dmain.c60 struct bufarea sblk; /* file system superblock */ variable
338 if (cvtlevel && sblk.b_dirty) { in checkfilesys()
358 free(sblk.b_un.b_buf); in checkfilesys()
Dsetup.c142 initbarea(&sblk); in setup()
144 sblk.b_un.b_buf = malloc(SBSIZE); in setup()
146 if (sblk.b_un.b_buf == NULL || asblk.b_un.b_buf == NULL) in setup()
514 sblk.b_bno = super; in readsb()
515 sblk.b_size = SBSIZE; in readsb()
/openbsd/src/sbin/quotacheck/
Dquotacheck.c66 struct fs sblk; member
69 #define sblock sb_un.sblk
/openbsd/src/sbin/fsdb/
Dfsdb.c76 struct bufarea sblk; /* file system superblock */ variable