Searched refs:superblock (Results 1 - 8 of 8) sorted by relevance

/freebsd-10.0-release/sys/geom/label/
H A Dg_label_ufs.c54 int sb, superblock; local
67 * superblock corresponds to the size of the underlying provider.
71 for (sb = 0; (superblock = superblocks[sb]) != -1; sb++) {
74 * the superblock candidate must be multiples of the provider's
78 if (superblock % cp->provider->sectorsize != 0)
81 fs = (struct fs *)g_read_data(cp, superblock, SBLOCKSIZE, NULL);
100 if (fs->fs_sblockloc != superblock || fs->fs_ncg < 1 ||
/freebsd-10.0-release/lib/libufs/
H A Dsblock.c55 int sb, superblock; local
62 superblock = superblocks[0];
64 for (sb = 0; (superblock = superblocks[sb]) != -1; sb++) {
65 if (bread(disk, superblock, disk->d_sb, SBLOCKSIZE) == -1) {
66 ERROR(disk, "non-existent or truncated superblock");
72 fs->fs_sblockloc == superblock)
81 if (superblock == -1 || disk->d_ufs == 0) {
84 * must set it to indicate no superblock could be found with
87 ERROR(disk, "no usable known superblock found");
92 disk->d_sblock = superblock / dis
[all...]
/freebsd-10.0-release/sys/geom/
H A Dgeom_vol_ffs.c46 FEATURE(geom_vol, "GEOM support for volume names from UFS superblock");
68 int sb, superblock; local
89 * superblock corresponds to the size of the underlying provider.
93 for (sb=0; (superblock = superblocks[sb]) != -1; sb++) {
96 * offset and size of the superblock candidate must be
100 if (superblock % cp->provider->sectorsize != 0 ||
104 fs = (struct fs *) g_read_data(cp, superblock,
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dblock.h75 The superblock of a top-level local block (i.e. a function in the
76 case of C) is the STATIC_BLOCK. The superblock of the
79 struct block *superblock; member in struct:block
117 #define BLOCK_SUPERBLOCK(bl) (bl)->superblock
/freebsd-10.0-release/sbin/pfctl/
H A Dpfctl_optimize.c58 * A container that lets us sort a superblock to optimize the skip step jumps
68 * A superblock is a block of adjacent rules of similar action. If there
69 * are five PASS rules in a row, they all become members of a superblock.
70 * Once we have a superblock, we are free to re-order any rules within it
74 struct superblock { struct
76 TAILQ_ENTRY(superblock) sb_entry;
77 struct superblock *sb_profiled_block;
80 TAILQ_HEAD(superblocks, superblock);
88 BREAK, /* the field may not differ between rules in a superblock */
108 * superblock
990 skip_append(struct superblock *superblock, int skipnum, struct pf_skip_step *skiplist, struct pf_opt_rule *por) argument
[all...]
/freebsd-10.0-release/usr.sbin/makefs/
H A Dffs.c255 struct fs *superblock; local
297 /* update various superblock parameters */
298 superblock = fsopts->superblock;
299 superblock->fs_fmod = 0;
300 superblock->fs_old_cstotal.cs_ndir = superblock->fs_cstotal.cs_ndir;
301 superblock->fs_old_cstotal.cs_nbfree = superblock->fs_cstotal.cs_nbfree;
302 superblock
[all...]
H A Dmakefs.h119 void *superblock; /* superblock */ member in struct:__anon11614
/freebsd-10.0-release/usr.sbin/quot/
H A Dquot.c537 * Possible superblock locations ordered from most to least likely.
540 static char superblock[SBLOCKSIZE]; variable
561 if (read(fd, superblock, SBLOCKSIZE) != SBLOCKSIZE) {
565 fs = (struct fs *)superblock;

Completed in 180 milliseconds