/freebsd-11-stable/sys/kern/ |
H A D | vfs_subr.c | 1012 * the vnode interlock and before it was locked again. 1300 * This vnode may found and locked via some other list, if so we 1616 ASSERT_VOP_ELOCKED(vp, "insmntque: non-locked vp"); 1666 * Called with the underlying object locked. 1756 * Called with the underlying object locked. 2774 * We must call VOP_INACTIVE with the node locked. Mark 2820 * Release an already locked vnode. This give the same effects as 2832 * Release an exclusively locked vnode. Do not unlock the vnode lock. 2845 _vhold(struct vnode *vp, bool locked) argument 2849 if (locked) 2903 _vdrop(struct vnode *vp, bool locked) argument 4583 int locked; local [all...] |
H A D | imgact_elf.c | 468 int error, locked, rv; local 518 locked = VOP_ISLOCKED(imgp->vp); 521 vn_lock(imgp->vp, locked | LK_RETRY); 925 * and that address space maps the locked vnode. In the common case, 926 * the locked vnode's v_usecount is decremented but remains greater 1328 int error, locked; local 1340 locked = PROC_LOCKED(p->td->td_proc); 1341 if (locked) 1350 if (locked)
|
H A D | kern_linker.c | 805 int locked; local 807 locked = sx_xlocked(&kld_sx); 808 if (!locked) 811 if (!locked)
|
H A D | kern_event.c | 101 static void kqueue_release(struct kqueue *kq, int locked); 770 * This has to be done while the kq is locked: 1519 kqueue_release(struct kqueue *kq, int locked) argument 1521 if (locked) 1528 if (!locked) 2045 * lock is owned, and filedesc sx is locked before, to not 2190 KASSERT(!(!!kqislocked && !knlislocked), ("kq locked w/o knl locked")); 2367 * Even if we are locked, we may need to drop the lock to allow any influx 2444 * since filedesc is locked [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 855 * the vnode, if any. The root vnode is referenced and locked. 857 * and locked. If any error happens the orinal vnode is unlocked and 1198 int locked; local 1225 locked = VOP_ISLOCKED(vp); 1238 vget(vp, locked | LK_VNHELD | LK_RETRY, curthread); 1341 * The mount-point vnode is kept locked to avoid spurious EBUSY
|
/freebsd-11-stable/sys/net/ |
H A D | if_ipsec.c | 976 ipsec_delete_tunnel(struct ifnet *ifp, int locked) argument 986 if (!locked) 997 if (!locked)
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | io_apic.c | 152 _ioapic_eoi_source(struct intsrc *isrc, int locked) argument 186 if (!locked) 198 if (!locked)
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_dummynet.c | 791 delete_fs(int i, int locked) argument 796 if (!locked) 805 if (!locked) 1586 * configure a flowset. Can be called from inside with locked=1, 1589 config_fs(struct dn_fs *nfs, struct dn_id *arg, int locked) argument 1607 ep = malloc(sizeof(*ep), M_TEMP, locked ? M_NOWAIT : M_WAITOK); 1629 if (!locked) 1688 if (!locked) 1853 s->fs = config_fs(&fs, NULL, 1 /* locked */);
|
H A D | ip_fw_sockopt.c | 352 * allocate a new map, returns the chain locked. extra is the number 356 get_map(struct ip_fw_chain *chain, int extra, int locked) argument 363 mflags = M_ZERO | ((locked != 0) ? M_NOWAIT : M_WAITOK); 371 if (!locked) 376 if (!locked) 740 map = get_map(chain, count, 0 /* not locked */); 800 int locked) 804 map = get_map(chain, 1, locked); 1045 map = get_map(chain, 0, 1 /* locked */); 3676 int error, locked; local 799 ipfw_add_protected_rule(struct ip_fw_chain *chain, struct ip_fw *rule, int locked) argument [all...] |
H A D | ip_fw_table.c | 76 uint8_t locked; /* 1 if locked from changes */ member in struct:table_config 306 if (tc->locked != 0) 1373 * XXX: Do we need to restrict swap between locked tables? 1801 tc->locked = ((i->flags & IPFW_TGFLAGS_LOCKED) != 0); 1891 tc->locked = 1; 1893 tc->locked = (i->flags & IPFW_TGFLAGS_LOCKED) != 0; 2077 i->flags |= (tc->locked != 0) ? IPFW_TGFLAGS_LOCKED : 0;
|
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | efx_ev.c | 1249 unsigned int locked; local 1275 locked = (eep->ee_index == 0) ? 1 : 0; 1278 eep->ee_index, &dword, locked);
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_mmap.c | 766 boolean_t locked; local 857 locked = VM_OBJECT_TRYWLOCK(object); 859 if (!locked) { 1113 * will be memory resident and locked (wired) upon return
|
H A D | uma_core.c | 636 * bucket The free/alloc bucket with items, cpu queue must be locked. 788 * Drain the cached buckets from a zone. Expects a locked zone on entry. 1910 bool locked; local 1942 locked = false; 1945 locked = true; 1948 if (locked) 1961 bool locked; local 1976 locked = false; 1979 locked = true; 1983 if (locked) [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 124 std::lock_guard<sys::Mutex> locked(lock); 160 std::lock_guard<sys::Mutex> locked(lock); 181 std::lock_guard<sys::Mutex> locked(lock);
|
/freebsd-11-stable/sys/rpc/ |
H A D | rpcsec_gss.h | 109 bool_t locked; member in struct:__anon13274
|
/freebsd-11-stable/usr.sbin/pw/ |
H A D | pw_user.c | 277 bool locked = false; local 306 locked = true; 307 if (mode == M_LOCK && locked) 308 errx(EX_DATAERR, "user '%s' is already locked", pwd->pw_name); 309 if (mode == M_UNLOCK && !locked) 310 errx(EX_DATAERR, "user '%s' is not locked", pwd->pw_name);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_wc/ |
H A D | wc_db_update_move.c | 178 svn_boolean_t locked; local 180 SVN_ERR(svn_wc__db_wclock_owns_lock_internal(&locked, wcroot, local_relpath, 182 if (!locked) 3707 This potentially touches nodes that aren't locked by us, but that is not 3866 svn_boolean_t locked; local 3868 SVN_ERR(svn_wc__db_wclock_owns_lock_internal(&locked, wcroot, 3872 if (!locked) 4036 svn_boolean_t locked; local 4039 &locked, wcroot, 4043 if (locked) [all...] |
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | chunk.c | 115 chunk_hooks_t *chunk_hooks, bool locked) 122 *chunk_hooks = locked ? chunk_hooks_get_locked(arena) : 114 chunk_hooks_assure_initialized_impl(tsdn_t *tsdn, arena_t *arena, chunk_hooks_t *chunk_hooks, bool locked) argument
|
/freebsd-11-stable/lib/librpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 847 lock.locked = FALSE; 867 client->cl_locked = lock.locked; 1135 * If the server has locked this client to a
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_misc.c | 269 int error, locked, writecount; local 279 locked = 0; 293 * From here on down, we have a locked vnode that must be unlocked. 296 locked = 1; 414 locked = 0; 486 if (locked)
|
/freebsd-11-stable/contrib/subversion/subversion/include/ |
H A D | svn_wc.h | 231 * may be retrieved. This allows an entire hierarchy to be locked, and 246 * that is already write locked then the error #SVN_ERR_WC_LOCKED will be 263 * missing from the physical filesystem will not be locked and will not cause 265 * subdirectory of @a path is already write locked. 421 * with @a path. @a path must be a directory that is locked as part of the 463 * because @a path is locked, then return the error #SVN_ERR_WC_LOCKED, 578 /** Gets up to two booleans indicating whether a path is locked for 582 * exists in @a wc_ctx. @a locked is set to TRUE when there is a 585 * @a locked_here and/or @a locked can be NULL when you are not 592 svn_boolean_t *locked, 3782 svn_boolean_t locked; member in struct:svn_wc_status3_t 3903 svn_boolean_t locked; member in struct:svn_wc_status2_t 4017 svn_boolean_t locked; member in struct:svn_wc_status_t [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | ip_carp.c | 300 sx_xlocked(&carp_sx), ("cif_vrs not locked")); \ 1641 int error = 0, locked = 0; local 1695 locked = 1; 1797 if (locked)
|
/freebsd-11-stable/sys/fs/devfs/ |
H A D | devfs_vnops.c | 229 int locked; local 234 locked = VOP_ISLOCKED(vp); 244 vn_lock(vp, locked | LK_RETRY);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_client/ |
H A D | status.c | 791 (*cst)->wc_is_locked = status->locked;
|
/freebsd-11-stable/sys/rpc/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 1131 lock.locked = FALSE; 1151 client->cl_locked = lock.locked; 1450 * If the server has locked this client to a
|