Home
last modified time | relevance | path

Searched refs:HASHHDR (Results 1 – 2 of 2) sorted by relevance

/openbsd/lib/libc/db/hash/
H A Dhash.c70 static void swap_header_copy(HASHHDR *, HASHHDR *);
135 hdrsize = read(hashp->fp, &hashp->hdr, sizeof(HASHHDR)); in __hash_open()
141 if (hdrsize != sizeof(HASHHDR)) in __hash_open()
355 hashp->HDRPAGES = ((MAXIMUM(sizeof(HASHHDR), MINHDRSIZE) - 1) >> in init_htab()
462 HASHHDR *whdrp; in flush_meta()
464 HASHHDR whdr; in flush_meta()
480 if ((wsize = pwrite(fp, whdrp, sizeof(HASHHDR), 0)) == -1) in flush_meta()
483 if (wsize != sizeof(HASHHDR)) { in flush_meta()
896 swap_header_copy(HASHHDR *srcp, HASHHDR *destp) in swap_header_copy()
926 HASHHDR *hdrp; in swap_header()
H A Dhash.h88 } HASHHDR; typedef
91 HASHHDR hdr; /* Header */