Lines Matching refs:th
1291 struct corehdr *th = NULL;
1317 th = create_panic_header(request, corename, length, panic_block);
1320 if (!kdp_vm_read((caddr_t) panic_data, (caddr_t) th->th_data, length)) {
1321 memset ((caddr_t) th->th_data, 'X', length);
1325 *(unsigned int *) th->th_data = htonl(*(unsigned int *) panic_data);
1341 th = (struct corehdr *) &pkt.data[pkt.off];
1343 if (ntohs(th->th_opcode) == KDP_ACK && ntohl(th->th_block) == panic_block) {
1346 if (ntohs(th->th_opcode) == KDP_ERROR) {
1347 printf("Panic server returned error %d, retrying\n", ntohl(th->th_code));
1352 if (ntohl(th->th_block) == (panic_block - 1)) {