Lines Matching defs:in
63 -E stride= Set RAID stripe size (in blocks)
68 filetype Store file type info in directory entry
81 long inodes; // Total inodes in filesystem.
90 unsigned blocks; // Total blocks in the filesystem.
91 unsigned freeblocks; // Free blocks in the filesystem.
121 // Fill out index blocks in inode.
160 // Recursively calculate the number of blocks used by each inode in the tree.
189 // numbers of files (> 100,000) but can be done in very little code.
224 // precision, normalizing it to the start of the gregorian calendar in 1582,
280 // allocation bitmap that fits in one block (I.E. how many bits per block)?
329 // Number of blocks used in group by optional superblock/group list backup.
348 // Number of blocks used in group to store superblock/group/inode list
357 // In bitmap "array" set "len" bits starting at position "start" (from 0).
387 // Fill out an inode structure from struct stat info in dirtree.
388 static void fill_inode(struct ext2_inode *in, struct dirtree *that)
407 in->mode = SWAP_LE32(that->st.st_mode);
409 in->uid = SWAP_LE16(that->st.st_uid & 0xFFFF);
410 in->uid_high = SWAP_LE16(that->st.st_uid >> 16);
411 in->gid = SWAP_LE16(that->st.st_gid & 0xFFFF);
412 in->gid_high = SWAP_LE16(that->st.st_gid >> 16);
413 in->size = SWAP_LE32(that->st.st_size & 0xFFFFFFFF);
419 if (temp) in->dir_acl = SWAP_LE32(that->st.st_size >> temp);
421 in->atime = SWAP_LE32(that->st.st_atime);
422 in->ctime = SWAP_LE32(that->st.st_ctime);
423 in->mtime = SWAP_LE32(that->st.st_mtime);
425 in->links_count = SWAP_LE16(that->st.st_nlink);
426 in->blocks = SWAP_LE32(that->st.st_blocks);
427 // in->faddr
527 struct ext2_inode *in = (struct ext2_inode *)toybuf;
556 // Figure out what sector this group starts in.
559 // Find next array slot in this block (flush block if full).
566 // How many free inodes in this group?
578 // How many free blocks in this group?
631 if (j) xwrite(TT.fsfd, in, TT.blocksize);
632 memset(in, 0, TT.blocksize);
636 if (j == 2) fill_inode(in+slot, dtb);
638 fill_inode(in+slot, dti);
642 xwrite(TT.fsfd, in, TT.blocksize);