Home
last modified time | relevance | path

Searched refs:INODE (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ext2fs.c255 #define INODE \ macro
258 ((int)((int)INODE + sizeof(struct ext2_inode)))
341 for (i = (unsigned char *) INODE; in ext2fs_block_map()
342 i < ((unsigned char *) INODE + sizeof (struct ext2_inode)); in ext2fs_block_map()
347 if (!((i + 1 - (unsigned char *) INODE) % 16)) in ext2fs_block_map()
363 printf ("returning %d\n", (unsigned char *) (INODE->i_block[logical_block])); in ext2fs_block_map()
364 printf ("returning %d\n", INODE->i_block[logical_block]); in ext2fs_block_map()
366 return INODE->i_block[logical_block]; in ext2fs_block_map()
374 && !ext2_rdfsb (INODE->i_block[EXT2_IND_BLOCK], DATABLOCK1)) in ext2fs_block_map()
389 && !ext2_rdfsb (INODE->i_block[EXT2_DIND_BLOCK], DATABLOCK1)) in ext2fs_block_map()
[all …]
H A Dfsys_ffs.c75 #define INODE ((struct icommon *) ( FSYS_BUF + 16384 )) macro
104 return (INODE->i_db[file_block]); in block_map()
108 if ((bnum = fsbtodb (SUPERBLOCK, INODE->i_ib[0])) != mapblock in block_map()
153 size = blksize (SUPERBLOCK, INODE, logno); in ffs_read()
196 sizeof (struct dinode), (char *) INODE)) in ffs_dir()
204 if ((INODE->i_mode & IFMT) != IFREG) in ffs_dir()
210 filemax = INODE->i_size; in ffs_dir()
222 if (!(INODE->i_size) || ((INODE->i_mode & IFMT) != IFDIR)) in ffs_dir()
237 if (loc >= INODE->i_size) in ffs_dir()
257 blksize (SUPERBLOCK, INODE, block), in ffs_dir()
H A Dfsys_minix.c140 #define INODE \ macro
143 ((int)((int)INODE + sizeof(struct minix_inode)))
207 return INODE->i_zone[logical_block]; in minix_block_map()
212 i = INODE->i_zone[7]; in minix_block_map()
225 i = INODE->i_zone[8]; in minix_block_map()
339 if (! minix_rdfsb (ino_blk, (int) INODE)) in minix_dir()
345 raw_inode = INODE + ((current_ino - 1) % MINIX_INODES_PER_BLOCK); in minix_dir()
348 memmove ((void *) INODE, (void *) raw_inode, in minix_dir()
352 if (S_ISLNK (INODE->i_mode)) in minix_dir()
371 filemax = (INODE->i_size); in minix_dir()
[all …]
H A Dfsys_ufs.c36 #define INODE ((struct icommon *)(FSYS_BUF + 0x1000)) macro
98 filemax = INODE->ic_sizelo; in ufs_dir()
99 return (inode && ((INODE->ic_smode & IFMT) == IFREG)); in ufs_dir()
159 return (devread(dblk, off, sizeof (struct icommon), (char *)INODE)); in openi()
172 grub_daddr32_t *db = INODE->ic_db; in sbmap()
192 nb = INODE->ic_ib[level]; in sbmap()
235 if ((INODE->ic_smode & IFMT) != IFDIR) in dlook()
239 while (loc < INODE->ic_sizelo) { in dlook()
H A Dfsys_iso9660.c51 #define INODE \ macro
133 INODE->file_start = 0; in iso9660_mount()
156 INODE->file_start = 0; in iso9660_dir()
378 INODE->file_start = idr->extent.l; in iso9660_dir()
419 if (INODE->file_start == 0) in iso9660_read()
433 if (!iso9660_devread(INODE->file_start + sector, blkoffset, size, buf)) in iso9660_read()
/titanic_44/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c137 #define INODE (sizeof (struct dinode)) macro
151 (u_offset_t)FRGSHIFT) + (u_offset_t)itoo(fs, (i)) * (u_offset_t)INODE)
730 case INODE: in main()
770 case INODE: in main()
873 case INODE: in main()
924 case INODE: in main()
960 if (objsz != INODE && objsz != DIRECTORY) in main()
976 if (objsz != INODE && objsz != DIRECTORY) in main()
1022 objsz == INODE) in main()
1425 if (objsz == INODE || objsz == DIRECTORY || in main()
[all …]
/titanic_44/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb_lex.l56 :{WS}*inode{WS}* { return INODE; }
H A Dfsdb_yacc.y83 %token INODE LS OVERRIDE PROMPT PWD QUIT TAG BANG
372 inode : INODE