/src/sys/ufs/chfs/ |
chfs_scan.c | 77 chfs_scan_check_node_hdr(struct chfs_flash_node_hdr *nhdr) 82 magic = le16toh(nhdr->magic); 89 hdr_crc = le32toh(nhdr->hdr_crc); 90 crc = crc32(0, (uint8_t *)nhdr, CHFS_NODE_HDR_SIZE - 4); 436 struct chfs_flash_node_hdr *nhdr; local in function:chfs_scan_eraseblock 476 nhdr = (struct chfs_flash_node_hdr *)buf; 478 err = chfs_scan_check_node_hdr(nhdr); 494 switch (le16toh(nhdr->type)) { 498 len = le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE; 521 len = le32toh(nhdr->length) - CHFS_NODE_HDR_SIZE [all...] |
chfs_gc.c | 703 struct chfs_flash_node_hdr *nhdr; local in function:chfs_gcollect_pristine 730 nhdr = (struct chfs_flash_node_hdr *)data; 733 if (le16toh(nhdr->magic) != CHFS_FS_MAGIC_BITMASK) { 738 crc = crc32(0, (uint8_t *)nhdr, CHFS_NODE_HDR_SIZE - 4); 739 if (crc != le32toh(nhdr->hdr_crc)) { 746 switch(le16toh(nhdr->type)) {
|
/src/sys/kern/ |
core_elf32.c | 586 Elf_Nhdr nhdr; local in function:ELFNAMEEND 588 nhdr.n_namesz = strlen(name) + 1; 589 nhdr.n_descsz = data_len; 590 nhdr.n_type = type; 592 save_note_bytes(ns, &nhdr, sizeof (nhdr)); 593 save_note_bytes(ns, name, nhdr.n_namesz);
|
/src/usr.sbin/fwctl/ |
fwdv.c | 267 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local in function:dvsend 355 nhdr = 0; 364 ciph = (struct ciphdr *)&hdr[nhdr][1]; 398 bcopy(hdr[nhdr], hdr[nhdr+1], sizeof(hdr[0])); 399 hdr[nhdr][0] = empty_pkt.iso_empty; 400 wbuf[vec].iov_base = (char *)hdr[nhdr]; 402 nhdr ++; 405 hdr[nhdr][0] = data_pkt.iso_data; 406 wbuf[vec].iov_base = (char *)hdr[nhdr]; [all...] |
/src/libexec/httpd/ |
cgi-bozo.c | 121 bozoheaders_t *hdr, *nhdr; local in function:finish_cgi_output 175 SIMPLEQ_FOREACH_SAFE(hdr, &headers, h_next, nhdr) {
|
/src/sys/modules/lua/ |
lua.c | 576 alloc_header_t *nhdr = kmem_intr_alloc(alloc_size, sleep); local in function:lua_alloc 577 if (nhdr == NULL) /* failed to allocate */ 580 nhdr->size = alloc_size; 581 nptr = (void *) ((char *) nhdr + hdr_size);
|