tag | line | file | source code |
ino | 72 | arch/alpha/kernel/osf_sys.c | static int osf_filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
ino | 86 | arch/alpha/kernel/osf_sys.c | put_user(ino, &dirent->d_ino); |
ino | 253 | arch/alpha/kernel/osf_sys.c | static int getdev(const char * name, int rdonly, struct inode ** ino) |
ino | 292 | arch/alpha/kernel/osf_sys.c | *ino = inode; |
ino | 348 | arch/sparc/kernel/sys_sunos.c | off_t offset, ino_t ino) |
ino | 362 | arch/sparc/kernel/sys_sunos.c | put_user(ino, &dirent->d_ino); |
ino | 419 | arch/sparc/kernel/sys_sunos.c | off_t offset, ino_t ino) |
ino | 431 | arch/sparc/kernel/sys_sunos.c | put_user(ino, &dirent->d_ino); |
ino | 61 | drivers/char/ftape/kernel-interface.c | static int ftape_open(struct inode *ino, struct file *filep); |
ino | 62 | drivers/char/ftape/kernel-interface.c | static void ftape_close(struct inode *ino, struct file *filep); |
ino | 63 | drivers/char/ftape/kernel-interface.c | static int ftape_ioctl(struct inode *ino, struct file *filep, |
ino | 65 | drivers/char/ftape/kernel-interface.c | static int ftape_read(struct inode *ino, struct file *fp, char *buff, |
ino | 67 | drivers/char/ftape/kernel-interface.c | static int ftape_write(struct inode *ino, struct file *fp, const char *buff, |
ino | 69 | drivers/char/ftape/kernel-interface.c | static int ftape_lseek(struct inode *ino, struct file *filep, |
ino | 233 | drivers/char/ftape/kernel-interface.c | static int ftape_open(struct inode *ino, struct file *filep) |
ino | 239 | drivers/char/ftape/kernel-interface.c | TRACEi(5, "called for minor", MINOR(ino->i_rdev)); |
ino | 246 | drivers/char/ftape/kernel-interface.c | if ((MINOR(ino->i_rdev) & ~FTAPE_NO_REWIND) > 3) { |
ino | 252 | drivers/char/ftape/kernel-interface.c | if (ftape_unit == -1 || FTAPE_UNIT != (MINOR(ino->i_rdev) & 3)) { |
ino | 257 | drivers/char/ftape/kernel-interface.c | ftape_unit = MINOR(ino->i_rdev); |
ino | 282 | drivers/char/ftape/kernel-interface.c | static void ftape_close(struct inode *ino, struct file *filep) |
ino | 287 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit) { |
ino | 307 | drivers/char/ftape/kernel-interface.c | static int ftape_ioctl(struct inode *ino, struct file *filep, |
ino | 314 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
ino | 331 | drivers/char/ftape/kernel-interface.c | static int ftape_read(struct inode *ino, struct file *fp, char *buff, int req_len) |
ino | 338 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
ino | 354 | drivers/char/ftape/kernel-interface.c | static int ftape_write(struct inode *ino, struct file *fp, const char *buff, int req_len) |
ino | 361 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
ino | 377 | drivers/char/ftape/kernel-interface.c | static int ftape_lseek(struct inode *ino, struct file *filep, off_t offset, int origin) |
ino | 1361 | drivers/isdn/isdn_common.c | static int isdn_open(struct inode *ino, struct file *filep) |
ino | 1363 | drivers/isdn/isdn_common.c | uint minor = MINOR(ino->i_rdev); |
ino | 1420 | drivers/isdn/isdn_common.c | static void isdn_close(struct inode *ino, struct file *filep) |
ino | 1422 | drivers/isdn/isdn_common.c | uint minor = MINOR(ino->i_rdev); |
ino | 138 | drivers/scsi/scsi.c | extern int (* dispatch_scsi_info_ptr)(int ino, char *buffer, char **start, |
ino | 140 | drivers/scsi/scsi.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
ino | 77 | drivers/scsi/scsi_proc.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
ino | 82 | drivers/scsi/scsi_proc.c | if(ino == PROC_SCSI_SCSI) { |
ino | 91 | drivers/scsi/scsi_proc.c | if (ino == (hpnt->host_no + PROC_SCSI_FILE)) { |
ino | 47 | fs/dcache.c | unsigned long ino; |
ino | 172 | fs/dcache.c | int dcache_lookup(struct inode * dir, const char * name, int len, unsigned long * ino) |
ino | 183 | fs/dcache.c | *ino = de->ino; |
ino | 188 | fs/dcache.c | void dcache_add(struct inode * dir, const char * name, int len, unsigned long ino) |
ino | 197 | fs/dcache.c | de->ino = ino; |
ino | 207 | fs/dcache.c | de->ino = ino; |
ino | 1014 | fs/dquot.c | struct inode *ino; |
ino | 1039 | fs/dquot.c | if (namei(special, &ino)) |
ino | 1041 | fs/dquot.c | dev = ino->i_rdev; |
ino | 1042 | fs/dquot.c | if (!S_ISBLK(ino->i_mode)) { |
ino | 1043 | fs/dquot.c | iput(ino); |
ino | 1046 | fs/dquot.c | iput(ino); |
ino | 181 | fs/ext/freelists.c | unsigned long ino; |
ino | 203 | fs/ext/freelists.c | ino = inode->i_ino; |
ino | 207 | fs/ext/freelists.c | if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) { |
ino | 217 | fs/ext/freelists.c | printk("ext_free_inode: inode full, skipping to %d\n", ino); |
ino | 221 | fs/ext/freelists.c | block = 2 + (ino - 1) / EXT_INODES_PER_BLOCK; |
ino | 225 | fs/ext/freelists.c | (ino - 1) % EXT_INODES_PER_BLOCK; |
ino | 228 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodenumber = ino; |
ino | 231 | fs/ext/freelists.c | efi->free[efi->count++] = ino; |
ino | 305 | fs/ext/freelists.c | unsigned long count, block, ino; |
ino | 314 | fs/ext/freelists.c | ino = efi->next; |
ino | 315 | fs/ext/freelists.c | while (ino) { |
ino | 316 | fs/ext/freelists.c | if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) { |
ino | 318 | fs/ext/freelists.c | (int) sb->u.ext_sb.s_firstfreeinodenumber,ino); |
ino | 321 | fs/ext/freelists.c | block = 2 + ((ino - 1) / EXT_INODES_PER_BLOCK); |
ino | 327 | fs/ext/freelists.c | ((ino - 1) % EXT_INODES_PER_BLOCK); |
ino | 329 | fs/ext/freelists.c | ino = efi->next; |
ino | 154 | fs/ext/namei.c | int ino; |
ino | 169 | fs/ext/namei.c | ino = de->inode; |
ino | 171 | fs/ext/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
ino | 726 | fs/ext/namei.c | int ino; |
ino | 738 | fs/ext/namei.c | ino = new_inode->i_ino; |
ino | 741 | fs/ext/namei.c | if (new_inode->i_ino == ino) |
ino | 168 | fs/ext2/namei.c | unsigned long ino; |
ino | 179 | fs/ext2/namei.c | if (dcache_lookup(dir, name, len, &ino)) { |
ino | 180 | fs/ext2/namei.c | if (!ino) { |
ino | 184 | fs/ext2/namei.c | if (!(*result = iget (dir->i_sb, ino))) { |
ino | 191 | fs/ext2/namei.c | ino = dir->i_version; |
ino | 193 | fs/ext2/namei.c | if (ino == dir->i_version) |
ino | 198 | fs/ext2/namei.c | ino = de->inode; |
ino | 199 | fs/ext2/namei.c | dcache_add(dir, name, len, ino); |
ino | 201 | fs/ext2/namei.c | if (!(*result = iget (dir->i_sb, ino))) { |
ino | 888 | fs/ext2/namei.c | int ino; |
ino | 900 | fs/ext2/namei.c | ino = new_inode->i_ino; |
ino | 903 | fs/ext2/namei.c | if (new_inode->i_ino == ino) |
ino | 129 | fs/fat/cache.c | && walk->ino == inode->i_ino |
ino | 152 | fs/fat/cache.c | walk->ino, walk->file_cluster, walk->disk_cluster); |
ino | 171 | fs/fat/cache.c | && walk->ino == inode->i_ino |
ino | 189 | fs/fat/cache.c | walk->ino = inode->i_ino; |
ino | 210 | fs/fat/cache.c | && walk->ino == inode->i_ino) |
ino | 105 | fs/fat/dir.c | int ino,i,i2,last; |
ino | 138 | fs/fat/dir.c | ino = fat_get_entry(inode,&filp->f_pos,&bh,&de); |
ino | 139 | fs/fat/dir.c | while (ino > -1) { |
ino | 201 | fs/fat/dir.c | ino = fat_get_entry(inode,&filp->f_pos,&bh,&de); |
ino | 203 | fs/fat/dir.c | if (ino == -1) { |
ino | 257 | fs/fat/dir.c | ino = inode->i_ino; |
ino | 259 | fs/fat/dir.c | ino = fat_parent_ino(inode,0); |
ino | 262 | fs/fat/dir.c | dcache_add(inode, bufname, i+dotoffset, ino); |
ino | 272 | fs/fat/dir.c | if (fat_filldir(filldir, dirent, bufname, i+dotoffset, 0, oldpos, spos, long_slots, ino) < 0) { |
ino | 278 | fs/fat/dir.c | dcache_add(inode, longname, long_len, ino); |
ino | 284 | fs/fat/dir.c | if (fat_filldir(filldir, dirent, longname, long_len, 1, oldpos, spos, long_slots, ino) < 0) { |
ino | 296 | fs/fat/dir.c | ino = fat_get_entry(inode,&filp->f_pos,&bh,&de); |
ino | 314 | fs/fat/dir.c | ino_t ino) |
ino | 316 | fs/fat/dir.c | return filldir(buf, name, name_len, offset, ino); |
ino | 338 | fs/fat/dir.c | ino_t ino) |
ino | 361 | fs/fat/dir.c | put_user(ino, &d2->d_ino); |
ino | 367 | fs/fat/misc.c | int *number,int *ino,struct buffer_head **res_bh, |
ino | 387 | fs/fat/misc.c | if (!ino) RSS_COUNT |
ino | 394 | fs/fat/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
ino | 414 | fs/fat/misc.c | static int raw_scan_root(struct super_block *sb,const char *name,int *number,int *ino, |
ino | 421 | fs/fat/misc.c | name,number,ino,res_bh,res_de,scantype)) >= 0) return cluster; |
ino | 433 | fs/fat/misc.c | int *number,int *ino,struct buffer_head **res_bh,struct msdos_dir_entry |
ino | 445 | fs/fat/misc.c | count,name,number,ino,res_bh,res_de,scantype)) >= 0) |
ino | 469 | fs/fat/misc.c | int *number, int *ino, struct buffer_head **res_bh, |
ino | 473 | fs/fat/misc.c | (sb,start,name,number,ino,res_bh,res_de,scantype); |
ino | 475 | fs/fat/misc.c | (sb,name,number,ino,res_bh,res_de,scantype); |
ino | 543 | fs/fat/misc.c | struct msdos_dir_entry **res_de,int *ino, char scantype) |
ino | 549 | fs/fat/misc.c | name, NULL, ino, res_bh, res_de, scantype) |
ino | 551 | fs/fat/misc.c | NULL, NULL, ino, res_bh, res_de, scantype); |
ino | 261 | fs/hpfs/hpfs_fs.c | static dnode_secno fnode_dno(kdev_t dev, ino_t ino); |
ino | 262 | fs/hpfs/hpfs_fs.c | static struct fnode *map_fnode(kdev_t dev, ino_t ino, |
ino | 295 | fs/hpfs/hpfs_fs.c | static inline fnode_secno ino_secno(ino_t ino) |
ino | 297 | fs/hpfs/hpfs_fs.c | return ino >> 1; |
ino | 304 | fs/hpfs/hpfs_fs.c | static inline int ino_is_dir(ino_t ino) |
ino | 306 | fs/hpfs/hpfs_fs.c | return (ino & 1) == 0; |
ino | 1125 | fs/hpfs/hpfs_fs.c | ino_t ino; |
ino | 1161 | fs/hpfs/hpfs_fs.c | ino = dir_ino(de->fnode); |
ino | 1163 | fs/hpfs/hpfs_fs.c | ino = file_ino(de->fnode); |
ino | 1169 | fs/hpfs/hpfs_fs.c | if (!(inode = iget(dir->i_sb, ino))) |
ino | 1373 | fs/hpfs/hpfs_fs.c | ino_t ino; |
ino | 1414 | fs/hpfs/hpfs_fs.c | ino = dir_ino(de->fnode); |
ino | 1416 | fs/hpfs/hpfs_fs.c | ino = file_ino(de->fnode); |
ino | 1418 | fs/hpfs/hpfs_fs.c | if (filldir(dirent, tempname, namelen, old_pos, ino) < 0) { |
ino | 1590 | fs/hpfs/hpfs_fs.c | static dnode_secno fnode_dno(kdev_t dev, ino_t ino) |
ino | 1596 | fs/hpfs/hpfs_fs.c | fnode = map_fnode(dev, ino, &bh); |
ino | 1607 | fs/hpfs/hpfs_fs.c | static struct fnode *map_fnode(kdev_t dev, ino_t ino, struct buffer_head **bhp) |
ino | 1611 | fs/hpfs/hpfs_fs.c | if (ino == 0) { |
ino | 1616 | fs/hpfs/hpfs_fs.c | fnode = map_sector(dev, ino_secno(ino), bhp); |
ino | 468 | fs/inode.c | static int ino = 0; |
ino | 514 | fs/inode.c | inode->i_ino = ++ino; |
ino | 62 | fs/isofs/namei.c | const char * name, int namelen, unsigned long * ino, unsigned long * ino_back) |
ino | 76 | fs/isofs/namei.c | *ino = 0; |
ino | 206 | fs/isofs/namei.c | *ino = inode_number; |
ino | 221 | fs/isofs/namei.c | unsigned long ino, ino_back; |
ino | 236 | fs/isofs/namei.c | ino = 0; |
ino | 238 | fs/isofs/namei.c | if (dcache_lookup(dir, name, len, &ino)) ino_back = dir->i_ino; |
ino | 240 | fs/isofs/namei.c | if (!ino) { |
ino | 255 | fs/isofs/namei.c | bh = isofs_find_entry(dir,lcname,len, &ino, &ino_back); |
ino | 258 | fs/isofs/namei.c | bh = isofs_find_entry(dir,name,len, &ino, &ino_back); |
ino | 265 | fs/isofs/namei.c | dcache_add(dir, name, len, ino); |
ino | 269 | fs/isofs/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
ino | 114 | fs/minix/bitmap.c | int ino, block; |
ino | 116 | fs/minix/bitmap.c | ino = inode->i_ino; |
ino | 117 | fs/minix/bitmap.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
ino | 119 | fs/minix/bitmap.c | kdevname(inode->i_dev), ino); |
ino | 124 | fs/minix/bitmap.c | (ino - 1) / MINIX_INODES_PER_BLOCK); |
ino | 131 | fs/minix/bitmap.c | (ino - 1) % MINIX_INODES_PER_BLOCK); |
ino | 142 | fs/minix/bitmap.c | int ino, block; |
ino | 144 | fs/minix/bitmap.c | ino = inode->i_ino; |
ino | 145 | fs/minix/bitmap.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
ino | 147 | fs/minix/bitmap.c | kdevname(inode->i_dev), ino); |
ino | 152 | fs/minix/bitmap.c | (ino - 1) / MINIX2_INODES_PER_BLOCK); |
ino | 159 | fs/minix/bitmap.c | (ino - 1) % MINIX2_INODES_PER_BLOCK); |
ino | 181 | fs/minix/bitmap.c | unsigned long ino; |
ino | 205 | fs/minix/bitmap.c | ino = inode->i_ino; |
ino | 206 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
ino | 212 | fs/minix/bitmap.c | if (!clear_bit(ino & 8191, bh->b_data)) |
ino | 213 | fs/minix/bitmap.c | printk("free_inode: bit %lu already cleared.\n",ino); |
ino | 638 | fs/minix/inode.c | int block, ino; |
ino | 640 | fs/minix/inode.c | ino = inode->i_ino; |
ino | 643 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
ino | 646 | fs/minix/inode.c | kdevname(inode->i_dev), ino); |
ino | 651 | fs/minix/inode.c | (ino-1)/MINIX_INODES_PER_BLOCK; |
ino | 658 | fs/minix/inode.c | (ino-1)%MINIX_INODES_PER_BLOCK; |
ino | 692 | fs/minix/inode.c | int block, ino; |
ino | 694 | fs/minix/inode.c | ino = inode->i_ino; |
ino | 697 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
ino | 700 | fs/minix/inode.c | kdevname(inode->i_dev), ino); |
ino | 705 | fs/minix/inode.c | (ino-1)/MINIX2_INODES_PER_BLOCK; |
ino | 712 | fs/minix/inode.c | (ino-1)%MINIX2_INODES_PER_BLOCK; |
ino | 759 | fs/minix/inode.c | int ino, block; |
ino | 761 | fs/minix/inode.c | ino = inode->i_ino; |
ino | 762 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
ino | 765 | fs/minix/inode.c | kdevname(inode->i_dev), ino); |
ino | 770 | fs/minix/inode.c | (ino-1)/MINIX_INODES_PER_BLOCK; |
ino | 777 | fs/minix/inode.c | (ino-1)%MINIX_INODES_PER_BLOCK; |
ino | 800 | fs/minix/inode.c | int ino, block; |
ino | 802 | fs/minix/inode.c | ino = inode->i_ino; |
ino | 803 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
ino | 806 | fs/minix/inode.c | kdevname(inode->i_dev), ino); |
ino | 811 | fs/minix/inode.c | (ino-1)/MINIX2_INODES_PER_BLOCK; |
ino | 818 | fs/minix/inode.c | (ino-1)%MINIX2_INODES_PER_BLOCK; |
ino | 110 | fs/minix/namei.c | int ino; |
ino | 125 | fs/minix/namei.c | ino = de->inode; |
ino | 127 | fs/minix/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
ino | 639 | fs/minix/namei.c | int ino; |
ino | 651 | fs/minix/namei.c | ino = new_inode->i_ino; |
ino | 654 | fs/minix/namei.c | if (new_inode->i_ino == ino) |
ino | 150 | fs/msdos/namei.c | struct buffer_head **bh,struct msdos_dir_entry **de,int *ino) |
ino | 172 | fs/msdos/namei.c | return fat_scan(dir,msdos_name,bh,de,ino,scantype); |
ino | 180 | fs/msdos/namei.c | int ino,res; |
ino | 199 | fs/msdos/namei.c | ino = fat_parent_ino(dir,0); |
ino | 201 | fs/msdos/namei.c | if (ino < 0) return ino; |
ino | 202 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) return -EACCES; |
ino | 206 | fs/msdos/namei.c | if (dcache_lookup(dir, name, len, (unsigned long *) &ino)) { |
ino | 208 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb, ino))) |
ino | 214 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) { |
ino | 222 | fs/msdos/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
ino | 262 | fs/msdos/namei.c | int res,ino; |
ino | 264 | fs/msdos/namei.c | if ((res = fat_scan(dir,NULL,&bh,&de,&ino,SCAN_ANY)) < 0) { |
ino | 268 | fs/msdos/namei.c | if ((res = fat_scan(dir,NULL,&bh,&de,&ino,SCAN_ANY)) < 0) return res; |
ino | 283 | fs/msdos/namei.c | if ((*result = iget(dir->i_sb,ino)) != NULL) |
ino | 290 | fs/msdos/namei.c | dcache_add(dir, name, len, ino); |
ino | 302 | fs/msdos/namei.c | int ino,res,is_hid; |
ino | 317 | fs/msdos/namei.c | if (fat_scan(dir,msdos_name,&bh,&de,&ino,SCAN_HID) >= 0) { |
ino | 323 | fs/msdos/namei.c | if (fat_scan(dir,msdos_name,&bh,&de,&ino,SCAN_NOTHID) >= 0) { |
ino | 386 | fs/msdos/namei.c | int res,ino; |
ino | 396 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done; |
ino | 398 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) goto rmdir_done; |
ino | 429 | fs/msdos/namei.c | int ino,res,is_hid; |
ino | 439 | fs/msdos/namei.c | if (fat_scan(dir,msdos_name,&bh,&de,&ino,SCAN_ANY) >= 0) { |
ino | 490 | fs/msdos/namei.c | int res,ino; |
ino | 497 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) |
ino | 499 | fs/msdos/namei.c | if (!(inode = iget(dir->i_sb,ino))) { |
ino | 613 | fs/msdos/namei.c | int error,exists,ino; |
ino | 620 | fs/msdos/namei.c | ino = fat_parent_ino(walk,1); |
ino | 622 | fs/msdos/namei.c | if (ino < 0) return ino; |
ino | 623 | fs/msdos/namei.c | if (ino == old_ino) return -EINVAL; |
ino | 624 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
ino | 163 | fs/ncpfs/dir.c | ino_t ino = inode->i_ino; |
ino | 167 | fs/ncpfs/dir.c | if (ino == ncp_info_ino(server, this)) |
ino | 328 | fs/ncpfs/dir.c | ino_t ino; |
ino | 332 | fs/ncpfs/dir.c | ino = (ino_t)(entry->i.DosDirNum); |
ino | 347 | fs/ncpfs/dir.c | ino = (ino_t)(ino_info); |
ino | 354 | fs/ncpfs/dir.c | entry->f_pos, ino) < 0) |
ino | 506 | fs/ncpfs/dir.c | ncp_invalid_dir_cache(struct inode *ino) |
ino | 508 | fs/ncpfs/dir.c | if ((ino->i_dev == c_dev) && (ino->i_ino == c_ino)) |
ino | 891 | fs/proc/array.c | unsigned long ino; |
ino | 904 | fs/proc/array.c | ino = map->vm_inode->i_ino; |
ino | 907 | fs/proc/array.c | ino = 0; |
ino | 912 | fs/proc/array.c | kdevname(dev), ino); |
ino | 56 | fs/proc/base.c | int ino = inode->i_ino & 0xffff; |
ino | 60 | fs/proc/base.c | if (p->dumpable || ino == PROC_PID_INO) { |
ino | 58 | fs/proc/fd.c | unsigned int ino, pid, fd, c; |
ino | 64 | fs/proc/fd.c | ino = dir->i_ino; |
ino | 65 | fs/proc/fd.c | pid = ino >> 16; |
ino | 66 | fs/proc/fd.c | ino &= 0x0000ffff; |
ino | 70 | fs/proc/fd.c | if (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) { |
ino | 112 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
ino | 114 | fs/proc/fd.c | if (!(*result = proc_get_inode(sb, ino, NULL))) |
ino | 127 | fs/proc/fd.c | unsigned int fd, pid, ino; |
ino | 132 | fs/proc/fd.c | ino = inode->i_ino; |
ino | 133 | fs/proc/fd.c | pid = ino >> 16; |
ino | 134 | fs/proc/fd.c | ino &= 0x0000ffff; |
ino | 135 | fs/proc/fd.c | if (ino != PROC_PID_FD) |
ino | 139 | fs/proc/fd.c | unsigned long ino = inode->i_ino; |
ino | 141 | fs/proc/fd.c | ino = (ino & 0xffff0000) | PROC_PID_INO; |
ino | 142 | fs/proc/fd.c | if (filldir(dirent, "..", fd+1, fd, ino) < 0) |
ino | 168 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
ino | 169 | fs/proc/fd.c | if (filldir(dirent, buf+j, NUMBUF-j, fd+2, ino) < 0) |
ino | 74 | fs/proc/inode.c | struct inode * proc_get_inode(struct super_block * s, int ino, struct proc_dir_entry * de) |
ino | 76 | fs/proc/inode.c | struct inode * inode = iget(s, ino); |
ino | 134 | fs/proc/inode.c | unsigned long ino, pid; |
ino | 147 | fs/proc/inode.c | ino = inode->i_ino; |
ino | 148 | fs/proc/inode.c | pid = ino >> 16; |
ino | 155 | fs/proc/inode.c | if (ino == PROC_ROOT_INO) { |
ino | 165 | fs/proc/inode.c | switch (ino) { |
ino | 195 | fs/proc/inode.c | ino &= 0x0000ffff; |
ino | 196 | fs/proc/inode.c | if (ino == PROC_PID_INO || p->dumpable) { |
ino | 200 | fs/proc/inode.c | switch (ino) { |
ino | 236 | fs/proc/inode.c | switch (ino >> 8) { |
ino | 238 | fs/proc/inode.c | ino &= 0xff; |
ino | 239 | fs/proc/inode.c | if (ino >= NR_OPEN || !p->files->fd[ino]) |
ino | 244 | fs/proc/inode.c | if (p->files->fd[ino]->f_mode & 1) |
ino | 246 | fs/proc/inode.c | if (p->files->fd[ino]->f_mode & 2) |
ino | 68 | fs/proc/link.c | unsigned int pid, ino; |
ino | 82 | fs/proc/link.c | ino = inode->i_ino; |
ino | 83 | fs/proc/link.c | pid = ino >> 16; |
ino | 84 | fs/proc/link.c | ino &= 0x0000ffff; |
ino | 93 | fs/proc/link.c | switch (ino) { |
ino | 119 | fs/proc/link.c | switch (ino >> 8) { |
ino | 123 | fs/proc/link.c | ino &= 0xff; |
ino | 124 | fs/proc/link.c | if (ino < NR_OPEN && p->files->fd[ino]) { |
ino | 125 | fs/proc/link.c | new_inode = p->files->fd[ino]->f_inode; |
ino | 141 | fs/proc/link.c | unsigned int dev,ino; |
ino | 154 | fs/proc/link.c | ino = inode->i_ino; |
ino | 156 | fs/proc/link.c | i = sprintf(buf,"[%04x]:%u", dev, ino); |
ino | 10 | fs/proc/procfs_syms.c | extern int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
ino | 164 | fs/proc/root.c | int proc_unregister(struct proc_dir_entry * dir, int ino) |
ino | 169 | fs/proc/root.c | if (dp->low_ino == ino) { |
ino | 174 | fs/proc/root.c | if (ino >= PROC_DYNAMIC_FIRST && |
ino | 175 | fs/proc/root.c | ino < PROC_DYNAMIC_FIRST+PROC_NDYNAMIC) |
ino | 176 | fs/proc/root.c | clear_bit(ino-PROC_DYNAMIC_FIRST, |
ino | 393 | fs/proc/root.c | int ino; |
ino | 435 | fs/proc/root.c | ino = de->low_ino | (dir->i_ino & ~(0xffff)); |
ino | 437 | fs/proc/root.c | if (!(*result = proc_get_inode(dir->i_sb, ino, de))) { |
ino | 449 | fs/proc/root.c | int i, ino, retval; |
ino | 480 | fs/proc/root.c | ino = (pid << 16) + PROC_PID_INO; |
ino | 481 | fs/proc/root.c | if (!(*result = proc_get_inode(dir->i_sb, ino, &proc_pid))) { |
ino | 502 | fs/proc/root.c | unsigned int ino; |
ino | 507 | fs/proc/root.c | ino = inode->i_ino; |
ino | 514 | fs/proc/root.c | if (filldir(dirent, ".", 1, i, ino) < 0) |
ino | 526 | fs/proc/root.c | ino &= ~0xffff; |
ino | 539 | fs/proc/root.c | if (filldir(dirent, de->name, de->namelen, filp->f_pos, ino | de->low_ino) < 0) |
ino | 41 | fs/proc/scsi.c | int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
ino | 39 | fs/readdir.c | static int fillonedir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
ino | 48 | fs/readdir.c | put_user(ino, &dirent->d_ino); |
ino | 95 | fs/readdir.c | static int filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
ino | 109 | fs/readdir.c | put_user(ino, &dirent->d_ino); |
ino | 309 | fs/smbfs/dir.c | smb_invalid_dir_cache(unsigned long ino) |
ino | 311 | fs/smbfs/dir.c | if (ino == c_ino) { |
ino | 623 | fs/smbfs/dir.c | struct smb_inode_info *ino = &(server->root); |
ino | 626 | fs/smbfs/dir.c | ino->finfo.opened = 0; |
ino | 627 | fs/smbfs/dir.c | ino = ino->next; |
ino | 628 | fs/smbfs/dir.c | } while (ino != &(server->root)); |
ino | 55 | fs/sysv/ialloc.c | unsigned int ino; |
ino | 77 | fs/sysv/ialloc.c | ino = inode->i_ino; |
ino | 78 | fs/sysv/ialloc.c | if (ino <= SYSV_ROOT_INO || ino > sb->sv_ninodes) { |
ino | 82 | fs/sysv/ialloc.c | if (!(bh = sv_bread(sb, inode->i_dev, sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits)))) { |
ino | 88 | fs/sysv/ialloc.c | raw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1); |
ino | 91 | fs/sysv/ialloc.c | *sv_sb_fic_inode(sb,(*sb->sv_sb_fic_count)++) = ino; |
ino | 109 | fs/sysv/ialloc.c | int i,j,ino,block; |
ino | 127 | fs/sysv/ialloc.c | for (i = 0, ino = SYSV_ROOT_INO+1, block = sb->sv_firstinodezone, j = SYSV_ROOT_INO ; i < sb->sv_fic_size && block < sb->sv_firstdatazone ; block++, j = 0) { |
ino | 134 | fs/sysv/ialloc.c | for (; j < sb->sv_inodes_per_block && i < sb->sv_fic_size; ino++, j++, raw_inode++) { |
ino | 136 | fs/sysv/ialloc.c | *sv_sb_fic_inode(sb,i++) = ino; |
ino | 148 | fs/sysv/ialloc.c | ino = *sv_sb_fic_inode(sb,--(*sb->sv_sb_fic_count)); |
ino | 158 | fs/sysv/ialloc.c | inode->i_ino = ino; |
ino | 804 | fs/sysv/inode.c | unsigned int block, ino; |
ino | 807 | fs/sysv/inode.c | ino = inode->i_ino; |
ino | 810 | fs/sysv/inode.c | if (!ino || ino > sb->sv_ninodes) { |
ino | 813 | fs/sysv/inode.c | kdevname(inode->i_dev), ino); |
ino | 816 | fs/sysv/inode.c | block = sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits); |
ino | 823 | fs/sysv/inode.c | raw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1); |
ino | 893 | fs/sysv/inode.c | unsigned int ino, block; |
ino | 896 | fs/sysv/inode.c | ino = inode->i_ino; |
ino | 897 | fs/sysv/inode.c | if (!ino || ino > sb->sv_ninodes) { |
ino | 900 | fs/sysv/inode.c | kdevname(inode->i_dev), ino); |
ino | 904 | fs/sysv/inode.c | block = sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits); |
ino | 910 | fs/sysv/inode.c | raw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1); |
ino | 106 | fs/sysv/namei.c | int ino; |
ino | 121 | fs/sysv/namei.c | ino = de->inode; |
ino | 123 | fs/sysv/namei.c | if (!(*result = iget(dir->i_sb,ino))) { |
ino | 635 | fs/sysv/namei.c | int ino; |
ino | 647 | fs/sysv/namei.c | ino = new_inode->i_ino; |
ino | 650 | fs/sysv/namei.c | if (new_inode->i_ino == ino) /* root dir reached ? */ |
ino | 52 | fs/umsdos/dir.c | ino_t ino) |
ino | 63 | fs/umsdos/dir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
ino | 410 | fs/umsdos/dir.c | ino_t ino; |
ino | 421 | fs/umsdos/dir.c | ino_t ino) |
ino | 425 | fs/umsdos/dir.c | d->ino = ino; |
ino | 440 | fs/umsdos/dir.c | ino_t ino) |
ino | 444 | fs/umsdos/dir.c | if (d->search_ino == ino){ |
ino | 506 | fs/umsdos/dir.c | }else if (bufk.ino == inode->i_ino){ |
ino | 206 | fs/umsdos/inode.c | unsigned long ino = inode->u.umsdos_i.i_dir_owner; |
ino | 208 | fs/umsdos/inode.c | if (ino == 0){ |
ino | 211 | fs/umsdos/inode.c | struct inode *dir = *result = iget(inode->i_sb,ino); |
ino | 35 | fs/umsdos/ioctl.c | ino_t ino) |
ino | 43 | fs/umsdos/ioctl.c | put_user (ino,&d->ent->d_ino); |
ino | 38 | fs/umsdos/rdir.c | ino_t ino) |
ino | 51 | fs/umsdos/rdir.c | ino = pseudo_root->i_ino; |
ino | 53 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
ino | 57 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
ino | 55 | fs/vfat/namei.c | ino_t ino; |
ino | 549 | fs/vfat/namei.c | int ino; |
ino | 559 | fs/vfat/namei.c | ino = fat_get_entry(dir,&curr,&bh,&de); |
ino | 562 | fs/vfat/namei.c | while (ino > -1) { |
ino | 565 | fs/vfat/namei.c | inode = iget(sb,ino); |
ino | 584 | fs/vfat/namei.c | ino = fat_get_entry(dir,&curr,&bh,&de); |
ino | 589 | fs/vfat/namei.c | ino = fat_get_entry(dir,&curr,&bh,&de); |
ino | 767 | fs/vfat/namei.c | ino_t ino) |
ino | 798 | fs/vfat/namei.c | vf->ino = ino; |
ino | 836 | fs/vfat/namei.c | sinfo_out->ino = vf.ino; |
ino | 865 | fs/vfat/namei.c | sinfo_out->ino = fat_get_entry(dir,&offset,&bh,&de); |
ino | 866 | fs/vfat/namei.c | if (sinfo_out->ino < 0) { |
ino | 868 | fs/vfat/namei.c | return sinfo_out->ino; |
ino | 912 | fs/vfat/namei.c | int res, ino; |
ino | 930 | fs/vfat/namei.c | ino = fat_parent_ino(dir,0); |
ino | 932 | fs/vfat/namei.c | if (ino < 0) return ino; |
ino | 933 | fs/vfat/namei.c | if (!(*result = iget(dir->i_sb,ino))) return -EACCES; |
ino | 936 | fs/vfat/namei.c | if (dcache_lookup(dir, name, len, (unsigned long *) &ino) && ino) { |
ino | 938 | fs/vfat/namei.c | if (!(*result = iget(dir->i_sb, ino))) |
ino | 948 | fs/vfat/namei.c | if (!(*result = iget(dir->i_sb,sinfo.ino))) { |
ino | 983 | fs/vfat/namei.c | int res,ino; |
ino | 999 | fs/vfat/namei.c | ino = fat_get_entry(dir, &offset, &bh, &de); |
ino | 1000 | fs/vfat/namei.c | if (ino < 0) { |
ino | 1003 | fs/vfat/namei.c | return ino; |
ino | 1007 | fs/vfat/namei.c | if ((*result = iget(dir->i_sb,ino)) != NULL) |
ino | 1016 | fs/vfat/namei.c | dcache_add(dir, name, len, ino); |
ino | 1039 | fs/vfat/namei.c | struct msdos_dir_entry *de,int ino,const char *name, int isdot) |
ino | 1062 | fs/vfat/namei.c | if ((dot = iget(dir->i_sb,ino)) != NULL) |
ino | 1152 | fs/vfat/namei.c | struct msdos_dir_entry *de,int ino) |
ino | 1158 | fs/vfat/namei.c | if (ino < 0) return -EINVAL; |
ino | 1159 | fs/vfat/namei.c | if (!(inode = iget(dir->i_sb,ino))) return -ENOENT; |
ino | 1186 | fs/vfat/namei.c | struct msdos_dir_entry *de,int ino,int nospc) |
ino | 1190 | fs/vfat/namei.c | if (!(inode = iget(dir->i_sb,ino))) return -ENOENT; |
ino | 1359 | fs/vfat/namei.c | int old_slots,old_ino,new_ino,dotdot_ino,ino; |
ino | 1379 | fs/vfat/namei.c | old_ino = sinfo.ino; |
ino | 1395 | fs/vfat/namei.c | ino = fat_parent_ino(walk,1); |
ino | 1397 | fs/vfat/namei.c | if (ino < 0) { |
ino | 1398 | fs/vfat/namei.c | res = ino; |
ino | 1401 | fs/vfat/namei.c | if (ino == old_ino) { |
ino | 1405 | fs/vfat/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) { |
ino | 1451 | fs/vfat/namei.c | new_ino = sinfo.ino; |
ino | 282 | fs/xiafs/bitmap.c | unsigned long ino; |
ino | 293 | fs/xiafs/bitmap.c | ino = inode->i_ino; |
ino | 294 | fs/xiafs/bitmap.c | bh = get_imap_zone(sb, ino, NULL); |
ino | 298 | fs/xiafs/bitmap.c | if (!clear_bit(ino & (XIAFS_BITS_PER_Z(sb)-1), bh->b_data)) |
ino | 301 | fs/xiafs/bitmap.c | kdevname(inode->i_dev), ino, ino, WHERE_ERR); |
ino | 377 | fs/xiafs/inode.c | ino_t ino; |
ino | 379 | fs/xiafs/inode.c | ino = inode->i_ino; |
ino | 382 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
ino | 388 | fs/xiafs/inode.c | (ino-1)/ XIAFS_INODES_PER_Z(inode->i_sb); |
ino | 394 | fs/xiafs/inode.c | ((ino-1) & (XIAFS_INODES_PER_Z(inode->i_sb) - 1)); |
ino | 434 | fs/xiafs/inode.c | ino_t ino; |
ino | 442 | fs/xiafs/inode.c | ino = inode->i_ino; |
ino | 443 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
ino | 450 | fs/xiafs/inode.c | (ino-1) / XIAFS_INODES_PER_Z(inode->i_sb); |
ino | 457 | fs/xiafs/inode.c | ((ino-1) & (XIAFS_INODES_PER_Z(inode->i_sb) -1)); |
ino | 119 | fs/xiafs/namei.c | int ino; |
ino | 134 | fs/xiafs/namei.c | ino = dep->d_ino; |
ino | 136 | fs/xiafs/namei.c | if (!(*result = iget(dir->i_sb, ino))) { |
ino | 679 | fs/xiafs/namei.c | int ino; |
ino | 691 | fs/xiafs/namei.c | ino = new_inode->i_ino; |
ino | 694 | fs/xiafs/namei.c | if (new_inode->i_ino == ino) |
ino | 145 | include/linux/msdos_fs.h | int ino; /* ino for the file */ |
ino | 166 | include/linux/msdos_fs.h | int ino; /* inode number. */ |
ino | 185 | include/linux/msdos_fs.h | struct msdos_dir_entry **res_de,int *ino,char scantype); |
ino | 134 | include/linux/ncp_fs.h | void ncp_invalid_dir_cache(struct inode *ino); |
ino | 176 | include/linux/proc_fs.h | extern int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
ino | 106 | include/linux/smb_fs.h | void smb_invalid_dir_cache(unsigned long ino); |
ino | 152 | include/linux/smb_fs.h | struct inode *ino, |
ino | 24 | mm/mmap.c | static inline int anon_map(struct inode *ino, struct file * file, struct vm_area_struct * vma) |