Lines Matching defs:block

216 struct fs filesystem, *fs;	/* super block */
496 * Read in the super block and validate (not too picky).
1181 if (match("block", 2)) { /* block conversion */
1196 if (match("bs", 2)) { /* block size */
1332 if (match("db", 2)) { /* direct block */
1357 printf("non existent block\n");
1479 if (match("ib", 2)) { /* indirect block */
1503 printf("non existent block\n");
1759 if (match("sb", 2)) { /* super block */
1771 printf("maximum super block is ");
2456 long block;
2465 block = cur_bytes = 0;
2467 if (block == 0 || bcomp(addr)) {
2469 if ((addr = ((u_offset_t)bmap(block++) <<
2876 printf("end of block\n");
2883 * The entire block containing the desired item is read
2950 * icheck - make sure we can read the block containing the inode
2998 string = "block";
3231 * block. The value is checked to make sure that it will
3233 * the entire block is written back to the file system.
3308 * getblk - check if the desired block is in the file system.
3309 * Search the incore buffers to see if the block is already
3310 * available. If successful, unlink the buffer control block
3313 * in the list for the desired block. Again, this control
3314 * block is placed at the head of the list. This process
3324 unsigned long block;
3327 block = lblkno(fs, address);
3328 if (block >= fragstoblks(fs, fs->fs_size)) {
3329 printf("cannot read block %lu\n", block);
3334 if (bp->valid && bp->blkno == block)
3338 bp->blkno = block;
3360 * insert - place the designated buffer control block
3404 * character and block devices.
3417 printf("not character or block device\n");
3424 * to prevent block 0 from being used as an indirect block
3425 * for a large file or as a data block for a small file.
3432 printf("non existent block\n");
3593 * occurs first. An error will occur if crossing a block boundary
3685 printf("end of block\n");
3741 printf("end of block\n");
3795 printf("end of block\n");
3910 printf("end of block\n");
4096 printf("end of block\n");
4101 case 's': /* print as super block */
4149 printf("invalid super block ");
4162 printf("invalid super block ");
4174 printf("invalid super block ");
4182 printf("\tsuper block:\n");
4184 printf("\tsuper block in cylinder ");
4292 printf("beginning of block\n");
4310 printf("beginning of block\n");
4319 printf("end of block\n");
4329 * check_addr - check if the address crosses the end of block or
4770 * bcomp - used to check for block over/under flows when stepping through
4787 * bmap - maps the logical block number of a file into
4788 * the corresponding physical block on the file
4881 printf("bad super block magic number\n");
4979 * To find the log we need to first pick up the block allocation
4980 * data. The block number for that data is fs_logbno in the
4981 * super block.
4985 printf("getblk() indicates an error with logging block\n");
4998 printf("Extents block has invalid type (0x%x)\n",
5007 printf("Failed to allocate memory for extent block log\n");
5018 printf("WARNING: extent block field nextbno is non-zero!\n");
5022 * first block of the first extent.
5063 printf("Log block number: 0x%x\n------------------\n",
5095 * log_lodb -- logical log offset to disk block number
5150 * fsdb getblk() expects offsets not block number.
5272 * an invalid block which may or may not indicate
5299 * rest of the current disk block is avoided.