/freebsd/sys/dev/ena/ |
H A D | ena_sysctl.c | 714 goto unlock; in ena_sysctl_buf_ring_size() 724 goto unlock; in ena_sysctl_buf_ring_size() 731 goto unlock; in ena_sysctl_buf_ring_size() 746 unlock: in ena_sysctl_buf_ring_size() 762 goto unlock; in ena_sysctl_rx_queue_size() 772 goto unlock; in ena_sysctl_rx_queue_size() 779 goto unlock; in ena_sysctl_rx_queue_size() 788 goto unlock; in ena_sysctl_rx_queue_size() 804 unlock: in ena_sysctl_rx_queue_size() 823 goto unlock; in ena_sysctl_io_queues_nb() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | task.c | 320 UNLOCK(&manager->lock); in task_finished() 364 UNLOCK(&task->lock); in isc__task_create() 365 UNLOCK(&manager->lock); in isc__task_create() 375 UNLOCK(&manager->lock); in isc__task_create() 406 UNLOCK(&source->lock); in isc__task_attach() 472 UNLOCK(&manager->lock); in task_ready() 521 UNLOCK(&task->lock); in isc__task_detach() 579 UNLOCK(&task->lock); in isc__task_send() 620 UNLOCK(&task->lock); in isc__task_sendanddetach() 672 UNLOCK(&task->lock); in dequeue_events() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | atomic.c | 57 // lock() and unlock() functions. 62 /// Unlock a lock. This is a release operation. 63 __inline static void unlock(Lock *l) { pthread_mutex_unlock(l); } in unlock() function 77 __inline static void unlock(Lock *l) { in unlock() function 98 __inline static void unlock(Lock *l) { OSSpinLockUnlock(l); } in unlock() function 108 /// Unlock a lock. This is a release operation. 109 __inline static void unlock(Lock *l) { in unlock() function 197 unlock(l); in __atomic_load_c() 211 unlock(l); in __atomic_store_c() 231 unlock(l); in __atomic_compare_exchange_c() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | listener.c | 107 #define UNLOCK(listener) EVLOCK_UNLOCK((listener)->lock, 0) macro 135 UNLOCK(listener); in listener_decref_and_unlock() 140 UNLOCK(listener); in listener_decref_and_unlock() 302 UNLOCK(lev); in evconnlistener_enable() 313 UNLOCK(lev); in evconnlistener_disable() 339 UNLOCK(lev); in evconnlistener_get_fd() 357 UNLOCK(lev); in evconnlistener_get_base() 381 UNLOCK(lev); in evconnlistener_set_cb() 390 UNLOCK(lev); in evconnlistener_set_error_cb() 417 UNLOCK(lev); in listener_read_cb() [all …]
|
/freebsd/contrib/libevent/ |
H A D | listener.c | 107 #define UNLOCK(listener) EVLOCK_UNLOCK((listener)->lock, 0) macro 135 UNLOCK(listener); in listener_decref_and_unlock() 140 UNLOCK(listener); in listener_decref_and_unlock() 302 UNLOCK(lev); in evconnlistener_enable() 313 UNLOCK(lev); in evconnlistener_disable() 339 UNLOCK(lev); in evconnlistener_get_fd() 357 UNLOCK(lev); in evconnlistener_get_base() 381 UNLOCK(lev); in evconnlistener_set_cb() 390 UNLOCK(lev); in evconnlistener_set_error_cb() 417 UNLOCK(lev); in listener_read_cb() [all …]
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_fwd.h | 116 * Caller should lock and unlock a readlock on the forwards structure if nolock 118 * Otherwise caller should unlock the readlock on the forwards structure if a 134 * Caller should lock and unlock a readlock on the forwards structure if nolock 136 * Otherwise caller should unlock the readlock on the forwards structure if a 162 * should lock and unlock a readlock on the forwards structure. 186 * should lock and unlock a writelock on the forwards structure. 201 * should lock and unlock a writelock on the forwards structure. 215 * should lock and unlock a writelock on the forwards structure. 228 * should lock and unlock a writelock on the forwards structure.
|
H A D | iter_hints.h | 105 * Caller should lock and unlock a readlock on the hints structure if nolock 107 * Otherwise caller should unlock the readlock on the hints structure if a 131 * should lock and unlock a readlock on the hints structure. 148 * Caller should lock and unlock a readlock on the hints structure if nolock 150 * Otherwise caller should unlock the readlock on the hints structure if a 176 * should lock and unlock a writelock on the hints structure. 192 * should lock and unlock a writelock on the hints structure.
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.h | 9 enum nlm_stats unlock(nlm4_lock *lock, const int flags); 15 /* flags for testlock, getlock & unlock */ 19 #define LOCK_CANCEL 0x08 /* cancel, not unlock request (unlock only) */
|
H A D | lockd_lock.c | 118 * is placed into the hardware lock/unlock routines. (ie. 126 int fd; /* file descriptor: remains open until unlock! */ 699 * get_lock_matching_unlock: Return a lock which matches the given unlock lock 862 * Posix semantics during unlock. It is absolutely imperative to not 863 * unlock the main lock before the two child locks are established. Thus, 977 debuglog("Unlock matched. Querying for split\n"); in unlock_nfslock() 1014 /* Unlock the lock since it matches identity */ in unlock_nfslock() 1312 * keeps track of *individual* lock requests on lock and unlock 1314 * XXX: Split unlocking is going to make the unlock code miserable 1447 * Given a file_lock, unlock all locks which match. [all …]
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | mutex.cpp | 36 void mutex::unlock() noexcept { in lock() 40 ec == 0, "call to mutex::unlock failed. A possible reason is that the mutex wasn't locked"); in try_lock() 63 void recursive_mutex::unlock() noexcept { in ~recursive_mutex() 67 e == 0, "call to recursive_mutex::unlock() failed. A possible reason is that the mutex wasn't locked"); in ~recursive_mutex() 94 void timed_mutex::unlock() noexcept { in timed_mutex() 134 void recursive_timed_mutex::unlock() noexcept { in recursive_timed_mutex() 138 lk.unlock(); 46 mutex::unlock() noexcept unlock() function in mutex 78 recursive_mutex::unlock() noexcept unlock() function in recursive_mutex 125 timed_mutex::unlock() noexcept unlock() function in timed_mutex 180 recursive_timed_mutex::unlock() noexcept unlock() function in recursive_timed_mutex
|
/freebsd/crypto/krb5/src/util/support/ |
H A D | errors.c | 36 #define unlock() k5_mutex_unlock(&krb5int_error_info_support_mutex) macro 82 unlock(); in k5_get_error() 91 unlock(); in k5_get_error() 97 unlock(); in k5_get_error() 121 unlock(); in k5_set_error_info_callout_fn()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_simple_attr.c | 118 goto unlock; in simple_attr_read() 125 goto unlock; in simple_attr_read() 135 unlock: in simple_attr_read() 182 goto unlock; in simple_attr_write() 186 goto unlock; in simple_attr_write() 190 unlock:
|
/freebsd/contrib/llvm-project/libcxx/include/__mutex/ |
H A D | unique_lock.h | 65 __m_->unlock(); in ~unique_lock() 80 __m_->unlock(); 98 void unlock(); 161 void unique_lock<_Mutex>::unlock() { in unlock() function 163 __throw_system_error(EPERM, "unique_lock::unlock: not locked"); in unlock() 164 __m_->unlock(); in unlock()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | shared_mutex | 33 void unlock(); 60 void unlock(); 106 void unlock(); 171 void unlock(); 200 _LIBCPP_HIDE_FROM_ABI void unlock() _LIBCPP_THREAD_SAFETY_ANNOTATION(__release_capability__()) { 201 return __base_.unlock(); 244 void unlock() _LIBCPP_THREAD_SAFETY_ANNOTATION(__release_capability__()); 373 _LIBCPP_HIDE_FROM_ABI void unlock(); 440 void shared_lock<_Mutex>::unlock() { 442 __throw_system_error(EPERM, "shared_lock::unlock: not locked");
|
H A D | mutex | 30 void unlock(); 47 void unlock(); 68 void unlock(); 86 void unlock(); 156 void unlock(); 232 void unlock() _NOEXCEPT; 261 void unlock() _NOEXCEPT; 300 void unlock() _NOEXCEPT; 454 ~scoped_lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability()) { __m_.unlock(); } 487 (std::get<_Indx>(__mt).unlock(), ...);
|
/freebsd/tools/test/stress2/misc/ |
H A D | rename16.sh | 73 #define UNLOCK(x) pthread_mutex_unlock(&x.mtx) 191 UNLOCK(newfiles); 214 UNLOCK(newfiles); 219 UNLOCK(newfiles); 228 UNLOCK(renamedfiles); 250 UNLOCK(renamedfiles); 255 UNLOCK(renamedfiles);
|
H A D | suj30.sh | 91 #define UNLOCK(x) pthread_mutex_unlock(&x.mtx) 209 UNLOCK(newfiles); 232 UNLOCK(newfiles); 237 UNLOCK(newfiles); 246 UNLOCK(renamedfiles); 268 UNLOCK(renamedfiles); 273 UNLOCK(renamedfiles);
|
/freebsd/contrib/unbound/util/storage/ |
H A D | lruhash.h | 55 * o find entry (if failed, unlock hash, unl bin, exit). 57 * o unlock hashtable. 59 * o unlock hash bin. 61 * o unlock entry. 66 * be deleted, it would cause race conditions. So instead, unlock and 70 * o unlock the entry if you hold the lock already. 74 * o find entry (if failed, unlock hash, unl bin, exit). 76 * o unlock hashtable. 78 * o unlock hash bin. 79 * o unlock entr [all...] |
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_dev_mgr.c | 164 goto unlock; in adf_devmgr_add_dev() 172 goto unlock; in adf_devmgr_add_dev() 178 goto unlock; in adf_devmgr_add_dev() 187 goto unlock; in adf_devmgr_add_dev() 189 unlock: in adf_devmgr_add_dev() 271 goto unlock; in adf_devmgr_get_dev_by_id() 284 unlock: in adf_devmgr_get_dev_by_id()
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | RWMutex.hpp | 34 bool unlock() { return true; } in unlock() function in libunwind::RWMutex 53 bool unlock() { 69 bool unlock() { return pthread_rwlock_unlock(&_lock) == 0; } 102 bool unlock() {
|
/freebsd/lib/libc/nls/ |
H A D | msgcat.c | 76 #define UNLOCK { if (__isthreaded) \ macro 97 UNLOCK; \ 165 UNLOCK; in __catopen_l() 170 UNLOCK; in __catopen_l() 175 UNLOCK; in __catopen_l() 377 UNLOCK; in catclose() 405 UNLOCK; in load_msgcat() 409 UNLOCK; in load_msgcat() 487 UNLOCK; in load_msgcat()
|
/freebsd/usr.sbin/pw/tests/ |
H A D | pw_lock_test.sh | 13 ${PW} unlock test || atf_fail "Locking the user" 25 ${PW} unlock 1001 || atf_fail "Unlocking the user" 33 ${PW} unlock 1001 || atf_fail "Unlocking the user"
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_slcr.c | 113 /* Unlock SLCR with magic number. */ in zy7_slcr_unlock() 130 /* Unlock SLCR registers. */ in zy7_slcr_cpu_reset() 159 /* Unlock SLCR registers. */ in zy7_slcr_preload_pl() 189 /* Unlock SLCR registers. */ in zy7_slcr_postload_pl() 235 /* Unlock SLCR registers. */ in cgem_set_ref_clk() 267 /* Unlock SLCR registers. */ in zy7_pl_fclk_set_source() 357 /* Unlock SLCR registers. */ in zy7_pl_fclk_set_freq() 442 /* Unlock SLCR registers. */ in zy7_pl_fclk_enable() 466 /* Unlock SLCR registers. */ in zy7_pl_fclk_disable()
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_host1x.c | 61 #define UNLOCK(_sc) sx_xunlock(&(_sc)->lock) macro 148 UNLOCK(sc); in host1x_drm_init() 163 UNLOCK(sc); in host1x_drm_exit() 184 UNLOCK(sc); in host1x_drm_exit() 389 UNLOCK(sc); in host1x_register_client() 410 UNLOCK(sc); in host1x_deregister_client() 414 UNLOCK(sc); in host1x_deregister_client() 426 UNLOCK(sc); in host1x_gen_intr() 436 UNLOCK(sc); in host1x_syncpt_intr()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/ |
H A D | mutex.h | 26 // Unlock the mutex. 27 void unlock(); 33 ~ScopedLock() { Mu.unlock(); } in ~ScopedLock()
|