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

12

/osnet-11/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...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfscat.h34 s64 inode; /* Inode to work with */ member in struct:options
H A Dntfscluster.h48 u64 inode; /* Inode to examine */ member in struct:options
H A Dutils.h48 int utils_inode_get_name(ntfs_inode *inode, char *buffer, int bufsize);
52 int utils_is_metadata(ntfs_inode *inode);
81 ntfs_inode *inode; member in struct:mft_search_ctx
H A Dntfscat.c86 " -i, --inode NUM Display this inode\n\n"
169 { "inode", required_argument, NULL, 'i' },
186 opts.inode = -1;
229 if (opts.inode != -1)
230 ntfs_log_error("You must specify exactly one inode.\n");
231 else if (utils_parse_size(optarg, &opts.inode, FALSE))
234 ntfs_log_error("Couldn't parse inode number.\n");
282 } else if (opts.file == NULL && opts.inode == -1) {
283 ntfs_log_error("You must specify a file or inode "
316 index_get_size(ntfs_inode *inode) argument
332 cat(ntfs_volume *vol, ntfs_inode *inode, ATTR_TYPES type, ntfschar *name, int namelen) argument
403 ntfs_inode *inode; local
[all...]
H A Dntfscp.c71 int inode; /* Treat dest_file as inode number. */ member in struct:options
106 " -i, --inode Treat dest_file as inode number\n"
132 { "inode", no_argument, NULL, 'i' },
155 opts.inode = 0;
191 opts.inode++;
281 * Create a regular file under the given directory inode
285 * Return: the created file inode
291 /* inode t
[all...]
H A Dntfsundelete.h44 int uinode; /* Undelete this inode */
98 long long inode; /* MFT record number */ member in struct:ufile
H A Dntfsls.c50 #include "inode.h"
118 int inode; member in struct:options
168 " -i, --inode Display inode numbers\n"
202 { "inode", no_argument, NULL, 'i' },
267 opts.inode++;
328 * Close the inode and then free the dir
364 * @ni: ntfs inode of the directory to list
439 ("ntfsls::readdir_recursive(): cannot get inode from pathname.\n");
543 if (!opts.inode)
[all...]
H A Dutils.c381 * has been created without an inode, it won't overflow the buffer.
411 * the buffer, since we created the search context without an inode.
444 * using inode
449 * get inode of parent
452 int utils_inode_get_name(ntfs_inode *inode, char *buffer, int bufsize) argument
467 if (!inode || !buffer) {
472 vol = inode->vol;
479 ctx = ntfs_attr_get_search_ctx(inode, NULL);
485 //ntfs_log_debug("i = %d, inode = %p (%lld)\n", i, inode, inod
779 utils_is_metadata(ntfs_inode *inode) argument
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2.c261 off_t ext2_get_inode_offset(struct ext2_fs *fs, ino_t inode, blk_t *block) argument
266 inode--;
268 group = inode / EXT2_SUPER_INODES_PER_GROUP(fs->sb);
269 offset = (inode % EXT2_SUPER_INODES_PER_GROUP(fs->sb))
278 int ext2_get_inode_state(struct ext2_fs *fs, ino_t inode) argument
285 inode--;
286 group = inode / EXT2_SUPER_INODES_PER_GROUP(fs->sb);
287 offset = inode % EXT2_SUPER_INODES_PER_GROUP(fs->sb);
296 int ext2_read_inode(struct ext2_fs *fs, ino_t inode, struct ext2_inode *data) argument
302 off = ext2_get_inode_offset(fs, inode,
313 ext2_set_inode_state(struct ext2_fs *fs, ino_t inode, int state, int updatemetadata) argument
349 _inode_update_size(struct ext2_fs *fs, struct ext2_inode *inode, int delta) argument
363 ext2_do_inode(struct ext2_fs *fs, struct ext2_inode *inode, blk_t block, int action) argument
521 ext2_write_inode(struct ext2_fs *fs, ino_t inode, const struct ext2_inode *data) argument
539 ext2_zero_inode(struct ext2_fs *fs, ino_t inode) argument
[all...]
H A Dext2_inode_relocator.c2 ext2_inode_relocator.c -- ext2 inode relocator
53 struct ext2_inode_entry *inode; member in struct:ext2_inode_relocator_state
61 static struct ext2_inode_entry *findit(struct ext2_inode_relocator_state *state, ino_t inode) argument
78 tval = state->inode[t].num;
81 if (tval > inode)
85 if (tval < inode)
90 if (tval != inode)
93 retv = &state->inode[t];
99 static int addref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode, blk_t block, off_t offset) argument
104 if ((ent = findit(state, inode))
212 doinode(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument
522 ext2_inode_relocator_mark(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument
[all...]
H A Dext2_block_relocator.c304 /* This function records any block references from an inode to blocks that are
307 static int doinode(struct ext2_fs *fs, struct ext2_block_relocator_state *state, int inode) argument
311 if (!ext2_read_inode(fs, inode, &buf))
321 inodeoffset = ext2_get_inode_offset(fs, inode, &inodeblock);
H A Dext2_mkfs.c266 uint32_t inode, const char* name, int file_type)
279 dirent->inode = PED_CPU_TO_LE32(inode);
294 struct ext2_inode inode; local
332 /* create inode */
333 memset(&inode, 0, sizeof(struct ext2_inode));
334 inode.i_mode = PED_CPU_TO_LE16(S_IFDIR | 0755);
335 inode.i_uid = 0;
336 inode.i_size = PED_CPU_TO_LE32(12 * fs->blocksize);
337 inode
265 _set_dirent(void* buf, int offset, int block_size, int is_last, uint32_t inode, const char* name, int file_type) argument
361 struct ext2_inode inode; local
[all...]
/osnet-11/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...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dgnome-vfs-method.c191 ntfs_inode *inode; local
210 inode = ntfs_inode_open(volume, mref);
212 if (!inode)
215 *inode_return = inode;
241 mref = ntfs_inode_lookup_by_name(inode, pathname_parse_ucs2, i);
247 errint = ntfs_inode_close(inode);
257 ntfs_inode *inode; member in struct:libntfs_directory
268 ntfs_inode *inode; local
280 if (GNOME_VFS_OK != (errvfsresult = inode_open_by_pathname(&inode,
290 libntfs_directory->inode
405 ntfs_inode *inode; local
493 ntfs_inode *inode; member in struct:libntfs_file
528 ntfs_inode *inode; local
[all...]
H A Dvolume.c61 #include "inode.h"
265 /* We now have a fully setup ntfs inode for $MFT in vol->mft_ni. */
302 * as we have exclusive access to the inode at this time and we
389 ntfs_log_perror("Failed to open inode $MFTMirr");
641 ntfs_log_debug("Failed to open inode FILE_LogFile.\n");
668 * Return: inode Success, hiberfil.sys is valid
673 u64 inode; local
697 inode = ntfs_inode_lookup_by_name(ni_root, unicode, unicode_len);
698 if (inode == (u64)-1) {
703 inode
[all...]
H A Dcrypto.c1090 static ntfs_fek *ntfs_inode_fek_get(ntfs_inode *inode, argument
1098 efs = ntfs_attr_readall(inode, AT_LOGGED_UTILITY_STREAM, NTFS_EFS, 4,
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dminix.c66 #define GRUB_MINIX_INODE_SIZE(data) (grub_le_to_cpu32 (data->inode.size))
67 #define GRUB_MINIX_INODE_MODE(data) (grub_le_to_cpu16 (data->inode.mode))
69 (data->inode.dir_zones[blk]))
71 (data->inode.indir_zone))
73 (data->inode.double_indir_zone))
157 struct grub_minix_inode inode; member in struct:grub_minix_data
222 indir = grub_get_indir (grub_minix_le_to_cpu_n (data->inode.triple_indir_zone),
301 /* Read inode INO from the mounted filesystem described by DATA. This
302 inode is used by default now. */
308 /* Block in which the inode i
[all...]
H A Dhfs.c1071 int inode = data->rootdir;
1114 key.parent_dir = grub_cpu_to_be32 (inode);
1134 inode = grub_be_to_cpu32 (fdrec.dir.dirid);
1142 *retinode = inode;
1157 int inode;
1207 if (grub_hfs_find_dir (data, path, &frec, &inode))
1216 grub_hfs_iterate_dir (data, data->cat_root, inode, dir_hook);
1070 int inode = data->rootdir; local
1155 int inode; local
H A Djfs.c139 /* The inode for this dirent. */
140 grub_uint32_t inode; member in struct:grub_jfs_leaf_dirent
168 grub_uint32_t inode; member in struct:grub_jfs_inode
234 struct grub_jfs_inode *inode; member in struct:grub_jfs_diropen
240 /* The filename and inode of the last read dirent. */
257 grub_jfs_blkno (struct grub_jfs_data *data, struct grub_jfs_inode *inode,
307 return getblk (&inode->file.tree, &inode->file.extents[0]);
313 struct grub_jfs_inode *inode)
339 sizeof (struct grub_jfs_inode), inode))
256 grub_jfs_blkno(struct grub_jfs_data *data, struct grub_jfs_inode *inode, grub_uint64_t blk) argument
311 grub_jfs_read_inode(struct grub_jfs_data *data, grub_uint32_t ino, struct grub_jfs_inode *inode) argument
394 grub_jfs_opendir(struct grub_jfs_data *data, struct grub_jfs_inode *inode) argument
763 struct grub_jfs_inode inode; local
[all...]
H A Dufs.c52 /* Calculate in which group the inode can be found. */
56 #define INODE(data,field) data->inode. field
58 #define INODE_ENDIAN(data,field,bits1,bits2) grub_le_to_cpu##bits2 (data->inode.field)
60 #define INODE_ENDIAN(data,field,bits1,bits2) grub_le_to_cpu##bits1 (data->inode.field)
131 /* UFS inode. */
167 /* UFS inode. */
216 struct grub_ufs_inode inode; member in struct:grub_ufs_data
355 /* Read inode INO from the mounted filesystem described by DATA. This
356 inode is used by default now. */
358 grub_ufs_read_inode (struct grub_ufs_data *data, int ino, char *inode)
357 grub_ufs_read_inode(struct grub_ufs_data *data, int ino, char *inode) argument
625 struct grub_ufs_inode inode; local
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnftw.c139 ino_t inode; member in struct:Save
471 sp->inode == statb.st_ino) {
483 this->inode = statb.st_ino;
580 statb.st_ino != last->inode ||
593 statb.st_ino != last->inode ||

Completed in 4135 milliseconds

12