Lines Matching refs:inode
52 struct ext2_inode inode; in list_dir_proc() local
66 ino = dirent->inode; in list_dir_proc()
77 if (debugfs_read_inode(ino, &inode, name)) in list_dir_proc()
80 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
81 fprintf(ls->f,"/%u/%06o/%d/%d/%s/",ino,inode.i_mode,inode.i_uid, inode.i_gid,name); in list_dir_proc()
82 if (LINUX_S_ISDIR(inode.i_mode)) in list_dir_proc()
85 fprintf(ls->f, "%lld/", EXT2_I_SIZE(&inode)); in list_dir_proc()
89 if (debugfs_read_inode(ino, &inode, name)) in list_dir_proc()
91 modtime = inode.i_mtime; in list_dir_proc()
99 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
102 inode.i_mode, dirent->name_len >> 8, in list_dir_proc()
103 inode_uid(inode), inode_gid(inode)); in list_dir_proc()
104 if (LINUX_S_ISDIR(inode.i_mode)) in list_dir_proc()
105 fprintf(ls->f, "%5d", inode.i_size); in list_dir_proc()
107 fprintf(ls->f, "%5llu", EXT2_I_SIZE(&inode)); in list_dir_proc()
110 sprintf(tmp, "%c%u%c (%d) %s ", lbr, dirent->inode, rbr, in list_dir_proc()
126 ext2_ino_t inode; in do_list_dir() local
160 inode = cwd; in do_list_dir()
162 inode = string_to_inode(argv[optind]); in do_list_dir()
163 if (!inode) in do_list_dir()
172 retval = ext2fs_dir_iterate2(current_fs, inode, flags, in do_list_dir()