Lines Matching refs:pdu_len
584 if (bit->pdu_len != sizeof(two32)) in handle_notify()
602 if (bit->pdu_len > 0) { in handle_notify()
603 char msg[bit->pdu_len+1]; in handle_notify()
605 memcpy(msg, (char *)payload, bit->pdu_len); in handle_notify()
606 msg[bit->pdu_len] = '\0'; in handle_notify()
753 if (bit_alloc_cache < 1024 && !bit->pdu_len) { in bit_free()
1469 process_fmt(act, pci, t, -1ULL, t->pdu_len, buf); in log_pc()
1624 output_binary(t, sizeof(*t) + t->pdu_len); in dump_trace()
2141 return bit->pdu_len; in get_pdulen()
2143 return __bswap_16(bit->pdu_len); in get_pdulen()
2162 int pdu_len, should_block, ret; in read_events() local
2190 pdu_len = get_pdulen(bit); in read_events()
2191 if (pdu_len) { in read_events()
2192 void *ptr = realloc(bit, sizeof(*bit) + pdu_len); in read_events()
2194 if (read_data(fd, ptr + sizeof(*bit), pdu_len, 1, fdblock)) { in read_events()
2214 output_binary(bit, sizeof(*bit) + bit->pdu_len); in read_events()
2319 int ret, pdu_len, ndone = 0; in ms_prime() local
2337 pdu_len = get_pdulen(bit); in ms_prime()
2338 if (pdu_len) { in ms_prime()
2339 void *ptr = realloc(bit, sizeof(*bit) + pdu_len); in ms_prime()
2340 ret = read_data(pci->fd, ptr + sizeof(*bit), pdu_len, in ms_prime()
2357 output_binary(bit, sizeof(*bit) + bit->pdu_len); in ms_prime()