Home
last modified time | relevance | path

Searched refs:M_NOWAIT (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_shim.h4 #define rte_malloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT)
6 #define rte_zmalloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO)
7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO)
/f-stack/freebsd/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.h61 MGETHDR((_m), M_NOWAIT, MT_DATA); \
95 MGETHDR((_m), M_NOWAIT, MT_DATA); \
118 MGETHDR((_m), M_NOWAIT, MT_DATA); \
143 MGETHDR((_m), M_NOWAIT, MT_DATA); \
177 MGETHDR((_m), M_NOWAIT, MT_DATA); \
211 MGETHDR((_m), M_NOWAIT, MT_DATA); \
228 MGETHDR((_m), M_NOWAIT, MT_DATA); \
305 MGETHDR((_m), M_NOWAIT, MT_DATA); \
328 MGETHDR((_m), M_NOWAIT, MT_DATA); \
348 MGETHDR((_m), M_NOWAIT, MT_DATA); \
[all …]
/f-stack/freebsd/netgraph/atm/
H A Dngatmbase.c99 if ((b = malloc(s, M_UNIMSG, M_NOWAIT)) == NULL) { in uni_msg_extend()
143 MGETHDR(m0, M_NOWAIT, MT_DATA); in uni_msg_pack_mbuf()
156 if (!(MCLGET(m0, M_NOWAIT))) in uni_msg_pack_mbuf()
170 MGET(m, M_NOWAIT, MT_DATA); in uni_msg_pack_mbuf()
177 if (!(MCLGET(m, M_NOWAIT))) in uni_msg_pack_mbuf()
252 (m = malloc(sizeof(*m), M_UNIMSGHDR, M_NOWAIT)) == NULL) in _uni_msg_alloc()
256 if((m->msg.b_buf = malloc(s, M_UNIMSG, M_NOWAIT | M_ZERO)) == NULL) { in _uni_msg_alloc()
363 if ((m = malloc(sizeof(*m), M_UNIMSGHDR, M_NOWAIT)) == NULL) in uni_msg_alloc()
370 if((m->b_buf = malloc(s, M_UNIMSG, M_NOWAIT | M_ZERO)) == NULL) { in uni_msg_alloc()
/f-stack/freebsd/netgraph/atm/sscop/
H A Dng_sscop_cust.h64 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCOP, M_NOWAIT | M_ZERO))
89 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCOP_INS, M_NOWAIT | M_ZERO))
95 M_NG_SSCOP_MSG, M_NOWAIT | M_ZERO))
101 M_NG_SSCOP_SIG, M_NOWAIT | M_ZERO))
238 #define MBUF_DUP(M) m_copypacket((M), M_NOWAIT)
326 MGETHDR(m, M_NOWAIT, MT_DATA); \
331 if (!(MCLGET(m, M_NOWAIT))){ \
H A Dng_sscop.c453 NG_MKRESPONSE(resp, msg, NG_TEXTRESPONSE, M_NOWAIT); in ng_sscop_rcvmsg()
484 NG_MKRESPONSE(resp, msg, sizeof(*p), M_NOWAIT); in ng_sscop_rcvmsg()
508 NG_MKRESPONSE(resp, msg, sizeof(*p), M_NOWAIT); in ng_sscop_rcvmsg()
552 NG_MKRESPONSE(resp, msg, sizeof(u_int32_t), M_NOWAIT); in ng_sscop_rcvmsg()
573 NG_MKRESPONSE(resp, msg, sizeof(u_int32_t), M_NOWAIT); in ng_sscop_rcvmsg()
758 MGETHDR(m, M_NOWAIT, MT_DATA); in sscop_send_upper()
764 M_PREPEND(m, sizeof(struct sscop_arg), M_NOWAIT); in sscop_send_upper()
816 MGETHDR(m, M_NOWAIT, MT_DATA); in sscop_send_manage()
827 MGETHDR(m, M_NOWAIT, MT_DATA); in sscop_send_manage()
836 M_PREPEND(m, sizeof(*a), M_NOWAIT); in sscop_send_manage()
/f-stack/freebsd/netgraph/atm/ccatm/
H A Dng_ccatm_cust.h52 #define CCMALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT))
53 #define CCZALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT | M_ZERO))
H A Dng_ccatm.c407 NG_MKRESPONSE(*resp, msg, len, M_NOWAIT); in ng_ccatm_get_addresses()
437 m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR); in send_dump()
443 m = m_getcl(M_NOWAIT, MT_DATA, 0); in send_dump()
544 M_NOWAIT); in ng_ccatm_rcvmsg()
619 M_NOWAIT); in ng_ccatm_rcvmsg()
660 n * sizeof(arg->ports[0]), M_NOWAIT); in ng_ccatm_rcvmsg()
735 NG_MKRESPONSE(resp, msg, offs, M_NOWAIT); in ng_ccatm_rcvmsg()
845 hd = malloc(sizeof(*hd), M_NG_CCATM, M_NOWAIT); in ng_ccatm_newhook()
957 MGETHDR(m0, M_NOWAIT, MT_DATA); in pack_buf()
970 m = m_getcl(M_NOWAIT, MT_DATA, 0); in pack_buf()
[all …]
/f-stack/freebsd/netgraph/atm/sscfu/
H A Dng_sscfu_cust.h56 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU, M_NOWAIT | M_ZERO))
73 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU_INS, M_NOWAIT | M_ZERO))
79 M_NG_SSCFU_SIG, M_NOWAIT | M_ZERO))
H A Dng_sscfu.c229 NG_MKRESPONSE(resp, msg, NG_TEXTRESPONSE, M_NOWAIT); in ng_sscfu_rcvmsg()
254 NG_MKRESPONSE(resp, msg, sizeof(*p), M_NOWAIT); in ng_sscfu_rcvmsg()
294 NG_MKRESPONSE(resp, msg, sizeof(uint32_t), M_NOWAIT); in ng_sscfu_rcvmsg()
309 NG_MKRESPONSE(resp, msg, sizeof(uint32_t), M_NOWAIT); in ng_sscfu_rcvmsg()
439 MGETHDR(m, M_NOWAIT, MT_DATA); in sscfu_send_upper()
445 M_PREPEND(m, sizeof(struct sscfu_arg), M_NOWAIT); in sscfu_send_upper()
505 MGETHDR(m, M_NOWAIT, MT_DATA); in sscfu_send_lower()
511 M_PREPEND(m, sizeof(struct sscop_arg), M_NOWAIT); in sscfu_send_lower()
/f-stack/freebsd/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c188 M_NOWAIT); in ng_hci_lp_acl_con_req()
555 M_NOWAIT); in ng_hci_lp_le_con_req()
773 sizeof(*ep), M_NOWAIT); in ng_hci_lp_con_cfm()
796 sizeof(*ep), M_NOWAIT); in ng_hci_lp_con_cfm()
830 sizeof(*ep), M_NOWAIT); in ng_hci_lp_enc_change()
873 sizeof(*ep), M_NOWAIT); in ng_hci_lp_con_ind()
1128 sizeof(*ep), M_NOWAIT); in ng_hci_lp_discon_ind()
1274 sizeof(*ep), M_NOWAIT); in ng_hci_lp_qos_cfm()
1294 sizeof(*ep), M_NOWAIT); in ng_hci_lp_qos_cfm()
1333 sizeof(*ep), M_NOWAIT); in ng_hci_lp_qos_ind()
[all …]
H A Dng_hci_main.c308 NG_MKRESPONSE(rsp, msg, NG_TEXTRESPONSE, M_NOWAIT); in ng_hci_default_rcvmsg()
354 NG_MKRESPONSE(rsp, msg, sizeof(unit->state), M_NOWAIT); in ng_hci_default_rcvmsg()
379 NG_MKRESPONSE(rsp, msg, sizeof(unit->debug), M_NOWAIT); in ng_hci_default_rcvmsg()
403 M_NOWAIT); in ng_hci_default_rcvmsg()
422 NG_MKRESPONSE(rsp, msg, sizeof(bdaddr_t), M_NOWAIT); in ng_hci_default_rcvmsg()
444 NG_MKRESPONSE(rsp, msg, sizeof(unit->stat), M_NOWAIT); in ng_hci_default_rcvmsg()
486 M_NOWAIT); in ng_hci_default_rcvmsg()
531 M_NOWAIT); in ng_hci_default_rcvmsg()
566 M_NOWAIT); in ng_hci_default_rcvmsg()
592 M_NOWAIT); in ng_hci_default_rcvmsg()
[all …]
H A Dng_hci_misc.c70 m = m_dup(m0, M_NOWAIT); in ng_hci_mtap()
104 NG_MKMESSAGE(msg,NGM_HCI_COOKIE,NGM_HCI_NODE_UP,sizeof(*ep),M_NOWAIT); in ng_hci_node_is_up()
182 M_NOWAIT | M_ZERO); in ng_hci_new_neighbor()
265 M_NOWAIT | M_ZERO); in ng_hci_new_con()
/f-stack/freebsd/netgraph/
H A Dng_rfc1490.c249 NG_MKRESPONSE(resp, msg, strlen(priv->enc->name) + 1, M_NOWAIT); in ng_rfc1490_rcvmsg()
388 M_PREPEND(m, 2, M_NOWAIT); /* Prepend PPP NLPID */ in ng_rfc1490_rcvdata()
397 M_PREPEND(m, 2, M_NOWAIT); /* Prepend IP NLPID */ in ng_rfc1490_rcvdata()
409 M_PREPEND(m, 8, M_NOWAIT); in ng_rfc1490_rcvdata()
420 M_PREPEND(m, 2, M_NOWAIT); /* Prepend IP ethertype */ in ng_rfc1490_rcvdata()
428 M_PREPEND(m, 8, M_NOWAIT); /* Prepend NLPID, OUI, PID */ in ng_rfc1490_rcvdata()
H A Dng_cisco.c260 NG_MKRESPONSE(resp, msg, NG_TEXTRESPONSE, M_NOWAIT); in cisco_rcvmsg()
285 2 * sizeof(*ips), M_NOWAIT); in cisco_rcvmsg()
312 NG_MKRESPONSE(resp, msg, sizeof(*stat), M_NOWAIT); in cisco_rcvmsg()
358 M_PREPEND(m, CISCO_HEADER_LEN, M_NOWAIT); in cisco_rcvdata()
522 NGM_CISCO_GET_IPADDR, 0, M_NOWAIT); in cisco_input()
605 MGETHDR(m, M_NOWAIT, MT_DATA); in cisco_send()
642 NG_MKMESSAGE(msg, NGM_FLOW_COOKIE, cmd, 0, M_NOWAIT); in cisco_notify()
H A Dng_mppc.c315 M_NETGRAPH_MPPC, M_NOWAIT); in ng_mppc_rcvmsg()
408 NGM_MPPC_RESETREQ, 0, M_NOWAIT); in ng_mppc_rcvdata()
485 m = m_unshare(m, M_NOWAIT); in ng_mppc_compress()
514 inbuf = malloc(inlen, M_NETGRAPH_MPPC, M_NOWAIT); in ng_mppc_compress()
522 outbuf = malloc(outlen, M_NETGRAPH_MPPC, M_NOWAIT); in ng_mppc_compress()
613 M_PREPEND(m, MPPC_HDRLEN, M_NOWAIT); in ng_mppc_compress()
635 m = m_unshare(m, M_NOWAIT); in ng_mppc_decompress()
774 inbuf = malloc(inlen, M_NETGRAPH_MPPC, M_NOWAIT); in ng_mppc_decompress()
785 M_NETGRAPH_MPPC, M_NOWAIT); in ng_mppc_decompress()
H A Dng_pppoe.c486 m = m_dup(m0, M_NOWAIT); in pppoe_broadcast_padi()
874 M_NOWAIT | M_ZERO); in ng_pppoe_rcvmsg()
1140 m = m_gethdr(M_NOWAIT, MT_DATA); in ng_pppoe_rcvmsg()
1185 m = m_gethdr(M_NOWAIT, MT_DATA); in ng_pppoe_rcvmsg()
1294 m0 = m_copypacket(neg->m, M_NOWAIT); in pppoe_start()
1330 sizeof(uint16_t), M_NOWAIT); in send_sessionid()
1445 M_PREPEND(m, sizeof(*wh), M_NOWAIT); in ng_pppoe_rcvdata()
1623 n = m_dup(m, M_NOWAIT); in ng_pppoe_rcvdata_ether()
1756 m0 = m_copypacket(neg->m, M_NOWAIT); in ng_pppoe_rcvdata_ether()
2035 m = m_gethdr(M_NOWAIT, MT_DATA); in ng_pppoe_disconnect()
[all …]
H A Dng_ether.c332 priv = malloc(sizeof(*priv), M_NETGRAPH, M_NOWAIT | M_ZERO); in ng_ether_attach()
391 NG_MKMESSAGE(msg, NGM_FLOW_COOKIE, cmd, 0, M_NOWAIT); in ng_ether_link_state()
396 NG_MKMESSAGE(msg, NGM_FLOW_COOKIE, cmd, 0, M_NOWAIT); in ng_ether_link_state()
504 NG_MKRESPONSE(resp, msg, IFNAMSIZ, M_NOWAIT); in ng_ether_rcvmsg()
512 NG_MKRESPONSE(resp, msg, sizeof(u_int32_t), M_NOWAIT); in ng_ether_rcvmsg()
520 NG_MKRESPONSE(resp, msg, ETHER_ADDR_LEN, M_NOWAIT); in ng_ether_rcvmsg()
539 NG_MKRESPONSE(resp, msg, sizeof(u_int32_t), M_NOWAIT); in ng_ether_rcvmsg()
563 NG_MKRESPONSE(resp, msg, sizeof(u_int32_t), M_NOWAIT); in ng_ether_rcvmsg()
H A Dng_bpf.c280 hip = malloc(sizeof(*hip), M_NETGRAPH_BPF, M_NOWAIT | M_ZERO); in ng_bpf_newhook()
354 NG_BPF_HOOKPROG_SIZE(hp->bpf_prog_len), M_NOWAIT); in ng_bpf_rcvmsg()
382 msg, sizeof(*stats), M_NOWAIT); in ng_bpf_rcvmsg()
448 data = malloc(totlen, M_NETGRAPH_BPF, M_NOWAIT); in ng_bpf_rcvdata()
571 hp = malloc(size, M_NETGRAPH_BPF, M_NOWAIT); in ng_bpf_setprog()
H A Dng_nat.c427 M_NETGRAPH, M_NOWAIT | M_ZERO)) == NULL) { in ng_nat_rcvmsg()
466 NG_MKRESPONSE(resp, msg, sizeof(entry->rdr.id), M_NOWAIT); in ng_nat_rcvmsg()
486 M_NETGRAPH, M_NOWAIT | M_ZERO)) == NULL) { in ng_nat_rcvmsg()
518 NG_MKRESPONSE(resp, msg, sizeof(entry->rdr.id), M_NOWAIT); in ng_nat_rcvmsg()
538 M_NETGRAPH, M_NOWAIT | M_ZERO)) == NULL) { in ng_nat_rcvmsg()
572 NG_MKRESPONSE(resp, msg, sizeof(entry->rdr.id), M_NOWAIT); in ng_nat_rcvmsg()
658 (priv->rdrcount) * sizeof(*entry), M_NOWAIT); in ng_nat_rcvmsg()
691 sizeof(struct ng_nat_libalias_info), M_NOWAIT); in ng_nat_rcvmsg()
H A Dng_vlan.c392 vlan_count * sizeof(*t->filter), M_NOWAIT); in ng_vlan_rcvmsg()
429 NG_MKRESPONSE(resp, msg, sizeof(uint32_t), M_NOWAIT); in ng_vlan_rcvmsg()
444 NG_MKRESPONSE(resp, msg, sizeof(uint32_t), M_NOWAIT); in ng_vlan_rcvmsg()
459 NG_MKRESPONSE(resp, msg, sizeof(uint16_t), M_NOWAIT); in ng_vlan_rcvmsg()
496 NG_COPYMESSAGE(copy, msg, M_NOWAIT); in ng_vlan_rcvmsg()
650 M_PREPEND(m, ETHER_VLAN_ENCAP_LEN, M_NOWAIT); in ng_vlan_rcvdata()
H A Dng_ipfw.c176 hpriv = malloc(sizeof(*hpriv), M_NETGRAPH, M_NOWAIT | M_ZERO); in ng_ipfw_newhook()
311 M_NOWAIT|M_ZERO); in ng_ipfw_input()
324 if ((m = m_dup(*m0, M_NOWAIT)) == NULL) in ng_ipfw_input()
/f-stack/freebsd/opencrypto/
H A Dcryptodeflate.c68 ptr = malloc(type *size, M_CRYPTO_DATA, M_NOWAIT); in crypto_zalloc()
118 M_CRYPTO_DATA, M_NOWAIT); in deflate_global()
168 M_CRYPTO_DATA, M_NOWAIT); in deflate_global()
191 *out = malloc(result, M_CRYPTO_DATA, M_NOWAIT); in deflate_global()
/f-stack/freebsd/netinet/libalias/
H A Dalias_mod.h45 #define malloc(x) malloc(x, M_ALIAS, M_NOWAIT|M_ZERO)
46 #define calloc(n, x) mallocarray((n), (x), M_ALIAS, M_NOWAIT|M_ZERO)
/f-stack/freebsd/netipsec/
H A Dipsec_mbuf.c102 n = m_getcl(M_NOWAIT, m->m_type, 0); in m_makespace()
106 n = m_get(M_NOWAIT, m->m_type); in m_makespace()
132 n = m_get(M_NOWAIT, m->m_type); in m_makespace()
220 MGET(m1, M_NOWAIT, MT_DATA); in m_pad()
/f-stack/freebsd/netinet6/
H A Dicmp6.c550 n = m_gethdr(M_NOWAIT, n0->m_type); in icmp6_input()
680 n = m_gethdr(M_NOWAIT, m->m_type); in icmp6_input()
685 if (!m_dup_pkthdr(n, m, M_NOWAIT)) { in icmp6_input()
756 n = m_copym(m, 0, M_COPYALL, M_NOWAIT); in icmp6_input()
1412 n = m_gethdr(M_NOWAIT, m->m_type); in ni6_input()
1513 m = m_getcl(M_NOWAIT, MT_DATA, 0); in ni6_nametodns()
1515 m = m_get(M_NOWAIT, MT_DATA); in ni6_nametodns()
1953 n = m_get(M_NOWAIT, m->m_type); in icmp6_rip6_input()
2002 n = m_get(M_NOWAIT, m->m_type); in icmp6_rip6_input()
2004 if (m_dup_pkthdr(n, m, M_NOWAIT)) { in icmp6_rip6_input()
[all …]

12345678910>>...16