Home
last modified time | relevance | path

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

/freebsd-14.2/tests/sys/file/
H A Dfspacectl_test.c92 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 Dsuj.c242 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 Dsetup.c413 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 Dglobs.c55 struct bufarea sblk; /* file system superblock */ variable
129 bzero(&sblk, sizeof(struct bufarea)); in fsckinit()
H A Dfsck.h224 extern struct bufarea sblk; /* file system superblock */
243 #define sbdirty() dirty(&sblk)
244 #define sblock (*sblk.b_un.b_fs)
H A Dfsutil.c467 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 Dmain.c383 flush(fswritefd, &sblk); in checkfilesys()
551 if (cvtlevel && (sblk.b_flags & B_DIRTY) != 0) { in checkfilesys()
/freebsd-14.2/sys/geom/
H A Dgeom_ccd.c558 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 Dffs_subr.c648 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 Dposixshm_test.c217 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 Dquotacheck.c80 struct fs sblk; member
83 #define sblock sb_un.sblk
/freebsd-14.2/sys/dev/bce/
H A Dif_bce.c10473 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 …]