Searched refs:M_WAIT (Results 1 - 16 of 16) sorted by relevance

/darwin-on-arm/xnu/bsd/netat/
H A Daurp_aurpd.c137 sblock(&so->so_rcv, M_WAIT);
138 sblock(&so->so_snd, M_WAIT);
143 m = m_get(M_WAIT, MT_SOOPTS);
162 m = m_get(M_WAIT, MT_SOOPTS);
337 sblock(&so->so_rcv, M_WAIT);
338 sblock(&so->so_snd, M_WAIT);
H A Dsysglue.h203 #define gbuf_dupb_wait(m, wait) ((gbuf_t *)m_copym(m, 0, gbuf_len(m), (wait)? M_WAIT: M_DONTWAIT))
H A Dsys_glue.c1034 (wait)? M_WAIT: M_DONTWAIT))) {
1039 m = m_gethdr(((wait)? M_WAIT: M_DONTWAIT), MSG_DATA);
1041 MCLGET(m, ((wait)? M_WAIT: M_DONTWAIT));
1100 (wait)? M_WAIT: M_DONTWAIT)) == NULL)
H A Dddp_usrreq.c187 M_PREPEND(m, DDP_X_HDR_SIZE, M_WAIT);
H A Datp_write.c1705 if ((gbuf_cont(mdata) = m_get((M_WAIT), MSG_DATA)) == 0) {
1712 MCLGET(mdata, M_WAIT);
H A Dasp_proto.c1986 if ((gbuf_cont(mdata) = m_get((M_WAIT), MSG_DATA)) == 0) {
1992 MCLGET(mdata, M_WAIT);
/darwin-on-arm/xnu/bsd/net/
H A Dbpf.c355 MGETHDR(m, M_WAIT, MT_DATA);
359 MCLGET(m, M_WAIT);
437 new_dtab = (struct bpf_d **)_MALLOC(sizeof(struct bpf_d *) * new_dtab_size, M_DEVBUF, M_WAIT);
660 d = (struct bpf_d *)_MALLOC(sizeof(struct bpf_d), M_DEVBUF, M_WAIT);
1597 fcode = (struct bpf_insn *) _MALLOC(size, M_DEVBUF, M_WAIT);
2199 d->bd_fbuf = (caddr_t) _MALLOC(d->bd_bufsize, M_DEVBUF, M_WAIT);
2203 d->bd_sbuf = (caddr_t) _MALLOC(d->bd_bufsize, M_DEVBUF, M_WAIT);
2259 bp_new = (struct bpf_if *) _MALLOC(sizeof(*bp_new), M_DEVBUF, M_WAIT);
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_socket.c1347 #define SBLOCKWAIT(f) (((f) & MSG_DONTWAIT) ? M_DONTWAIT : M_WAIT)
1640 hdrs_needed, M_WAIT, 0,
1661 hdrs_needed, M_WAIT, 0,
1682 hdrs_needed, M_WAIT, 0,
1693 M_WAIT, MT_DATA);
1696 M_WAIT, MT_DATA);
1958 m = m_get(M_WAIT, MT_DATA);
2513 copy_flag = M_WAIT;
2842 (void) sblock(sb, M_WAIT);
3702 how = sopt->sopt_p != kernproc ? M_WAIT
[all...]
H A Duipc_syscalls.c1862 m = m_get(M_WAIT, type);
1866 MCLGET(m, M_WAIT);
2038 *m = m_getpackets_internal(&needed, 1, M_WAIT, 1, MBIGCLBYTES);
2211 error = sblock(&so->so_snd, M_WAIT);
2272 alloc_sendpkt(M_WAIT, xfsize, &nbufs, &m0, jumbocl);
H A Duipc_mbuf.c1362 _CASSERT(MBUF_WAITOK == M_WAIT);
1478 freelist_populate(m_class(MC_BIGCL), initmcl, M_WAIT); local
1954 (wait & MCR_NOSLEEP) ? M_DONTWAIT : M_WAIT);
3003 (void) freelist_populate(class, m_minlimit(class), M_WAIT);
4087 return (m_getpackets_internal(&num_needed, 1, M_WAIT, 1,
4387 * The wait parameter is a choice of M_WAIT/M_DONTWAIT from caller.
6010 if (n > 0 && freelist_populate(MC_CL, n, M_WAIT) > 0)
6023 if (n > 0 && freelist_populate(MC_BIGCL, n, M_WAIT) > 0)
6037 (void) freelist_populate(MC_16KCL, n, M_WAIT);
6049 if (freelist_populate(MC_MBUF, 1, M_WAIT)
[all...]
H A Duipc_socket2.c1320 (void) sblock(sb, M_WAIT);
1791 error = (wf == M_WAIT) ? sb_lock(sb) : EWOULDBLOCK;
/darwin-on-arm/xnu/bsd/netinet/
H A Draw_ip.c388 M_PREPEND(m, sizeof(struct ip), M_WAIT);
H A Dip_output.c2316 MGET(m, sopt->sopt_p != kernproc ? M_WAIT : M_DONTWAIT,
H A Dip_fw2.c2762 rule = _MALLOC(l, M_IPFW, M_WAIT);
/darwin-on-arm/xnu/bsd/netinet6/
H A Draw_ip6.c397 M_PREPEND(m, sizeof(*ip6), M_WAIT);
/darwin-on-arm/xnu/bsd/sys/
H A Dmbuf.h858 #define M_WAIT M_WAITOK macro

Completed in 190 milliseconds