Searched refs:locks (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-10-stable/sys/compat/linux/
H A Dcheck_internal_locks.d32 * 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 Dtrace_futexes.d33 * - 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-10-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Dlocks-table.c0 /* 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-10-stable/contrib/apr/
H A Dbuild.conf17 dso file_io locks memory misc mmap network_io poll random
H A Dbuild-outputs.mk40 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_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
41 locks/unix/proc_mutex.lo: locks/unix/proc_mutex.c .make.dirs include/apr_allocator.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_want.h
42 locks/unix/thread_cond.lo: locks/unix/thread_cond.c .make.dirs
43 locks/unix/thread_mutex.lo: locks/unix/thread_mutex.c .make.dirs include/apr_want.h
44 locks/unix/thread_rwlock.lo: locks/uni
[all...]
/freebsd-10-stable/etc/
H A Dddb.conf9 script lockinfo=show locks; show alllocks; show lockedvnods
/freebsd-10-stable/libexec/rtld-elf/
H A Drtld_lock.c324 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-10-stable/contrib/subversion/subversion/libsvn_client/
H A Dlist.c95 apr_hash_t *locks,
133 if (locks && apr_hash_count(locks) == 0)
134 locks = NULL;
167 if (locks)
170 lock = svn_hash_gets(locks, abs_path);
185 ra_session, locks, fs_path, depth, ctx,
212 If FETCH_LOCKS is TRUE, include locks when reporting directory entries.
249 apr_hash_t *locks; local
275 /* Maybe get all locks unde
91 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, 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, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
[all...]
H A Dinfo.c191 apr_hash_t *locks,
219 lock = svn_hash_gets(locks, fs_path);
234 depth, ctx, locks, subpool));
436 apr_hash_t *locks; local
440 err = svn_ra_get_locks2(ra_session, &locks, "", depth,
447 locks = apr_hash_make(pool); /* use an empty hash */
453 locks = apr_hash_make(pool); /* use an empty hash */
457 depth, ctx, locks, pool));
184 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
/freebsd-10-stable/usr.bin/csup/
H A Drcstokenizer.l48 keyword head|access|symbols|locks|comment|expand|strict|date|author|state|branches|next|desc|log|text
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drrwlock.c46 * 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 Dspa_misc.c62 * There are four basic locks for managing spa_t structures:
152 * To read the configuration, it suffices to hold one of these locks as reader.
153 * To modify the configuration, you must hold all locks as writer. To modify
157 * We use these distinct config locks to avoid recursive lock entry.
162 * The spa config locks cannot be normal rwlocks because we need the
199 * other locks, and lower than all of them, to ensure that it's safe
466 spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw) argument
470 if (!(locks & (1 << i)))
476 spa_config_exit(spa, locks & ((1 << i) - 1),
484 spa_config_exit(spa, locks
497 spa_config_enter(spa_t *spa, int locks, void *tag, krw_t rw) argument
530 spa_config_exit(spa_t *spa, int locks, void *tag) argument
549 spa_config_held(spa_t *spa, int locks, krw_t rw) argument
1302 int locks = SCL_STATE_ALL | oplocks; local
[all...]
/freebsd-10-stable/contrib/subversion/subversion/svnbench/
H A Dnull-list-cmd.c48 apr_int64_t locks;
74 pb->locks++;
156 "%15s locks\n"),
159 svn__ui64toa_sep(pb.locks, ',', pool)));
47 apr_int64_t locks; member in struct:print_baton
H A Dnull-info-cmd.c153 /* 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-10-stable/lib/libc/gen/
H A Ddlfcn.c205 _rtld_atfork_pre(int *locks) argument
211 _rtld_atfork_post(int *locks) argument
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Drrwlock.h84 * A reader-mostly lock implementation, tuning above reader-writer locks
92 rrwlock_t locks[RRM_NUM_LOCKS]; member in struct:rrmlock
/freebsd-10-stable/contrib/subversion/subversion/libsvn_fs_base/
H A Dfs.h108 DB *locks;
105 DB *locks; member in struct:base_fs_data_t
/freebsd-10-stable/gnu/usr.bin/rcs/co/
H A Dco.c91 * 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-10-stable/contrib/unbound/
H A DMakefile.in106 util/fptr_wlist.c util/locks.c util/log.c util/mini_event.c util/module.c \
120 fptr_wlist.lo locks.lo log.lo mini_event.lo module.lo net_help.lo \
197 ASYNCLOOK_OBJ_LINK=$(ASYNCLOOK_OBJ) log.lo locks.lo $(COMPAT_OBJ)
381 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
601 $(srcdir)/util/locks.h $(srcdir)/services/cache/dns.h $(srcdir)/util/data/msgreply.h \
606 $(srcdir)/services/cache/infra.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
613 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storage/slabhash.h \
617 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/msgparse.h \
620 $(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \
625 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks
[all...]
/freebsd-10-stable/contrib/compiler-rt/lib/
H A Datomic.c11 * arbitrary-sized memory locations. This design uses locks that should
21 * locks and hashes the object pointers to find the one that it should use.
38 /// Number of locks. This allocates one page on 32-bit platforms, two on
71 /// locks for atomic operations
72 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} }; variable
87 /// locks for atomic operations
88 static Lock locks[SPINLOCK_COUNT]; variable
106 return locks + (hash & SPINLOCK_MASK);
/freebsd-10-stable/lib/libunbound/
H A DMakefile19 libunbound.c libworker.c listen_dnsport.c localzone.c locks.c log.c \
/freebsd-10-stable/contrib/subversion/subversion/libsvn_ra_serf/
H A Dgetlocks.c79 { 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-10-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_bufferevent.c201 * 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-10-stable/contrib/subversion/subversion/libsvn_repos/
H A Dfs-wrap.c623 /* If there are locks run the post-lock even if there is an error. */
835 apr_hash_t *locks;
847 apr_pool_t *hash_pool = apr_hash_pool_get(b->locks);
856 svn_hash_sets(b->locks, apr_pstrdup(hash_pool, lock->path),
864 svn_repos_fs_get_locks2(apr_hash_t **locks,
885 baton.locks = all_locks;
891 /* Get all the locks. */
895 *locks = baton.locks;
832 apr_hash_t *locks; member in struct:get_locks_baton_t
861 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-10-stable/usr.bin/svn/lib/libapr/
H A DMakefile26 ${APR}/locks/unix ${APR}/memory/unix ${APR}/misc/unix \

Completed in 150 milliseconds

123