/titanic_50/usr/src/uts/common/sys/fs/ |
H A D | ufs_inode.h | 239 typedef struct inode { struct 240 struct inode *i_chain[2]; /* must be first */ argument 241 struct inode *i_freef; /* free list forward - must be before i_ic */ argument 242 struct inode *i_freeb; /* free list back - must be before i_ic */ argument 495 #define VTOI(VP) ((struct inode *)(VP)->v_data) 615 struct inode *_uq_i; 718 struct inode *vfs_qinod; /* QUOTA: pointer to quota file */ 816 struct inode *ih_chain[2]; 834 extern int ufs_iget(struct vfs *, ino_t, struct inode **, cred_t *); 835 extern int ufs_iget_alloced(struct vfs *, ino_t, struct inode **, [all …]
|
H A D | ufs_trans.h | 106 struct inode; 494 extern void ufs_trans_iupdat(struct inode *, int); 498 extern void ufs_trans_mata_iget(struct inode *); 500 extern void ufs_trans_mata_alloc(struct ufsvfs *, struct inode *, 502 extern int ufs_trans_dir(struct inode *, off_t); 505 extern int ufs_trans_itrunc(struct inode *, u_offset_t, int, 507 extern int ufs_trans_write(struct inode *, struct uio *, int, 509 extern void ufs_trans_write_resv(struct inode *, struct uio *, 513 extern void ufs_trans_trunc_resv(struct inode *, u_offset_t, int *,
|
H A D | ufs_quota.h | 151 extern struct dquot *getinoquota(struct inode *); 152 extern int chkdq(struct inode *ip, long, int, struct cred *, char **errp, 154 extern int chkiq(struct ufsvfs *, int, struct inode *, uid_t, int,
|
/titanic_50/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_hardlink.c | 87 hl->inode); in hardlink_q_cleanup() 102 hl->inode); in hardlink_q_cleanup() 120 hardlink_q_get(struct hardlink_q *hl_q, unsigned long inode, in hardlink_q_get() argument 127 hl_q, inode); in hardlink_q_get() 135 hl->inode); in hardlink_q_get() 137 if (hl->inode != inode) in hardlink_q_get() 158 hardlink_q_add(struct hardlink_q *hl_q, unsigned long inode, in hardlink_q_add() argument 166 hl_q, inode, path, path? path : "(--)"); in hardlink_q_add() 171 if (!hardlink_q_get(hl_q, inode, 0, 0)) { in hardlink_q_add() 173 inode, hl_q); in hardlink_q_add() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/ufs/ |
H A D | ufs.c | 134 inode_t inode; in inode_cache_cb() local 137 if (mdb_vread(&inode, sizeof (inode), addr) == -1) { in inode_cache_cb() 142 if (id->id_device != 0 && inode.i_dev != id->id_device) in inode_cache_cb() 145 if (id->id_inumber != 0 && inode.i_number != id->id_inumber) in inode_cache_cb() 157 addr, (u_longlong_t)inode.i_number, inode.i_dev); in inode_cache_cb() 170 if (inohcnt == INOHASH(inode.i_number)) { in inode_cache_cb() 174 inohcnt, INOHASH(inode.i_number)); in inode_cache_cb() 211 inode(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in inode() function 214 inode_t inode; in inode() local 268 if (mdb_vread(&inode, sizeof (inode), addr) == -1) { in inode() [all …]
|
/titanic_50/usr/src/cmd/abi/appcert/scripts/ |
H A D | abi_index.pl | 172 my $inode; 173 $inode = (stat($path))[1]; 174 return unless (defined($inode)); 178 if (exists($symlink{$inode})) { 179 $symlink{$inode} .= ":" . $path; 181 $symlink{$inode} = ":" . $path; 185 $inode_hash{$path} = $inode; 378 my $inode = $inode_hash{$path}; 380 if ($inode && exists($symlink{$inode})) { 381 $links = "${path}$symlink{$inode}";
|
H A D | AppcertUtil.pm | 1348 my $inode; 1358 $inode = (stat($file))[1]; 1360 if (! defined($inode) || $inode !~ /^\d+$/) { 1361 $inode = -1; 1364 $file_inode_cache{$file} = $inode; 1365 return $inode; 1544 my ($device, $inode) = (stat($lib))[0,1]; 1545 if (defined($device) && defined($inode)) { 1546 $key = "$dir|$device/$inode|$abi"; 1824 my ($device, $inode); [all …]
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ufs.c | 68 grub_ino_t inode = ROOTINO; /* start from root */ in ufs_dir() local 77 while (inode && *dirname && !isspace(*dirname)) { in ufs_dir() 78 if (!openi(inode)) in ufs_dir() 88 inode = dlook(inode, fname); in ufs_dir() 95 if (! openi(inode)) in ufs_dir() 99 return (inode && ((INODE->ic_smode & IFMT) == IFREG)); in ufs_dir() 150 openi(grub_ino_t inode) in openi() argument 156 dblk = fsbtodb(SUPERBLOCK, itod(SUPERBLOCK, inode)); in openi() 157 off = itoo(SUPERBLOCK, inode) * sizeof (struct icommon); in openi()
|
H A D | fsys_minix.c | 81 #define INODE_VERSION(inode) (SUPERBLOCK->s_version) argument 132 __u16 inode; member 494 loc += sizeof (dp->inode) + namelen; in minix_dir() 500 printf ("directory entry ino=%d\n", dp->inode); in minix_dir() 501 if (dp->inode) in minix_dir() 505 if (dp->inode) in minix_dir() 526 while (!dp->inode || (str_chk || (print_possibilities && ch != '/'))); in minix_dir() 528 current_ino = dp->inode; in minix_dir()
|
H A D | fsys_jfs.c | 52 #define inode ((dinode_t *)((char *)FSYS_BUF + 8192 + sizeof(dinode_t))) macro 53 #define dtroot ((dtroot_t *)(&inode->di_btroot)) 164 dtr = (dtroot_t *)&inode->di_btroot; in first_dentry() 168 de_always[0].inumber = inode->di_parent; in first_dentry() 169 de_always[1].inumber = inode->di_number; in first_dentry() 238 xad = first_extent (inode); in jfs_read() 287 di_read (inum, inode); in jfs_dir() 288 di_size = inode->di_size; in jfs_dir() 289 di_mode = inode->di_mode; in jfs_dir() 297 grub_memmove (linkbuf, inode->di_fastsymlink, di_size); in jfs_dir()
|
H A D | fsys_xfs.c | 65 #define inode ((xfs_dinode_t *)((char *)FSYS_BUF + 8192)) macro 66 #define icore (inode->di_core) 216 devread (daddr, offset*xfs.isize, xfs.isize, (char *)inode); in di_read() 219 (inode->di_u.di_c + sizeof(xfs_bmdr_block_t) in di_read() 233 xfs.xt = inode->di_u.di_bmx; in init_extents() 322 ? le64(*(xfs_ino_t *)(&inode->di_u.di_dir2sf.hdr.parent)) in sf_parent_ino() 323 : le32(*(xfs_uint32_t *)(&inode->di_u.di_dir2sf.hdr.parent)); in sf_parent_ino() 364 (inode->di_u.di_c in next_dentry() 416 xfs.dirmax = inode->di_u.di_dir2sf.hdr.count; in first_dentry() 417 xfs.i8param = inode->di_u.di_dir2sf.hdr.i8count ? 0 : 4; in first_dentry() [all …]
|
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dup_avl.c | 196 inode_dup_t *inode; in report_dups() local 227 inode = avl_first(&inode_frags); in report_dups() 228 while (inode != NULL) { in report_dups() 229 report_inode_dups(inode); in report_dups() 230 inode = AVL_NEXT(&inode_frags, inode); in report_dups() 241 report_inode_dups(inode_dup_t *inode) in report_inode_dups() argument 246 (void) printf("Inode %d:\n", inode->id_ino); in report_inode_dups() 247 dup = avl_first(&inode->id_fragments); in report_inode_dups() 250 while ((dup = AVL_NEXT(&inode->id_fragments, dup)) != NULL) { in report_inode_dups() 465 alloc_claimant(fsck_ino_t inode, daddr32_t lfn) in alloc_claimant() argument [all …]
|
/titanic_50/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 124 opendir(fileid_t *filep, ino_t inode) in opendir() argument 131 filep->fi_blocknum = hdbtodb(inode); in opendir() 143 filep->fi_blocknum = hdbtodb(inode); in opendir() 145 if (inode != root_ino) in opendir() 149 hs_seti(filep, &hsdep, inode); in opendir() 160 ino_t inode; in find() local 171 if (opendir(filep, inode = root_ino)) { in find() 186 if ((inode = dlook(filep, path)) != 0) { in find() 189 if (opendir(filep, inode)) { in find() 190 printf("find(): opendir(%d) failed!\n", inode); in find() [all …]
|
/titanic_50/usr/src/common/fs/ |
H A D | ufsops.c | 97 openi(fileid_t *filep, ino_t inode) in openi() argument 102 filep->fi_inode = get_cache((int)inode); in openi() 108 itod(&devp->un_fs.di_fs, inode)); in openi() 118 filep->fi_inode = (struct inode *) in openi() 119 bkmem_alloc(sizeof (struct inode)); in openi() 120 bzero((char *)filep->fi_inode, sizeof (struct inode)); in openi() 122 dp[itoo(&devp->un_fs.di_fs, inode)].di_un.di_icom; in openi() 123 filep->fi_inode->i_number = inode; in openi() 124 set_cache((int)inode, (void *)filep->fi_inode, sizeof (struct inode)); in openi() 147 ino_t inode; in find() local [all …]
|
H A D | hsfs.c | 159 opendir(ino_t inode, fileid_t *filep) in opendir() argument 163 dprintf("opendir: inode = %ld\n", inode); in opendir() 166 filep->fi_blocknum = hdbtodb(inode); in opendir() 174 filep->fi_blocknum = hdbtodb(inode); in opendir() 176 if (inode != root_ino) in opendir() 180 struct inode *ip; in opendir() 188 ip->i_number = inode; in opendir() 238 struct inode *ip; in dlook() 267 struct inode *ip = filep->fi_inode; in dlook() 272 bzero(filep->fi_inode, sizeof (struct inode)); in dlook() [all …]
|
/titanic_50/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 114 openi(fileid_t *filep, ino_t inode) in openi() argument 121 if ((filep->fi_inode = get_icache(devp->di_dcookie, inode)) != NULL) in openi() 126 itod(&devp->un_fs.di_fs, inode)); in openi() 141 filep->fi_inode = (struct inode *) in openi() 142 bkmem_alloc(sizeof (struct inode)); in openi() 143 bzero((char *)filep->fi_inode, sizeof (struct inode)); in openi() 145 dp[itoo(&devp->un_fs.di_fs, inode)].di_un.di_icom; in openi() 146 filep->fi_inode->i_number = inode; in openi() 147 if (set_ricache(devp->di_dcookie, inode, (void *)filep->fi_inode, in openi() 148 sizeof (struct inode))) in openi() [all …]
|
/titanic_50/usr/src/uts/common/fs/ufs/ |
H A D | ufs_inode.c | 143 static int ufs_iget_internal(struct vfs *, ino_t, struct inode **, 199 (ulong_t)((kmem_maxavail() >> 2) / sizeof (struct inode)); in ufs_iinit() 253 struct inode *ip = buf; in ufs_inode_cache_constructor() 277 struct inode *ip = buf; in ufs_inode_cache_destructor() 316 sizeof (struct inode), 0, ufs_inode_cache_constructor, in ihinit() 325 ufs_free_inode(struct inode *ip) in ufs_free_inode() 334 struct inode * 337 struct inode *ip; in ufs_alloc_inode() 387 ufs_iget(struct vfs *vfsp, ino_t ino, struct inode **ipp, struct cred *cr) in ufs_iget() 397 ufs_iget_alloced(struct vfs *vfsp, ino_t ino, struct inode **ipp, in ufs_iget_alloced() [all …]
|
H A D | ufs_dir.c | 160 ufs_diraccess(struct inode *ip, int mode, struct cred *cr) in ufs_diraccess() 177 struct inode *dp, in ufs_dirlook() 179 struct inode **ipp, in ufs_dirlook() 641 struct inode *tdp, /* target directory to make entry in */ in ufs_direnter_cm() 645 struct inode **ipp, /* return entered inode here */ in ufs_direnter_cm() 649 struct inode *tip; /* inode of (existing) target file */ in ufs_direnter_cm() 654 struct inode *nip; /* new inode */ in ufs_direnter_cm() 808 struct inode *tdp, /* target directory to make entry in */ in ufs_direnter_lr() 811 struct inode *sdp, /* source inode parent if rename */ in ufs_direnter_lr() 812 struct inode *sip, /* source inode */ in ufs_direnter_lr() [all …]
|
H A D | ufs_xattr.c | 62 struct inode **sip, in ufs_xattr_getattrdir() 67 struct inode *ip, *sdp; in ufs_xattr_getattrdir() 119 ufs_unhook_shadow(struct inode *ip, struct inode *sip) in ufs_unhook_shadow()
|
H A D | ufs_trans.c | 166 ufs_trans_iupdat(struct inode *ip, int waitfor) in ufs_trans_iupdat() 268 struct inode *ip; in ufs_trans_push_inode() 304 ufs_trans_mata_mount_scan(struct inode *ip, void *arg) in ufs_trans_mata_mount_scan() 371 struct inode *ip, in ufs_trans_mata_direct() 400 struct inode *ip, in ufs_trans_mata_indir() 434 ufs_trans_mata_iget(struct inode *ip) in ufs_trans_mata_iget() 468 struct inode *ip, in ufs_trans_mata_alloc() 487 ufs_trans_dir(struct inode *ip, off_t offset) in ufs_trans_dir() 582 struct inode *qip = dqp->dq_ufsvfsp->vfs_qinod; in ufs_trans_quota() 637 ufs_log_amt(struct inode *ip, offset_t offset, ssize_t resid, int trunc) in ufs_log_amt() [all …]
|
H A D | ufs_vnops.c | 176 static daddr32_t *save_dblks(struct inode *, struct ufsvfs *, daddr32_t *, 245 struct inode *ip; /* the file we contain */ 289 struct inode *ip = VTOI(vp); in ufs_close() 306 struct inode *ip = VTOI(vp); in ufs_read() 405 ufs_check_rewrite(struct inode *ip, struct uio *uiop, int ioflag) in ufs_check_rewrite() 436 struct inode *ip = VTOI(vp); in ufs_write() 734 wrip(struct inode *ip, struct uio *uio, int ioflag, struct cred *cr) in wrip() 1341 rdip(struct inode *ip, struct uio *uio, int ioflag, cred_t *cr) in rdip() 1962 struct inode *ip = VTOI(vp); in ufs_ioctl() 1997 struct inode *ip = VTOI(vp); in ufs_getattr() [all …]
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/utils_test/ |
H A D | utils_test_001_pos.ksh | 58 inode=`$LS -i $TESTDIR/$TESTFILE.0 | $AWK '{print $1}'` 59 log_mustnot $CLRI /dev/rdsk/$DISK $inode 60 log_mustnot $CLRI -F zfs /dev/rdsk/$DISK $inode
|
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | Makefile | 33 FSCKOBJS= main.o setup.o utilities.o pass1.o inode.o 78 -cstyle -p inode.c 83 -keywords inode.c
|
/titanic_50/usr/src/psm/stand/bootblks/ufs/common/ |
H A D | ufs.fth | 91 \ UFS inode routines 94 h# 80 constant /inode 95 0 instance value inode 122 dup itoo /inode * temp-block + inode /inode move 123 inode to iptr 166 \ whether in the inode direct block array or in 353 /inode + 366 to inode ( ) 378 /inode field >inode 413 dup >inode inode swap /inode move [all …]
|
/titanic_50/usr/src/cmd/man/ |
H A D | makewhatis.c | 57 ino_t inode; member 139 info->inode = st.st_ino; in new_page_info() 741 if (p1->inode == p2->inode) in pagesort() 744 return (p1->inode - p2->inode); in pagesort() 778 if (page->inode != prev_inode) { in process_section() 779 prev_inode = page->inode; in process_section()
|