Lines Matching refs:inode

78 struct inode curip;
152 CMDFUNC(focus); /* focus on inode */
153 CMDFUNC(active); /* print active inode */
154 CMDFUNC(blocks); /* print blocks for active inode */
156 CMDFUNC(zapi); /* clear inode */
178 CMDFUNC(chinum); /* Change inode # of dirent */
186 { "inode", "Set active inode to INUM", 2, 2, FL_RO, focus },
187 { "clri", "Clear inode INUM", 2, 2, FL_CWR, zapi },
188 { "lookup", "Set active inode by looking up NAME", 2, 2, FL_RO | FL_ST, focusname },
189 { "cd", "Set active inode by looking up NAME", 2, 2, FL_RO | FL_ST, focusname },
190 { "back", "Go to previous active inode", 1, 1, FL_RO, back },
191 { "active", "Print active inode", 1, 1, FL_RO, active },
192 { "print", "Print active inode", 1, 1, FL_RO, active },
193 { "blocks", "Print block numbers of active inode", 1, 1, FL_RO, blocks },
197 { "findblk", "Find inode owning disk block(s)", 2, 33, FL_RO, findblk},
198 { "ls", "List current inode as directory", 1, 1, FL_RO, ls },
199 { "rm", "Remove NAME from current inode directory", 2, 2, FL_CWR | FL_ST, rm },
200 { "del", "Remove NAME from current inode directory", 2, 2, FL_CWR | FL_ST, rm },
201 { "ln", "Hardlink INO into current inode directory as NAME", 3, 3, FL_CWR | FL_ST, ln },
204 { "chtype", "Change type of current inode to TYPE", 2, 2, FL_CWR, newtype },
205 { "chmod", "Change mode of current inode to MODE", 2, 2, FL_WR, chmode },
206 { "chown", "Change owner of current inode to OWNER", 2, 2, FL_WR, chowner },
207 { "chgrp", "Change group of current inode to GROUP", 2, 2, FL_WR, chgroup },
208 { "chflags", "Change flags of current inode to FLAGS", 2, 2, FL_CWR, chaflags },
209 { "chgen", "Change generation number of current inode to GEN", 2, 2, FL_WR, chgen },
210 { "chsize", "Change size of current inode to SIZE", 2, 2, FL_CWR, chsize },
211 { "btime", "Change btime of current inode to BTIME", 2, 2, FL_WR, chbtime },
212 { "mtime", "Change mtime of current inode to MTIME", 2, 2, FL_WR, chmtime },
213 { "ctime", "Change ctime of current inode to CTIME", 2, 2, FL_WR, chctime },
214 { "atime", "Change atime of current inode to ATIME", 2, 2, FL_WR, chatime },
215 { "chdb", "Change db pointer N of current inode to BLKNO", 3, 3, FL_CWR, chdb },
344 printf("inode %ju out of range; range is [%ju,%ju]\n", \
350 * Focus on given inode number
373 struct inode ip;
417 printf("inode %ju link count now %d\n",
428 printf("inode %ju link count now %d\n",
520 * Calculate a highest inode number for a given cylinder group.
527 * Get a highest used inode number for a given cylinder group.
540 * Check if the block we are looking for is just an inode block.
542 * ino_to_fsba() - get block containing inode from its number.
548 printf("block %llu: inode block (%ju-%ju)\n",
557 /* Get on-disk inode aka dinode. */
650 printf("%llu: data block of inode %ju\n",
762 warnx("name `%s' not found in current inode directory", name);