• Home
  • Raw
  • Download

Lines Matching refs:group

205 	int group, best_group = -1;  in find_group_dir()  local
210 for (group = 0; group < ngroups; group++) { in find_group_dir()
211 desc = ext3_get_group_desc (sb, group, NULL); in find_group_dir()
219 best_group = group; in find_group_dir()
267 int group = -1, i; in find_group_orlov() local
281 get_random_bytes(&group, sizeof(group)); in find_group_orlov()
282 parent_group = (unsigned)group % ngroups; in find_group_orlov()
284 group = (parent_group + i) % ngroups; in find_group_orlov()
285 desc = ext3_get_group_desc (sb, group, NULL); in find_group_orlov()
294 best_group = group; in find_group_orlov()
317 group = (parent_group + i) % ngroups; in find_group_orlov()
318 desc = ext3_get_group_desc (sb, group, NULL); in find_group_orlov()
327 return group; in find_group_orlov()
332 group = (parent_group + i) % ngroups; in find_group_orlov()
333 desc = ext3_get_group_desc (sb, group, NULL); in find_group_orlov()
337 return group; in find_group_orlov()
357 int group, i; in find_group_other() local
362 group = parent_group; in find_group_other()
363 desc = ext3_get_group_desc (sb, group, NULL); in find_group_other()
366 return group; in find_group_other()
377 group = (group + parent->i_ino) % ngroups; in find_group_other()
384 group += i; in find_group_other()
385 if (group >= ngroups) in find_group_other()
386 group -= ngroups; in find_group_other()
387 desc = ext3_get_group_desc (sb, group, NULL); in find_group_other()
390 return group; in find_group_other()
397 group = parent_group; in find_group_other()
399 if (++group >= ngroups) in find_group_other()
400 group = 0; in find_group_other()
401 desc = ext3_get_group_desc (sb, group, NULL); in find_group_other()
403 return group; in find_group_other()
424 int group; in ext3_new_inode() local
449 group = find_group_dir(sb, dir); in ext3_new_inode()
451 group = find_group_orlov(sb, dir); in ext3_new_inode()
453 group = find_group_other(sb, dir); in ext3_new_inode()
456 if (group == -1) in ext3_new_inode()
462 gdp = ext3_get_group_desc(sb, group, &bh2); in ext3_new_inode()
467 bitmap_bh = read_inode_bitmap(sb, group); in ext3_new_inode()
483 if (!ext3_set_bit_atomic(sb_bgl_lock(sbi, group), in ext3_new_inode()
508 if (++group == sbi->s_groups_count) in ext3_new_inode()
509 group = 0; in ext3_new_inode()
515 ino += group * EXT3_INODES_PER_GROUP(sb) + 1; in ext3_new_inode()
519 "block_group = %d, inode=%lu", group, ino); in ext3_new_inode()
527 spin_lock(sb_bgl_lock(sbi, group)); in ext3_new_inode()
532 spin_unlock(sb_bgl_lock(sbi, group)); in ext3_new_inode()
573 ei->i_block_group = group; in ext3_new_inode()