Home | History | Annotate | Download | only in pending

Lines Matching defs:group

92   unsigned inodespg;     // Inodes per group
94 unsigned blockbits; // Bits per block. (Also blocks per group.)
98 unsigned nextgroup; // Next group we'll be allocating from
247 // Calculate inodes per group from total inodes.
313 // Does this group contain a superblock backup (and group descriptor table)?
314 static int is_sb_group(uint32_t group)
319 if(!group || group==1) return 1;
322 while (j<group) j*=i;
323 if (j==group) return 1;
329 // Number of blocks used in group by optional superblock/group list backup.
330 static int group_superblock_overhead(uint32_t group)
334 if (!is_sb_group(group)) return 0;
336 // How many blocks does the group descriptor table take up?
343 if (!group && TT.blocksize == 1024) used++;
348 // Number of blocks used in group to store superblock/group/inode list
349 static int group_overhead(uint32_t group)
353 return group_superblock_overhead(group) + 2 + get_inodespg(TT.inodespg)
397 int i, group = TT.nextblock/TT.blockbits;
401 // If we just jumped into a new group, skip group overhead blocks.
402 while (group >= TT.nextgroup)
531 // Where does this group end?
553 // Loop through groups to write group descriptor table.
556 // Figure out what sector this group starts in.
566 // How many free inodes in this group?
578 // How many free blocks in this group?
590 // Fill out rest of group structure
600 // Now write out stuff that every block group has.
627 // Write inode table for this group (TODO)