Searched refs:pcdir (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfsck_pcfs.h75 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 *d
[all...]
H A Ddir.c84 hasCHKName(struct pcdir *dp)
109 addToCHKList(struct pcdir *dp)
127 appendToPath(struct pcdir *dp, char *thePath, int *theLen)
175 printName(FILE *outDest, struct pcdir *dp)
200 sanityCheckSize(int fd, struct pcdir *dp, int32_t actualClusterCount,
202 struct pcdir **orphanEntry)
245 noteUsage(int fd, int32_t startAt, struct pcdir *dp, struct pcdir *lp,
249 struct pcdir *orphanEntry;
300 storeInfoAboutEntry(int fd, struct pcdir *d
[all...]
H A Dclusters.c61 static struct pcdir BlankPCDIR;
528 markOrphan(int fd, int32_t clusterNum, struct pcdir *dp)
677 struct pcdir *ignorep1, *ignorep2 = NULL;
749 orphanChain(int fd, int32_t c, struct pcdir *ndp)
790 setEndOfDirectory(struct pcdir *dp)
819 makeNewEndOfDirectory(struct pcdir *entry, int32_t secondToLast,
844 createNewEndOfDirectory(int fd, struct pcdir *entry, int32_t secondToLast)
895 truncAtCluster(int fd, struct pcdir *entry, int32_t cluster)
963 static struct pcdir *
964 updateOrphanedChainMetadata(int fd, struct pcdir *d
[all...]
H A Dbpb.c83 sizeof (struct pcdir);
245 sizeof (struct pcdir)) %
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpc_dir.h65 struct pcdir { struct
95 * that an entry in a directory (as described by the 'pcdir' structure above)
97 * a long filename component (a series of 'pcdir'-like structures) followed
158 * A long filename entry. It must match the 'pcdir' structure in size,
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_
[all...]
H A Dpc_node.h62 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 Dpc_fs.h560 ((int)((PCFS)->pcfs_secsize / sizeof (struct pcdir)))
563 ((int)((PCFS)->pcfs_clsize / sizeof (struct pcdir)))
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_dir.c44 static int pc_makedirentry(struct pcnode *dp, struct pcdir *direntries,
52 struct pcdir *ep);
53 static struct pcdir *pc_name_to_pcdir(struct pcnode *dp, char *namep,
141 struct pcdir *ep;
183 struct pcdir *direntries;
218 kmem_free(direntries, ndirentries * sizeof (struct pcdir));
222 offset += (ndirentries - 1) * sizeof (struct pcdir);
252 struct pcdir t_dot; /* dot entry */
253 struct pcdir t_dotdot; /* dotdot entry */
272 pc_makedirentry(struct pcnode *dp, struct pcdir *direntrie
[all...]
H A Dpc_vnops.c1307 struct pcdir *ep;
1322 (uiop->uio_loffset % sizeof (struct pcdir)) != 0) {
1353 ld->d_off = (off64_t)sizeof (struct pcdir);
1363 if (offset == sizeof (struct pcdir)) {
1371 sizeof (struct pcdir));
1377 offset -= 2 * sizeof (struct pcdir);
1407 uiop->uio_loffset += sizeof (struct pcdir);
1408 offset += sizeof (struct pcdir);
2167 struct pcdir **epp, offset_t *offset, struct buf **bp)
2169 struct pcdir *e
[all...]
H A Dpc_node.c61 struct pcdir pcfs_rootdirentry = {
87 struct pcdir *ep) /* node dir entry */
95 if (ep == (struct pcdir *)0) {
555 *((struct pcdir *)(bp->b_un.b_addr + pcp->pc_eoffset)) = pcp->pc_entry;
H A Dpc_vfsops.c184 ASSERT(sizeof (struct pcdir) == 32);
885 pcp = pc_getnode(fsp, (daddr_t)0, 0, (struct pcdir *)0);
1160 struct pcdir *ep;
1177 pcp = pc_getnode(fsp, (daddr_t)0, 0, (struct pcdir *)0);
1216 ep = (struct pcdir *)(bp->b_un.b_addr + eoffset);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c134 static boolean_t dir_find_label(fstyp_pcfs_t *h, struct pcdir *d, int nent);
375 nent = secsize / sizeof (struct pcdir);
379 if (dir_find_label(h, (struct pcdir *)buf, nent)) {
419 nent = clustersize / sizeof (struct pcdir);
420 if (dir_find_label(h, (struct pcdir *)buf, nent)) {
459 * Given an array of pcdir structs, find one containing volume label.
462 dir_find_label(fstyp_pcfs_t *h, struct pcdir *d, int nent)
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c134 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)
2795 dirent_label_fill(struct pcdir *dep, char *fn)
2824 dirent_fname_fill(struct pcdir *dep, char *fn)
2865 struct pcdir *rootdirp;
2866 struct pcdir *entry;
2879 *rdirsize = wbpb->bpb.num_root_entries * sizeof (struct pcdir);
2881 if ((rootdirp = (struct pcdir *)malloc(*rdirsize)) == NULL) {
2919 dump_bytes((uchar_t *)rootdirp, 2 * sizeof (struct pcdir));
[all...]

Completed in 413 milliseconds