Home
last modified time | relevance | path

Searched refs:locks (Results 1 – 25 of 25) sorted by path

/illumos-gate/usr/src/cmd/bnu/
H A DMakefile77 ROOTSPLOCKS = $(ROOTSPOOL)/locks
H A Duudemon.cleanup113 LOCKS=/var/spool/locks # needs a comment in parms.h on USRSPOOLOCKS
/illumos-gate/usr/src/cmd/dtrace/demo/lockstat/
H A Dwhatlock.d30 @locks["adaptive"] = count();
36 @locks["spin"] = count();
/illumos-gate/usr/src/cmd/initpkg/init.d/
H A Duucp35 /usr/bin/rm -rf /usr/spool/locks/* >/dev/null 2>&1 &
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c2965 foundlock_t *locks; in findlocks_findmutex() local
2973 locks = mdb_zalloc(size, UM_SLEEP); in findlocks_findmutex()
2976 bcopy(fl->fl_locks, locks, osize); in findlocks_findmutex()
2980 fl->fl_locks = locks; in findlocks_findmutex()
/illumos-gate/usr/src/data/terminfo/
H A Dtermcap.src11008 # lm: Pointless, given that this definition locks a single screen of
H A Dterminfo.src12425 # lm: Pointless, given that this definition locks a single screen of
/illumos-gate/usr/src/lib/libc/
H A DREADME39 Almost all internal libc locks (mutexes and read-write locks)
150 On return from fork_lock_enter(), no internal libc locks are held
203 deferred while locks acquired by these functions are held, making
205 and free() are permissible while holding such locks.
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derrlist90 46 ENOLCK No record locks available
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dlock.test13 # focus of this script is database locks.
140 # connections, because UNIX supports reader/writer locks. Under windows,
H A Dtrans.test13 # focus of this script is database locks.
/illumos-gate/usr/src/pkg/manifests/
H A DSUNWcs.p5m1554 dir path=var/spool/locks owner=uucp group=uucp
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_locking.c434 static struct tracker_list *locks; variable
695 add_tracker(&locks, my_id, name, sym); in do_lock()
706 add_tracker(&locks, my_id, name, sym); in do_lock_failed()
720 add_tracker(&locks, my_id, name, sym); in do_unlock()
743 add_tracker(&locks, my_id, name, sym); in do_restore()
1073 FOR_EACH_PTR(locks, tracker) { in match_func_end()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dunlocked_paths.pl42 my $locks = quotemeta $2;
46 if (!($locks =~ /$lock/)) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_recovery.c2209 locklist_t *locks, *llp; in relock_file() local
2230 locks = flk_active_locks_for_vp(vp); in relock_file()
2231 for (llp = locks; llp != NULL; llp = llp->ll_next) { in relock_file()
2289 if (locks != NULL) in relock_file()
2290 flk_free_locklist(locks); in relock_file()
H A Dnfs4_vnops.c15851 locklist_t *locks, *llp, *ri_llp, *tmp_llp; in nfs4_reinstitute_local_lock_state() local
15871 locks = flk_active_locks_for_vp(vp); in nfs4_reinstitute_local_lock_state()
15874 for (llp = locks; llp != NULL; llp = llp->ll_next) { in nfs4_reinstitute_local_lock_state()
15970 if (locks != NULL) in nfs4_reinstitute_local_lock_state()
15971 flk_free_locklist(locks); in nfs4_reinstitute_local_lock_state()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c905 int locks = spa_config_held(spa, SCL_ALL, RW_WRITER); in metaslab_group_passivate() local
932 spa_config_exit(spa, locks & ~(SCL_ZIO - 1), spa); in metaslab_group_passivate()
934 spa_config_enter(spa, locks & ~(SCL_ZIO - 1), spa, RW_WRITER); in metaslab_group_passivate()
H A Drrwlock.c329 rrw_init(&rrl->locks[i], track_all); in rrm_init()
338 rrw_destroy(&rrl->locks[i]); in rrm_destroy()
363 rrw_enter_read(&rrl->locks[RRM_TD_LOCK()], tag); in rrm_enter_read()
372 rrw_enter_write(&rrl->locks[i]); in rrm_enter_write()
380 if (rrl->locks[0].rr_writer == curthread) { in rrm_exit()
382 rrw_exit(&rrl->locks[i], tag); in rrm_exit()
384 rrw_exit(&rrl->locks[RRM_TD_LOCK()], tag); in rrm_exit()
392 return (rrw_held(&rrl->locks[0], rw)); in rrm_held()
394 return (rrw_held(&rrl->locks[RRM_TD_LOCK()], rw)); in rrm_held()
H A Dspa_misc.c457 if (!(locks & (1 << i))) in spa_config_tryenter()
463 spa_config_exit(spa, locks & ((1 << i) - 1), in spa_config_tryenter()
471 spa_config_exit(spa, locks & ((1 << i) - 1), in spa_config_tryenter()
494 if (!(locks & (1 << i))) in spa_config_enter()
513 ASSERT3U(wlocks_held, <=, locks); in spa_config_enter()
521 if (!(locks & (1 << i))) in spa_config_exit()
542 if (!(locks & (1 << i))) in spa_config_held()
1342 int locks = SCL_STATE_ALL | oplocks; in spa_vdev_state_enter() local
1354 int low = locks & ~(SCL_ZIO - 1); in spa_vdev_state_enter()
1355 int high = locks & ~low; in spa_vdev_state_enter()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Drrwlock.h93 rrwlock_t locks[RRM_NUM_LOCKS]; member
H A Dspa.h878 extern int spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw);
879 extern void spa_config_enter(spa_t *spa, int locks, void *tag, krw_t rw);
880 extern void spa_config_exit(spa_t *spa, int locks, void *tag);
881 extern int spa_config_held(spa_t *spa, int locks, krw_t rw);
/illumos-gate/usr/src/uts/common/io/e1000api/
H A DREADME295 5050369 E1000g locks the system if plumb/unplumb under heavy workload and snoop.
/illumos-gate/usr/src/uts/common/io/e1000g/
H A DREADME295 5050369 E1000g locks the system if plumb/unplumb under heavy workload and snoop.
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dchanges.txt1076 their own locks while using GPE API's to protect access to GPE data
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c194 int locks);
1236 fd_cleanup(dev_info_t *dip, struct fdctlr *fdc, int hard, int locks) in fd_cleanup() argument
1329 if (locks) { in fd_cleanup()