Searched refs:sblk (Results 1 - 12 of 12) sorted by relevance

/freebsd-current/tests/sys/file/
H A Dfspacectl_test.c92 char *buf, *sblk; local
102 sblk = buf + blocksize;
104 memset(sblk, 0, blocksize);
120 if (memcmp(buf, sblk, blen) != 0) {
128 memset(sblk, byte_to_fill, blocksize);
141 if (memcmp(buf, sblk, blen) != 0) {
160 if (memcmp(buf, sblk, blen) != 0) {
/freebsd-current/sbin/fsck_ffs/
H A Dglobs.c43 struct bufarea sblk; /* file system superblock */ variable in typeref:struct:bufarea
117 bzero(&sblk, sizeof(struct bufarea));
H A Dsetup.c406 readcnt[sblk.b_type]++;
467 sblk.b_bno = sblock.fs_sblockactualloc / dev_bsize;
468 sblk.b_size = SBLOCKSIZE;
496 initbarea(&sblk, BT_SUPERBLK);
497 sblk.b_un.b_buf = Balloc(SBLOCKSIZE);
498 if (sblk.b_un.b_buf == NULL)
H A Dsuj.c240 struct suj_blk *sblk; local
248 LIST_FOREACH(sblk, hd, sb_next)
249 if (sblk->sb_blk == blk)
250 return (sblk);
253 sblk = errmalloc(sizeof(*sblk));
254 bzero(sblk, sizeof(*sblk));
255 sblk->sb_blk = blk;
256 TAILQ_INIT(&sblk
311 struct suj_blk *sblk; local
363 struct suj_blk *sblk; local
1487 blk_check(struct suj_blk *sblk) argument
1605 struct suj_blk *sblk; local
1906 struct suj_blk *sblk; local
[all...]
H A Dfsck.h223 extern struct bufarea sblk; /* file system superblock */
242 #define sbdirty() dirty(&sblk)
243 #define sblock (*sblk.b_un.b_fs)
H A Dfsutil.c460 if (bp != &sblk)
462 bp, &sblk);
726 flush(fswritefd, &sblk);
728 sblk.b_bno != sblock.fs_sblockloc / dev_bsize) {
732 sblk.b_bno = sblock.fs_sblockloc / dev_bsize;
734 flush(fswritefd, &sblk);
747 flush(fswritefd, &sblk);
H A Dmain.c370 flush(fswritefd, &sblk);
538 if (cvtlevel && (sblk.b_flags & B_DIRTY) != 0) {
/freebsd-current/sys/geom/
H A Dgeom_ccd.c555 daddr_t sblk; local
557 sblk = 0;
558 for (ci = cs->sc_cinfo; cbn >= sblk + ci->ci_size; ci++)
559 sblk += ci->ci_size;
560 cbn -= sblk;
/freebsd-current/tests/sys/posixshm/
H A Dposixshm_test.c216 char *buf, *sblk; local
223 sblk = buf + page_size;
225 memset(sblk, 0, page_size);
241 if (memcmp(buf, sblk, blen) != 0) {
249 memset(sblk, byte_to_fill, page_size);
262 if (memcmp(buf, sblk, blen) != 0) {
281 if (memcmp(buf, sblk, blen) != 0) {
/freebsd-current/sys/ufs/ffs/
H A Dffs_subr.c645 off_t sblk, secsize; local
745 sblk = fsbtodb(protofs, cgsblock(protofs, cg));
748 (intmax_t)sblk);
749 if (ffs_sbget(devfd, fsp, dbtob(sblk), flags, filltype,
753 "at %jd\n", (intmax_t)sblk);
/freebsd-current/sbin/quotacheck/
H A Dquotacheck.c68 struct fs sblk; member in union:__anon220
71 #define sblock sb_un.sblk
/freebsd-current/sys/dev/bce/
H A Dif_bce.c10467 if (sblk->status_rx_quick_consumer_index##arg) \
10469 sblk->status_rx_quick_consumer_index##arg, (u16) \
10470 RX_CHAIN_IDX(sblk->status_rx_quick_consumer_index##arg), \
10474 if (sblk->status_tx_quick_consumer_index##arg) \
10476 sblk->status_tx_quick_consumer_index##arg, (u16) \
10477 TX_CHAIN_IDX(sblk->status_tx_quick_consumer_index##arg), \
10489 struct status_block *sblk; local
10493 sblk = sc->status_block;
10502 sblk->status_attn_bits);
10505 sblk
10552 struct statistics_block *sblk; local
[all...]

Completed in 280 milliseconds