/src/lib/librumpuser/ |
rumpuser_component.c | 50 int nlocks; local in function:rumpuser_component_unschedule 52 rumpkern_unsched(&nlocks, NULL); 53 return (void *)(intptr_t)nlocks; 59 int nlocks = (int)(intptr_t)cookie; local in function:rumpuser_component_schedule 61 rumpkern_sched(nlocks, NULL);
|
rumpuser_bio.c | 140 int nlocks; local in function:rumpuser_bio 142 rumpkern_unsched(&nlocks, NULL); 188 rumpkern_sched(nlocks, NULL);
|
rumpuser.c | 118 int nlocks; local in function:rumpuser_clock_sleep 121 rumpkern_unsched(&nlocks, NULL); 169 rumpkern_sched(nlocks, NULL);
|
rumpuser_file.c | 226 int nlocks; local in function:rumpuser_close 228 rumpkern_unsched(&nlocks, NULL); 231 rumpkern_sched(nlocks, NULL); 256 int nlocks; 258 rumpkern_unsched(&nlocks, NULL); 264 rumpkern_sched(nlocks, NULL); 293 int nlocks; 295 rumpkern_unsched(&nlocks, NULL); 301 rumpkern_sched(nlocks, NULL);
|
rumpuser_pth.c | 519 cv_unschedule(struct rumpuser_mtx *mtx, int *nlocks) 522 rumpkern_unsched(nlocks, mtx); 527 cv_reschedule(struct rumpuser_mtx *mtx, int nlocks) 548 rumpkern_sched(nlocks, mtx); 552 rumpkern_sched(nlocks, mtx); 559 int nlocks; local in function:rumpuser_cv_wait 562 cv_unschedule(mtx, &nlocks); 564 cv_reschedule(mtx, nlocks); 584 int rv, nlocks; local in function:rumpuser_cv_timedwait 596 cv_unschedule(mtx, &nlocks); [all...] |
rumpfiber.c | 489 int nlocks; local in function:rumpuser_clock_sleep 491 rumpkern_unsched(&nlocks, NULL); 502 rumpkern_sched(nlocks, NULL); 706 int nlocks; local in function:rumpuser_mutex_enter 709 rumpkern_unsched(&nlocks, NULL); 712 rumpkern_sched(nlocks, NULL); 793 int nlocks; local in function:rumpuser_rw_enter 805 rumpkern_unsched(&nlocks, NULL); 808 rumpkern_sched(nlocks, NULL); 929 cv_unsched(struct rumpuser_mtx *mtx, int *nlocks) 954 int nlocks; local in function:rumpuser_cv_wait 978 int nlocks; local in function:rumpuser_cv_timedwait [all...] |
rumpuser_sp.c | 787 int rv, nlocks; local in function:sp_copyin 789 rumpkern_unsched(&nlocks, NULL); 799 rumpkern_sched(nlocks, NULL); 827 int nlocks, rv; local in function:sp_copyout 829 rumpkern_unsched(&nlocks, NULL); 831 rumpkern_sched(nlocks, NULL); 861 int nlocks, rv; local in function:rumpuser_sp_anonmmap 863 rumpkern_unsched(&nlocks, NULL); 881 rumpkern_sched(nlocks, NULL); 889 int rv, nlocks; local in function:rumpuser_sp_raise [all...] |
/src/sys/rump/librump/rumpkern/ |
ltsleep.c | 123 int rv, nlocks; local in function:tsleep 132 rump_kernel_bigwrap(&nlocks); 135 rump_kernel_bigunwrap(nlocks);
|
sleepq.c | 62 int nlocks; local in function:sleepq_enter 68 if ((nlocks = l->l_blcnt) != 0) { 71 return nlocks; 87 sleepq_block(int timo, bool catch, syncobj_t *syncobj __unused, int nlocks) 106 if (nlocks) 107 KERNEL_LOCK(nlocks, curlwp);
|
lwproc.c | 451 int nlocks; local in function:rump_lwproc_switch 470 KERNEL_UNLOCK_ALL(NULL, &nlocks); 479 KERNEL_LOCK(nlocks, NULL);
|
scheduler.c | 514 int nlocks; local in function:yield 516 KERNEL_UNLOCK_ALL(l, &nlocks); 519 KERNEL_LOCK(nlocks, l);
|
/src/tests/kernel/ |
t_lockf.c | 56 #define nlocks 500 /* number of locks per thread */ macro 84 for (i = 0; i < nlocks; i++) {
|
/src/sys/kern/ |
kern_condvar.c | 129 int nlocks; local in function:cv_enter 137 nlocks = sleepq_enter(sq, l, mp); 141 return nlocks; 176 int nlocks; local in function:cv_wait 180 nlocks = cv_enter(cv, mtx, l, false); 181 (void)sleepq_block(0, false, &cv_syncobj, nlocks); 197 int error, nlocks; local in function:cv_wait_sig 201 nlocks = cv_enter(cv, mtx, l, true); 202 error = sleepq_block(0, true, &cv_syncobj, nlocks); 220 int error, nlocks; local in function:cv_timedwait 245 int error, nlocks; local in function:cv_timedwait_sig [all...] |
kern_sleepq.c | 232 int nlocks; local in function:sleepq_enter 244 if (__predict_false((nlocks = l->l_blcnt) != 0)) { 247 return nlocks; 344 sleepq_block(int timo, bool catch_p, syncobj_t *syncobj, int nlocks) 444 if (__predict_false(nlocks != 0)) { 445 KERNEL_LOCK(nlocks, NULL);
|
kern_turnstile.c | 378 int nlocks; local in function:turnstile_block 421 nlocks = sleepq_enter(sq, l, lock); 433 sleepq_block(0, false, sobj, nlocks);
|
kern_timeout.c | 589 int nlocks; local in function:callout_wait 623 nlocks = sleepq_enter(&cc->cc_sleepq, l, cc->cc_lock); 626 sleepq_block(0, false, &callout_syncobj, nlocks);
|
kern_synch.c | 191 int nlocks; local in function:tsleep 204 nlocks = sleepq_enter(sq, l, mp); 206 return sleepq_block(timo, catch_p, &sleep_syncobj, nlocks); 217 int error, nlocks; local in function:mtsleep 229 nlocks = sleepq_enter(sq, l, mp); 232 error = sleepq_block(timo, catch_p, &sleep_syncobj, nlocks); 247 int error, nlocks; local in function:kpause 257 nlocks = sleepq_enter(NULL, l, NULL); 259 error = sleepq_block(timo, intr, &kpause_syncobj, nlocks); 292 int nlocks; local in function:yield 317 int nlocks; local in function:preempt [all...] |
/src/tests/fs/vfs/ |
t_vnops.c | 955 unsigned int nlocks; local in function:fcntl_getlock_pids 960 nlocks = fcntl_getlocks(fd[i], 0, sz, 964 ATF_REQUIRE(nlocks < __arraycount(result)); 965 result[nlocks] = lock[i]; 966 result[nlocks].l_pid = pid[i]; 967 nlocks++; 970 ATF_CHECK_EQ(nlocks, __arraycount(expect)); 972 qsort(result, nlocks, sizeof(result[0]), &flock_compare); 974 for (j = 0; j < nlocks; j++) {
|
/src/sys/uvm/pmap/ |
pmap.c | 2267 const size_t nlocks = PAGE_SIZE / cache_line_size; local in function:pmap_pvlist_lock_init 2268 KASSERT((nlocks & (nlocks - 1)) == 0); 2272 for (size_t i = 0; i < nlocks; lock_va += cache_line_size, i++) { 2277 pli->pli_lock_mask = nlocks - 1;
|