Lines Matching refs:bpdt_header
73 struct bpdt_header {
90 #define BPDT_HEADER_SIZE (sizeof(struct bpdt_header))
105 struct bpdt_header h;
110 static inline size_t get_bpdt_size(struct bpdt_header *h)
779 static void bpdt_print_header(struct bpdt_header *h, const char *name)
821 static void bpdt_validate_header(struct bpdt_header *h, const char *name)
833 static void bpdt_read_header(void *data, struct bpdt_header *h,
1010 struct bpdt_header bpdt_header;
1013 bpdt_read_header((uint8_t *)data + offset, &bpdt_header, name);
1016 alloc_buffer(b, get_bpdt_size(&bpdt_header), name);
1020 memcpy(&bpdt->h, &bpdt_header, BPDT_HEADER_SIZE);
1437 struct bpdt_header *h = &s->h;