/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | mount.h | 501 int (*vfs_mount)(struct mount *mp, vnode_t devvp, user_addr_t data, vfs_context_t context); 502 int (*vfs_start)(struct mount *mp, int flags, vfs_context_t context); 503 int (*vfs_unmount)(struct mount *mp, int mntflags, vfs_context_t context); 504 int (*vfs_root)(struct mount *mp, struct vnode **vpp, vfs_context_t context); 505 int (*vfs_quotactl)(struct mount *mp, int cmds, uid_t uid, caddr_t arg, vfs_context_t context); 506 int (*vfs_getattr)(struct mount *mp, struct vfs_attr *, vfs_context_t context); 507 /* int (*vfs_statfs)(struct mount *mp, struct vfsstatfs *sbp, vfs_context_t context);*/ 508 int (*vfs_sync)(struct mount *mp, int waitfor, vfs_context_t context); 509 int (*vfs_vget)(struct mount *mp, ino64_t ino, struct vnode **vpp, vfs_context_t context); 510 int (*vfs_fhtovp)(struct mount *mp, in [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_quota.h | 93 int hfs_qsync(struct mount *mp);
|
H A D | hfs_vfsops.c | 122 int hfs_vfs_vget(struct mount *mp, ino64_t ino, struct vnode **vpp, vfs_context_t context); 125 static int hfs_changefs(struct mount *mp, struct hfs_mount_args *args); 126 static int hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, vfs_context_t context); 131 static int hfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data, vfs_context_t context); 132 static int hfs_mountfs(struct vnode *devvp, struct mount *mp, struct hfs_mount_args *args, int journal_replay_only, vfs_context_t context); 133 static int hfs_reload(struct mount *mp); 134 static int hfs_vfs_root(struct mount *mp, struct vnode **vpp, vfs_context_t context); 136 static int hfs_start(struct mount *mp, int flags, vfs_context_t context); 137 static int hfs_statfs(struct mount *mp, register struct vfsstatfs *sbp, vfs_context_t context); 138 static int hfs_sync(struct mount *mp, in 156 hfs_mountroot(mount_t mp, vnode_t rvp, vfs_context_t context) argument 195 hfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data, vfs_context_t context) argument 457 hfs_changefs(struct mount *mp, struct hfs_mount_args *args) argument 928 hfs_mountfs(struct vnode *devvp, struct mount *mp, struct hfs_mount_args *args, int journal_replay_only, vfs_context_t context) argument 1533 hfs_start(__unused struct mount *mp, __unused int flags, __unused vfs_context_t context) argument 1543 hfs_unmount(struct mount *mp, int mntflags, vfs_context_t context) argument 1735 hfs_vfs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t context) argument 1746 hfs_quotactl(__unused struct mount *mp, __unused int cmds, __unused uid_t uid, __unused caddr_t datap, __unused vfs_context_t context) argument 1752 hfs_quotactl(struct mount *mp, int cmds, uid_t uid, caddr_t datap, vfs_context_t context) argument 1830 hfs_statfs(struct mount *mp, register struct vfsstatfs *sbp, __unused vfs_context_t context) argument 1883 struct mount *mp = (struct mount *)arg; local 1971 hfs_sync(struct mount *mp, int waitfor, vfs_context_t context) argument 2102 hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, __unused vfs_context_t context) argument 2470 struct mount *mp; local 2525 hfs_vfs_vget(struct mount *mp, ino64_t ino, struct vnode **vpp, __unused vfs_context_t context) argument 2735 hfs_flushfiles(struct mount *mp, int flags, struct proc *p) argument 4843 hfs_vfs_getattr(struct mount *mp, struct vfs_attr *fsap, __unused vfs_context_t context) argument 5104 hfs_vfs_setattr(struct mount *mp, struct vfs_attr *fsap, __unused vfs_context_t context) argument 5162 struct mount *mp = NULL; local [all...] |
H A D | hfs_attrlist.h | 85 mode_t obj_mode, struct mount *mp,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | devfs_proto.h | 48 int devfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | quota.h | 97 int qsync(struct mount *mp);
|
H A D | ufs_bmap.c | 122 struct mount *mp; local 133 mp = vp->v_mount; 134 ump = VFSTOUFS(mp); 137 rev_endian=(mp->mnt_flag & MNT_REVEND); 153 maxrun = MAXPHYSIO / mp->mnt_vfsstat.f_iosize - 1; 197 bp = buf_getblk(vp, (daddr64_t)((unsigned)metalbn), mp->mnt_vfsstat.f_iosize, 0, 0, bop); 213 trace(TR_BREADHIT, pack(vp, mp->mnt_vfsstat.f_iosize), metalbn); 216 trace(TR_BREADMISS, pack(vp, mp->mnt_vfsstat.f_iosize), metalbn);
|
H A D | ufs_lookup.c | 562 struct mount *mp; local 564 mp = ITOV(ip)->v_mount; 566 mp->mnt_vfsstat.f_mntonname, ip->i_number, offset, how); 568 if ((mp->mnt_vfsstat.f_flags & MNT_RDONLY) == 0) 682 struct mount *mp=dvp->v_mount; local 683 int rev_endian=(mp->mnt_flag & MNT_REVEND); 785 if (mp->mnt_flag & MNT_ASYNC) { 820 struct mount *mp=dvp->v_mount; local 821 int rev_endian=(mp->mnt_flag & MNT_REVEND); 838 if (mp 942 struct mount *mp=vp->v_mount; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | ppp_deflate.c | 108 struct mbuf *mp, int slen, int maxolen); 261 z_compress(arg, mret, mp, orig_len, maxolen) 264 struct mbuf *mp; /* uncompressed packet (in) */ 275 rptr = mtod(mp, u_char *); 321 state->strm.avail_in = mtod(mp, u_char *) + mp->m_len - rptr; 322 mp = mp->m_next; 323 flush = (mp == NULL)? Z_PACKET_FLUSH: Z_NO_FLUSH; 334 if (state->strm.avail_in == 0 && mp ! [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6_input.c | 1036 ip6_hopopts_input(plenp, rtalertp, mp, offp) 1039 struct mbuf **mp; 1042 struct mbuf *m = *mp; 1079 *mp = m; 1297 ip6_savecontrol(in6p, mp, ip6, m) 1299 struct mbuf **mp; 1310 *mp = sbcreatecontrol((caddr_t) &tv, sizeof(tv), 1312 if (*mp) { 1313 mp = &(*mp) [all...] |
H A D | ipsec6.h | 66 struct mbuf **mp);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_vfsops.c | 465 nfs_vfs_getattr(mount_t mp, struct vfs_attr *fsap, vfs_context_t ctx) argument 471 if (!(nmp = VFSTONFS(mp))) 539 nfsm_assert(error, VFSTONFS(mp), ENXIO); 833 mount_t mp = NULL; local 916 if ((error = nfs_mount_diskless(&nd.nd_root, "/", flags, &vp, &mp, ctx))) 918 if ((error = nfs_mount_diskless(&nd.nd_root, "/", MNT_ROOTFS, &vp, &mp, ctx))) 941 vfs_unbusy(mp); 942 mount_list_add(mp); 984 mount_t mp; local 988 if ((error = vfs_rootmountalloc("nfs", ndmntp->ndm_host, &mp))) { 1049 mount_t mp; local 1211 nfs_vfs_mount(mount_t mp, vnode_t vp, user_addr_t data, vfs_context_t ctx) argument 1498 mountnfs( struct user_nfs_args *argp, mount_t mp, mbuf_t nam, vfs_context_t ctx, vnode_t *vpp) argument 1812 nfs_vfs_unmount( mount_t mp, int mntflags, __unused vfs_context_t ctx) argument 1967 nfs_vfs_root(mount_t mp, vnode_t *vpp, __unused vfs_context_t ctx) argument 1993 nfs_vfs_quotactl( __unused mount_t mp, __unused int cmds, __unused uid_t uid, __unused caddr_t datap, __unused vfs_context_t context) argument 2281 nfs_vfs_quotactl(mount_t mp, int cmds, uid_t uid, caddr_t datap, vfs_context_t ctx) argument 2357 nfs_vfs_sync(mount_t mp, int waitfor, vfs_context_t ctx) argument 2376 nfs_vfs_vget( __unused mount_t mp, __unused ino64_t ino, __unused vnode_t *vpp, __unused vfs_context_t ctx) argument 2391 nfs_vfs_fhtovp( __unused mount_t mp, __unused int fhlen, __unused unsigned char *fhp, __unused vnode_t *vpp, __unused vfs_context_t ctx) argument 2422 nfs_vfs_start( __unused mount_t mp, __unused int flags, __unused vfs_context_t ctx) argument 2442 mount_t mp; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_lookup.c | 498 mount_t mp; /* mount table entry */ local 773 if ((dp->v_type == VDIR) && (mp = dp->v_mountedhere)) { 776 mp->mnt_crossref++; 780 if (vfs_busy(mp, vbusyflags)) { 781 mount_dropcrossref(mp, dp, 0); 802 error = VFS_ROOT(mp, &tdp, ctx); 809 mount_dropcrossref(mp, dp, 1); 811 vfs_unbusy(mp); 834 mp = mounted_on_dp->v_mountedhere; 836 if (mp) { 1303 struct mount *mp = NULL; local [all...] |
H A D | vfs_fslog.c | 408 mount_t mp; local 413 mp = vnode_mount(vp); 414 /* mp should be NULL only for bdevvp during boot */ 415 if (mp == NULL) { 418 sp = vfs_statfs(mp);
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_framework.h | 172 void mac_devfs_label_update(struct mount *mp, struct devnode *de, 244 int mac_mount_check_fsctl(vfs_context_t ctx, struct mount *mp, 246 int mac_mount_check_getattr(vfs_context_t ctx, struct mount *mp, 248 int mac_mount_check_label_update(vfs_context_t ctx, struct mount *mp); 251 int mac_mount_check_remount(vfs_context_t ctx, struct mount *mp); 252 int mac_mount_check_setattr(vfs_context_t ctx, struct mount *mp, 254 int mac_mount_check_stat(vfs_context_t ctx, struct mount *mp); 255 int mac_mount_check_umount(vfs_context_t ctx, struct mount *mp); 256 void mac_mount_label_associate(vfs_context_t ctx, struct mount *mp); 257 void mac_mount_label_destroy(struct mount *mp); [all...] |
H A D | mac_vfs_subr.c | 46 vnode_label(struct mount *mp, struct vnode *dvp, struct vnode *vp, argument 74 mp, dvp, vp, cnp); 76 error = mac_vnode_label_associate(mp, vp, ctx);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/ |
H A D | synthfs_util.c | 91 synthfs_newnode(mount_t mp, vnode_t dp, const char *name, unsigned long nodeid, argument 126 vfsp.vnfs_mp = mp; 208 int synthfs_new_directory(struct mount *mp, struct vnode *dp, const char *name, unsigned long nodeid, mode_t mode, struct proc *p, struct vnode **vpp) { argument 213 result = synthfs_newnode(mp, dp, name, nodeid, mode, p, VDIR, &vp); 253 struct mount *mp, 265 result = synthfs_newnode(mp, dp, name, nodeid, 0, p, VLNK, &vp); 252 synthfs_new_symlink( struct mount *mp, struct vnode *dp, const char *name, unsigned long nodeid, char *targetstring, struct proc *p, struct vnode **vpp) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | at_pcb.h | 135 void ddp_putmsg(gref_t *gref, gbuf_t *mp);
|
H A D | ddp_r_rtmp.c | 112 void rtmp_router_input(mp, ifID) 113 register gbuf_t *mp; 116 register at_ddp_t *ddp = (at_ddp_t *)gbuf_rptr(mp); 128 gbuf_freem(mp); 137 if (gbuf_type(mp) != MSG_DATA) { 145 gbuf_freem(mp); 158 tuples = gbuf_len(mp) - DDP_X_HDR_SIZE - RTMP_IDLENGTH; 164 gbuf_freem(mp); 169 gbuf_freem(mp); 178 gbuf_freem(mp); [all...] |
H A D | ddp.h | 181 void ddp_putmsg(gref_t *gref, gbuf_t *mp); 223 gbuf_t *mp,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | Makefile | 26 mp.h \
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | ppc_init.c | 148 mapping_t *mp; local 178 mp = (mapping_t *)BootProcInfo.ppUMWmp; 179 mp->mpFlags = 0x01000000 | mpLinkage | mpPerm | 1; 180 mp->mpSpace = invalSpace;
|
H A D | vmachmon.c | 979 register mapping_t *mp; local 1003 mp = mapping_find(map->pmap, cva, &nextva, 0); 1005 if (mp) break; /* Got it */ 1022 if (mpNormal != (mp->mpFlags & mpType)) { 1024 mapping_drop_busy(mp); /* Un-pin host mapping */ 1029 physent = mapping_phys_lookup(mp->mpPAddr, &pindex); 1031 mapping_drop_busy(mp); 1041 hw_add_map_gv(map->pmap, pmap, gva, mflags, mp->mpPAddr); 1044 mapping_drop_busy(mp); /* Un-pin host mapping */ 1049 mp 1239 register mapping_t *mp; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/i386/ |
H A D | pe_kprintf.c | 37 #include <i386/mp.h>
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/union/ |
H A D | union.h | 182 #define MOUNTTOUNIONMOUNT(mp) ((struct union_mount *)((mp)->mnt_data))
|