Home
last modified time | relevance | path

Searched full:locking (Results 1 – 25 of 989) sorted by relevance

12345678910>>...40

/freebsd/contrib/unbound/iterator/
H A Diter_fwd.h123 * @param nolock: Skip locking, locking is handled by the caller.
142 * @param nolock: Skip locking, locking is handled by the caller.
153 * @param nolock: Skip locking, locking is handled by the caller.
161 * Handles its own locking unless nolock is set. In that case the caller
165 * @param nolock: Skip locking, locking is handled by the caller.
185 * Handles its own locking unless nolock is set. In that case the caller
191 * @param nolock: Skip locking, locking is handled by the caller.
200 * Handles its own locking unless nolock is set. In that case the caller
205 * @param nolock: Skip locking, locking is handled by the caller.
214 * Handles its own locking unless nolock is set. In that case the caller
[all …]
H A Diter_hints.h112 * @param nolock: Skip locking, locking is handled by the caller.
122 * @param nolock: Skip locking, locking is handled by the caller.
130 * Handles its own locking unless nolock is set. In that case the caller
137 * @param nolock: Skip locking, locking is handled by the caller.
157 * @param nolock: Skip locking, locking is handled by the caller.
175 * Handles its own locking unless nolock is set. In that case the caller
182 * @param nolock: Skip locking, locking is handled by the caller.
191 * Handles its own locking unless nolock is set. In that case the caller
196 * @param nolock: Skip locking, locking is handled by the caller.
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dthread.h62 /** A flag passed to a locking callback when the lock was allocated as a
65 /** A flag passed to a locking callback when the lock was allocated as a
68 /** A flag passed to a locking callback when we don't want to block waiting
70 * return nonzero from the locking callback. */
92 * locking. It's used to tell evthread_set_lock_callbacks() how to use
93 * locking on this platform.
96 /** The current version of the locking API. Set this to
99 /** Which kinds of locks does this version of the locking API
121 /** Sets a group of functions that Libevent should use for locking.
138 * how to use locking on this platform.
[all …]
/freebsd/contrib/libevent/include/event2/
H A Dthread.h62 /** A flag passed to a locking callback when the lock was allocated as a
65 /** A flag passed to a locking callback when the lock was allocated as a
68 /** A flag passed to a locking callback when we don't want to block waiting
70 * return nonzero from the locking callback. */
92 * locking. It's used to tell evthread_set_lock_callbacks() how to use
93 * locking on this platform.
96 /** The current version of the locking API. Set this to
99 /** Which kinds of locks does this version of the locking API
121 /** Sets a group of functions that Libevent should use for locking.
138 * how to use locking on this platform.
[all …]
/freebsd/lib/libc/gen/
H A Ddllockinit.331 .Nd register thread locking methods with the dynamic linker
48 at initialization time to register locking functions for the dynamic
61 is permanently finished using the locking functions (e.g., if the
64 to register new locking functions) it will call
102 a default locking mechanism which works by blocking the
111 An application which has registered its own locking
114 can restore the default locking by calling
/freebsd/share/man/man9/
H A Dmac.962 to synchronization primitives (such as locking).
79 .Ss Locking for Consumers
80 Consumers of the MAC API must be aware of the locking requirements for
103 .Ss Locking for Module Writers
104 Module writers must be aware of the locking semantics of entry points
105 that they implement: MAC API entry points will have specific locking
107 the locking and reference counting protocol or risk a variety of failure
113 careful to avoid violating more global locking requirements, such as
122 makes use of locking to prevent inconsistencies during policy module
H A Dstack.9117 In locking-sensitive environments, the unsynchronized
122 This function bypasses kernel linker locking, making it usable in
138 is used, or due to kernel linker locking.
139 In locking-sensitive environments, such as
143 variant may be invoked to avoid kernel linker locking; it should be used with
H A Dsleep.997 Threads may also wait using one of the locking primitive sleep routines
188 and the locking primitive sleep routines specify an additional lock
341 and locking primitive sleep functions return 0.
350 and the locking primitive sleep functions will fail if:
368 .Xr locking 9 ,
H A Dlocking.929 .Nm locking
101 locks but optimized for very infrequent write locking.
219 Threads may also wait using one of the locking primitive sleep routines
240 and the locking primitive sleep routines specify an additional lock
362 one of the locking primitives discussed.
437 There are too many locking primitives to choose from.
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_section.h78 * We read this field without locking and only lock the section in order
127 * actual locking should be handled by pt_section_* functions.
180 * Returns -pte_bad_lock on any locking error.
189 * Returns -pte_bad_lock on any locking error.
200 * Returns -pte_bad_lock on any locking error.
212 * Returns -pte_bad_lock on any locking error.
224 * Returns -pte_bad_lock on any locking error.
237 * Returns -pte_bad_lock on any locking error.
269 * Returns -pte_bad_lock on any locking error.
330 * Returns -pte_bad_lock on any locking error.
[all …]
/freebsd/usr.sbin/pw/tests/
H A Dpw_lock_test.sh5 # Test locking and unlocking a user account
10 ${PW} lock test || atf_fail "Locking the user"
13 ${PW} unlock test || atf_fail "Locking the user"
22 ${PW} lock 1001 || atf_fail "Locking the user"
30 ${PW} lock 1001 || atf_fail "Locking the user"
/freebsd/contrib/netbsd-tests/rump/rumpkern/
H A Dt_kern.c97 LOCKFUN(MTX, "locking-against-self mutex", 0,
98 "mutex error: lockdebug_wantlock: locking against myself");
99 LOCKFUN(RWDOUBLEX, "locking-against-self exclusive rwlock", 0,
100 "rwlock error: lockdebug_wantlock: locking against myself");
102 "rwlock error: lockdebug_wantlock: locking against myself");
104 "rwlock error: lockdebug_wantlock: locking against myself");
/freebsd/contrib/ntp/sntp/libevent/
H A Devthread-internal.h50 /* Global function pointers to lock-related functions. NULL if locking isn't
79 NULL if locking is not enabled. */
84 /** Free a given lock, if it is present and locking is enabled. */
116 /** Lock an event_base, if it is set up for locking. Acquires the lock
122 /** Unlock an event_base, if it is set up for locking. */
146 /* Locking is disabled either globally or for this thing; in EVLOCK_TRY_LOCK_()
181 /** True iff locking functions have been configured. */
239 /** Lock an event_base, if it is set up for locking. Acquires the lock
245 /** Unlock an event_base, if it is set up for locking. */
269 /* Locking is disabled either globally or for this thing; in EVLOCK_TRY_LOCK_()
[all …]
/freebsd/contrib/libevent/
H A Devthread-internal.h50 /* Global function pointers to lock-related functions. NULL if locking isn't
79 NULL if locking is not enabled. */
84 /** Free a given lock, if it is present and locking is enabled. */
116 /** Lock an event_base, if it is set up for locking. Acquires the lock
122 /** Unlock an event_base, if it is set up for locking. */
146 /* Locking is disabled either globally or for this thing; in EVLOCK_TRY_LOCK_()
181 /** True iff locking functions have been configured. */
239 /** Lock an event_base, if it is set up for locking. Acquires the lock
245 /** Unlock an event_base, if it is set up for locking. */
269 /* Locking is disabled either globally or for this thing; in EVLOCK_TRY_LOCK_()
[all …]
/freebsd/sys/arm/ti/omap4/
H A Domap4_prcm_clks.c497 * LOCKING:
498 * Inherits the locks from the omap_prcm driver, no internal locking.
563 * LOCKING:
564 * Inherits the locks from the omap_prcm driver, no internal locking.
610 * LOCKING:
611 * Inherits the locks from the omap_prcm driver, no internal locking.
632 * LOCKING:
633 * Inherits the locks from the omap_prcm driver, no internal locking.
677 * LOCKING:
678 * Inherits the locks from the omap_prcm driver, no internal locking.
[all …]
/freebsd/share/doc/smm/05.fastfs/
H A D5.t84 File locking
86 The old file system had no provision for locking files.
102 so a mechanism for locking files has been added.
110 Locking down to the byte level has been implemented in the
115 Locking schemes fall into two classes,
123 a file use the locking scheme.
136 The file locking facilities allow cooperating programs to apply
168 Consequently, a process may specify that its locking
178 Since locks exist only while the locking processes exist,
/freebsd/sys/dev/drm2/
H A Ddrm_modes.c42 * LOCKING:
68 * LOCKING:
288 * LOCKING.
459 * LOCKING.
493 * LOCKING:
513 * LOCKING:
533 * LOCKING:
554 * LOCKING:
573 * LOCKING:
600 * LOCKING:
[all …]
/freebsd/lib/libsys/
H A Dflock.240 .Fd "#define LOCK_NB 0x04 /* do not block when locking */"
71 The locking mechanism allows two types of locks:
117 Processes using different locking interfaces can cooperate
153 refers to an object that does not support file locking.
H A Dlockf.335 .Nd record locking on files
128 File locks are released on first close by the locking process of any
175 Processes using different locking interfaces can cooperate
245 refers to a file that does not support locking.
/freebsd/sys/sys/
H A Dfcntl.h249 #define F_OGETLK 7 /* get record locking information */
250 #define F_OSETLK 8 /* set record locking information */
254 #define F_GETLK 11 /* get record locking information */
255 #define F_SETLK 12 /* set record locking information */
282 /* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */
300 * Advisory file segment locking data type -
314 * Old advisory file segment locking data type,
338 #define LOCK_NB 0x04 /* don't block when locking */
/freebsd/sys/arm/ti/twl/
H A Dtwl_clks.c127 struct sx sc_sx; /* internal locking */
133 * Macros for driver shared locking
182 * LOCKING:
256 * LOCKING:
334 * LOCKING:
365 * LOCKING:
397 * LOCKING:
426 * LOCKING:
473 * LOCKING:
554 * LOCKING:
/freebsd/lib/libc/stdio/
H A Dflockfile.332 .Nd "stdio locking functions"
44 These functions provide explicit application-level locking of stdio streams.
47 of locking the stream for each operation.
/freebsd/sys/arm/ti/
H A Dti_sdma.c131 * Macros for driver mutex locking
206 * LOCKING:
306 * LOCKING:
392 * LOCKING:
447 * LOCKING:
506 * LOCKING:
572 * LOCKING:
615 * LOCKING:
709 * LOCKING:
790 * LOCKING:
[all …]
H A Dti_gpio.c152 * Macros for driver mutex locking
257 * LOCKING:
258 * No locking required, returns static data.
299 * LOCKING:
300 * No locking required, returns static data.
332 * LOCKING:
364 * LOCKING:
365 * No locking required, returns static data.
399 * LOCKING:
442 * LOCKING:
[all …]
/freebsd/share/man/man3/
H A Dpthread_mutexattr.3176 from the locking function.
196 Both recursive locking, and unlocking when the lock is not owned by the current
202 Both recursive locking, and unlocking when the lock is not owned by the current
205 Recursive locking is allowed.

12345678910>>...40