Searched defs:filesize (Results 1 - 3 of 3) sorted by relevance
/bind-9.11.3/lib/dns/tests/ |
H A D | rbt_serialize_test.c | 284 off_t filesize = 0; local 320 isc_file_getsizefd(fd, &filesize); 321 base = mmap(NULL, filesize, 327 result = dns_rbt_deserialize_tree(base, filesize, 0, mctx, 341 munmap(base, filesize); 356 off_t filesize = 0; local 385 isc_file_getsizefd(fd, &filesize); 386 base = mmap(NULL, filesize, 394 p = base + (r % filesize); 395 q = base + filesize; [all...] |
/bind-9.11.3/lib/dns/ |
H A D | rbt.c | 775 treefix(dns_rbt_t *rbt, void *base, size_t filesize, dns_rbtnode_t *n, argument 784 size_t datasize, nodemax = filesize - sizeof(dns_rbtnode_t); 843 CONFIRM(n->data <= (void *) filesize); 854 CHECK(treefix(rbt, base, filesize, n->left, name, 857 CHECK(treefix(rbt, base, filesize, n->right, name, 860 CHECK(treefix(rbt, base, filesize, n->down, fullname, 864 CHECK(datafixer(n, base, filesize, fixer_arg, crc)); 888 dns_rbt_deserialize_tree(void *base_address, size_t filesize, argument 943 if ((header->nodecount * sizeof(dns_rbtnode_t)) > filesize) { 949 CHECK(treefix(rbt, base_address, filesize, rb [all...] |
H A D | rbtdb.c | 7472 rbt_datafixer(dns_rbtnode_t *rbtnode, void *base, size_t filesize, argument 7478 unsigned char *limit = ((unsigned char *) base) + filesize; 7538 off_t filesize = 0; local 7554 isc_file_getsizefd(fd, &filesize); 7561 base = isc_file_mmap(NULL, filesize, protect, flags, fd, 0); 7573 result = dns_rbt_deserialize_tree(base, filesize, 7590 result = dns_rbt_deserialize_tree(base, filesize, 7601 result = dns_rbt_deserialize_tree(base, filesize, 7617 rbtdb->mmap_size = (size_t) filesize; 7644 isc_file_munmap(base, (size_t) filesize); [all...] |
Completed in 38 milliseconds