Searched refs:M_WAITOK (Results 151 - 175 of 211) sorted by relevance

123456789

/xnu-2782.1.97/bsd/nfs/
H A Dnfs_socket.c488 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 Dvfs_subr.c981 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 Dvfs_journal.c843 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 Dnd6_rtr.c575 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 Din6_ifattach.c724 M_WAITOK|M_ZERO);
H A Din6_pcb.c670 MALLOC(sin6, struct sockaddr_in6 *, sizeof (*sin6), M_SONAME, M_WAITOK);
H A Draw_ip6.c774 sizeof(struct icmp6_filter), M_PCB, M_WAITOK);
/xnu-2782.1.97/bsd/kern/
H A Dkern_event.c1169 M_WAITOK);
2708 size * sizeof(struct klist *), M_KQUEUE, M_WAITOK);
3393 buf = _MALLOC(item_size, M_TEMP, M_WAITOK | M_ZERO);
H A Dkern_exit.c425 sizeof (*rup), M_ZOMBIE, M_WAITOK);
1841 sizeof (*rup), M_ZOMBIE, M_WAITOK);
H A Dkern_mman.c1168 MALLOC_ZONE(vpath, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dkern_subr.c319 hashsize * sizeof(*hashtbl), type, M_WAITOK|M_ZERO);
/xnu-2782.1.97/bsd/netinet/
H A Digmp.c555 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 Din.c1356 ia = in_ifaddr_alloc(M_WAITOK);
1820 M_WAITOK, 0);
2013 inifa = (how == M_WAITOK) ? zalloc(inifa_zone) :
H A Din_arp.c265 la = (how == M_WAITOK) ? zalloc(llinfo_arp_zone) :
747 rt->rt_llinfo = la = arp_llinfo_alloc(M_WAITOK);
H A Din_tclass.c583 buf = _MALLOC(len, M_TEMP, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/hfs/
H A Dhfs_vnops.c304 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 Dhfs_cnode.c401 MALLOC(lookup_rsrc, struct cat_lookup_buffer*, sizeof (struct cat_lookup_buffer), M_TEMP, M_WAITOK);
1266 M_HFSFORK, M_WAITOK);
H A Dhfs_vfsutils.c938 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 Dif_bridge.c1172 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 Dpacket_mangler.c230 M_WAITOK | M_ZERO);
H A Dpktap.c216 M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsm.c93 rec = malloc(sizeof(*rec), M_AUDITBSM, M_WAITOK);
146 rec->data = malloc(tot_rec_size, M_AUDITBSM, M_WAITOK | M_ZERO);
H A Daudit_syscalls.c192 rec = malloc(uap->length, M_AUDITDATA, M_WAITOK);
/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_subr.c531 ifqs = _MALLOC(sizeof (*ifqs), M_TEMP, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/sys/
H A Dmbuf.h1085 #define M_WAIT M_WAITOK

Completed in 445 milliseconds

123456789