Searched defs:fatp (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c89 static int pc_readfat(struct pcfs *fsp, uchar_t *fatp);
1280 pc_readfat(struct pcfs *fsp, uchar_t *fatp) argument
1290 for (off = 0; off < fatsize; off += readsize, fatp += readsize) {
1301 bcopy(bp->b_un.b_addr, fatp, readsize);
1328 uchar_t *fatp = fsp->pcfs_fatp; local
1332 for (off = 0; off < fatsize; off += writesize, fatp += writesize) {
1343 bcopy(fatp, bp->b_un.b_addr, writesize);
2541 uchar_t *fatp = NULL; local
2574 fatp = kmem_alloc(fatsize, KM_SLEEP);
2575 error = pc_readfat(fsp, fatp);
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c153 static void mark_cluster(uchar_t *fatp, pc_cluster32_t clustnum,
2612 * argument. The fatp argument is assumed to be a pointer to the FAT's
2618 mark_cluster(uchar_t *fatp, pc_cluster32_t clustnum, uint32_t value) argument
2625 ep = fatp + idx;
2650 uchar_t *fatp; local
2667 if (!(fatp = (uchar_t *)malloc(*fatsize))) {
2671 (void) memset(fatp, 0, *fatsize);
2675 *fatp = wbpb->bpb.media;
2676 *(fatp + 1) = 0xFF;
2677 *(fatp
3080 uchar_t *fatp, *rdirp; local
[all...]

Completed in 70 milliseconds