/darwin-on-arm/xnu/security/ |
H A D | mac_vfs.c | 121 mac_mount_label_init(struct mount *mp) argument 124 mp->mnt_mntlabel = mac_mount_label_alloc(); 188 mac_mount_label_destroy(struct mount *mp) argument 190 if (mp->mnt_mntlabel != NULL) { 191 mac_mount_label_free(mp->mnt_mntlabel); 192 mp->mnt_mntlabel = NULL; 288 mac_devfs_label_update(struct mount *mp, struct devnode *de, argument 295 MAC_PERFORM(devfs_label_update, mp, de, de->dn_label, vp, 300 mac_vnode_label_associate(struct mount *mp, struct vnode *vp, vfs_context_t ctx) argument 313 mac_vnode_label_associate_devfs(mp, dn 328 mac_vnode_label_associate_devfs(struct mount *mp, struct devnode *de, struct vnode *vp) argument 341 mac_vnode_label_associate_extattr(struct mount *mp, struct vnode *vp) argument 352 mac_vnode_label_associate_singlelabel(struct mount *mp, struct vnode *vp) argument 363 mac_vnode_notify_create(vfs_context_t ctx, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument 414 mac_vnode_label_update_extattr(struct mount *mp, struct vnode *vp, const char *name) argument 1198 mac_mount_label_associate(vfs_context_t ctx, struct mount *mp) argument 1264 mac_mount_check_remount(vfs_context_t ctx, struct mount *mp) argument 1280 mac_mount_check_umount(vfs_context_t ctx, struct mount *mp) argument 1296 mac_mount_check_getattr(vfs_context_t ctx, struct mount *mp, struct vfs_attr *vfa) argument 1312 mac_mount_check_setattr(vfs_context_t ctx, struct mount *mp, struct vfs_attr *vfa) argument 1360 mac_mount_check_fsctl(vfs_context_t ctx, struct mount *mp, u_int cmd) argument 1445 mac_vnode_label_associate_fdesc(struct mount *mp, struct fdescnode *fnp, struct vnode *vp, vfs_context_t ctx) argument [all...] |
H A D | mac_vfs_subr.c | 45 vnode_label(struct mount *mp, struct vnode *dvp, struct vnode *vp, argument 57 mp, dvp, vp, cnp); 88 mp, dvp, vp, cnp); 90 error = mac_vnode_label_associate(mp, vp, ctx);
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | kpi_vfs.c | 221 VFS_MOUNT(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t ctx) argument 229 if ((mp == dead_mountp) || (mp->mnt_op->vfs_mount == 0)) 233 thread_safe = (mp->mnt_vtable->vfc_vfsflags & VFC_VFSTHREADSAFE); 240 if (vfs_64bitready(mp)) { 241 error = (*mp->mnt_op->vfs_mount)(mp, devvp, data, ctx); 248 error = (*mp->mnt_op->vfs_mount)(mp, devvp, data, ctx); 261 VFS_START(mount_t mp, in argument 291 VFS_UNMOUNT(mount_t mp, int flags, vfs_context_t ctx) argument 338 VFS_ROOT(mount_t mp, struct vnode ** vpp, vfs_context_t ctx) argument 372 VFS_QUOTACTL(mount_t mp, int cmd, uid_t uid, caddr_t datap, vfs_context_t ctx) argument 402 VFS_GETATTR(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument 436 VFS_SETATTR(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument 470 VFS_SYNC(mount_t mp, int flags, vfs_context_t ctx) argument 504 VFS_VGET(mount_t mp, ino64_t ino, struct vnode **vpp, vfs_context_t ctx) argument 538 VFS_FHTOVP(mount_t mp, int fhlen, unsigned char * fhp, vnode_t * vpp, vfs_context_t ctx) argument 608 vfs_throttle_mask(mount_t mp) argument 615 vfs_name(mount_t mp, char * buffer) argument 622 vfs_typenum(mount_t mp) argument 629 vfs_mntlabel(mount_t mp) argument 636 vfs_flags(mount_t mp) argument 643 vfs_setflags(mount_t mp, uint64_t flags) argument 665 vfs_iswriteupgrade(mount_t mp) argument 673 vfs_isrdonly(mount_t mp) argument 680 vfs_issynchronous(mount_t mp) argument 687 vfs_isrdwr(mount_t mp) argument 695 vfs_isupdate(mount_t mp) argument 703 vfs_isreload(mount_t mp) argument 710 vfs_isforce(mount_t mp) argument 719 vfs_isunmount(mount_t mp) argument 729 vfs_64bitready(mount_t mp) argument 739 vfs_authcache_ttl(mount_t mp) argument 748 vfs_setauthcache_ttl(mount_t mp, int ttl) argument 757 vfs_clearauthcache_ttl(mount_t mp) argument 770 vfs_markdependency(mount_t mp) argument 781 vfs_authopaque(mount_t mp) argument 790 vfs_authopaqueaccess(mount_t mp) argument 799 vfs_setauthopaque(mount_t mp) argument 807 vfs_setauthopaqueaccess(mount_t mp) argument 815 vfs_clearauthopaque(mount_t mp) argument 823 vfs_clearauthopaqueaccess(mount_t mp) argument 831 vfs_setextendedsecurity(mount_t mp) argument 839 vfs_clearextendedsecurity(mount_t mp) argument 847 vfs_extendedsecurity(mount_t mp) argument 854 vfs_maxsymlen(mount_t mp) argument 861 vfs_setmaxsymlen(mount_t mp, uint32_t symlen) argument 868 vfs_statfs(mount_t mp) argument 874 vfs_getattr(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument 893 vfs_setattr(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) argument 912 vfs_fsprivate(mount_t mp) argument 919 vfs_setfsprivate(mount_t mp, void *mntdata) argument 932 vfs_devblocksize(mount_t mp) argument 941 vfs_vnodecovered(mount_t mp) argument 961 vfs_devvp(mount_t mp) argument 976 vfs_ioattr(mount_t mp, struct vfsioattr *ioattrp) argument 1006 vfs_setioattr(mount_t mp, struct vfsioattr * ioattrp) argument 1622 mount_t mp; local 2937 mount_t mp; local [all...] |
H A D | vfs_syscalls.c | 146 void enablequotas(struct mount *mp, vfs_context_t ctx); 147 static int getfsstat_callback(mount_t mp, void * arg); 151 static int munge_statfs(struct mount *mp, struct vfsstatfs *sfsp, 154 static int statfs64_common(struct mount *mp, struct vfsstatfs *sfsp, 166 static int authorize_devpath_and_update_mntfromname(mount_t mp, user_addr_t devpath, vnode_t *devvpp, vfs_context_t ctx); 167 static int place_mount_and_checkdirs(mount_t mp, vnode_t vp, vfs_context_t ctx); 168 static void undo_place_on_covered_vp(mount_t mp, vnode_t vp); 169 static int mount_begin_update(mount_t mp, vfs_context_t ctx, int flags); 170 static void mount_end_update(mount_t mp); 209 vfs_iskernelmount(mount_t mp) argument 434 struct mount *mp; local 1093 authorize_devpath_and_update_mntfromname(mount_t mp, user_addr_t devpath, vnode_t *devvpp, vfs_context_t ctx) argument 1167 place_mount_and_checkdirs(mount_t mp, vnode_t vp, vfs_context_t ctx) argument 1210 undo_place_on_covered_vp(mount_t mp, vnode_t vp) argument 1221 mount_begin_update(mount_t mp, vfs_context_t ctx, int flags) argument 1269 mount_end_update(mount_t mp) argument 1298 mount_t mp; local 1513 enablequotas(struct mount *mp, vfs_context_t ctx) argument 1656 struct mount *mp; local 1693 mount_t mp; local 1711 safedounmount(struct mount *mp, int flags, vfs_context_t ctx) argument 1765 dounmount(struct mount *mp, int flags, int withref, vfs_context_t ctx) argument 1986 mount_dropcrossref(mount_t mp, vnode_t dp, int need_put) argument 2024 sync_callback(mount_t mp, void * arg) argument 2092 struct mount *mp; local 2203 struct mount *mp; local 2237 struct mount *mp; local 2277 statfs64_common(struct mount *mp, struct vfsstatfs *sfsp, user_addr_t bufp) argument 2315 struct mount *mp; local 2349 struct mount *mp; local 2387 user_addr_t *mp; member in struct:getfsstat_struct 2396 getfsstat_callback(mount_t mp, void * arg) argument 2479 user_addr_t *mp; local 2563 getfsstat64_callback(mount_t mp, void * arg) argument 2644 struct mount *mp; local 6356 struct mount *mp; local 8404 mount_t mp = vp->v_mount; local 9212 struct mount *mp = NULL; local 9282 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...] |
/darwin-on-arm/xnu/bsd/netat/ |
H A D | atp_open.c | 74 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 D | ddp_rtmp.c | 255 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 D | adsp_Packet.c | 551 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 D | adsp_Open.c | 142 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 D | ddp_brt.c | 78 void ddp_glean(mp, ifID, src_addr) 79 register gbuf_t *mp; 98 dgp = (at_ddp_t *)(gbuf_rptr(mp));
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | iptap.c | 128 iptap_ipf_input(struct ifnet *ifp, protocol_family_t proto, struct mbuf *mp, char *frame_header) argument 133 char *hdr = (char *)mbuf_data(mp); 134 size_t start = (size_t)((char*)mbuf_datastart(mp)); 135 size_t o_len = mp->m_len; 138 if (mbuf_setdata(mp, frame_header, o_len + ((size_t)hdr - (size_t)frame_header)) == 0) { 139 iptap_enqueue_mbuf(ifp, proto, mp, ((size_t)hdr - (size_t)frame_header), 0, IPTAP_INPUT_TAG); 140 mbuf_setdata(mp, hdr, o_len); 143 iptap_enqueue_mbuf(ifp, proto, mp, 0, 0, IPTAP_INPUT_TAG); 153 iptap_ipf_output(struct ifnet *ifp, protocol_family_t proto, struct mbuf *mp, u_int32_t pre, u_int32_t post) argument 157 iptap_enqueue_mbuf(ifp, proto, mp, pr 164 iptap_enqueue_mbuf(struct ifnet *ifp, protocol_family_t proto, struct mbuf *mp, u_int32_t pre, u_int32_t post, u_int8_t io) argument [all...] |
H A D | ppp_comp.h | 90 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 D | radix.c | 561 u_char *mp = m_arg, *np = n_arg, *lim; local 563 if (*mp > *np) 565 if (*mp == *np) 566 for (lim = mp + *mp; mp < lim;) 567 if (*mp++ > *np++) 604 struct radix_mask *m, **mp; local 691 for (mp = &t->rn_mklist; x; x = x->rn_dupedkey) 693 *mp 752 struct radix_mask *m, *saved_m, **mp; local [all...] |
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...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_notification.c | 94 struct mount *mp = vnode_mount (hfsmp->hfs_backingfs_rootvp); local 96 if (mp) { 98 printf("HFS: Vol: %s Very Low Disk: backingstore b_avail %lld, tag %d\n", volname, mp->mnt_vfsstat.f_bavail, hfsmp->hfs_backingfs_rootvp->v_tag); 101 printf("HFS: Very Low Disk: backingstore b_avail %lld, tag %d\n", mp->mnt_vfsstat.f_bavail, hfsmp->hfs_backingfs_rootvp->v_tag);
|
H A D | hfs_quota.c | 545 hfs_quotaon(p, mp, type, fnamep) 547 struct mount *mp; 551 struct hfsmount *hfsmp = VFSTOHFS(mp); 574 vfs_setflags(mp, (u_int64_t)((unsigned int)MNT_QUOTA)); 610 vnode_iterate(mp, VNODE_WRITEABLE | VNODE_WAIT, hfs_quotaon_callback, (void *)&args); 615 hfs_quotaoff(p, mp, type); 653 hfs_quotaoff(__unused struct proc *p, struct mount *mp, register int type) argument 656 struct hfsmount *hfsmp = VFSTOHFS(mp); 689 vnode_iterate(mp, VNODE_WAIT, hfs_quotaoff_callback, (void *)&args); 706 vfs_clearflags(mp, (u_int64_ [all...] |
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsd.c | 299 _audit_cv_wait(struct cv *cvp, lck_mtx_t *mp, const char *desc) argument 303 (void) msleep(cvp, mp, PZERO, desc, 0); 313 _audit_cv_wait_sig(struct cv *cvp, lck_mtx_t *mp, const char *desc) argument 317 return (msleep(cvp, mp, PSOCK | PCATCH, desc, 0)); 325 _audit_mtx_init(struct mtx *mp, const char *lckname) argument 327 _audit_mtx_init(struct mtx *mp, __unused const char *lckname) 330 mp->mtx_lock = lck_mtx_alloc_init(audit_lck_grp, LCK_ATTR_NULL); 331 KASSERT(mp->mtx_lock != NULL, 334 strlcpy(mp->mtx_name, lckname, AU_MAX_LCK_NAME); 339 _audit_mtx_destroy(struct mtx *mp) argument 381 _audit_cv_wait_continuation(struct cv *cvp, lck_mtx_t *mp, thread_continue_t function) argument [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | mount.h | 527 @param mp Mount structure for the newly mounted filesystem. 534 int (*vfs_mount)(struct mount *mp, vnode_t devvp, user_addr_t data, vfs_context_t context); 541 @param mp Mount structure being activated. 546 int (*vfs_start)(struct mount *mp, int flags, vfs_context_t context); 553 @param mp Mount structure to unmount. 558 int (*vfs_unmount)(struct mount *mp, int mntflags, vfs_context_t context); 565 @param mp Mount for which to get the root. 570 int (*vfs_root)(struct mount *mp, struct vnode **vpp, vfs_context_t context); 575 @param mp Mount for which to manipulate quotas. 582 int (*vfs_quotactl)(struct mount *mp, in [all...] |
H A D | systm.h | 189 void throttle_info_get_last_io_time(mount_t mp, struct timeval *tv); 190 void update_last_io_time(mount_t mp); 226 void throttle_info_mount_ref(mount_t mp, void * throttle_info); 227 void throttle_info_mount_rel(mount_t mp);
|
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | fdesc.h | 97 #define VFSTOFDESC(mp) ((struct fdescmount *)((mp)->mnt_data))
|
H A D | devfs_proto.h | 49 int devfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data,
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | mkheaders.c | 88 struct device *dp, *mp; local 121 mp = dp->d_conn; 122 if (mp != 0 && mp != TO_NEXUS && 123 mp->d_conn != TO_NEXUS) { 133 if (!file_needed(mp->d_name)) 134 do_count(mp->d_name, hname, 0);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ipsec6.h | 66 struct mbuf **mp);
|
H A D | dest6.c | 57 dest6_input(struct mbuf **mp, int *offp, int proto) argument 60 struct mbuf *m = *mp;
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | Makefile | 13 cpu_capabilities.h mp.h io_map_entries.h \
|
/darwin-on-arm/xnu/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 1104 throttle_info_mount_ref(mount_t mp, void *throttle_info) argument 1106 if ((throttle_info == NULL) || (mp == NULL)) 1113 if (mp->mnt_throttle_info) 1114 throttle_info_rel(mp->mnt_throttle_info); 1115 mp->mnt_throttle_info = throttle_info; 1162 throttle_info_mount_rel(mount_t mp) argument 1164 if (mp->mnt_throttle_info) 1165 throttle_info_rel(mp->mnt_throttle_info); 1166 mp->mnt_throttle_info = NULL; 1170 throttle_info_get_last_io_time(mount_t mp, struc argument 1185 update_last_io_time(mount_t mp) argument 1293 throttle_io_will_be_throttled(__unused int lowpri_window_msecs, mount_t mp) argument 1501 throttle_info_update_by_mount(mount_t mp) argument 1628 mount_t mp; local [all...] |