Lines Matching refs:tp_assert
34 tp_assert((len % 2) == 0, "Invalid string: %s", s); in tp_str_to_hex()
98 tp_assert(mem->header == TP_MEM_HEADER_COOKIE, in tp_mem_chk()
103 tp_assert(*mem->footer == TP_MEM_FOOTER_COOKIE, in tp_mem_chk()
117 tp_assert(false, "%s:%d %s() Invalid free(%p)", in tp_free()
152 tp_assert(len, ""); in tp_nbuf_alloc()
153 tp_assert(nbuf, "Out of nbufs"); in tp_nbuf_alloc()
199 tp_assert(found, "Invalid %s(%p): %s:%d", __func__, nbuf, file, line); in tp_nbuf_unref()
223 tp_assert(tp_pkt, ""); in tp_pkt_alloc()
224 tp_assert(pkt, ""); in tp_pkt_alloc()
260 tp_assert(found, "Invalid %s(%p): %s:%d", __func__, pkt, file, line); in tp_pkt_unref()
349 tp_assert(type != TP_NONE, "Invalid message: %s", s); in tp_msg_to_type()
414 tp_assert(tp_pkt, ""); in tp_output_pkt_alloc()
419 tp_assert(tp_pkt->pkt, ""); in tp_output_pkt_alloc()