Searched refs:M_WAITOK (Results 176 - 200 of 211) sorted by relevance

123456789

/xnu-2782.1.97/bsd/vfs/
H A Dvfs_quota.c617 ndq = (struct dquot *)_MALLOC(sizeof *dq, M_DQUOT, M_WAITOK);
H A Dvfs_utfconv.c807 MALLOC(unistr, u_int16_t *, unicode_bytes, M_TEMP, M_WAITOK);
H A Dvfs_vnops.c776 M_TEMP, M_WAITOK);
H A Dvfs_bio.c423 MALLOC(bap, bufattr_t, sizeof(struct bufattr), M_TEMP, M_WAITOK);
440 MALLOC(new_bufattr, bufattr_t, sizeof(struct bufattr), M_TEMP, M_WAITOK);
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c3997 MALLOC (summary_table, uint8_t*, summary_size_bytes, M_TEMP, M_WAITOK);
4075 MALLOC (newtable, uint8_t*, summarybytes, M_TEMP, M_WAITOK);
/xnu-2782.1.97/bsd/net/pktsched/
H A Dpktsched_hfsc.c203 hif = (how == M_WAITOK) ? zalloc(hfsc_zone) : zalloc_noblock(hfsc_zone);
218 hif->hif_maxclasses, M_DEVBUF, M_WAITOK|M_ZERO)) == NULL) {
/xnu-2782.1.97/bsd/netinet/
H A Dtcp_subr.c1512 inp_list = _MALLOC(n * sizeof *inp_list, M_TEMP, M_WAITOK);
1696 inp_list = _MALLOC(n * sizeof *inp_list, M_TEMP, M_WAITOK);
H A Dudp_usrreq.c1030 inp_list = _MALLOC(n * sizeof (*inp_list), M_TEMP, M_WAITOK);
1136 inp_list = _MALLOC(n * sizeof (*inp_list), M_TEMP, M_WAITOK);
H A Dmptcp_subr.c475 mpo = (how == M_WAITOK) ? zalloc(mptopt_zone) :
564 mpts = (how == M_WAITOK) ? zalloc(mptsub_zone) :
1171 sockaddrlist_dup(mpts->mpts_dst_sl, M_WAITOK);
4914 flows = _MALLOC(len, M_TEMP, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/netinet6/
H A Dmld6.c723 mli = (how == M_WAITOK) ? zalloc(mli_zone) : zalloc_noblock(mli_zone);
3456 im6o = ip6_allocmoptions(M_WAITOK);
H A Din6_src.c1647 M_WAITOK);
H A Din6.c2181 how = !(ifaupflags & IN6_IFAUPDATE_NOWAIT) ? M_WAITOK : 0;
3624 M_WAITOK);
3724 in6ifa = (how == M_WAITOK) ? zalloc(in6ifa_zone) :
H A Dip6_output.c2824 opt = _MALLOC(sizeof (*opt), M_IP6OPT, M_WAITOK);
2873 opt = _MALLOC(sizeof (*opt), M_IP6OPT, M_WAITOK);
3231 im6o = (how == M_WAITOK) ?
H A Dipsec.c1399 p = (struct inpcbpolicy *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK);
1508 M_SECA, M_WAITOK);
/xnu-2782.1.97/bsd/hfs/
H A Dhfs_search.c292 MALLOC( attributesBuffer, void *, eachReturnBufferSize, M_TEMP, M_WAITOK );
/xnu-2782.1.97/bsd/kern/
H A Dkpi_mbuf.c890 return how == M_WAITOK ? ENOMEM : EWOULDBLOCK;
1167 * 4) mbuf_copyback allows the caller to specify M_WAITOK or M_NOWAIT
H A Dmcache.c303 int malloc_wait = (wait & MCR_NOSLEEP) ? M_NOWAIT : M_WAITOK;
H A Duipc_socket.c528 M_WAITOK);
536 /* Convert waitok to M_WAITOK/M_NOWAIT for MAC Framework. */
728 * socreate_internal since it calls soalloc with M_WAITOK
6141 se = (how == M_WAITOK) ? zalloc(se_zone) : zalloc_noblock(se_zone);
6185 sl = (how == M_WAITOK) ? zalloc(sl_zone) : zalloc_noblock(sl_zone);
H A Dkern_resource.c1415 sizeof(struct plimit), M_PLIMIT, M_WAITOK);
H A Dkern_sysctl.c414 MALLOC(buf, struct _processor_statistics_np*, size, M_TEMP, M_ZERO | M_WAITOK);
H A Dtty.c3074 MALLOC(tp, struct tty *, sizeof(struct tty), M_TTYS, M_WAITOK|M_ZERO);
/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_sfb.c1007 fce = flowadv_alloc_entry(M_WAITOK);
/xnu-2782.1.97/bsd/net/
H A Ddlil.c5168 IGMP_IFINFO(ifp) = igmp_domifattach(ifp, M_WAITOK);
5177 MLD_IFINFO(ifp) = mld_domifattach(ifp, M_WAITOK);
5273 ifa = _MALLOC(ifasize, M_IFADDR, M_WAITOK | M_ZERO);
5984 M_NKE, M_WAITOK);
7339 m = m_getcl(M_WAITOK, MT_DATA, M_PKTHDR);
/xnu-2782.1.97/bsd/nfs/
H A Dnfs_vnops.c1349 MALLOC(name, char *, namelen + 1, M_TEMP, M_WAITOK);
1359 MALLOC(fhp, uint8_t *, NFS4_FHSIZE, M_TEMP, M_WAITOK);
5243 sizeof(struct nfsdmap), M_NFSDIROFF, M_WAITOK);
5959 sizeof (struct nfs_sillyrename), M_NFSREQ, M_WAITOK);
6158 MALLOC_ZONE(np->n_fhp, u_char *, fh.fh_len, M_NFSBIGFH, M_WAITOK);
6222 MALLOC(dulp->du_cn.cn_nameptr, char *, du_namelen + 1, M_TEMP, M_WAITOK);
/xnu-2782.1.97/bsd/miscfs/specfs/
H A Dspec_vnops.c1364 MALLOC(info, struct _throttle_io_info_t *, sizeof(*info), M_TEMP, M_ZERO | M_WAITOK);

Completed in 498 milliseconds

123456789