HomeSort by: relevance | last modified time | path
    Searched refs:lk (Results 1 - 13 of 13) sorted by relevancy

  /src/tests/kernel/
t_lock.c 43 __cpu_simple_lock_t lk; variable in typeref:typename:__cpu_simple_lock_t
50 __cpu_simple_unlock(&lk);
64 __cpu_simple_lock_init(&lk);
74 __cpu_simple_lock(&lk);
75 __cpu_simple_lock(&lk);
79 __cpu_simple_unlock(&lk);
  /src/tests/lib/libpthread/
t_rwlock.c 69 pthread_rwlock_t lk; variable in typeref:typename:pthread_rwlock_t
93 PTHREAD_REQUIRE(pthread_rwlock_init(&lk, NULL));
94 PTHREAD_REQUIRE(pthread_rwlock_rdlock(&lk));
95 PTHREAD_REQUIRE(pthread_rwlock_rdlock(&lk));
96 PTHREAD_REQUIRE(pthread_rwlock_unlock(&lk));
98 ATF_REQUIRE_EQ(pthread_rwlock_trywrlock(&lk), EBUSY);
103 error = pthread_rwlock_timedwrlock(&lk, &to);
107 PTHREAD_REQUIRE(pthread_rwlock_unlock(&lk));
112 PTHREAD_REQUIRE(pthread_rwlock_timedwrlock(&lk, &to));
117 error = pthread_rwlock_timedwrlock(&lk, &to)
    [all...]
  /src/sys/kern/
sys_aio.c 330 aiowaitgrouplk_fini(&job->lk);
346 aiowaitgrouplk_flush(&job->lk);
571 aiowaitgroup_join(wg, &job->lk);
1456 aiowaitgrouplk_init(struct aiowaitgrouplk *lk)
1458 mutex_init(&lk->mtx, MUTEX_DEFAULT, IPL_NONE);
1459 lk->n = 0;
1460 lk->s = 2;
1461 lk->wgs = kmem_alloc(sizeof(*lk->wgs) * lk->s, KM_SLEEP)
    [all...]
  /src/lib/librumpuser/
rumpuser_pth_dummy.c 164 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_enter
166 switch (lk) {
208 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_held
210 switch (lk) {
rumpuser_pth.c 376 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_enter
378 switch (lk) {
398 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_tryenter
401 switch (lk) {
480 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_held
482 switch (lk) {
rumpfiber.c 791 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_enter
795 switch (lk) {
815 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_tryenter
818 switch (lk) {
871 enum rumprwlock lk = enum_rumprwlock; local in function:rumpuser_rw_held
873 switch (lk) {
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_deadlock_detector1.cc 109 SpinMutexLock lk(&mtx); local in function:__sanitizer::DD::MutexBeforeLock
164 SpinMutexLock lk(&mtx); local in function:__sanitizer::DD::MutexAfterLock
181 SpinMutexLock lk(&mtx); local in function:__sanitizer::DD::MutexDestroy
  /src/sys/sys/
aio.h 125 struct aiowaitgrouplk lk; /* List of waitgroups waiting on this job */ member in struct:aio_job
  /src/lib/libperfuse/
fuse.h 350 struct fuse_file_lock lk; member in struct:fuse_lk_in
356 struct fuse_file_lock lk; member in struct:fuse_lk_out
ops.c 3008 fli->lk.start = fl->l_start;
3009 fli->lk.end = fl->l_start + fl->l_len;
3010 fli->lk.type = fl->l_type;
3011 fli->lk.pid = fl->l_pid;
3040 fl->l_start = flo->lk.start;
3041 fl->l_len = flo->lk.end - flo->lk.start;
3042 fl->l_pid = flo->lk.pid;
3043 fl->l_type = flo->lk.type;
3046 PERFUSE_NODE_DATA(opc)->pnd_lock_owner = flo->lk.pid
    [all...]
  /src/sys/arch/mips/rmi/
rmixl_fmn.c 483 kmutex_t *lk; local in function:rmixl_fmn_init_core
490 lk = mutex_obj_alloc(MUTEX_DEFAULT, RMIXL_FMN_INTR_IPL);
491 if (lk == NULL)
493 fmnp->fmn_lock = lk;
  /src/sys/dev/raidframe/
rf_dagutils.c 502 int i, lk, unlk; local in function:rf_PrintNodeInfoString
510 lk = 0;
512 RF_ASSERT(!(lk && unlk));
515 (lk) ? "LOCK" : ((unlk) ? "UNLK" : " "));
  /src/sys/dev/ic/
ac97.c 1227 ac97_attach(struct ac97_host_if *host_if, device_t sc_dev, kmutex_t *lk)
1229 return ac97_attach_type(host_if, sc_dev, AC97_CODEC_TYPE_AUDIO, lk);
1233 ac97_attach_type(struct ac97_host_if *host_if, device_t sc_dev, int type, kmutex_t *lk)
1255 as->lock = lk;

Completed in 37 milliseconds