/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_socket.c | 488 MALLOC(nso, struct nfs_socket *, sizeof(struct nfs_socket), M_TEMP, M_WAITOK|M_ZERO); 490 MALLOC(nso->nso_saddr, struct sockaddr *, sa->sa_len, M_SONAME, M_WAITOK|M_ZERO); 1310 MALLOC(nsonfs->nso_saddr2, struct sockaddr *, ss.ss_len, M_SONAME, M_WAITOK|M_ZERO); 1363 MALLOC(fh, fhandle_t *, sizeof(fhandle_t), M_TEMP, M_WAITOK|M_ZERO); 1365 MALLOC_ZONE(path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK); 2332 MALLOC(ncbsp, struct nfs_callback_socket *, sizeof(struct nfs_callback_socket), M_TEMP, M_WAITOK); 3599 MALLOC_ZONE(newreq, struct nfsreq*, sizeof(*newreq), M_NFSREQ, M_WAITOK); 4154 MALLOC(req->r_wrongsec, uint32_t*, NX_MAX_SEC_FLAVORS*sizeof(uint32_t), M_TEMP, M_WAITOK); 6143 sizeof (struct nfsrv_descript), M_NFSRVDESC, M_WAITOK);
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_subr.c | 981 mp = _MALLOC_ZONE(sizeof(struct mount), M_MOUNT, M_WAITOK); 1475 M_SPECINFO, M_WAITOK); 2636 MALLOC(new_exts, char *, (nentries * maxwidth) + 1, M_TEMP, M_WAITOK); 2959 MALLOC_ZONE(mntname, void *, MAXPATHLEN, M_NAMEI, M_WAITOK); 3389 MALLOC(fsidlst, fsid_t *, req->oldlen, M_TEMP, M_WAITOK); 3922 MALLOC_ZONE(vp, struct vnode *, sizeof(*vp), M_VNODE, M_WAITOK); 4798 sizeof(*fip), M_TEMP, M_WAITOK); 8138 MALLOC(rbuf, caddr_t, siz, M_TEMP, M_WAITOK); 8607 MALLOC(rp, vnode_resolve_t, sizeof(*rp), M_TEMP, M_WAITOK);
|
H A D | vfs_journal.c | 843 if ((MALLOC(newBuf, struct bucket *, new_size*sizeof(struct bucket), M_TEMP, M_WAITOK)) == NULL) { 1148 if ((MALLOC(co_buf, struct bucket *, num_buckets*sizeof(struct bucket), M_TEMP, M_WAITOK)) == NULL) { 1698 MALLOC_ZONE(jnl, struct journal *, sizeof(struct journal), M_JNL_JNL, M_WAITOK); 1876 MALLOC_ZONE(jnl, struct journal *, sizeof(struct journal), M_JNL_JNL, M_WAITOK); 2494 MALLOC_ZONE(tr, transaction *, sizeof(transaction), M_JNL_TR, M_WAITOK);
|
/xnu-2782.1.97/bsd/netinet6/ |
H A D | nd6_rtr.c | 575 M_TEMP, M_WAITOK | M_ZERO); 1790 n = nddr_alloc(M_WAITOK); 2108 new = ndpr_alloc(M_WAITOK); 2644 dr = (how == M_WAITOK) ? zalloc(nddr_zone) : zalloc_noblock(nddr_zone); 2777 pr = (how == M_WAITOK) ? zalloc(ndpr_zone) : zalloc_noblock(ndpr_zone);
|
H A D | in6_ifattach.c | 724 M_WAITOK|M_ZERO);
|
H A D | in6_pcb.c | 670 MALLOC(sin6, struct sockaddr_in6 *, sizeof (*sin6), M_SONAME, M_WAITOK);
|
H A D | raw_ip6.c | 774 sizeof(struct icmp6_filter), M_PCB, M_WAITOK);
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_event.c | 1169 M_WAITOK); 2708 size * sizeof(struct klist *), M_KQUEUE, M_WAITOK); 3393 buf = _MALLOC(item_size, M_TEMP, M_WAITOK | M_ZERO);
|
H A D | kern_exit.c | 425 sizeof (*rup), M_ZOMBIE, M_WAITOK); 1841 sizeof (*rup), M_ZOMBIE, M_WAITOK);
|
H A D | kern_mman.c | 1168 MALLOC_ZONE(vpath, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
|
H A D | kern_subr.c | 319 hashsize * sizeof(*hashtbl), type, M_WAITOK|M_ZERO);
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | igmp.c | 555 MGET(m, M_WAITOK, MT_DATA); 734 igi = (how == M_WAITOK) ? zalloc(igi_zone) : zalloc_noblock(igi_zone); 3811 imo = ip_allocmoptions(M_WAITOK);
|
H A D | in.c | 1356 ia = in_ifaddr_alloc(M_WAITOK); 1820 M_WAITOK, 0); 2013 inifa = (how == M_WAITOK) ? zalloc(inifa_zone) :
|
H A D | in_arp.c | 265 la = (how == M_WAITOK) ? zalloc(llinfo_arp_zone) : 747 rt->rt_llinfo = la = arp_llinfo_alloc(M_WAITOK);
|
H A D | in_tclass.c | 583 buf = _MALLOC(len, M_TEMP, M_WAITOK | M_ZERO);
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_vnops.c | 304 MALLOC_ZONE(dp, decmpfs_cnode *, sizeof(decmpfs_cnode), M_DECMPFS_CNODE, M_WAITOK); 2448 MALLOC(data, void *, size, M_TEMP, M_WAITOK); 4077 MALLOC_ZONE (temp_rsrc_fork, struct filefork *, sizeof (struct filefork), M_HFSFORK, M_WAITOK); 5196 MALLOC_ZONE (rsrc_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK); 5773 MALLOC(fp->ff_symlinkptr, char *, fp->ff_size, M_TEMP, M_WAITOK); 6770 MALLOC_ZONE(cn.cn_pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
|
H A D | hfs_cnode.c | 401 MALLOC(lookup_rsrc, struct cat_lookup_buffer*, sizeof (struct cat_lookup_buffer), M_TEMP, M_WAITOK); 1266 M_HFSFORK, M_WAITOK);
|
H A D | hfs_vfsutils.c | 938 MALLOC (xattr, struct cp_root_xattr*, sizeof(struct cp_root_xattr), M_TEMP, M_WAITOK); 1715 MALLOC(iterator, struct BTreeIterator *, sizeof(*iterator), M_TEMP, M_WAITOK); 2190 MALLOC_ZONE(hint, directoryhint_t *, sizeof(directoryhint_t), M_HFSDIRHINT, M_WAITOK); 2330 MALLOC(ustr1, u_int16_t *, maxbytes << 1, M_TEMP, M_WAITOK);
|
/xnu-2782.1.97/bsd/net/ |
H A D | if_bridge.c | 1172 sc = _MALLOC(sizeof (*sc), M_DEVBUF, M_WAITOK | M_ZERO); 2541 outbuf = _MALLOC(buflen, M_TEMP, M_WAITOK | M_ZERO); \ 2621 outbuf = _MALLOC(buflen, M_TEMP, M_WAITOK | M_ZERO); \ 3069 outbuf = _MALLOC(buflen, M_TEMP, M_WAITOK | M_ZERO); \ 4884 M_DEVBUF, M_WAITOK | M_ZERO); 4934 M_DEVBUF, M_WAITOK | M_ZERO);
|
H A D | packet_mangler.c | 230 M_WAITOK | M_ZERO);
|
H A D | pktap.c | 216 M_WAITOK | M_ZERO);
|
/xnu-2782.1.97/bsd/security/audit/ |
H A D | audit_bsm.c | 93 rec = malloc(sizeof(*rec), M_AUDITBSM, M_WAITOK); 146 rec->data = malloc(tot_rec_size, M_AUDITBSM, M_WAITOK | M_ZERO);
|
H A D | audit_syscalls.c | 192 rec = malloc(uap->length, M_AUDITDATA, M_WAITOK);
|
/xnu-2782.1.97/bsd/net/classq/ |
H A D | classq_subr.c | 531 ifqs = _MALLOC(sizeof (*ifqs), M_TEMP, M_WAITOK | M_ZERO);
|
/xnu-2782.1.97/bsd/sys/ |
H A D | mbuf.h | 1085 #define M_WAIT M_WAITOK
|