Lines Matching defs:total_length
72 bpf_u_int32 total_length;
79 bpf_u_int32 total_length;
244 bhdr.total_length = SWAPLONG(bhdr.total_length);
254 if (bhdr.total_length > 16*1024*1024) {
257 bhdr.total_length, 16*1024*1024);
265 if (bhdr.total_length < sizeof(struct block_header) +
269 bhdr.total_length,
277 if (p->bufsize < bhdr.total_length) {
281 p->buffer = realloc(p->buffer, bhdr.total_length);
294 bhdr.total_length - sizeof(bhdr), 1, errbuf) == -1)
301 cursor->data_remaining = bhdr.total_length - sizeof(bhdr) -
505 bpf_u_int32 total_length;
541 amt_read = fread(&total_length, 1, sizeof(total_length), fp);
542 if (amt_read < sizeof(total_length)) {
580 total_length = SWAPLONG(total_length);
586 if (total_length < sizeof(*bhdrp) + sizeof(*shbp) + sizeof(struct block_trailer)) {
589 total_length,
607 if (p->bufsize < total_length)
608 p->bufsize = total_length;
622 bhdrp->total_length = total_length;
625 p->buffer + (sizeof(magic) + sizeof(total_length) + sizeof(byte_order_magic)),
626 total_length - (sizeof(magic) + sizeof(total_length) + sizeof(byte_order_magic)),