| /freebsd-14.2/tests/sys/file/ |
| H A D | fspacectl_test.c | 92 char *buf, *sblk; in check_content_dealloc() local 102 sblk = buf + blocksize; in check_content_dealloc() 104 memset(sblk, 0, blocksize); in check_content_dealloc() 120 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc() 128 memset(sblk, byte_to_fill, blocksize); in check_content_dealloc() 141 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc() 160 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc()
|
| /freebsd-14.2/sbin/fsck_ffs/ |
| H A D | suj.c | 242 struct suj_blk *sblk; in blk_lookup() local 252 return (sblk); in blk_lookup() 255 sblk = errmalloc(sizeof(*sblk)); in blk_lookup() 256 bzero(sblk, sizeof(*sblk)); in blk_lookup() 257 sblk->sb_blk = blk; in blk_lookup() 261 return (sblk); in blk_lookup() 313 struct suj_blk *sblk; in blk_freemask() local 328 if (sblk == NULL) in blk_freemask() 365 struct suj_blk *sblk; in blk_isindir() local 369 if (sblk == NULL) in blk_isindir() [all …]
|
| H A D | setup.c | 413 readcnt[sblk.b_type]++; in readsb() 474 sblk.b_bno = sblock.fs_sblockactualloc / dev_bsize; in readsb() 475 sblk.b_size = SBLOCKSIZE; in readsb() 503 initbarea(&sblk, BT_SUPERBLK); in sblock_init() 504 sblk.b_un.b_buf = Malloc(SBLOCKSIZE); in sblock_init() 505 if (sblk.b_un.b_buf == NULL) in sblock_init()
|
| H A D | globs.c | 55 struct bufarea sblk; /* file system superblock */ variable 129 bzero(&sblk, sizeof(struct bufarea)); in fsckinit()
|
| H A D | fsck.h | 224 extern struct bufarea sblk; /* file system superblock */ 243 #define sbdirty() dirty(&sblk) 244 #define sblock (*sblk.b_un.b_fs)
|
| H A D | fsutil.c | 467 if (bp != &sblk) in flush() 469 bp, &sblk); in flush() 733 flush(fswritefd, &sblk); in ckfini() 735 sblk.b_bno != sblock.fs_sblockloc / dev_bsize) { in ckfini() 739 sblk.b_bno = sblock.fs_sblockloc / dev_bsize; in ckfini() 741 flush(fswritefd, &sblk); in ckfini() 754 flush(fswritefd, &sblk); in ckfini()
|
| H A D | main.c | 383 flush(fswritefd, &sblk); in checkfilesys() 551 if (cvtlevel && (sblk.b_flags & B_DIRTY) != 0) { in checkfilesys()
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_ccd.c | 558 daddr_t sblk; in ccdbuffer() local 560 sblk = 0; in ccdbuffer() 561 for (ci = cs->sc_cinfo; cbn >= sblk + ci->ci_size; ci++) in ccdbuffer() 562 sblk += ci->ci_size; in ccdbuffer() 563 cbn -= sblk; in ccdbuffer()
|
| /freebsd-14.2/sys/ufs/ffs/ |
| H A D | ffs_subr.c | 648 off_t sblk, secsize; in ffs_sbsearch() local 748 sblk = fsbtodb(protofs, cgsblock(protofs, cg)); in ffs_sbsearch() 751 (intmax_t)sblk); in ffs_sbsearch() 752 if (ffs_sbget(devfd, fsp, dbtob(sblk), flags, filltype, in ffs_sbsearch() 756 "at %jd\n", (intmax_t)sblk); in ffs_sbsearch()
|
| /freebsd-14.2/tests/sys/posixshm/ |
| H A D | posixshm_test.c | 217 char *buf, *sblk; in check_content_dealloc() local 224 sblk = buf + page_size; in check_content_dealloc() 226 memset(sblk, 0, page_size); in check_content_dealloc() 242 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc() 250 memset(sblk, byte_to_fill, page_size); in check_content_dealloc() 263 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc() 282 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc()
|
| /freebsd-14.2/sbin/quotacheck/ |
| H A D | quotacheck.c | 80 struct fs sblk; member 83 #define sblock sb_un.sblk
|
| /freebsd-14.2/sys/dev/bce/ |
| H A D | if_bce.c | 10473 struct status_block *sblk; in bce_dump_status_block() local 10477 sblk = sc->status_block; in bce_dump_status_block() 10486 sblk->status_attn_bits); in bce_dump_status_block() 10489 sblk->status_attn_bits_ack); in bce_dump_status_block() 10506 sblk->status_cmd_consumer_index) in bce_dump_status_block() 10518 if (sblk->arg##_lo || sblk->arg##_hi) \ 10520 sblk->arg##_lo, #arg); 10523 if (sblk->arg) \ 10525 sblk->arg, #arg); 10536 struct statistics_block *sblk; in bce_dump_stats_block() local [all …]
|