/freebsd-11-stable/sys/compat/linux/ |
H A D | check_internal_locks.d | 32 * Check if the internal locks are correctly acquired/released: 33 * - no recursive locking (mtx locks, write locks) 47 linuxulator*:locks:futex_mtx:locked 55 linuxulator*:locks:futex_mtx:locked 64 linuxulator*:locks:futex_mtx:unlock 74 linuxulator*:locks:futex_mtx:unlock 95 printf("Number of locks per type:");
|
H A D | trace_futexes.d | 33 * - internal locks 107 /* Internal locks */ 109 linuxulator*:locks:futex_mtx:locked 120 linuxulator*:locks:futex_mtx:unlock 130 linuxulator*:locks:futex_mtx:unlock 137 /* Timeout handling for internal locks */ 171 printf("Number of locks per type:");
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | locks-table.c | 0 /* locks-table.c : operations on the `locks' table 39 #include "locks-table.h" 52 DB *locks; local 56 BDB_ERR(db_create(&locks, env, 0)); 57 error = (locks->open)(SVN_BDB_OPEN_PARAMS(locks, NULL), 58 "locks", 0, DB_BTREE, 65 BDB_ERR(locks->close(locks, [all...] |
/freebsd-11-stable/contrib/apr/ |
H A D | build.conf | 17 dso file_io locks memory misc mmap network_io poll random
|
H A D | build-outputs.mk | 42 locks/unix/global_mutex.lo: locks/unix/global_mutex.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_global_mutex.h include/apr_inherit.h include/apr_network_io.h include/apr_perms_set.h include/apr_pools.h include/apr_portable.h include/apr_proc_mutex.h include/apr_shm.h include/apr_strings.h include/apr_tables.h include/apr_thread_mutex.h include/apr_thread_proc.h include/apr_time.h include/apr_user.h include/apr_want.h 43 locks/unix/proc_mutex.lo: locks/unix/proc_mutex.c .make.dirs include/apr_allocator.h include/apr_atomic.h include/apr_errno.h include/apr_general.h include/apr_hash.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_time.h include/apr_want.h 44 locks/unix/thread_cond.lo: locks/unix/thread_cond.c .make.dirs 45 locks/unix/thread_mutex.lo: locks/unix/thread_mutex.c .make.dirs include/apr_want.h 46 locks/unix/thread_rwlock.lo: locks/uni [all...] |
/freebsd-11-stable/etc/ |
H A D | ddb.conf | 9 script lockinfo=show locks; show alllocks; show lockedvnods
|
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | rtld_lock.c | 324 void *locks[RTLD_LOCK_CNT]; local 334 if ((locks[i] = pli->lock_create()) == NULL) 339 pli->lock_destroy(locks[i]); 352 rtld_locks[i].handle = locks[i]; 366 /* restore thread locking state, this time with new locks */ 373 _rtld_atfork_pre(int *locks) argument 377 if (locks == NULL) 382 * locks above, when the thread signal mask was corrupted (set 383 * to all signals blocked) if two locks were taken 386 * of the locks anywa 397 _rtld_atfork_post(int *locks) argument [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_client/ |
H A D | list.c | 118 apr_hash_t *locks, 158 if (locks && apr_hash_count(locks) == 0) 159 locks = NULL; 192 if (locks) 195 lock = svn_hash_gets(locks, abs_path); 211 locks, fs_path, patterns, depth, ctx, 233 /* All locks found for the whole tree; pick yours. */ 234 apr_hash_t *locks; member in struct:receiver_baton_t 254 if (b->locks) 114 get_dir_contents(apr_uint32_t dirent_fields, const char *dir, svn_revnum_t rev, svn_ra_session_t *ra_session, apr_hash_t *locks, const char *fs_path, const apr_array_header_t *patterns, svn_depth_t depth, svn_client_ctx_t *ctx, apr_hash_t *externals, const char *external_parent_url, const char *external_target, svn_client_list_func2_t list_func, void *baton, svn_membuf_t *scratch_buffer, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument 327 apr_hash_t *locks; local [all...] |
H A D | info.c | 192 apr_hash_t *locks, 220 lock = svn_hash_gets(locks, fs_path); 235 depth, ctx, locks, subpool)); 438 apr_hash_t *locks; local 442 err = svn_ra_get_locks2(ra_session, &locks, "", depth, 449 locks = apr_hash_make(pool); /* use an empty hash */ 455 locks = apr_hash_make(pool); /* use an empty hash */ 459 depth, ctx, locks, pool)); 185 push_dir_info(svn_ra_session_t *ra_session, const svn_client__pathrev_t *pathrev, const char *dir, svn_client_info_receiver2_t receiver, void *receiver_baton, svn_depth_t depth, svn_client_ctx_t *ctx, apr_hash_t *locks, apr_pool_t *pool) argument
|
H A D | status.c | 121 /* A baton for our reporter that is used to collect locks. */ 130 /* Pool to store locks in. */ 192 apr_hash_t *locks; 197 /* Open an RA session to our common ancestor and grab the locks under it. 202 /* The locks need to live throughout the edit. Note that if the 205 err = svn_ra_get_locks2(ras, &locks, "", rb->depth, rb->pool); 210 locks = apr_hash_make(rb->pool); 219 SVN_ERR(svn_wc_status_set_repos_locks(rb->set_locks_baton, locks, 235 the WC and fetches repository locks for all paths under this ancestor. */ 190 apr_hash_t *locks; local
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | rrwlock.c | 46 * then grab a write lock without first dropping all read locks, and 55 * to enter multiple and unique rrwlock_ts for read locks at the same time. 310 * A reader-mostly lock implementation, tuning above reader-writer locks 313 * The idea is to split single busy lock into array of locks, so that 316 * Writer same time has to sequentially aquire write on all the locks. 328 rrw_init(&rrl->locks[i], track_all); 337 rrw_destroy(&rrl->locks[i]); 362 rrw_enter_read(&rrl->locks[RRM_TD_LOCK()], tag); 371 rrw_enter_write(&rrl->locks[i]); 379 if (rrl->locks[ [all...] |
H A D | spa_misc.c | 69 * There are four basic locks for managing spa_t structures: 159 * To read the configuration, it suffices to hold one of these locks as reader. 160 * To modify the configuration, you must hold all locks as writer. To modify 164 * We use these distinct config locks to avoid recursive lock entry. 169 * The spa config locks cannot be normal rwlocks because we need the 206 * other locks, and lower than all of them, to ensure that it's safe 510 spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw) argument 514 if (!(locks & (1 << i))) 520 spa_config_exit(spa, locks & ((1 << i) - 1), 528 spa_config_exit(spa, locks 541 spa_config_enter(spa_t *spa, int locks, void *tag, krw_t rw) argument 574 spa_config_exit(spa_t *spa, int locks, void *tag) argument 593 spa_config_held(spa_t *spa, int locks, krw_t rw) argument 1363 int locks = SCL_STATE_ALL | oplocks; local [all...] |
/freebsd-11-stable/contrib/subversion/subversion/svnbench/ |
H A D | null-list-cmd.c | 48 apr_int64_t locks; 80 pb->locks++; 183 "%15s locks\n"), 186 svn__ui64toa_sep(pb.locks, ',', pool))); 47 apr_int64_t locks; member in struct:print_baton
|
H A D | null-info-cmd.c | 153 /* check for locks */ 173 apr_hash_t *locks; 177 err = svn_ra_get_locks2(ra_session, &locks, "", depth, pool); 171 apr_hash_t *locks; local
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | dlfcn.c | 234 _rtld_atfork_pre(int *locks __unused) 240 _rtld_atfork_post(int *locks __unused)
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | fs.h | 108 DB *locks; 105 DB *locks; member in struct:base_fs_data_t
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | rrwlock.h | 84 * A reader-mostly lock implementation, tuning above reader-writer locks 92 rrwlock_t locks[RRM_NUM_LOCKS]; member in struct:rrmlock
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | atomic.c | 10 // arbitrary-sized memory locations. This design uses locks that should 20 // locks and hashes the object pointers to find the one that it should use. 39 /// Number of locks. This allocates one page on 32-bit platforms, two on 75 /// locks for atomic operations 76 static Lock locks[SPINLOCK_COUNT] = {[0 ... SPINLOCK_COUNT - 1] = {0, 1, 0}}; variable 85 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0 variable 101 /// locks for atomic operations 102 static Lock locks[SPINLOCK_COUNT]; variable 119 return locks + (hash & SPINLOCK_MASK);
|
/freebsd-11-stable/gnu/usr.bin/rcs/co/ |
H A D | co.c | 91 * Permit multiple locks by same user. Add setuid support. 392 int locks = lockflag ? findlock(false, &targetdelta) : 0; variable 398 switch (locks) { 470 locks += lockflag; 471 if (1 < locks) 472 rcswarn("You now have %d locks.", locks);
|
/freebsd-11-stable/contrib/unbound/ |
H A D | Makefile.in | 124 util/fptr_wlist.c util/locks.c util/log.c util/mini_event.c util/module.c \ 143 fptr_wlist.lo edns.lo locks.lo log.lo mini_event.lo module.lo net_help.lo \ 229 ASYNCLOOK_OBJ_LINK=$(ASYNCLOOK_OBJ) log.lo locks.lo $(CHECKLOCK_OBJ) $(COMPAT_OBJ) @ASYNCLOOK_ALLOCCHECK_EXTRA_OBJ@ 446 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \ 683 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \ 690 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storage/dnstree.h \ 698 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storage/slabhash.h \ 703 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/msgparse.h \ 706 $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \ 712 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | getlocks.c | 79 { INITIAL, S_, "get-locks-report", REPORT, 126 locks on files, we can treat depth=immediates the same as 228 buckets, alloc, "S:get-locks-report", "xmlns:S", SVN_XML_NAMESPACE, 230 svn_ra_serf__add_close_tag_buckets(buckets, alloc, "S:get-locks-report"); 238 apr_hash_t **locks, 300 *locks = lock_ctx->hash; 234 svn_ra_serf__get_locks(svn_ra_session_t *ra_session, apr_hash_t **locks, const char *path, svn_depth_t depth, apr_pool_t *pool) argument
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_bufferevent.c | 201 * Trace lock/unlock/alloc/free for locks. 216 /* Map of locks */ 217 lock_wrapper *locks; member in struct:lock_unlock_base 220 .locks = NULL, 227 lock_wrapper *lock = &lu_base.locks[i]; 237 lu_base.locks = realloc(lu_base.locks, 240 lu_base.locks[lu_base.nr_locks - 1] = (lock_wrapper){ lock, ALLOC, 0 }; 304 /** re-create debug locks correctly */ 314 free(lu_base.locks); [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/ |
H A D | fs-wrap.c | 661 /* If there are locks run the post-lock even if there is an error. */ 873 apr_hash_t *locks; 885 apr_pool_t *hash_pool = apr_hash_pool_get(b->locks); 894 svn_hash_sets(b->locks, apr_pstrdup(hash_pool, lock->path), 902 svn_repos_fs_get_locks2(apr_hash_t **locks, 923 baton.locks = all_locks; 929 /* Get all the locks. */ 933 *locks = baton.locks; 870 apr_hash_t *locks; member in struct:get_locks_baton_t 899 svn_repos_fs_get_locks2(apr_hash_t **locks, svn_repos_t *repos, const char *path, svn_depth_t depth, svn_repos_authz_func_t authz_read_func, void *authz_read_baton, apr_pool_t *pool) argument
|
/freebsd-11-stable/lib/libunbound/ |
H A D | Makefile | 23 listen_dnsport.c localzone.c locks.c log.c lookup3.c lruhash.c \
|
/freebsd-11-stable/usr.bin/svn/lib/libapr/ |
H A D | Makefile | 95 ${APR}/locks/unix \
|