Lines Matching defs:inodes
108 /* a cg's worth of brand new squeaky-clean inodes */
131 /* in-core copies of all inodes in the fs, indexed by inumber */
132 union dinode *inodes;
134 void *ibuf; /* ptr to fs block-sized buffer for reading/writing inodes */
136 /* byteswapped inodes */
143 * block of inodes, and applies to the whole
457 * summary info in newsb; it also writes out new inodes for the cg.
580 * I'm not convinced this can happen - I think the inodes are always
623 /* Write out the cleared inodes. */
627 /* Write out the cleared inodes. */
756 static int hand = 0; /* hand rotates through all inodes in fs */
1007 "zeroed inodes");
1011 "zeroed inodes");
1076 inodes.
1086 (*fn) (inodes + i, i, cbarg);
1249 * Load the inodes off disk. Allocates the structures and initializes
1250 * them - the inodes from disk, the flags to zero.
1260 /* read inodes one fs block at a time and copy them */
1262 inodes = alloconce(oldsb->fs_ncg * oldsb->fs_ipg *
1263 sizeof(union dinode), "inodes");
1288 memcpy(&inodes[ino].dp2, &dp2[i],
1289 sizeof(inodes[ino].dp2));
1300 memcpy(&inodes[ino].dp1, &dp1[i],
1301 sizeof(inodes[ino].dp1));
1305 "Exceeded number of inodes");
1418 * update_for_data_move, and update_for_data_move does inodes first,
1572 * Flush all dirtied inodes to disk. Scans the inode flags array; for
1603 dp2[j] = inodes[i + j].dp2;
1617 dp1[j] = inodes[i + j].dp1;
1635 * Evict all inodes from the specified cg. shrink() already checked
1636 * that there were enough free inodes, so the no-free-inodes check is
1650 if (DIP(inodes + inum,di_mode) != 0) {
1653 errx(EXIT_FAILURE, "Sorry, inodes evaporated - "
1663 * Move inodes from old locations to new. Does not actually write
1682 inodes[inomove[i]] = inodes[i];
1689 * inodes' new locations.
1773 /* Load the inodes off disk - we'll need 'em. */
1822 /* Find out whether we would run out of inodes. (Note we
1833 errx(EXIT_FAILURE, "Sorry, would run out of inodes");
1839 /* Now do inodes. Initialize, evict, move, update - see the
1980 * values, for a cg, based on the in-core inodes for that cg.
2004 switch (DIP(inodes + inum, di_mode) & IFMT) {