Lines Matching refs:pdu_len
586 if (bit->pdu_len != sizeof(two32)) in handle_notify()
604 if (bit->pdu_len > 0) { in handle_notify()
605 char msg[bit->pdu_len+1]; in handle_notify()
607 memcpy(msg, (char *)payload, bit->pdu_len); in handle_notify()
608 msg[bit->pdu_len] = '\0'; in handle_notify()
755 if (bit_alloc_cache < 1024 && !bit->pdu_len) { in bit_free()
1487 process_fmt(act, pci, t, -1ULL, t->pdu_len, buf); in log_pc()
1642 output_binary(t, sizeof(*t) + t->pdu_len); in dump_trace()
2205 return bit->pdu_len; in get_pdulen()
2207 return __bswap_16(bit->pdu_len); in get_pdulen()
2226 int pdu_len, should_block, ret; in read_events() local
2254 pdu_len = get_pdulen(bit); in read_events()
2255 if (pdu_len) { in read_events()
2256 void *ptr = realloc(bit, sizeof(*bit) + pdu_len); in read_events()
2258 if (read_data(fd, ptr + sizeof(*bit), pdu_len, 1, fdblock)) { in read_events()
2278 output_binary(bit, sizeof(*bit) + bit->pdu_len); in read_events()
2383 int ret, pdu_len, ndone = 0; in ms_prime() local
2401 pdu_len = get_pdulen(bit); in ms_prime()
2402 if (pdu_len) { in ms_prime()
2403 void *ptr = realloc(bit, sizeof(*bit) + pdu_len); in ms_prime()
2404 ret = read_data(pci->fd, ptr + sizeof(*bit), pdu_len, in ms_prime()
2427 output_binary(bit, sizeof(*bit) + bit->pdu_len); in ms_prime()