Searched defs:inode (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Davltree.c84 * a device id and inode number provided by the calling application.
96 * allocating memory and setting the nodes device id and inode number
104 * dev_t device (device id of the inode to be stored)
105 * ino_t inode (inode number of inode to be stored)
127 * id, then on the inode number. Return -1 when p1 < p2,
142 /* device id match, now check inode */
157 * an inode number. Duplicate nodes are not stored. Return 1 if
161 add_tnode(avl_tree_t **stree, dev_t device, ino_t inode) argument
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_hardlink.c86 NDMP_LOG(LOG_DEBUG, "(2): remove node, inode = %lu",
87 hl->inode);
101 NDMP_LOG(LOG_DEBUG, "no link name, inode = %lu",
102 hl->inode);
115 * Return 0 if a list node has the same inode, and initialize offset and path
120 hardlink_q_get(struct hardlink_q *hl_q, unsigned long inode, argument
126 NDMP_LOG(LOG_DEBUG, "(1): qhead = %p, inode = %lu",
127 hl_q, inode);
134 NDMP_LOG(LOG_DEBUG, "(2): checking, inode = %lu",
135 hl->inode);
158 hardlink_q_add(struct hardlink_q *hl_q, unsigned long inode, unsigned long long offset, char *path, int is_tmp_file) argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmakedbm.c75 ino64_t inode; variable
100 if (sb.st_ino == inode && sb.st_dev == dev) {
332 /* Got exclusive access; save inode and dev */
338 inode = statbuf.st_ino;
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb_yacc.y116 | inode | ls | override | nprompt | pwd | quit | tag | shell
231 gettext("Could not locate inode"
372 inode : INODE label
H A Dfsdb.c708 gettext("Not a file entry(inode) at %x\n"),
797 get_blkno(uint32_t inode, uint32_t *blkno, uint64_t off) argument
807 if (inode != in) {
810 getblk(inode << l2b)) == NULL) {
828 *blkno = inode;
842 in = inode;
889 read_file(uint32_t inode, uint8_t *buf, uint32_t count, uint64_t off) argument
896 if (get_blkno(inode, &bno, off) != 0) {
902 if (bno == inode) {
928 get_fid(uint32_t inode, uint8_ argument
1052 uint32_t inode; member in struct:recu_dir
[all...]
/illumos-gate/usr/src/tools/protocmp/
H A Dlist.h113 int inode; member in struct:elem
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs.c61 * searching for a file, if successful, inode will be loaded in INODE
68 grub_ino_t inode = ROOTINO; /* start from root */ local
77 while (inode && *dirname && !isspace(*dirname)) {
78 if (!openi(inode))
88 inode = dlook(inode, fname);
94 /* return 1 only if inode exists and is a regular file */
95 if (! openi(inode))
99 return (inode && ((INODE->ic_smode & IFMT) == IFREG));
148 /* read inode an
150 openi(grub_ino_t inode) argument
[all...]
H A Dfsys_jfs.c52 #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;
168 de_always[0].inumber = inode->di_parent;
169 de_always[1].inumber = inode->di_number;
238 xad = first_extent (inode);
287 di_read (inum, inode);
288 di_size = inode->di_size;
289 di_mode = inode->di_mode;
297 grub_memmove (linkbuf, inode
[all...]
H A Dfsys_minix.c79 #define INODE_VERSION(inode) inode->i_sb->u.minix_sb.s_version
81 #define INODE_VERSION(inode) (SUPERBLOCK->s_version)
84 * This is the original minix inode layout on disk.
98 * The new minix inode has all the time entries, as well as
101 * now 16-bit. The inode is now 64 bytes instead of 32.
132 __u16 inode; member in struct:minix_dir_entry
200 a physical block (the location in the file system) via an inode. */
294 inode of the file we were trying to look up
301 int ino_blk; /* fs pointer of the inode'
[all...]
H A Dfsys_xfs.c65 #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);
219 (inode->di_u.di_c + sizeof(xfs_bmdr_block_t)
233 xfs.xt = inode->di_u.di_bmx;
322 ? le64(*(xfs_ino_t *)(&inode->di_u.di_dir2sf.hdr.parent))
323 : le32(*(xfs_uint32_t *)(&inode->di_u.di_dir2sf.hdr.parent));
364 (inode->di_u.di_c
416 xfs.dirmax = inode->di_u.di_dir2sf.hdr.count;
417 xfs.i8param = inode
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot2/
H A Dboot2.c78 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
80 if ((size_t)fsread(inode, buf, nbyte) != nbyte)
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Dboot2.c78 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
80 if ((size_t)fsread(inode, buf, nbyte) != nbyte)
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dufsread.c92 static uint8_t inode_type(ufs_ino_t inode);
180 inode_type(ufs_ino_t inode) argument
189 if (!inode)
191 if (inomap != inode) {
193 if (dskread(blkbuf, INO_TO_VBA(&fs, n, inode), DBPERVBLK))
195 n = INO_TO_VBO(n, inode);
210 inomap = inode;
218 fsread_size(ufs_ino_t inode, void *buf, size_t nbyte, size_t *fsizep) argument
236 * Force probe if inode is zero to ensure we have a valid fs, otherwise
240 if (!dsk_meta || inode
361 fsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c140 ino_t inode; member in struct:Save
354 sp->inode == statb.st_ino) {
366 this.inode = statb.st_ino;
463 statb.st_ino != last->inode ||
476 statb.st_ino != last->inode ||
/illumos-gate/usr/src/common/fs/
H A Dufsops.c97 openi(fileid_t *filep, ino_t inode) argument
102 filep->fi_inode = get_cache((int)inode);
108 itod(&devp->un_fs.di_fs, inode));
118 filep->fi_inode = (struct inode *)
119 bkmem_alloc(sizeof (struct inode));
120 bzero((char *)filep->fi_inode, sizeof (struct inode));
122 dp[itoo(&devp->un_fs.di_fs, inode)].di_un.di_icom;
123 filep->fi_inode->i_number = inode;
124 set_cache((int)inode, (void *)filep->fi_inode, sizeof (struct inode));
147 ino_t inode; local
614 ino_t inode; local
[all...]
H A Dhsfs.c159 opendir(ino_t inode, fileid_t *filep) argument
163 dprintf("opendir: inode = %ld\n", inode);
166 filep->fi_blocknum = hdbtodb(inode);
174 filep->fi_blocknum = hdbtodb(inode);
176 if (inode != root_ino)
180 struct inode *ip;
188 ip->i_number = inode;
238 struct inode *ip;
267 struct inode *i
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/
H A Dufs.c108 mdb_warn("failed to read inode at %p", addr);
134 inode_t inode; local
137 if (mdb_vread(&inode, sizeof (inode), addr) == -1) {
142 if (id->id_device != 0 && inode.i_dev != id->id_device)
145 if (id->id_inumber != 0 && inode.i_number != id->id_inumber)
157 addr, (u_longlong_t)inode.i_number, inode.i_dev);
168 * Is the inode in the hash chain it should be?
170 if (inohcnt == INOHASH(inode
211 inode(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
214 inode_t inode; local
341 inode_t inode; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddup_avl.c68 * for each claimant. They are keyed first by inode number and then
69 * by lfn. Both are needed, as it is possible for one inode to have
196 inode_dup_t *inode; local
223 "file(s).\nFragments sorted by inode and "
227 inode = avl_first(&inode_frags);
228 while (inode != NULL) {
229 report_inode_dups(inode);
230 inode = AVL_NEXT(&inode_frags, inode);
241 report_inode_dups(inode_dup_t *inode) argument
465 alloc_claimant(fsck_ino_t inode, daddr32_t lfn) argument
575 new_inode_dup(fsck_ino_t inode) argument
[all...]
H A Ddir.c185 * inode was first encountered during pass1. We never
364 (void) printf("Bad dir in inode %d at lbn %d, loc %d:\n",
529 "old fsck would have left inode %d for reclaim thread\n",
560 * XXX What if we allocate an inode
571 pwarn("Could not reconnect inode %d\n", orphan);
614 pwarn("Could not reconnect inode %d\n", orphan);
641 * Connect an orphaned inode to lost+found.
664 pwarn("Could not reconnect inode %d\n", orphan);
695 * inode 0 later on.
787 idesc.id_parent = ino; /* this is the inode t
1344 mkuniqname(caddr_t name, caddr_t pname, fsck_ino_t parent, fsck_ino_t inode) argument
[all...]
/illumos-gate/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c35 * inode, the inode of the script; and suffix, the suffix of the
39 * collect inode before running the script.
42 * property group by means of examining the inode and script
43 * suffix. The inode check means more than one script with the
387 * stops. First we look for a matching inode plus a matching suffix.
388 * This commonly succeeds, but if not, we just search for inode.
703 set_legacy_service(scf_propertygroup_t *pg, const char *script, ino_t inode) argument
754 SCF_TYPE_COUNT, (void *)inode) != 0)
/illumos-gate/usr/src/cmd/man/
H A Dmakewhatis.c57 ino_t inode; member in struct:page_info
139 info->inode = st.st_ino;
733 * Sort pages first by inode number, then by name.
741 if (p1->inode == p2->inode)
744 return (p1->inode - p2->inode);
778 if (page->inode != prev_inode) {
779 prev_inode = page->inode;
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c114 openi(fileid_t *filep, ino_t inode) argument
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, (voi
172 ino_t inode; local
680 ino_t inode; local
[all...]
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c580 int j, len, inode, ino; local
601 * /platform/sun4x. We check the inode number of directory
626 * them by inode so as to note any hard links. A temporary
687 * Printing the (inode, path, module)
710 inode = -1;
714 if (ino == inode)
717 inode = ino;
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c58 /* The root inode on an HSFS filesystem can be anywhere! */
124 opendir(fileid_t *filep, ino_t inode) argument
131 filep->fi_blocknum = hdbtodb(inode);
143 filep->fi_blocknum = hdbtodb(inode);
145 if (inode != root_ino)
149 hs_seti(filep, &hsdep, inode);
160 ino_t inode; local
171 if (opendir(filep, inode = root_ino)) {
186 if ((inode = dlook(filep, path)) != 0) {
189 if (opendir(filep, inode)) {
574 ino_t inode; local
953 hs_seti(fileid_t *filep, struct hs_direct *hsdep, ino_t inode) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_node.h51 ino64_t inode; /* inode number from rrip data */ member in struct:hs_direntry
96 ino64_t hs_nodeid; /* "inode" number for hsnode */
123 uint32_t hf_ino; /* The inode number or HS_DUMMY_INO */
162 * We usually use the starting extent LBA for the inode numbers of files and
164 * inode number to all zero sized files. We use the number 16 as this is the
170 #define HS_DUMMY_INO 16 /* dummy inode number for empty files */

Completed in 171 milliseconds

12