Lines Matching refs:ino
265 int j, ino, nextfh; in romfs_readdir() local
299 ino = offset; in romfs_readdir()
302 ino = ntohl(ri.spec); in romfs_readdir()
303 if (filldir(dirent, fsname, j, offset, ino, in romfs_readdir()
460 int nextfh, ino; in romfs_read_inode() local
463 ino = i->i_ino & ROMFH_MASK; in romfs_read_inode()
468 if (romfs_copyfrom(i, &ri, ino, ROMFH_SIZE) <= 0) { in romfs_read_inode()
469 printk("romfs: read error for inode 0x%x\n", ino); in romfs_read_inode()
478 ino = ntohl(ri.spec) & ROMFH_MASK; in romfs_read_inode()
487 ino = romfs_strnlen(i, ino+ROMFH_SIZE, ROMFS_MAXFN); in romfs_read_inode()
488 if (ino >= 0) in romfs_read_inode()
489 ino = ((ROMFH_SIZE+ino+1+ROMFH_PAD)&ROMFH_MASK); in romfs_read_inode()
491 ino = 0; in romfs_read_inode()
493 i->u.romfs_i.i_metasize = ino; in romfs_read_inode()
494 i->u.romfs_i.i_dataoffset = ino+(i->i_ino&ROMFH_MASK); in romfs_read_inode()
497 ino = romfs_modemap[nextfh & ROMFH_TYPE]; in romfs_read_inode()
505 ino |= S_IXUGO; in romfs_read_inode()
506 i->i_mode = ino; in romfs_read_inode()
512 ino |= S_IXUGO; in romfs_read_inode()
513 i->i_mode = ino; in romfs_read_inode()
518 i->i_mode = ino | S_IRWXUGO; in romfs_read_inode()
524 init_special_inode(i, ino, nextfh); in romfs_read_inode()