/freebsd/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/sbin/fsck_ffs/ |
H A D | suj.c | 240 struct suj_blk *sblk; in blk_lookup() local 250 return (sblk); in blk_lookup() 253 sblk = errmalloc(sizeof(*sblk)); in blk_lookup() 254 bzero(sblk, sizeof(*sblk)); in blk_lookup() 255 sblk->sb_blk = blk; in blk_lookup() 259 return (sblk); in blk_lookup() 311 struct suj_blk *sblk; in blk_freemask() local 326 if (sblk == NULL) in blk_freemask() 363 struct suj_blk *sblk; in blk_isindir() local 367 if (sblk == NULL) in blk_isindir() [all …]
|
H A D | setup.c | 406 readcnt[sblk.b_type]++; in readsb() 467 sblk.b_bno = sblock.fs_sblockactualloc / dev_bsize; in readsb() 468 sblk.b_size = SBLOCKSIZE; in readsb() 496 initbarea(&sblk, BT_SUPERBLK); in sblock_init() 497 sblk.b_un.b_buf = Balloc(SBLOCKSIZE); in sblock_init() 498 if (sblk.b_un.b_buf == NULL) in sblock_init()
|
H A D | globs.c | 43 struct bufarea sblk; /* file system superblock */ variable 117 bzero(&sblk, sizeof(struct bufarea)); in fsckinit()
|
H A D | fsck.h | 223 extern struct bufarea sblk; /* file system superblock */ 242 #define sbdirty() dirty(&sblk) 243 #define sblock (*sblk.b_un.b_fs)
|
H A D | fsutil.c | 460 if (bp != &sblk) in flush() 462 bp, &sblk); in flush() 726 flush(fswritefd, &sblk); in ckfini() 728 sblk.b_bno != sblock.fs_sblockloc / dev_bsize) { in ckfini() 732 sblk.b_bno = sblock.fs_sblockloc / dev_bsize; in ckfini() 734 flush(fswritefd, &sblk); in ckfini() 747 flush(fswritefd, &sblk); in ckfini()
|
H A D | main.c | 370 flush(fswritefd, &sblk); in checkfilesys() 538 if (cvtlevel && (sblk.b_flags & B_DIRTY) != 0) { in checkfilesys()
|
/freebsd/sys/geom/ |
H A D | geom_ccd.c | 555 daddr_t sblk; in ccdbuffer() local 557 sblk = 0; in ccdbuffer() 558 for (ci = cs->sc_cinfo; cbn >= sblk + ci->ci_size; ci++) in ccdbuffer() 559 sblk += ci->ci_size; in ccdbuffer() 560 cbn -= sblk; in ccdbuffer()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_subr.c | 645 off_t sblk, secsize; in ffs_sbsearch() local 745 sblk = fsbtodb(protofs, cgsblock(protofs, cg)); in ffs_sbsearch() 748 (intmax_t)sblk); in ffs_sbsearch() 749 if (ffs_sbget(devfd, fsp, dbtob(sblk), flags, filltype, in ffs_sbsearch() 753 "at %jd\n", (intmax_t)sblk); in ffs_sbsearch()
|
/freebsd/tests/sys/posixshm/ |
H A D | posixshm_test.c | 216 char *buf, *sblk; in check_content_dealloc() local 223 sblk = buf + page_size; in check_content_dealloc() 225 memset(sblk, 0, page_size); in check_content_dealloc() 241 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc() 249 memset(sblk, byte_to_fill, page_size); in check_content_dealloc() 262 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc() 281 if (memcmp(buf, sblk, blen) != 0) { in check_content_dealloc()
|
/freebsd/sbin/quotacheck/ |
H A D | quotacheck.c | 68 struct fs sblk; member 71 #define sblock sb_un.sblk
|
/freebsd/sys/dev/bce/ |
H A D | if_bce.c | 10479 struct status_block *sblk; in bce_dump_status_block() local 10483 sblk = sc->status_block; in bce_dump_status_block() 10492 sblk->status_attn_bits); in bce_dump_status_block() 10495 sblk->status_attn_bits_ack); in bce_dump_status_block() 10512 sblk->status_cmd_consumer_index) in bce_dump_status_block() 10524 if (sblk->arg##_lo || sblk->arg##_hi) \ 10526 sblk->arg##_lo, #arg); 10529 if (sblk->arg) \ 10531 sblk->arg, #arg); 10542 struct statistics_block *sblk; in bce_dump_stats_block() local [all …]
|