/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_lock.c | 3 * Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA 7 * copy of this software and associated documentation files (the 8 * "Software"), to deal in the Software without restriction, including 10 * distribute, sub license, and/or sell copies of the Software, and to 11 * permit persons to whom the Software is furnished to do so, subject to 16 * of the Software. 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 23 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 24 * USE OR OTHER DEALINGS IN THE SOFTWARE. [all …]
|
/freebsd/lib/libsys/ |
H A D | lockf.3 | 6 .\" This code is derived from software contributed to The NetBSD Foundation 18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 45 function allows sections of a file to be locked with advisory-mode locks. 48 from other processes which attempt to lock the locked file section will 55 The file descriptor must have been opened either for write-only 67 .Bl -tag -width F_ULOCKXX -compact -offset indent 71 unlock locked sections 91 argument is the number of contiguous bytes to be locked or 93 The section to be locked or unlocked starts at the current [all …]
|
H A D | mlock.2 | 13 .\" may be used to endorse or promote products derived from this software 16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 55 system call unlocks pages previously locked by one or more 69 system call, the indicated pages will cause neither a non-resident page 70 nor address-translation fault until they are unlocked. 71 They may still cause protection-violation faults or TLB-miss faults on 72 architectures with software-managed TLBs. 73 The physical pages remain in memory until all locked mappings for the pages 75 Multiple processes may have the same physical pages locked via their own [all …]
|
H A D | mlockall.2 | 6 .\" This code is derived from software contributed to The NetBSD Foundation 19 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 55 .Bl -tag -width ".Dv MCL_CURRENT" 67 A single process can lock the minimum of a system-wide 71 and the per-process 77 is set to 0 these calls are only available to the super-user. 80 is set to 1 the per-process 88 call unlocks any locked memory regions in the process address space. 91 call will not be locked. [all …]
|
H A D | fcntl.2 | 13 .\" may be used to endorse or promote products derived from this software 16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 .Bl -tag -width F_DUP2FD_CLOEXEC 62 .Bl -bullet -compact -offset 4n 77 The close-on-exec flag 95 .Bd -literal -offset indent 116 Get the close-on-exec flag associated with the file descriptor 130 Set the close-on-exec flag associated with 180 is non-zero. [all …]
|
H A D | flock.2 | 13 .\" may be used to endorse or promote products derived from this software 16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 87 Requesting a lock on an object that is already locked 121 If a file is locked by a process through 123 any record within the file will be seen as locked 132 .Rv -std flock 137 .Bl -tag -width Er 139 The file is locked and the
|
/freebsd/sys/security/mac/ |
H A D | mac_net.c | 1 /*- 2 * Copyright (c) 1999-2002, 2009, 2019 Robert N. M. Watson 4 * Copyright (c) 2001-2004 Networks Associates Technology, Inc. 9 * This software was developed by Robert Watson and Ilmar Habibulin for the 12 * This software was enhanced by SPARTA ISSO under SPAWAR contract 13 * N66001-04-C-6019 ("SEFOS"). 15 * This software was developed for the FreeBSD Project in part by Network 17 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), 20 * This software was developed at the University of Cambridge Computer 32 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND [all …]
|
/freebsd/share/man/man9/ |
H A D | VOP_CREATE.9 | 1 .\" -*- nroff -*- 7 .\" This program is free software. 18 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 27 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 55 .Bl -tag -width target 57 The locked vnode of the directory. 59 The address of a variable where the resulting locked vnode should be stored. 74 will be locked on entry and must remain locked on return. 75 If the call is successful, the new object will be returned locked. 82 .Bl -tag -width Er
|
H A D | VOP_LOOKUP.9 | 1 .\" -*- nroff -*- 7 .\" This program is free software. 18 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 27 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 45 .Bl -tag -width vpp 47 The locked vnode of the directory to search. 49 The address of a variable where the resulting locked vnode should be stored. 53 .Bd -literal 73 Convert a component of a pathname into a pointer to a locked vnode. 79 .Fa cnp->cn_nameiop [all …]
|
H A D | VOP_ATTRIB.9 | 1 .\" -*- nroff -*- 7 .\" This program is free software. 18 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 27 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 77 .Bl -tag -width cred 89 .Bl -tag -width active_cred 114 expect the vnode to be locked on entry and will leave the vnode locked on 119 expects the vnode to be locked on entry and will leave the vnode locked on 135 .Bl -tag -width Er 141 The file system is read-only.
|
H A D | namei.9 | 8 .\" This program is free software. 19 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 28 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 .\" - eivind@FreeBSD.org 78 .Bl -tag -width ".Fa segflg" 120 .Bl -tag -width ".Dv WANTPARENT" 141 in locked state, unless it is identical to 145 is not locked per se (but may be locked due to 160 .Dv mp->mnt_kern_flag 222 .Bl -tag -width ".Va ni_cnd.cn_pnbuf" [all …]
|
H A D | vrele.9 | 1 .\" -*- nroff -*- 8 .\" This program is free software. 19 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 28 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 .Bl -tag -width 2n 62 function should be given a locked vnode as argument, the vnode is unlocked 74 function takes a locked vnode as argument, and returns with the vnode locked. 80 field of the non-doomed vnode reaches zero, then it will be inactivated 89 Non-forced unmount fails when mount point owns a vnode that has non-zero
|
H A D | VOP_OPENCLOSE.9 | 1 .\" -*- nroff -*- 7 .\" This program is free software. 18 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 27 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 .Bl -tag -width mode 74 for in-kernel opens. 85 to be locked on entry and will leave it locked on return. 89 care whether the vnode is locked or not.
|
H A D | BUF_UNLOCK.9 | 15 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY 24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 32 .Nd "unlocks a locked buffer" 44 function unlocks a buffer that was previously locked with 50 .Bl -tag -width ".Fa bp" 53 The buffer must already be locked.
|
H A D | VOP_RDWR.9 | 1 .\" -*- nroff -*- 7 .\" This program is free software. 18 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 27 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48 .Bl -tag -width ioflag 63 read-ahead hint (in units of file system blocks) that the file system 67 .Bl -tag -width "IO_NODELOCKED" 75 Underlying node already locked. 83 The file should be locked on entry and will still be locked on exit. 88 .Bl -tag -width Er [all …]
|
/freebsd/crypto/openssh/ |
H A D | platform.c | 4 * Permission to use, copy, modify, and distribute this software for any 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 30 #include "auth-pam.h" 33 #include "openbsd-compat/openbsd-compat.h" 42 /* Adjust out-of-memory killer so listening process is not killed */ in platform_pre_listen() 136 if (getluid() == -1 && setluid(pw->pw_uid) == -1) in platform_setusercontext() 183 if (setpcred(pw->pw_name, creds) == -1) in platform_setusercontext_post_groups() 188 ssh_selinux_setup_exec_context(pw->pw_name); in platform_setusercontext_post_groups() [all …]
|
/freebsd/sys/contrib/ck/include/spinlock/ |
H A D | anderson.h | 2 * Copyright 2010-2015 Samy Al Bahra. 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 39 * This is an implementation of Anderson's array-based queuing lock. 42 unsigned int locked; member 52 char pad[CK_MD_CACHELINE - sizeof(unsigned int) * 3 - sizeof(void *)]; 64 slots[0].locked = false; in ck_spinlock_anderson_init() 67 slots[i].locked = true; in ck_spinlock_anderson_init() 71 lock->slots = slots; in ck_spinlock_anderson_init() 72 lock->count = count; in ck_spinlock_anderson_init() [all …]
|
H A D | mcs.h | 2 * Copyright 2010-2015 Samy Al Bahra. 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 39 unsigned int locked; member 62 node->locked = true; in ck_spinlock_mcs_trylock() 63 node->next = NULL; in ck_spinlock_mcs_trylock() 91 node->locked = true; in ck_spinlock_mcs_lock() 92 node->next = NULL; in ck_spinlock_mcs_lock() 106 ck_pr_store_ptr(&previous->next, node); in ck_spinlock_mcs_lock() 107 while (ck_pr_load_uint(&node->locked) == true) in ck_spinlock_mcs_lock() [all …]
|
/freebsd/share/man/man4/ |
H A D | uart.4 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 17 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 26 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 .Bl -tag -compact -width 0x000000 72 EIA RS-232C (CCITT V.24) serial communications interface. 112 It contains the bus attachments and the low-level interrupt handler. 122 design or software setup. 144 .Bl -bullet -compact 182 .Bl -tag -compact -offset "mmmm" -width "mmmm" [all …]
|
H A D | pchtherm.4 | 13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 46 .Bd -literal 63 .Bl -tag -width ".Va dev.pchtherm.%d.pch_hot_level" 65 Is the read-only value of the current temperature read by the sensor. 68 This will not appear when this feature is disabled and locked down. 82 This will not appear when sensor enable bit is locked down and the value is zero(which will show -5… 85 This will not appear when sensor enable bit is locked down and the value is zero(which will show -5… 95 This value is not appear when this feature is disabled and locked down. 100 All values are read-only. [all …]
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | lib_trace.c | 2 * Copyright 2018-2023,2024 Thomas E. Dickey * 3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. * 6 * copy of this software and associated documentation files (the * 7 * "Software"), to deal in the Software without restriction, including * 10 * copies of the Software, and to permit persons to whom the Software is * 14 * in all copies or substantial portions of the Software. * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * 22 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 26 * sale, use or other dealings in this Software without prior written * [all …]
|
/freebsd/sys/dev/usb/net/ |
H A D | if_mos.c | 1 /*- 2 * SPDX-License-Identifier: (BSD-1-Clause AND BSD-4-Clause) 6 * Permission to use, copy, modify, and distribute this software for any 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 19 /*- 22 * Permission to use, copy, modify, and distribute this software for any 26 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 27 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF [all …]
|
/freebsd/usr.sbin/daemon/ |
H A D | daemon.8 | 1 .\" Copyright (c) 1999 Berkeley Software Design, Inc. All rights reserved. 11 .\" 3. Berkeley Software Design Inc's name may not be used to endorse or 12 .\" promote products derived from this software without specific prior 15 .\" THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN INC ``AS IS'' AND 18 .\" ARE DISCLAIMED. IN NO EVENT SHALL BERKELEY SOFTWARE DESIGN INC BE LIABLE 24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 .Bl -tag -width indent 59 .It Fl C , Fl -restart-count Ar restart_count 69 .Fl -restart . 70 .It Fl c , Fl -change-dir [all …]
|
/freebsd/contrib/unbound/validator/ |
H A D | val_anchor.h | 2 * validator/val_anchor.h - validator trust anchor storage. 6 * This software is open source. 20 * be used to endorse or promote products derived from this software without 23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 33 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 55 * The tree must be locked, while no other locks (from trustanchors) are held. 56 * And then an anchor searched for. Which can be locked or deleted. Then 65 * dnames are in nsec-like order. A lookup on class, name will return 161 * @return the trust anchor or NULL if none is found. The anchor is locked. 173 * @return NULL if not found. The anchor is locked. [all …]
|
/freebsd/sys/sys/ |
H A D | lockf.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 7 * This code is derived from software contributed to Berkeley by 19 * may be used to endorse or promote products derived from this software 22 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 53 * graph. Each pending lock has an out-going edge to each active lock 57 * (i) locked by the vnode interlock 58 * (s) locked by state->ls_lock 59 * (S) locked by lf_lock_states_lock [all …]
|