Searched defs:protect (Results 1 - 1 of 1) sorted by relevance

/bind-9.11.3/lib/dns/
H A Drbtdb.c358 * to protect the access to the counters by locks.
362 * NODE_UNLOCK. In some other cases, however, we need to protect reference
363 * counters first and then protect other parts of a node as read-only data.
366 * routines, we should only protect the "other members" by NODE_WEAKLOCK(read).
367 * Otherwise, we should use NODE_STRONGLOCK() to protect the entire critical
7541 int protect, flags; local
7555 protect = PROT_READ|PROT_WRITE;
7561 base = isc_file_mmap(NULL, filesize, protect, flags, fd, 0);

Completed in 43 milliseconds