Searched refs:keylock (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/external/bsd/libbind/dist/resolv/
H A Dmtctxres.c110 static pthread_mutex_t keylock = PTHREAD_MUTEX_INITIALIZER; local
111 if (pthread_mutex_lock(&keylock) == 0) {
113 (void) pthread_mutex_unlock(&keylock);
/netbsd-current/lib/libc/resolv/
H A Dmtctxres.c109 static pthread_mutex_t keylock = PTHREAD_MUTEX_INITIALIZER; local
110 if (pthread_mutex_lock(&keylock) == 0) {
112 (void) pthread_mutex_unlock(&keylock);
/netbsd-current/sys/dev/
H A Dkeylock.c1 /* $NetBSD: keylock.c,v 1.2 2009/08/15 09:43:58 mbalmer Exp $ */
36 #include <dev/keylock.h>
40 #include <secmodel/keylock/keylock.h>
52 SYSCTL_SETUP(sysctl_keylock_setup, "sysctl keylock setup")
58 CTLTYPE_NODE, "keylock",
69 SYSCTL_DESCR("Current keylock position"),
75 SYSCTL_DESCR("Number of keylock positions"),
H A DMakefile25 INCS+= keylock.h
/netbsd-current/external/bsd/libbind/dist/irs/
H A Dirs_data.c130 static pthread_mutex_t keylock = LIBBIND_MUTEX_INITIALIZER; local
134 if (pthread_mutex_lock(&keylock) != 0)
138 (void)pthread_mutex_unlock(&keylock);
143 if (pthread_mutex_unlock(&keylock) != 0)
/netbsd-current/sys/secmodel/keylock/
H A Dsecmodel_keylock.c32 * keylock based security scheme.
34 * The position of the keylock is a system-global indication on what
39 * - If the number of possible keylock positions is 0, assume there is no
40 * keylock present, do not disallow any action, i.e. do nothing
42 * - If the number of possible keylock positions is greater than 0, but the
52 * - If the security.models.keylock.order sysctl is set to a value != 0,
68 #include <dev/keylock.h>
73 #include <secmodel/keylock/keylock.h>
80 "sysctl security keylock setu
[all...]
/netbsd-current/sys/dev/gpio/
H A Dgpiolock.c39 #include <dev/keylock.h>
120 /* Register keylock */
122 aprint_error(": can't register keylock\n");

Completed in 201 milliseconds