/freebsd/share/man/man9/ |
H A D | sx.9 | 52 .Nd kernel shared/exclusive lock 100 Shared/exclusive locks are used to protect data that are read far more often 102 Shared/exclusive locks do not implement priority propagation like mutexes and 104 shared/exclusive locks should be used prudently. 106 Shared/exclusive locks are created with either 117 shared/exclusive lock. 135 Allow threads to recursively acquire exclusive locks for 151 Shared/exclusive locks are destroyed with 166 Threads acquire and release an exclusive lock by calling 175 A thread can attempt to upgrade a currently held shared lock to an exclusive [all …]
|
H A D | lock.9 | 110 Allow recursive exclusive locks. 114 Allow exclusive locks only. 139 support for shared and exclusive locks, and recursion. 154 If an exclusive lock is currently held, 158 Acquire an exclusive lock. 159 If an exclusive lock is already held, and 164 Downgrade exclusive lock to a shared lock. 166 If an exclusive lock has been recursed, the system will 169 Upgrade a shared lock to an exclusive lock. 175 Attempts to upgrade an exclusive lock will cause a [all …]
|
H A D | rwlock.9 | 93 or exclusive access by a single thread. 97 A thread with exclusive access is known as a 106 with shared/exclusive semantics. 121 and exclusive locks can be made recursive selectively. 155 Allow threads to recursively acquire exclusive locks for 172 and its priority is propagated to the exclusive holder. 208 This function releases an exclusive lock previously acquired by 213 or an exclusive lock previously acquired by 216 Attempt to upgrade a single shared lock to an exclusive lock. 225 and the current thread will hold an exclusive lock. [all …]
|
H A D | locking.9 | 79 or exclusive access by a single thread. 83 A thread with exclusive access is known as a 89 with shared/exclusive semantics. 91 but priority is propagated only to an exclusive holder. 113 Threads holding an exclusive lock may sleep, 115 Priority is propagated to shared owners but not to exclusive owners. 116 .Ss Shared/exclusive locks 117 Shared/exclusive locks are similar to reader/writer locks; the main difference 118 between them is that shared/exclusive locks may be held during unbounded sleep. 119 Acquiring a contested shared/exclusive lock can perform an unbounded sleep. [all …]
|
H A D | rmlock.9 | 98 or exclusive access by a single thread. 102 A thread with exclusive access is known as a 109 Acquiring an exclusive lock after the lock has been locked for shared access 205 and its priority is propagated to the exclusive holder. 246 This function releases an exclusive lock previously acquired by 256 exclusive lock on 281 Assert that current thread holds either a shared or exclusive lock 288 Assert that current thread holds an exclusive lock of 291 Assert that current thread holds neither a shared nor exclusive lock of 338 This function releases an exclusive lock previously acquired by
|
H A D | vm_map_lock.9 | 62 macro obtains an exclusive lock on 67 macro releases an exclusive lock on 82 macro attempts to obtain an exclusive lock on 98 to an exclusive lock. 102 macro attempts to downgrade an exclusive lock on
|
H A D | vm_page_busy.9 | 95 in either exclusive or shared mode. 102 from an exclusive busy state to a shared busy state. 149 attempts to exclusive busy 159 in exclusive mode. 164 function exclusive unbusies 188 is not exclusive busied.
|
H A D | VOP_LOCK.9 | 66 Exclusive lock. 68 Shared-to-exclusive upgrade. 70 Exclusive-to-shared downgrade. 87 Allow recursive exclusive lock.
|
/freebsd/sys/nlm/ |
H A D | nlm_prot_server.c | 74 dst->exclusive = src->exclusive; in nlm_convert_to_nlm_holder() 85 dst->exclusive = src->exclusive; in nlm_convert_to_nlm4_holder() 136 args4.exclusive = argp->exclusive; in nlm_test_1_svc() 161 args4.exclusive = argp->exclusive; in nlm_lock_1_svc() 182 args4.exclusive = argp->exclusive; in nlm_cancel_1_svc() 217 args4.exclusive = argp->exclusive; in nlm_granted_1_svc() 237 args4.exclusive = argp->exclusive; in nlm_test_msg_1_svc() 270 args4.exclusive = argp->exclusive; in nlm_lock_msg_1_svc() 300 args4.exclusive = argp->exclusive; in nlm_cancel_msg_1_svc() 353 args4.exclusive = argp->exclusive; in nlm_granted_msg_1_svc() [all …]
|
H A D | nlm_advlock.c | 298 * before an exclusive lock is granted. The in nlm_advlock_internal() 301 * blocked exclusive lock request. We in nlm_advlock_internal() 551 dst->exclusive = src->exclusive; in nlm_convert_to_nlm4_holder() 577 args1.exclusive = args->exclusive; in nlm_test_rpc() 609 args1.exclusive = args->exclusive; in nlm_lock_rpc() 638 args1.exclusive = args->exclusive; in nlm_cancel_rpc() 769 int retry, block, exclusive; in nlm_setlock() local 777 exclusive = (fl->l_type == F_WRLCK); in nlm_setlock() 784 args.exclusive = exclusive; in nlm_setlock() 867 cancel.exclusive = exclusive; in nlm_setlock() [all …]
|
H A D | nlm_prot_xdr.c | 24 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm_holder() 112 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm_lockargs() 131 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm_cancargs() 144 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm_testargs() 256 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm4_holder() 339 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm4_testargs() 365 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm4_lockargs() 384 if (!xdr_bool(xdrs, &objp->exclusive)) in xdr_nlm4_cancargs()
|
/freebsd/include/rpcsvc/ |
H A D | nlm_prot.x | 27 bool exclusive; member 67 bool exclusive; member 76 bool exclusive; member 82 bool exclusive; member 158 bool exclusive; member 196 bool exclusive; member 208 bool exclusive; member 217 bool exclusive; member
|
/freebsd/usr.bin/iscsictl/ |
H A D | iscsictl.c | 743 xo_errx(1, "-a and -e are mutually exclusive"); in main() 745 xo_errx(1, "-a and -p are mutually exclusive"); in main() 747 xo_errx(1, "-a and -t are mutually exclusive"); in main() 749 xo_errx(1, "-a and -u are mutually exclusive"); in main() 751 xo_errx(1, "-a and -s are mutually exclusive"); in main() 753 xo_errx(1, "-a and -n are mutually exclusive"); in main() 755 xo_errx(1, "-a and -d are mutually exclusive"); in main() 757 xo_errx(1, "-a and -r are mutually exclusive"); in main() 760 xo_errx(1, "-n and -e are mutually exclusive"); in main() 762 xo_errx(1, "-n and -p are mutually exclusive"); in main() [all …]
|
/freebsd/lib/libsys/ |
H A D | fcntl.2 | 334 or exclusive (or write) locks, 338 If a shared or exclusive lock cannot be set, 345 except that if a shared or exclusive lock is blocked by other locks, 360 A shared lock prevents any other process from setting an exclusive 365 An exclusive lock prevents any other process from setting a shared lock or 366 an exclusive lock on any portion of the protected area. 367 A request for an exclusive lock fails if the file was not 432 of shared locks and exclusive locks, an 557 or exclusive lock 560 exclusive-locked by another process; [all …]
|
H A D | flock.2 | 39 .Fd "#define LOCK_EX 0x02 /* exclusive file lock */" 74 .Em exclusive 77 but at no time are multiple exclusive, or both shared and exclusive, 82 to an exclusive lock, and vice versa, simply by specifying
|
/freebsd/sbin/camcontrol/ |
H A D | persist.c | 278 " Exclusive type reservations and Exclusive Access type reservations\n" in persist_print_cap() 280 " are allowed through Write Exclusive type reservations:\n" in persist_print_cap() 290 " Exclusive type reservations and Exclusive Access type reservations\n" in persist_print_cap() 291 " and does not allow the following commands through Write Exclusive type\n" in persist_print_cap() 299 " through Write Exclusive type reservations or Exclusive Access type\n" in persist_print_cap() 305 " Exclusive type reservations and Exclusive Access type reservations\n" in persist_print_cap() 306 " and allows the following commands through Write Exclusive type\n" in persist_print_cap() 314 " through Write Exclusive type reservations or Exclusive Access type\n" in persist_print_cap() 320 " COPY RESULTS command through Write Exclusive type reservations and\n" in persist_print_cap() 321 " Exclusive Access type reservations and allows the following commands\n" in persist_print_cap() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_lock.c | 278 (queue == SQ_EXCLUSIVE_QUEUE) ? "exclusive" : "shared"); in sleeplk() 333 * If the lock has exclusive waiters, give them preference in in wakeupshlk() 335 * If interruptible sleeps left the exclusive queue empty in wakeupshlk() 338 * exclusive waiters bit anyway. in wakeupshlk() 358 "%s: %p waking up threads on the exclusive queue", in wakeupshlk() 366 * Exclusive waiters sleeping with LK_SLEEPFAIL on in wakeupshlk() 387 "exclusive"); in wakeupshlk() 504 KASSERT(lk->lk_exslpfail == 0, ("lockmgr still exclusive waiters")); in lockdestroy() 513 * If no other thread has an exclusive lock, or in lockmgr_slock_try() 514 * no exclusive waiter is present, bump the count of in lockmgr_slock_try() [all …]
|
H A D | kern_sx.c | 33 * Shared/exclusive locks. This implementation attempts to ensure 109 * Returns true if an exclusive lock is recursed. It assumes 110 * curthread currently has an exclusive lock. 419 * Try to do a non-blocking upgrade from a shared lock to an exclusive lock. 438 * Try to switch from one shared lock to an exclusive lock. We need in sx_try_upgrade_int() 440 * we will wake up the exclusive waiters when we drop the lock. in sx_try_upgrade_int() 472 * Downgrade an unrecursed exclusive lock into a single shared lock. 493 * Try to switch from an exclusive lock with no shared waiters in sx_downgrade_int() 495 * exclusive waiters, we don't need to lock the sleep queue so in sx_downgrade_int() 618 /* If we already hold an exclusive lock, then recurse. */ in _sx_xlock_hard() [all …]
|
/freebsd/usr.sbin/pmc/ |
H A D | cmd_pmc_filter.cc | 198 char *events, char *processes, char *threads, bool exclusive, bool json, int infd, in pmc_filter_handler() argument 260 if ((i == pidcount) == exclusive) in pmc_filter_handler() 267 if ((i == lwpcount) == exclusive) in pmc_filter_handler() 284 if ((i == eventcount) == exclusive) in pmc_filter_handler() 288 pmc_find_name(pidmap, ev.pl_u.pl_cc.pl_pid, proclist, proccount) == exclusive) in pmc_filter_handler() 291 pmc_find_name(tidmap, ev.pl_u.pl_cc.pl_tid, threadlist, threadcount) == exclusive) in pmc_filter_handler() 305 bool exclusive, json; in cmd_pmc_filter() local 309 json = exclusive = false; in cmd_pmc_filter() 331 exclusive = !exclusive; in cmd_pmc_filter() 357 processes, threads, exclusive, json, prelogfd, postlogfd); in cmd_pmc_filter()
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/ |
H A D | recommended.json | 213 "PublicDescription": "Exclusive operation speculatively executed, LDREX or LDX", 216 "BriefDescription": "Exclusive operation speculatively executed, LDREX or LDX" 219 "PublicDescription": "Exclusive operation speculatively executed, STREX or STX pass", 222 "BriefDescription": "Exclusive operation speculatively executed, STREX or STX pass" 225 "PublicDescription": "Exclusive operation speculatively executed, STREX or STX fail", 228 "BriefDescription": "Exclusive operation speculatively executed, STREX or STX fail" 231 "PublicDescription": "Exclusive operation speculatively executed, STREX or STX", 234 "BriefDescription": "Exclusive operation speculatively executed, STREX or STX"
|
H A D | armv8-recommended.json | 213 "PublicDescription": "Exclusive operation speculatively executed, LDREX or LDX", 216 "BriefDescription": "Exclusive operation speculatively executed, LDREX or LDX" 219 "PublicDescription": "Exclusive operation speculatively executed, STREX or STX pass", 222 "BriefDescription": "Exclusive operation speculatively executed, STREX or STX pass" 225 "PublicDescription": "Exclusive operation speculatively executed, STREX or STX fail", 228 "BriefDescription": "Exclusive operation speculatively executed, STREX or STX fail" 231 "PublicDescription": "Exclusive operation speculatively executed, STREX or STX", 234 "BriefDescription": "Exclusive operation speculatively executed, STREX or STX"
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | numeric.cppm |
|
/freebsd/share/doc/smm/05.fastfs/ |
H A D | 5.t | 140 .I exclusive 142 Only one process may have an exclusive 144 Both shared and exclusive locks cannot be present on 147 another process holds an exclusive lock, 148 or an exclusive lock is requested when another process holds any lock, 150 Because shared and exclusive locks are advisory only, 160 apply an exclusive lock and update the file.
|
/freebsd/contrib/openresolv/ |
H A D | resolvconf.8.in | 116 as exclusive. 117 Only the latest exclusive interface is used for processing, otherwise all are. 146 as exclusive when adding, otherwise only use the latest exclusive interface. 279 as exclusive.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64SMEAttributes.cpp | 23 "SM_Enabled and SM_Compatible are mutually exclusive"); in set() 27 "ZA_New and SME_ABI_Routine are mutually exclusive"); in set() 33 "'aarch64_inout_za' and 'aarch64_preserves_za' are mutually exclusive"); in set() 40 "'aarch64_inout_zt0' and 'aarch64_preserves_zt0' are mutually exclusive"); in set()
|