Searched refs:mp (Results 26 - 50 of 175) sorted by relevance

1234567

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmappings.c224 mapping_t *mp; local
231 mp = hw_rem_map(pmap, va, &nextva); /* Remove a mapping from this pmap */
232 } while (mapRtRemove == ((unsigned int)mp & mapRetCode));
234 switch ((unsigned int)mp & mapRetCode) {
241 pmap, va, mp);
245 pgaddr = mp->mpPAddr; /* Get page number from mapping */
247 mapping_free(mp); /* Add mapping to the free list */
259 mp = hw_scrub_guest(physent, pmap); /* Attempt to scrub a guest mapping */
260 switch ((unsigned int)mp & mapRetCode) {
267 physent, mp); /* Cr
314 register mapping_t *mp; local
447 register mapping_t *mp; local
898 mapping_free(struct mapping *mp) argument
1025 register mapping_t *mp; local
1499 mapping_t *mp; local
1600 mapping_t *mp = NULL; local
[all...]
H A Dpmap.c843 register struct mapping *mp; local
855 mp = hw_purge_phys(pp); /* Toss a map */
856 switch ((unsigned int)mp & mapRetCode) {
858 mapping_free(mp); /* Return mapping to free inventory */
868 pp, pmap, mp); /* Handle failure with our usual lack of tact */
871 mp = hw_purge_space(pp, pmap); /* Toss a map */
872 switch ((unsigned int)mp & mapRetCode) {
874 mapping_free(mp); /* Return mapping to free inventory */
882 pp, pmap, mp); /* Handle failure with our usual lack of tact */
885 } while (mapRtEmpty != ((unsigned int)mp
951 mapping_t *mp; local
1019 mapping_t *mp; local
1205 register struct mapping *mp; local
1253 register struct mapping *mp; local
1657 mapping_t *mp; local
1711 mapping_t *mp; local
1812 mapping_t *mp; local
1891 mapping_t *mp; local
2041 mapping_t *mp; local
[all...]
H A Ddb_low_trace.c71 void db_dumpmapping(struct mapping *mp); /* Dump out a mapping */
281 mapping_t *mp; local
299 mp = hw_find_map(pmap, (addr64_t)addr, &lnextva); /* Try to find the mapping for this address */
300 if((unsigned int)mp == mapRtBadLk) { /* Did we lock up ok? */
305 if(!mp) { /* Did we find one? */
310 mapping_drop_busy(mp); /* The mapping shouldn't be changing */
312 db_dumpmapping(mp); /* Dump it all out */
473 void db_dumpmapping(struct mapping *mp) { /* Dump out a mapping */ argument
478 db_printf("Dump of mapping block: %08X, pmap: %08X (%016llX)\n", mp, pmapTrans[mp
578 mapping_t *mp, *mpv; local
867 mapping_t *mp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_subr.c180 static void insmntque(vnode_t vp, mount_t mp);
430 vnode_iterate_setup(mount_t mp) argument
432 while (mp->mnt_lflag & MNT_LITER) {
433 mp->mnt_lflag |= MNT_LITERWAIT;
434 msleep((caddr_t)mp, &mp->mnt_mlock, PVFS, "vnode_iterate_setup", NULL);
437 mp->mnt_lflag |= MNT_LITER;
442 vnode_umount_preflight(mount_t mp, vnode_t skipvp, int flags) argument
446 TAILQ_FOREACH(vp, &mp->mnt_vnodelist, v_mntvnodes) {
476 vnode_iterate_prepare(mount_t mp) argument
501 vnode_iterate_reloadq(mount_t mp) argument
541 vnode_iterate_clear(mount_t mp) argument
552 vnode_iterate(mount_t mp, int flags, int (*callout)(struct vnode *, void *), void *arg) argument
632 mount_lock_renames(mount_t mp) argument
638 mount_unlock_renames(mount_t mp) argument
644 mount_lock(mount_t mp) argument
650 mount_unlock(mount_t mp) argument
657 mount_ref(mount_t mp, int locked) argument
670 mount_drop(mount_t mp, int locked) argument
686 mount_iterref(mount_t mp, int locked) argument
703 mount_isdrained(mount_t mp, int locked) argument
719 mount_iterdrop(mount_t mp) argument
728 mount_iterdrain(mount_t mp) argument
738 mount_iterreset(mount_t mp) argument
748 mount_refdrain(mount_t mp) argument
771 vfs_busy(mount_t mp, int flags) argument
820 vfs_unbusy(mount_t mp) argument
828 vfs_rootmountfailed(mount_t mp) argument
854 mount_t mp; local
895 mac_mount_label_associate(vfs_context_kernel(), mp); local
939 mount_t mp; local
1093 mount_t mp; local
1114 vfs_getnewfsid(struct mount *mp) argument
1153 insmntque(vnode_t vp, mount_t mp) argument
1720 vflush(struct mount *mp, struct vnode *skipvp, int flags) argument
2617 struct mount *mp; local
2671 vfs_init_io_attributes(vnode_t devvp, mount_t mp) argument
2868 struct mount *mp; local
2894 struct mount *mp; local
2964 struct mount *mp; local
4107 mount_t mp; local
4173 vfs_update_vfsstat(mount_t mp, vfs_context_t ctx, __unused int eventtype) argument
4255 mount_list_add(mount_t mp) argument
4264 mount_list_remove(mount_t mp) argument
4279 mount_t mp; local
4315 mount_t mp; local
5280 mount_t mp; local
6438 vfs_setlocklocal(mount_t mp) argument
[all...]
H A Dkpi_vfs.c203 VFS_MOUNT(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t ctx) argument
209 if ((mp == dead_mountp) || (mp->mnt_op->vfs_mount == 0))
212 thread_safe = mp->mnt_vtable->vfc_threadsafe;
220 if (vfs_64bitready(mp)) {
221 error = (*mp->mnt_op->vfs_mount)(mp, devvp, data, ctx);
228 error = (*mp->mnt_op->vfs_mount)(mp, devvp, data, ctx);
238 VFS_START(mount_t mp, in argument
260 VFS_UNMOUNT(mount_t mp, int flags, vfs_context_t ctx) argument
299 VFS_ROOT(mount_t mp, struct vnode ** vpp, vfs_context_t ctx) argument
324 VFS_QUOTACTL(mount_t mp, int cmd, uid_t uid, caddr_t datap, vfs_context_t ctx) argument
346 VFS_GETATTR(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument
372 VFS_SETATTR(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument
398 VFS_SYNC(mount_t mp, int flags, vfs_context_t ctx) argument
423 VFS_VGET(mount_t mp, ino64_t ino, struct vnode **vpp, vfs_context_t ctx) argument
448 VFS_FHTOVP(mount_t mp, int fhlen, unsigned char * fhp, vnode_t * vpp, vfs_context_t ctx) argument
500 vfs_name(mount_t mp, char * buffer) argument
507 vfs_typenum(mount_t mp) argument
515 vfs_flags(mount_t mp) argument
522 vfs_setflags(mount_t mp, uint64_t flags) argument
544 vfs_iswriteupgrade(mount_t mp) argument
552 vfs_isrdonly(mount_t mp) argument
559 vfs_issynchronous(mount_t mp) argument
566 vfs_isrdwr(mount_t mp) argument
574 vfs_isupdate(mount_t mp) argument
582 vfs_isreload(mount_t mp) argument
589 vfs_isforce(mount_t mp) argument
598 vfs_64bitready(mount_t mp) argument
608 vfs_authcache_ttl(mount_t mp) argument
617 vfs_setauthcache_ttl(mount_t mp, int ttl) argument
626 vfs_clearauthcache_ttl(mount_t mp) argument
639 vfs_markdependency(mount_t mp) argument
650 vfs_authopaque(mount_t mp) argument
659 vfs_authopaqueaccess(mount_t mp) argument
668 vfs_setauthopaque(mount_t mp) argument
676 vfs_setauthopaqueaccess(mount_t mp) argument
684 vfs_clearauthopaque(mount_t mp) argument
692 vfs_clearauthopaqueaccess(mount_t mp) argument
700 vfs_setextendedsecurity(mount_t mp) argument
708 vfs_clearextendedsecurity(mount_t mp) argument
716 vfs_extendedsecurity(mount_t mp) argument
723 vfs_maxsymlen(mount_t mp) argument
730 vfs_setmaxsymlen(mount_t mp, uint32_t symlen) argument
737 vfs_statfs(mount_t mp) argument
743 vfs_getattr(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument
762 vfs_setattr(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument
781 vfs_fsprivate(mount_t mp) argument
788 vfs_setfsprivate(mount_t mp, void *mntdata) argument
801 vfs_devblocksize(mount_t mp) argument
811 vfs_ioattr(mount_t mp, struct vfsioattr *ioattrp) argument
841 vfs_setioattr(mount_t mp, struct vfsioattr * ioattrp) argument
1423 mount_t mp; local
[all...]
H A Dvfs_syscalls.c142 void enablequotas(struct mount *mp, vfs_context_t ctx);
143 static int getfsstat_callback(mount_t mp, void * arg);
147 static int munge_statfs(struct mount *mp, struct vfsstatfs *sfsp,
150 static int statfs64_common(struct mount *mp, struct vfsstatfs *sfsp, user_addr_t bufp);
233 struct mount *mp; local
277 mp = vp->v_mount;
280 mount_lock(mp);
281 if (mp->mnt_lflag & MNT_LUNMOUNT) {
282 mount_unlock(mp);
286 mount_unlock(mp);
793 enablequotas(struct mount *mp, vfs_context_t ctx) argument
936 struct mount *mp; local
973 mount_t mp; local
991 safedounmount(struct mount *mp, int flags, vfs_context_t ctx) argument
1023 dounmount(struct mount *mp, int flags, int withref, vfs_context_t ctx) argument
1209 mount_dropcrossref(mount_t mp, vnode_t dp, int need_put) argument
1244 sync_callback(mount_t mp, __unused void * arg) argument
1303 struct mount *mp; local
1414 struct mount *mp; local
1448 struct mount *mp; local
1480 statfs64_common(struct mount *mp, struct vfsstatfs *sfsp, user_addr_t bufp) argument
1514 struct mount *mp; local
1548 struct mount *mp; local
1578 user_addr_t *mp; member in struct:getfsstat_struct
1587 getfsstat_callback(mount_t mp, void * arg) argument
1652 user_addr_t *mp; local
1722 getfsstat64_callback(mount_t mp, void * arg) argument
1805 struct mount *mp; local
5166 struct mount *mp; local
6843 munge_statfs(struct mount *mp, struct vfsstatfs *sfsp, user_addr_t bufp, int *sizep, boolean_t is_64_bit, boolean_t partial_copy) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/nullfs/
H A Dnull_subr.c113 null_node_find(mp, lowervp)
114 struct mount *mp;
131 if (a->null_lowervp == lowervp && NULLTOV(a)->v_mount == mp) {
152 null_node_alloc(mp, lowervp, vpp)
153 struct mount *mp;
163 if (error = getnewvnode(VT_NULL, mp, null_vnodeop_p, vpp)) {
200 null_node_create(mp, lowervp, newvpp)
201 struct mount *mp;
207 if (aliasvp = null_node_find(mp, lowervp)) {
229 if (error = null_node_alloc(mp, lowerv
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dadsp_Control.c68 int attachData(CCBPtr, gbuf_t *mp);
141 register gbuf_t *mp; /* send message block */ local
160 if ((mp = gbuf_alloc(AT_WR_OFFSET + DDPL_FRAME_LEN + ADSP_FRAME_LEN + ADSP_OPEN_FRAME_LEN + 2,
171 gbuf_rinc(mp,AT_WR_OFFSET);
172 gbuf_wset(mp,DDPL_FRAME_LEN); /* leave room for DDP header */
185 dp = ((char *) gbuf_wptr(mp)) + ADSP_FRAME_LEN;
269 if (gbuf_cont(sp->sapb->mp)) {
270 gbuf_cont(mp) = gbuf_dupm(gbuf_cont(sp->sapb->mp));
303 if ((datalen = attachData(sp, mp))) /* attac
[all...]
H A Dadsp_Close.c148 gbuf_freem(p->mp);
266 register gbuf_t *mp; local
321 if ((mp = gbuf_alloc(sizeof(struct adspcmd), PRI_HI))) {
322 pb = (struct adspcmd *)gbuf_rptr(mp);
323 gbuf_wset(mp,sizeof(struct adspcmd));
326 pb->mp = mp;
360 register gbuf_t *mp; local
454 if ( (mp = gbuf_copym(pb->mp)) ) { /* duplicat
489 register gbuf_t *mp; local
[all...]
H A Datp_open.c74 int atp_input(mp)
75 gbuf_t *mp;
79 switch (gbuf_type(mp)) {
81 gref = atp_inputQ[((at_ddp_t *)gbuf_rptr(mp))->dst_socket];
84 ((at_ddp_t *)gbuf_rptr(mp))->dst_socket));
85 gbuf_freem(mp);
92 gref = (gref_t *)((ioc_t *)gbuf_rptr(mp))->ioc_private;
98 gbuf_type(mp)));
99 gbuf_freem(mp);
103 atp_rput(gref, mp);
[all...]
H A Dddp_rtmp.c255 void rtmp_input (mp, ifID)
256 register gbuf_t *mp;
261 register at_ddp_t *ddp = (at_ddp_t *)gbuf_rptr(mp);
266 if (gbuf_type(mp) != MSG_DATA) {
271 gbuf_freem(mp);
276 gbuf_freem(mp);
279 if (gbuf_len(mp) < (DDP_X_HDR_SIZE + sizeof(at_rtmp))) {
280 gbuf_freem(mp);
285 gbuf_freem(mp);
376 gbuf_freem(mp);
[all...]
H A Dadsp_Packet.c551 gbuf_t *mp; local
567 mp = gbuf_alloc(AT_WR_OFFSET + DDPL_FRAME_LEN + ADSP_FRAME_LEN + ADSP_OPEN_FRAME_LEN,
569 gbuf_rinc(mp,AT_WR_OFFSET);
570 gbuf_wset(mp,DDPL_FRAME_LEN);
571 adspp = (ADSP_FRAMEPtr)gbuf_wptr(mp);
572 gbuf_winc(mp,ADSP_FRAME_LEN);
573 bzero((caddr_t) gbuf_rptr(mp),DDPL_FRAME_LEN + ADSP_FRAME_LEN +
576 adspop = (ADSP_OPEN_DATAPtr)gbuf_wptr(mp);
577 gbuf_winc(mp,ADSP_OPEN_FRAME_LEN);
580 adsp_sendddp(0, mp, DDPL_FRAME_LE
[all...]
H A Dadsp_Open.c142 register gbuf_t *mp; local
272 mp = gbuf_copym(pb->mp); /* Save parameter block to match later */
274 if (mp == 0) {
280 sp->opb = (struct adspcmd *)gbuf_rptr(mp);
282 sp->opb->mp = mp;
H A Dddp_brt.c78 void ddp_glean(mp, ifID, src_addr)
79 register gbuf_t *mp;
98 dgp = (at_ddp_t *)(gbuf_rptr(mp));
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_vfs.c121 mac_mount_label_init(struct mount *mp) argument
124 mp->mnt_mntlabel = mac_mount_label_alloc();
183 mac_mount_label_destroy(struct mount *mp) argument
187 if (mp->mnt_mntlabel != NULL) {
188 mac_mount_label_free(mp->mnt_mntlabel);
189 mp->mnt_mntlabel = NULL;
282 mac_devfs_label_update(struct mount *mp, struct devnode *de, argument
289 MAC_PERFORM(devfs_label_update, mp, de, de->dn_label, vp,
294 mac_vnode_label_associate(struct mount *mp, struct vnode *vp, vfs_context_t ctx) argument
307 mac_vnode_label_associate_devfs(mp, dn
322 mac_vnode_label_associate_devfs(struct mount *mp, struct devnode *de, struct vnode *vp) argument
335 mac_vnode_label_associate_extattr(struct mount *mp, struct vnode *vp) argument
346 mac_vnode_label_associate_singlelabel(struct mount *mp, struct vnode *vp) argument
357 mac_vnode_notify_create(vfs_context_t ctx, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
380 mac_vnode_label_update_extattr(struct mount *mp, struct vnode *vp, const char *name) argument
1088 mac_mount_label_associate(vfs_context_t ctx, struct mount *mp) argument
1154 mac_mount_check_remount(vfs_context_t ctx, struct mount *mp) argument
1170 mac_mount_check_umount(vfs_context_t ctx, struct mount *mp) argument
1186 mac_mount_check_getattr(vfs_context_t ctx, struct mount *mp, struct vfs_attr *vfa) argument
1202 mac_mount_check_setattr(vfs_context_t ctx, struct mount *mp, struct vfs_attr *vfa) argument
1250 mac_mount_check_fsctl(vfs_context_t ctx, struct mount *mp, u_int cmd) argument
1335 mac_vnode_label_associate_fdesc(struct mount *mp, struct fdescnode *fnp, struct vnode *vp, vfs_context_t ctx) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/
H A Dffs_vfsops.c141 ffs_mountroot(mount_t mp, vnode_t rvp, vfs_context_t context) argument
147 vfs_setflags(mp, MNT_ASYNC);
149 if (error = ffs_mountfs(rvp, mp, context))
152 (void)ffs_statfs(mp, vfs_statfs(mp), NULL);
163 ffs_mount(struct mount *mp, vnode_t devvp, __unused user_addr_t data, vfs_context_t context) argument
178 if (mp->mnt_flag & MNT_UPDATE) {
179 ump = VFSTOUFS(mp);
181 if (fs->fs_ronly == 0 && (mp->mnt_flag & MNT_RDONLY)) {
185 VFS_SYNC(mp, MNT_WAI
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Dufsmount.h118 #define VFSTOUFS(mp) ((struct ufsmount *)((mp)->mnt_data))
H A Dufs_quota.c450 quotaon(context, mp, type, fnamep)
452 struct mount *mp;
456 struct ufsmount *ump = VFSTOUFS(mp);
479 vfs_setflags(mp, (uint64_t)((unsigned int)MNT_QUOTA));
512 vnode_iterate(mp, VNODE_WRITEABLE | VNODE_WAIT, ufs_quotaon_callback, (void *)&args);
517 quotaoff(mp, type);
554 quotaoff(struct mount *mp, register int type) argument
557 struct ufsmount *ump = VFSTOUFS(mp);
590 vnode_iterate(mp, VNODE_WAIT, ufs_quotaoff_callback, (void *)&args);
607 mp
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_quota.c474 hfs_quotaon(p, mp, type, fnamep)
476 struct mount *mp;
480 struct hfsmount *hfsmp = VFSTOHFS(mp);
503 vfs_setflags(mp, (u_int64_t)((unsigned int)MNT_QUOTA));
539 vnode_iterate(mp, VNODE_WRITEABLE | VNODE_WAIT, hfs_quotaon_callback, (void *)&args);
544 hfs_quotaoff(p, mp, type);
582 hfs_quotaoff(__unused struct proc *p, struct mount *mp, register int type) argument
585 struct hfsmount *hfsmp = VFSTOHFS(mp);
618 vnode_iterate(mp, VNODE_WAIT, hfs_quotaoff_callback, (void *)&args);
635 vfs_clearflags(mp, (u_int64_
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_vfsops.c152 static int iso_mountfs(struct vnode *devvp, struct mount *mp, struct user_iso_args *argp,
163 cd9660_mountroot(mount_t mp, vnode_t rvp, vfs_context_t context) argument
173 if ((error = iso_mountfs(rvp, mp, &args, context)))
176 (void)cd9660_statfs(mp, vfs_statfs(mp), context);
187 cd9660_mount(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t context) argument
207 if (vfs_isrdwr(mp))
214 if (vfs_isupdate(mp)) {
215 imp = VFSTOISOFS(mp);
219 if ( !vfs_isupdate(mp))
248 cd9660_phys_device(mount_t mp, vfs_context_t context) argument
347 iso_mountfs(struct vnode *devvp, struct mount *mp, struct user_iso_args *argp, vfs_context_t context) argument
697 cd9660_start(__unused struct mount *mp, __unused int flags, __unused vfs_context_t context) argument
707 cd9660_unmount(struct mount *mp, int mntflags, vfs_context_t context) argument
745 cd9660_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t context) argument
765 cd9660_statfs(struct mount *mp, struct vfsstatfs *sbp, __unused vfs_context_t context) argument
807 cd9660_vfs_getattr(struct mount *mp, struct vfs_attr *fsap, __unused vfs_context_t context) argument
908 cd9660_sync(__unused struct mount *mp, __unused int waitfor, __unused vfs_context_t context) argument
932 cd9660_fhtovp(mount_t mp, int fhlen, unsigned char *fhp, vnode_t *vpp, vfs_context_t context) argument
1048 cd9660_vget(struct mount *mp, ino64_t ino, struct vnode **vpp, __unused vfs_context_t context) argument
1062 cd9660_vget_internal(mount_t mp, ino_t ino, vnode_t *vpp, vnode_t dvp, struct componentname *cnp, int relocated, struct iso_directory_record *isodir, proc_t p) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dppp_comp.h90 PACKETPTR mp, int orig_len, int max_len);
104 int (*decompress)(void *state, PACKETPTR mp, PACKETPTR *dmpp);
106 void (*incomp)(void *state, PACKETPTR mp);
H A Dradix.c562 u_char *mp = m_arg, *np = n_arg, *lim; local
564 if (*mp > *np)
566 if (*mp == *np)
567 for (lim = mp + *mp; mp < lim;)
568 if (*mp++ > *np++)
605 struct radix_mask *m, **mp; local
692 for (mp = &t->rn_mklist; x; x = x->rn_dupedkey)
694 *mp
753 struct radix_mask *m, *saved_m, **mp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Ddest6.c57 dest6_input(mp, offp)
58 struct mbuf **mp;
61 struct mbuf *m = *mp;
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fdesc/
H A Dfdesc.h103 #define VFSTOFDESC(mp) ((struct fdescmount *)((mp)->mnt_data))
/macosx-10.5.8/xnu-1228.15.4/osfmk/conf/
H A DMakefile.i38625 mp.o

Completed in 137 milliseconds

1234567