/src/sys/ufs/ext2fs/ |
ext2fs_alloc.c | 176 ino_t ino, ipref; local in function:ext2fs_valloc 188 ipref = cg * fs->e2fs.e2fs_ipg + 1; 189 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg); 440 ext2fs_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode) 447 ipref--; /* to avoid a lot of (ipref -1) */ 448 if (ipref == -1) 449 ipref = 0; 473 if (ipref) { 474 ipref %= fs->e2fs.e2fs_ipg [all...] |
ext2fs_alloc.c | 176 ino_t ino, ipref; local in function:ext2fs_valloc 188 ipref = cg * fs->e2fs.e2fs_ipg + 1; 189 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg); 440 ext2fs_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode) 447 ipref--; /* to avoid a lot of (ipref -1) */ 448 if (ipref == -1) 449 ipref = 0; 473 if (ipref) { 474 ipref %= fs->e2fs.e2fs_ipg [all...] |
ext2fs_alloc.c | 176 ino_t ino, ipref; local in function:ext2fs_valloc 188 ipref = cg * fs->e2fs.e2fs_ipg + 1; 189 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg); 440 ext2fs_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode) 447 ipref--; /* to avoid a lot of (ipref -1) */ 448 if (ipref == -1) 449 ipref = 0; 473 if (ipref) { 474 ipref %= fs->e2fs.e2fs_ipg [all...] |
/src/sys/ufs/ffs/ |
ffs_alloc.c | 574 ino_t ino, ipref; local in function:ffs_valloc 593 ipref = ffs_dirpref(pip); 595 ipref = pip->i_number; 596 if (ipref >= fs->fs_ncg * fs->fs_ipg) 597 ipref = 0; 598 cg = ino_to_cg(fs, ipref); 610 ino = (ino_t)ffs_hashalloc(pip, cg, ipref, mode, 0, 0, ffs_nodealloccg); 1262 ffs_nodealloccg(struct inode *ip, u_int cg, daddr_t ipref, int mode, int realsize, 1339 if (ipref) { 1340 ipref %= fs->fs_ipg [all...] |
ffs_alloc.c | 574 ino_t ino, ipref; local in function:ffs_valloc 593 ipref = ffs_dirpref(pip); 595 ipref = pip->i_number; 596 if (ipref >= fs->fs_ncg * fs->fs_ipg) 597 ipref = 0; 598 cg = ino_to_cg(fs, ipref); 610 ino = (ino_t)ffs_hashalloc(pip, cg, ipref, mode, 0, 0, ffs_nodealloccg); 1262 ffs_nodealloccg(struct inode *ip, u_int cg, daddr_t ipref, int mode, int realsize, 1339 if (ipref) { 1340 ipref %= fs->fs_ipg [all...] |
ffs_alloc.c | 574 ino_t ino, ipref; local in function:ffs_valloc 593 ipref = ffs_dirpref(pip); 595 ipref = pip->i_number; 596 if (ipref >= fs->fs_ncg * fs->fs_ipg) 597 ipref = 0; 598 cg = ino_to_cg(fs, ipref); 610 ino = (ino_t)ffs_hashalloc(pip, cg, ipref, mode, 0, 0, ffs_nodealloccg); 1262 ffs_nodealloccg(struct inode *ip, u_int cg, daddr_t ipref, int mode, int realsize, 1339 if (ipref) { 1340 ipref %= fs->fs_ipg [all...] |