Lines Matching defs:inode
114 openi(fileid_t *filep, ino_t inode)
120 /* Try the inode cache first */
121 if ((filep->fi_inode = get_icache(devp->di_dcookie, inode)) != NULL)
126 itod(&devp->un_fs.di_fs, inode));
141 filep->fi_inode = (struct inode *)
142 bkmem_alloc(sizeof (struct inode));
143 bzero((char *)filep->fi_inode, sizeof (struct inode));
145 dp[itoo(&devp->un_fs.di_fs, inode)].di_un.di_icom;
146 filep->fi_inode->i_number = inode;
147 if (set_ricache(devp->di_dcookie, inode, (void *)filep->fi_inode,
148 sizeof (struct inode)))
172 ino_t inode;
187 /* if at the beginning of pathname get root inode */
202 if ((inode = dlook(filep, lpathp)) != 0) {
203 if (openi(filep, inode))
239 return (inode);
250 struct inode *inodep;
285 * fetch the first indirect block address from the inode
324 struct inode *ip;
680 ino_t inode;
697 inode = find(filep, filename);
698 if (inode == (ino_t)0) {
702 if (openi(filep, inode)) {
753 struct inode *ip;
886 * (c) we get an I/O error reading the target inode.