/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fsck_pcfs.h | 75 struct pcdir *dirp; 102 struct pcdir *dirent; 105 struct pcdir *_longent; 175 extern struct pcdir *addRootDirEnt(int fd, struct pcdir *copyme); 176 extern struct pcdir *newDirEnt(struct pcdir *copyme); 177 extern int32_t extractStartCluster(struct pcdir *dp); 178 extern int32_t findImpactedCluster(struct pcdir *modified); 180 extern uint32_t extractSize(struct pcdir *dp); 183 extern void truncChainWithBadCluster(int fd, struct pcdir *dp, 188 extern void updateDirEnt_Start(struct pcdir *dp, int32_t newStart); [all …]
|
H A D | dir.c | 84 hasCHKName(struct pcdir *dp) in hasCHKName() 109 addToCHKList(struct pcdir *dp) in addToCHKList() 127 appendToPath(struct pcdir *dp, char *thePath, int *theLen) in appendToPath() 175 printName(FILE *outDest, struct pcdir *dp) in printName() 200 sanityCheckSize(int fd, struct pcdir *dp, int32_t actualClusterCount, in sanityCheckSize() 202 struct pcdir **orphanEntry) in sanityCheckSize() 245 noteUsage(int fd, int32_t startAt, struct pcdir *dp, struct pcdir *lp, in noteUsage() 249 struct pcdir *orphanEntry; in noteUsage() 300 storeInfoAboutEntry(int fd, struct pcdir *dp, struct pcdir *ldp, int depth, in storeInfoAboutEntry() 371 storeInfoAboutLabel(struct pcdir *dp) in storeInfoAboutLabel() [all …]
|
H A D | clusters.c | 61 static struct pcdir BlankPCDIR; 528 markOrphan(int fd, int32_t clusterNum, struct pcdir *dp) in markOrphan() 677 struct pcdir *ignorep1, *ignorep2 = NULL; in summarize() 749 orphanChain(int fd, int32_t c, struct pcdir *ndp) in orphanChain() 790 setEndOfDirectory(struct pcdir *dp) in setEndOfDirectory() 819 makeNewEndOfDirectory(struct pcdir *entry, int32_t secondToLast, in makeNewEndOfDirectory() 844 createNewEndOfDirectory(int fd, struct pcdir *entry, int32_t secondToLast) in createNewEndOfDirectory() 895 truncAtCluster(int fd, struct pcdir *entry, int32_t cluster) in truncAtCluster() 963 static struct pcdir * 964 updateOrphanedChainMetadata(int fd, struct pcdir *dp, int32_t endCluster, in updateOrphanedChainMetadata() [all …]
|
H A D | bpb.c | 83 sizeof (struct pcdir); in computeFileAreaSize() 245 sizeof (struct pcdir)) % in readBPB()
|
/titanic_41/usr/src/uts/common/fs/pcfs/ |
H A D | pc_dir.c | 43 static int pc_makedirentry(struct pcnode *dp, struct pcdir *direntries, 51 struct pcdir *ep); 52 static struct pcdir *pc_name_to_pcdir(struct pcnode *dp, char *namep, 140 struct pcdir *ep; in pc_direnter() 182 struct pcdir *direntries; in pc_direnter() 217 kmem_free(direntries, ndirentries * sizeof (struct pcdir)); in pc_direnter() 221 offset += (ndirentries - 1) * sizeof (struct pcdir); in pc_direnter() 251 struct pcdir t_dot; /* dot entry */ 252 struct pcdir t_dotdot; /* dotdot entry */ 271 pc_makedirentry(struct pcnode *dp, struct pcdir *direntries, in pc_makedirentry() [all …]
|
H A D | pc_vnops.c | 1307 struct pcdir *ep; in pcfs_readdir() 1322 (uiop->uio_loffset % sizeof (struct pcdir)) != 0) { in pcfs_readdir() 1353 ld->d_off = (off64_t)sizeof (struct pcdir); in pcfs_readdir() 1363 if (offset == sizeof (struct pcdir)) { in pcfs_readdir() 1371 sizeof (struct pcdir)); in pcfs_readdir() 1377 offset -= 2 * sizeof (struct pcdir); in pcfs_readdir() 1407 uiop->uio_loffset += sizeof (struct pcdir); in pcfs_readdir() 1408 offset += sizeof (struct pcdir); in pcfs_readdir() 2167 struct pcdir **epp, offset_t *offset, struct buf **bp) in pc_extract_long_fn() 2169 struct pcdir *ep = *epp; in pc_extract_long_fn() [all …]
|
H A D | pc_node.c | 63 struct pcdir pcfs_rootdirentry = { 89 struct pcdir *ep) /* node dir entry */ in pc_getnode() 97 if (ep == (struct pcdir *)0) { in pc_getnode() 558 *((struct pcdir *)(bp->b_un.b_addr + pcp->pc_eoffset)) = pcp->pc_entry; in pc_nodeupdate()
|
H A D | pc_vfsops.c | 184 ASSERT(sizeof (struct pcdir) == 32); in _init() 885 pcp = pc_getnode(fsp, (daddr_t)0, 0, (struct pcdir *)0); in pcfs_root() 1160 struct pcdir *ep; in pcfs_vget() 1177 pcp = pc_getnode(fsp, (daddr_t)0, 0, (struct pcdir *)0); in pcfs_vget() 1216 ep = (struct pcdir *)(bp->b_un.b_addr + eoffset); in pcfs_vget()
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | pc_dir.h | 65 struct pcdir { struct 240 struct pcdir *sl_ep; /* pointer to entry data */ 296 struct pc_dirent *, struct pcdir **, offset_t *, struct buf **); 298 struct pc_dirent *, struct pcdir **, offset_t *, struct buf **); 299 extern int pc_match_long_fn(struct pcnode *, char *, struct pcdir **, 302 struct pcdir **, struct pcslot *, offset_t *); 307 struct pcdir **, offset_t *offset, struct buf **); 310 extern pc_cluster32_t pc_getstartcluster(struct pcfs *, struct pcdir *); 311 extern void pc_setstartcluster(struct pcfs *, struct pcdir *, pc_cluster32_t);
|
H A D | pc_node.h | 62 struct pcdir pc_entry; /* directory entry of file */ 86 ((BN) * (ENTPS)) + ((OFF) / sizeof (struct pcdir))) 121 extern struct pcnode *pc_getnode(struct pcfs *, daddr_t, int, struct pcdir *); 143 struct pcdir **);
|
H A D | pc_fs.h | 560 ((int)((PCFS)->pcfs_secsize / sizeof (struct pcdir))) 563 ((int)((PCFS)->pcfs_clsize / sizeof (struct pcdir)))
|
/titanic_41/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 134 static boolean_t dir_find_label(fstyp_pcfs_t *h, struct pcdir *d, int nent); 375 nent = secsize / sizeof (struct pcdir); in get_label_16() 379 if (dir_find_label(h, (struct pcdir *)buf, nent)) { in get_label_16() 419 nent = clustersize / sizeof (struct pcdir); in get_label_32() 420 if (dir_find_label(h, (struct pcdir *)buf, nent)) { in get_label_32() 462 dir_find_label(fstyp_pcfs_t *h, struct pcdir *d, int nent) in dir_find_label()
|
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 134 static void dirent_fname_fill(struct pcdir *dep, char *fn); 140 static void dirent_time_fill(struct pcdir *dep); 2773 dirent_time_fill(struct pcdir *dep) in dirent_time_fill() 2795 dirent_label_fill(struct pcdir *dep, char *fn) in dirent_label_fill() 2824 dirent_fname_fill(struct pcdir *dep, char *fn) in dirent_fname_fill() 2865 struct pcdir *rootdirp; in build_rootdir() 2866 struct pcdir *entry; in build_rootdir() 2879 *rdirsize = wbpb->bpb.num_root_entries * sizeof (struct pcdir); in build_rootdir() 2881 if ((rootdirp = (struct pcdir *)malloc(*rdirsize)) == NULL) { in build_rootdir() 2919 dump_bytes((uchar_t *)rootdirp, 2 * sizeof (struct pcdir)); in build_rootdir()
|