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.
255 // allocation bitmap that fits in one block (I.E. how many bits per block)?
304 // Number of blocks used in group by optional superblock/group list backup.
323 // Number of blocks used in group to store superblock/group/inode list
332 // In bitmap "array" set "len" bits starting at position "start" (from 0).
362 // Fill out an inode structure from struct stat info in dirtree.
363 static void fill_inode(struct ext2_inode *in, struct dirtree *that)
382 in->mode = SWAP_LE32(that->st.st_mode);
384 in->uid = SWAP_LE16(that->st.st_uid & 0xFFFF);
385 in->uid_high = SWAP_LE16(that->st.st_uid >> 16);
386 in->gid = SWAP_LE16(that->st.st_gid & 0xFFFF);
387 in->gid_high = SWAP_LE16(that->st.st_gid >> 16);
388 in->size = SWAP_LE32(that->st.st_size & 0xFFFFFFFF);
394 if (temp) in->dir_acl = SWAP_LE32(that->st.st_size >> temp);
396 in->atime = SWAP_LE32(that->st.st_atime);
397 in->ctime = SWAP_LE32(that->st.st_ctime);
398 in->mtime = SWAP_LE32(that->st.st_mtime);
400 in->links_count = SWAP_LE16(that->st.st_nlink);
401 in->blocks = SWAP_LE32(that->st.st_blocks);
402 // in->faddr
502 struct ext2_inode *in = (struct ext2_inode *)toybuf;
531 // Figure out what sector this group starts in.
534 // Find next array slot in this block (flush block if full).
541 // How many free inodes in this group?
553 // How many free blocks in this group?
606 if (j) xwrite(TT.fsfd, in, TT.blocksize);
607 memset(in, 0, TT.blocksize);
611 if (j == 2) fill_inode(in+slot, dtb);
613 fill_inode(in+slot, dti);
617 xwrite(TT.fsfd, in, TT.blocksize);