/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 122 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); local 137 msdosfs_iconv->open(win, local, &pmp->pm_u2w); 138 msdosfs_iconv->open(local, win, &pmp->pm_w2u); 139 msdosfs_iconv->open(dos, local, &pmp->pm_u2d); 140 msdosfs_iconv->open(local, dos, &pmp->pm_d2u); 145 pmp->pm_w2u = NULL; 146 pmp->pm_u2w = NULL; 147 pmp->pm_d2u = NULL; 148 pmp->pm_u2d = NULL; 153 pmp 229 struct msdosfsmount *pmp = NULL; local 394 struct msdosfsmount *pmp; local 778 struct msdosfsmount *pmp; local 852 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); local 869 struct msdosfsmount *pmp; local 886 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) argument 922 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); local 988 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); local [all...] |
H A D | msdosfsmount.h | 127 /* Byte offset in FAT on filesystem pmp, cluster cn */ 128 #define FATOFS(pmp, cn) ((cn) * (pmp)->pm_fatmult / (pmp)->pm_fatdiv) 153 #define bptoep(pmp, bp, dirofs) \ 155 + ((dirofs) & (pmp)->pm_crbomask))) 160 #define de_bn2cn(pmp, bn) \ 161 ((bn) >> ((pmp)->pm_cnshift - (pmp)->pm_bnshift)) 166 #define de_cn2bn(pmp, c [all...] |
H A D | fat.h | 75 #define FAT12(pmp) (pmp->pm_fatmask == FAT12_MASK) 76 #define FAT16(pmp) (pmp->pm_fatmask == FAT16_MASK) 77 #define FAT32(pmp) (pmp->pm_fatmask == FAT32_MASK) 79 #define MSDOSFSEOF(pmp, cn) ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS) 96 int clusterfree(struct msdosfsmount *pmp, u_long cn, u_long *oldcnp); 97 int clusteralloc(struct msdosfsmount *pmp, u_lon [all...] |
H A D | msdosfs_fileno.c | 73 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); local 75 RB_INIT(&pmp->pm_filenos); 76 pmp->pm_nfileno = FILENO_FIRST_DYN; 77 if (pmp->pm_HugeSectors > 0xffffffff / 78 (pmp->pm_BytesPerSec / sizeof(struct direntry)) + 1) 79 pmp->pm_flags |= MSDOSFS_LARGEFS; 86 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); local 89 for (mf = RB_MIN(msdosfs_filenotree, &pmp->pm_filenos); mf != NULL; 91 next = RB_NEXT(msdosfs_filenotree, &pmp->pm_filenos, mf); 92 RB_REMOVE(msdosfs_filenotree, &pmp 101 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp); local [all...] |
H A D | msdosfs_fat.c | 66 static int chainalloc(struct msdosfsmount *pmp, u_long start, 69 static int chainlength(struct msdosfsmount *pmp, u_long start, 71 static void fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, 73 static int fatchain(struct msdosfsmount *pmp, u_long start, u_long count, 77 static void updatefats(struct msdosfsmount *pmp, struct buf *bp, 80 usemap_alloc(struct msdosfsmount *pmp, u_long cn); 82 usemap_free(struct msdosfsmount *pmp, u_long cn); 83 static int clusteralloc1(struct msdosfsmount *pmp, u_long start, 88 fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep, argument 93 bn = ofs / pmp 137 struct msdosfsmount *pmp = dep->de_pmp; local 308 updatefats(struct msdosfsmount *pmp, struct buf *bp, u_long fatbn) argument 381 usemap_alloc(struct msdosfsmount *pmp, u_long cn) argument 401 usemap_free(struct msdosfsmount *pmp, u_long cn) argument 420 clusterfree(struct msdosfsmount *pmp, u_long cluster, u_long *oldcnp) argument 461 fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents, u_long newcontents) argument 569 fatchain(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith) argument 640 chainlength(struct msdosfsmount *pmp, u_long start, u_long count) argument 697 chainalloc(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith, u_long *retcluster, u_long *got) argument 742 clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith, u_long *retcluster, u_long *got) argument 754 clusteralloc1(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith, u_long *retcluster, u_long *got) argument 830 freeclusterchain(struct msdosfsmount *pmp, u_long cluster) argument 892 fillinusemap(struct msdosfsmount *pmp) argument 981 struct msdosfsmount *pmp = dep->de_pmp; local 1131 markvoldirty(struct msdosfsmount *pmp, int dirty) argument [all...] |
H A D | msdosfs_denode.c | 86 * pmp - address of msdosfsmount structure of the filesystem containing 96 deget(struct msdosfsmount *pmp, u_long dirclust, u_long diroffset, argument 101 struct mount *mntp = pmp->pm_mountp; 108 printf("deget(pmp %p, dirclust %lu, diroffset %lx, depp %p)\n", 109 pmp, dirclust, diroffset, depp); 116 if (FAT32(pmp) && dirclust == MSDOSFSROOT) 117 dirclust = pmp->pm_rootdirblk; 132 inode = (uint64_t)pmp->pm_bpcluster * dirclust + diroffset; 182 ldep->de_pmp = pmp; 188 || (FAT32(pmp) 344 struct msdosfsmount *pmp = dep->de_pmp; local 477 struct msdosfsmount *pmp = dep->de_pmp; local [all...] |
H A D | msdosfs_lookup.c | 85 struct msdosfsmount *pmp; local 88 pmp = VFSTOMSDOSFS(mp); 90 error = deget(pmp, dd_arg->cluster, dd_arg->blkoff, &rdp); 130 struct msdosfsmount *pmp; local 148 pmp = dp->de_pmp; 176 cnp->cn_namelen, 0, pmp)) { 183 cnp->cn_namelen, pmp) + 1; 188 cnp->cn_namelen, pmp) + 1; 191 if (pmp->pm_flags & MSDOSFSMNT_SHORTNAME) { 233 error = bread(pmp 601 struct msdosfsmount *pmp = ddep->de_pmp; local 732 struct msdosfsmount *pmp = dep->de_pmp; local 804 struct msdosfsmount *pmp; local 890 readep(struct msdosfsmount *pmp, u_long dirclust, u_long diroffset, struct buf **bpp, struct direntry **epp) argument 944 struct msdosfsmount *pmp = pdep->de_pmp; local 1006 struct msdosfsmount *pmp = dep->de_pmp; local 1072 struct msdosfsmount *pmp = dep->de_pmp; local [all...] |
H A D | msdosfs_vnops.c | 229 struct msdosfsmount *pmp = dep->de_pmp; local 234 file_mode &= (vp->v_type == VDIR ? pmp->pm_dirmask : pmp->pm_mask); 252 return (vaccess(vp->v_type, file_mode, pmp->pm_uid, pmp->pm_gid, 260 struct msdosfsmount *pmp = dep->de_pmp; local 264 u_long dirsperblk = pmp->pm_BytesPerSec / sizeof(struct direntry); 269 vap->va_fsid = dev2udev(pmp->pm_dev); 276 fileid = (uint64_t)cntobn(pmp, dep->de_StartCluster) * 281 fileid = (uint64_t)cntobn(pmp, de 335 struct msdosfsmount *pmp = dep->de_pmp; local 534 struct msdosfsmount *pmp = dep->de_pmp; local 629 struct msdosfsmount *pmp = dep->de_pmp; local 954 struct msdosfsmount *pmp; local 1301 struct msdosfsmount *pmp = pdep->de_pmp; local 1481 struct msdosfsmount *pmp = dep->de_pmp; local 1760 struct msdosfsmount *pmp; local 1895 struct msdosfsmount *pmp = VTODE(ap->a_vp)->de_pmp; local [all...] |
H A D | direntry.h | 150 struct msdosfsmount *pmp); 152 struct msdosfsmount *pmp); 154 int chksum, struct msdosfsmount *pmp); 156 int chksum, struct msdosfsmount *pmp); 158 struct msdosfsmount *pmp); 160 int winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp);
|
H A D | msdosfs_conv.c | 237 dos2unixfn(u_char dn[11], u_char *un, int lower, struct msdosfsmount *pmp) argument 257 lower & LCASE_BASE, pmp); 274 &i, lower & LCASE_EXT, pmp); 299 struct msdosfsmount *pmp) 344 if (unix2doschr(&cp, (size_t *)&i, pmp) == 0) 384 c = unix2doschr(&cp, (size_t *)&i, pmp); 423 c = unix2doschr(&un, &i, pmp); 488 i -= mbsadjpos((const char**)&cp, i, unlen, 1, pmp->pm_flags, pmp->pm_d2u); 519 int chksum, struct msdosfsmount *pmp) 298 unix2dosfn(const u_char *un, u_char dn[12], size_t unlen, u_int gen, struct msdosfsmount *pmp) argument 518 unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt, int chksum, struct msdosfsmount *pmp) argument 582 winChkName(struct mbnambuf *nbp, const u_char *un, size_t unlen, int chksum, struct msdosfsmount *pmp) argument 629 win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum, struct msdosfsmount *pmp) argument 740 winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp) argument 798 dos2unixchr(u_char *outbuf, const u_char **instr, size_t *ilen, int lower, struct msdosfsmount *pmp) argument 842 unix2doschr(const u_char **instr, size_t *ilen, struct msdosfsmount *pmp) argument 919 win2unixchr(u_char *outbuf, u_int16_t wc, struct msdosfsmount *pmp) argument 955 unix2winchr(const u_char **instr, size_t *ilen, int lower, struct msdosfsmount *pmp) argument [all...] |
H A D | denode.h | 270 int readep(struct msdosfsmount *pmp, u_long dirclu, u_long dirofs, struct buf **bpp, struct direntry **epp); 273 int fillinusemap(struct msdosfsmount *pmp);
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_pid.c | 267 dt_pid_per_mod(void *arg, const prmap_t *pmp, const char *obj) argument 279 (void) Plmid(pp->dpp_pr, pmp->pr_vaddr, &pp->dpp_lmid); 404 dt_pid_mod_filt(void *arg, const prmap_t *pmp, const char *obj) argument 410 return (dt_pid_per_mod(pp, pmp, obj)); 413 (void) Plmid(pp->dpp_pr, pmp->pr_vaddr, &pp->dpp_lmid); 424 return (dt_pid_per_mod(pp, pmp, obj)); 427 (void) Plmid(pp->dpp_pr, pmp->pr_vaddr, &pp->dpp_lmid); 433 return (dt_pid_per_mod(pp, pmp, obj)); 444 const prmap_t *pmp; local 467 if ((pmp 516 const prmap_t *aout, *pmp; local 545 const prmap_t *pmp; local 567 dt_pid_usdt_mapping(void *data, const prmap_t *pmp, const char *oname) argument [all...] |
H A D | dt_module.c | 864 dt_module_t *pmp; local 904 if ((pmp = dt_module_create(dtp, parent)) == NULL || 905 (pfp = dt_module_getctf(dtp, pmp)) == NULL) { 906 if (pmp == NULL)
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | dates.c | 90 struct cal_month *pm, *pmp; local 126 pmp = NULL; 131 pmp = pm; 143 if (pmp != NULL) 144 pmp->nextmonth = pm; 146 if (pmp == NULL)
|
/freebsd-11-stable/sys/cam/ata/ |
H A D | ata_pmp.c | 140 static SYSCTL_NODE(_kern_cam, OID_AUTO, pmp, CTLFLAG_RD, 0, 151 pmpinit, "pmp", 156 PERIPHDRIVER_DECLARE(pmp, pmpdriver); 170 printf("pmp: Failed to attach master async callback " 290 "pmp", CAM_PERIPH_BIO,
|