/xnu-2782.1.97/bsd/kern/ |
H A D | proc_uuid_policy.c | 130 MALLOC(entry, struct proc_uuid_policy_entry *, sizeof(*entry), M_PROC_UUID_POLICY, M_WAITOK|M_ZERO);
|
H A D | sysv_shm.c | 392 MALLOC(shmmap_s, struct shmmap_state *, size, M_SHM, M_WAITOK); 766 MALLOC(shm_handle, struct shm_handle *, sizeof(struct shm_handle), M_SHM, M_WAITOK); 924 MALLOC(shmmap_s, struct shmmap_state *, size, M_SHM, M_WAITOK); 1000 MALLOC(shmsegs, struct shmid_kernel *, s, M_SHM, M_WAITOK);
|
H A D | uipc_syscalls.c | 1404 M_TEMP, M_WAITOK | M_ZERO); 1411 M_TEMP, M_WAITOK | M_ZERO); 1422 M_TEMP, M_WAITOK | M_ZERO); 1982 M_TEMP, M_WAITOK | M_ZERO); 1989 M_TEMP, M_WAITOK | M_ZERO); 1999 umsgp = _MALLOC(uap->cnt * size_of_msghdr, M_TEMP, M_WAITOK | M_ZERO); 2484 MALLOC(sa, struct sockaddr *, len, M_SONAME, M_WAITOK | M_ZERO); 2563 sl = sockaddrlist_alloc(M_WAITOK); 2598 se = sockaddrentry_alloc(M_WAITOK);
|
H A D | kern_control.c | 252 MALLOC(kcb, struct ctl_cb *, sizeof(struct ctl_cb), M_TEMP, M_WAITOK); 998 M_WAITOK); 1023 M_WAITOK); 1132 MALLOC(kctl, struct kctl *, sizeof(*kctl), M_TEMP, M_WAITOK); 1570 buf = _MALLOC(item_size, M_TEMP, M_WAITOK | M_ZERO); 1681 buf = _MALLOC(item_size, M_TEMP, M_WAITOK | M_ZERO);
|
H A D | kern_newsysctl.c | 156 MALLOC(oidp, struct sysctl_oid *, sizeof(*oidp), M_TEMP, M_WAITOK | M_ZERO); 971 MALLOC(p, char *,req->newlen+1, M_TEMP, M_WAITOK); 1614 MALLOC(namestring, char *, namestringlen, M_TEMP, M_WAITOK); 1648 MALLOC(name, char *, namelen+1, M_TEMP, M_WAITOK);
|
H A D | sysv_msg.c | 249 msgpool = (char *)_MALLOC(msginfo.msgmax, M_SHM, M_WAITOK); 256 M_SHM, M_WAITOK); 264 M_SHM, M_WAITOK); 272 M_SHM, M_WAITOK);
|
H A D | sysv_sem.c | 288 M_SYSVSEM, M_WAITOK | M_ZERO); 350 M_SYSVSEM, M_WAITOK | M_ZERO); 431 M_SYSVSEM, M_WAITOK | M_ZERO); 619 M_SYSVSEM, M_WAITOK);
|
/xnu-2782.1.97/bsd/miscfs/mockfs/ |
H A D | mockfs_fsnode.c | 87 MALLOC(*fsnpp, typeof(*fsnpp), sizeof(**fsnpp), M_TEMP, M_WAITOK | M_ZERO);
|
/xnu-2782.1.97/bsd/net/altq/ |
H A D | altq_cbq.c | 118 cbqp = cbq_alloc(ifp, M_WAITOK, TRUE);
|
H A D | altq_hfsc.c | 120 hif = hfsc_alloc(ifp, M_WAITOK, TRUE);
|
/xnu-2782.1.97/bsd/net/ |
H A D | devtimer.c | 179 timer = _MALLOC(sizeof(*timer), M_DEVTIMER, M_WAITOK);
|
H A D | if_llreach.c | 330 lr = iflr_alloc(M_WAITOK); 482 lr = (how == M_WAITOK) ? zalloc(iflr_zone) : zalloc_noblock(iflr_zone);
|
H A D | if_pflog.c | 150 M_DEVBUF, M_WAITOK|M_ZERO)) == NULL) {
|
/xnu-2782.1.97/bsd/netinet6/ |
H A D | nd6_send.c | 120 M_WAITOK);
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_gss.c | 447 MALLOC(cp, struct nfs_gss_clnt_ctx *, sizeof(*cp), M_TEMP, M_WAITOK|M_ZERO); 559 MALLOC(gsp, struct gss_seq *, sizeof(*gsp), M_TEMP, M_WAITOK|M_ZERO); 760 MALLOC(cp->gss_clnt_verf, u_char *, verflen, M_TEMP, M_WAITOK|M_ZERO); 1130 nfsm_rndup((cp->gss_clnt_seqwin + 7) / 8), M_TEMP, M_WAITOK|M_ZERO); 1282 MALLOC(cp->gss_clnt_handle, u_char *, cp->gss_clnt_handle_len, M_TEMP, M_WAITOK); 1296 MALLOC(cp->gss_clnt_token, u_char *, cp->gss_clnt_tokenlen, M_TEMP, M_WAITOK); 1345 MALLOC(svcname, char *, *len, M_TEMP, M_WAITOK); 1369 MALLOC(svcname, char *, *len, M_TEMP, M_WAITOK); 1531 MALLOC(principal, uint8_t *, plen, M_TEMP, M_WAITOK | M_ZERO); 1604 MALLOC(cp->gss_clnt_display, char *, dlen, M_TEMP, M_WAITOK); [all...] |
H A D | nfs_upcall.c | 369 MALLOC(arg, struct nfsrv_uc_arg *, sizeof (struct nfsrv_uc_arg), M_NFSSVC, M_WAITOK | M_ZERO);
|
H A D | nfs_vfsops.c | 1288 mp = _MALLOC_ZONE((u_int32_t)sizeof(struct mount), M_MOUNT, M_WAITOK); 1482 MALLOC_ZONE(mntfrom, char*, MAXPATHLEN, M_NAMEI, M_WAITOK); 1982 MALLOC_ZONE(link, char *, MAXPATHLEN, M_NAMEI, M_WAITOK); 2042 MALLOC(nfsp2.np_components, char **, nfsp2.np_compcount*sizeof(char*), M_TEMP, M_WAITOK|M_ZERO); 2057 MALLOC(nfsp2.np_components[newcomp], char *, q-p+1, M_TEMP, M_WAITOK|M_ZERO); 2148 MALLOC(fspath.np_components, char **, fspath.np_compcount*sizeof(char*), M_TEMP, M_WAITOK|M_ZERO); 2155 MALLOC(fspath.np_components[comp], char *, slen+1, M_TEMP, M_WAITOK|M_ZERO); 2320 MALLOC(fspath2.np_components, char **, fspath2.np_compcount*sizeof(char*), M_TEMP, M_WAITOK|M_ZERO); 2327 MALLOC(fspath2.np_components[comp2], char *, slen+1, M_TEMP, M_WAITOK|M_ZERO); 2668 sizeof (struct nfsmount), M_NFSMNT, M_WAITOK); [all...] |
/xnu-2782.1.97/osfmk/device/ |
H A D | subrs.c | 535 * it calls MALLOC with M_WAITOK. In fact, you really 551 MALLOC(copy, char *, len, type, M_WAITOK);
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_hotfiles.c | 266 MALLOC(hotdata, hotfile_data_t *, size, M_TEMP, M_WAITOK); 366 MALLOC(listp, hotfilelist_t *, size, M_TEMP, M_WAITOK); 584 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 980 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 1105 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 1315 MALLOC(iterator, BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 1514 MALLOC(iterator, BTreeIterator *, 2 * sizeof(*iterator), M_TEMP, M_WAITOK);
|
H A D | hfs_cprotect.c | 1259 MALLOC (newxattr, struct cp_xattr_v4*, sizeof(struct cp_xattr_v4), M_TEMP, M_WAITOK); 1283 MALLOC (newxattr, struct cp_xattr_v2*, sizeof(struct cp_xattr_v2), M_TEMP, M_WAITOK); 1433 M_TEMP, M_WAITOK); 1476 MALLOC (xattr, struct cp_xattr_v4*, sizeof(struct cp_xattr_v4), M_TEMP, M_WAITOK); 1560 MALLOC (xattr, struct cp_xattr_v2*, sizeof(struct cp_xattr_v2), M_TEMP, M_WAITOK);
|
H A D | hfs_resize.c | 1417 sizeof(HFSPlusAttrRecord), M_TEMP, M_WAITOK); 1435 sizeof(HFSPlusExtentRecord), M_TEMP, M_WAITOK); 2037 sizeof(struct hfs_reclaim_extent_info), M_TEMP, M_WAITOK); 2121 sizeof(struct cat_desc), M_TEMP, M_WAITOK); 2123 sizeof(struct cat_attr), M_TEMP, M_WAITOK); 2125 sizeof(struct filefork), M_TEMP, M_WAITOK); 2185 MALLOC(extent_info->iterator, struct BTreeIterator *, sizeof(struct BTreeIterator), M_TEMP, M_WAITOK); 2798 sizeof(struct hfs_reclaim_extent_info), M_TEMP, M_WAITOK); 2813 sizeof(struct BTreeIterator), M_TEMP, M_WAITOK);
|
H A D | hfs_chash.c | 404 MALLOC_ZONE(ncp, struct cnode *, sizeof(struct cnode), M_HFSNODE, M_WAITOK);
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_fsevents.c | 935 M_TEMP, M_WAITOK); 1748 M_TEMP, M_WAITOK); 2229 M_TEMP, M_WAITOK); 2239 M_TEMP, M_WAITOK); 2364 MALLOC_ZONE(path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK); 2488 MALLOC_ZONE(path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
|
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | blist.c | 180 bl = malloc(sizeof(struct blist), M_SWAP, M_WAITOK); 189 bl->bl_root = malloc(sizeof(blmeta_t) * bl->bl_rootblks, M_SWAP, M_WAITOK);
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | in_pcblist.c | 310 buf = _MALLOC(item_size, M_TEMP, M_WAITOK); 316 inp_list = _MALLOC(n * sizeof (*inp_list), M_TEMP, M_WAITOK);
|