/linux-2.4.37.9/fs/proc/ |
D | inode.c | 182 struct inode * root_inode; in proc_read_super() local 191 root_inode = proc_get_inode(s, PROC_ROOT_INO, &proc_root); in proc_read_super() 192 if (!root_inode) in proc_read_super() 198 for_each_task(p) if (p->pid) root_inode->i_nlink++; in proc_read_super() 200 s->s_root = d_alloc_root(root_inode); in proc_read_super() 203 parse_options(data, &root_inode->i_uid, &root_inode->i_gid); in proc_read_super() 208 iput(root_inode); in proc_read_super()
|
/linux-2.4.37.9/drivers/isdn/avmb1/ |
D | capifs.c | 287 struct inode * root_inode; in capifs_read_super() local 325 root_inode = capifs_new_inode(s); in capifs_read_super() 326 if (root_inode) { in capifs_read_super() 327 root_inode->i_ino = 1; in capifs_read_super() 328 root_inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO | S_IWUSR; in capifs_read_super() 329 root_inode->i_op = &capifs_root_inode_operations; in capifs_read_super() 330 root_inode->i_fop = &capifs_root_operations; in capifs_read_super() 331 root_inode->i_nlink = 2; in capifs_read_super() 333 root = d_alloc_root(root_inode); in capifs_read_super() 340 else iput(root_inode); in capifs_read_super() [all …]
|
/linux-2.4.37.9/fs/autofs4/ |
D | inode.c | 179 struct inode * root_inode; in autofs4_read_super() local 209 root_inode = autofs4_get_inode(s, autofs4_mkroot(sbi)); in autofs4_read_super() 210 root_inode->i_op = &autofs4_root_inode_operations; in autofs4_read_super() 211 root_inode->i_fop = &autofs4_root_operations; in autofs4_read_super() 212 root = d_alloc_root(root_inode); in autofs4_read_super() 220 &root_inode->i_uid, &root_inode->i_gid, in autofs4_read_super() 277 iput(root_inode); in autofs4_read_super()
|
/linux-2.4.37.9/fs/autofs/ |
D | inode.c | 116 struct inode * root_inode; in autofs_read_super() local 142 root_inode = iget(s, AUTOFS_ROOT_INO); in autofs_read_super() 143 root = d_alloc_root(root_inode); in autofs_read_super() 150 …if ( parse_options(data,&pipefd,&root_inode->i_uid,&root_inode->i_gid,&sbi->oz_pgrp,&minproto,&max… in autofs_read_super() 187 iput(root_inode); in autofs_read_super()
|
/linux-2.4.37.9/fs/hfs/ |
D | super.c | 400 struct inode *root_inode; in hfs_read_super() local 465 root_inode = hfs_iget(hfs_cat_get(mdb, &key), HFS_ITYPE_NORM, NULL); in hfs_read_super() 466 if (!root_inode) in hfs_read_super() 469 s->s_root = d_alloc_root(root_inode); in hfs_read_super() 474 HFS_I(root_inode)->entry->sys_entry[HFS_ITYPE_TO_INT(HFS_ITYPE_NORM)] = in hfs_read_super() 483 iput(root_inode); in hfs_read_super()
|
/linux-2.4.37.9/fs/affs/ |
D | super.c | 225 struct inode *root_inode = NULL; in affs_read_super() local 414 root_inode = iget(sb, root_block); in affs_read_super() 415 sb->s_root = d_alloc_root(root_inode); in affs_read_super() 429 if (root_inode) in affs_read_super() 430 iput(root_inode); in affs_read_super()
|
/linux-2.4.37.9/fs/sysv/ |
D | super.c | 295 struct inode *root_inode; in complete_read_super() local 327 root_inode = iget(sb,SYSV_ROOT_INO); in complete_read_super() 328 if (!root_inode || is_bad_inode(root_inode)) { in complete_read_super() 332 sb->s_root = d_alloc_root(root_inode); in complete_read_super() 334 iput(root_inode); in complete_read_super()
|
/linux-2.4.37.9/fs/minix/ |
D | inode.c | 130 struct inode *root_inode; in minix_read_super() local 216 root_inode = iget(s, MINIX_ROOT_INO); in minix_read_super() 217 if (!root_inode || is_bad_inode(root_inode)) in minix_read_super() 220 s->s_root = d_alloc_root(root_inode); in minix_read_super() 241 iput(root_inode); in minix_read_super()
|
/linux-2.4.37.9/fs/ncpfs/ |
D | inode.c | 262 struct inode *root_inode; in ncp_read_super() local 439 root_inode = ncp_iget(sb, &finfo); in ncp_read_super() 440 if (!root_inode) in ncp_read_super() 442 DPRINTK("ncp_read_super: root vol=%d\n", NCP_FINFO(root_inode)->volNumber); in ncp_read_super() 443 sb->s_root = d_alloc_root(root_inode); in ncp_read_super() 451 iput(root_inode); in ncp_read_super()
|
/linux-2.4.37.9/fs/smbfs/ |
D | inode.c | 444 struct inode *root_inode; in smb_read_super() local 539 root_inode = smb_iget(sb, &root); in smb_read_super() 540 if (!root_inode) in smb_read_super() 543 sb->s_root = d_alloc_root(root_inode); in smb_read_super() 552 iput(root_inode); in smb_read_super()
|
/linux-2.4.37.9/fs/fat/ |
D | inode.c | 562 struct inode *root_inode; in fat_read_super() local 795 root_inode = new_inode(sb); in fat_read_super() 796 if (!root_inode) in fat_read_super() 798 root_inode->i_ino = MSDOS_ROOT_INO; in fat_read_super() 799 fat_read_root(root_inode); in fat_read_super() 800 insert_inode_hash(root_inode); in fat_read_super() 801 sb->s_root = d_alloc_root(root_inode); in fat_read_super() 812 iput(root_inode); in fat_read_super()
|
/linux-2.4.37.9/drivers/usb/ |
D | inode.c | 607 struct inode *root_inode, *inode; in usbdevfs_read_super() local 624 root_inode = iget(s, IROOT); in usbdevfs_read_super() 625 if (!root_inode) in usbdevfs_read_super() 627 s->s_root = d_alloc_root(root_inode); in usbdevfs_read_super() 654 iput(root_inode); in usbdevfs_read_super()
|
/linux-2.4.37.9/fs/nfs/ |
D | inode.c | 267 struct inode *root_inode = NULL; in nfs_read_super() local 395 if (!(root_inode = nfs_get_root(sb, root)) in nfs_read_super() 403 if (!root_inode) in nfs_read_super() 405 sb->s_root = d_alloc_root(root_inode); in nfs_read_super() 488 iput(root_inode); in nfs_read_super()
|
/linux-2.4.37.9/fs/ |
D | dcache.c | 676 struct dentry * d_alloc_root(struct inode * root_inode) in d_alloc_root() argument 680 if (root_inode) { in d_alloc_root() 683 res->d_sb = root_inode->i_sb; in d_alloc_root() 685 d_instantiate(res, root_inode); in d_alloc_root()
|
/linux-2.4.37.9/fs/openpromfs/ |
D | inode.c | 1043 struct inode * root_inode; in openprom_read_super() local 1049 root_inode = iget(s, OPENPROM_ROOT_INO); in openprom_read_super() 1050 if (!root_inode) in openprom_read_super() 1052 s->s_root = d_alloc_root(root_inode); in openprom_read_super() 1059 iput(root_inode); in openprom_read_super()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | super.c | 1151 struct inode *root_inode; in reiserfs_read_super() local 1249 root_inode = iget4 (s, REISERFS_ROOT_OBJECTID, 0, (void *)(&args)); in reiserfs_read_super() 1250 if (!root_inode) { in reiserfs_read_super() 1255 s->s_root = d_alloc_root(root_inode); in reiserfs_read_super() 1257 iput(root_inode); in reiserfs_read_super()
|
/linux-2.4.37.9/fs/jffs/ |
D | inode-v23.c | 78 struct inode *root_inode; in jffs_read_super() local 106 root_inode = iget(sb, JFFS_MIN_INO); in jffs_read_super() 107 if (!root_inode) in jffs_read_super() 111 if (!(sb->s_root = d_alloc_root(root_inode))) { in jffs_read_super() 151 iput(root_inode); in jffs_read_super()
|
/linux-2.4.37.9/fs/devfs/ |
D | base.c | 3279 struct inode *root_inode = NULL; in devfs_read_super() local 3291 if ( ( root_inode = _devfs_get_vfs_inode (sb, root_entry, NULL) ) == NULL ) in devfs_read_super() 3293 sb->s_root = d_alloc_root (root_inode); in devfs_read_super() 3300 if (root_inode) iput (root_inode); in devfs_read_super()
|