Symbol: thr
lib/libc/net/nsdispatch.c
165
thr_t thr;
lib/libc/net/nsdispatch.c
628
drec.thr = thr_self();
lib/libc/net/nsdispatch.c
631
if (ldrec->thr == drec.thr)
lib/libpthread/thrd.c
104
thrd_detach(thrd_t thr)
lib/libpthread/thrd.c
107
_DIAGASSERT(thr != NULL);
lib/libpthread/thrd.c
109
if (pthread_detach(thr) == 0)
lib/libpthread/thrd.c
66
thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
lib/libpthread/thrd.c
71
_DIAGASSERT(thr != NULL);
lib/libpthread/thrd.c
81
switch(pthread_create(thr, NULL, __thrd_create_tramp, cookie)) {
lib/librumpuser/rumpfiber.c
643
struct thread *thr;
lib/librumpuser/rumpfiber.c
645
thr = create_thread(thrname, NULL, (void (*)(void *))f, arg, NULL, 0);
lib/librumpuser/rumpfiber.c
647
if (!thr)
lib/librumpuser/rumpfiber.c
655
if (thr && joinable)
lib/librumpuser/rumpfiber.c
656
thr->flags |= THREAD_MUSTJOIN;
lib/librumpuser/rumpfiber.c
658
*tptr = thr;
regress/sys/kern/softint1/softint1.c
58
pthread_t thr;
regress/sys/kern/softint1/softint1.c
62
pthread_create(&thr, NULL, thread, NULL);
sys/arch/bebox/stand/boot/ns16550.c
67
com_port->thr = c;
sys/arch/ia64/ia64/interrupt.c
141
struct thread *thr = PCPU_GET(fpcurthread);
sys/arch/ia64/ia64/interrupt.c
143
if (thr != NULL) {
sys/arch/ia64/ia64/interrupt.c
144
mtx_lock_spin(&thr->td_md.md_highfp_mtx);
sys/arch/ia64/ia64/interrupt.c
145
save_high_fp(&thr->td_pcb->pcb_high_fp);
sys/arch/ia64/ia64/interrupt.c
146
thr->td_pcb->pcb_fpcpu = NULL;
sys/arch/ia64/ia64/interrupt.c
148
mtx_unlock_spin(&thr->td_md.md_highfp_mtx);
sys/arch/prep/stand/boot/ns16550.c
68
com_port->thr = c;
sys/arch/rs6000/stand/boot/ns16550.c
68
com_port->thr = c;
sys/arch/sparc/dev/fd.c
1747
int thr = fdc->sc_cfg & CFG_THRHLD_MASK;
sys/arch/sparc/dev/fd.c
1748
if (thr < 15) {
sys/arch/sparc/dev/fd.c
1749
thr++;
sys/arch/sparc/dev/fd.c
1751
fdc->sc_cfg |= (thr & CFG_THRHLD_MASK);
sys/arch/sparc/dev/fd.c
1754
printf("fdc: %d -> threshold\n", thr);
sys/arch/sparc/dev/fd.c
1775
int thr = fdc->sc_cfg & CFG_THRHLD_MASK;
sys/arch/sparc/dev/fd.c
1776
if (thr > 0) {
sys/arch/sparc/dev/fd.c
1777
thr--;
sys/arch/sparc/dev/fd.c
1779
fdc->sc_cfg |= (thr & CFG_THRHLD_MASK);
sys/arch/sparc/dev/fd.c
1782
printf("fdc: %d -> threshold\n", thr);
sys/arch/sparc64/dev/fdc.c
1931
int thr = fdc->sc_cfg & CFG_THRHLD_MASK;
sys/arch/sparc64/dev/fdc.c
1932
if (thr < 15) {
sys/arch/sparc64/dev/fdc.c
1933
thr++;
sys/arch/sparc64/dev/fdc.c
1935
fdc->sc_cfg |= (thr & CFG_THRHLD_MASK);
sys/arch/sparc64/dev/fdc.c
1939
thr);
sys/arch/sparc64/dev/fdc.c
1960
int thr = fdc->sc_cfg & CFG_THRHLD_MASK;
sys/arch/sparc64/dev/fdc.c
1961
if (thr > 0) {
sys/arch/sparc64/dev/fdc.c
1962
thr--;
sys/arch/sparc64/dev/fdc.c
1964
fdc->sc_cfg |= (thr & CFG_THRHLD_MASK);
sys/arch/sparc64/dev/fdc.c
1968
thr);
sys/arch/sun3/dev/fd.c
1423
int thr = fdc->sc_cfg & CFG_THRHLD_MASK;
sys/arch/sun3/dev/fd.c
1424
if (thr < 15) {
sys/arch/sun3/dev/fd.c
1425
thr++;
sys/arch/sun3/dev/fd.c
1427
fdc->sc_cfg |= (thr & CFG_THRHLD_MASK);
sys/arch/sun3/dev/fd.c
1431
thr);
sys/arch/sun3/dev/fd.c
1451
int thr = fdc->sc_cfg & CFG_THRHLD_MASK;
sys/arch/sun3/dev/fd.c
1452
if (thr > 0) {
sys/arch/sun3/dev/fd.c
1453
thr--;
sys/arch/sun3/dev/fd.c
1455
fdc->sc_cfg |= (thr & CFG_THRHLD_MASK);
sys/arch/sun3/dev/fd.c
1459
thr);
sys/dev/ic/bwi.c
5895
int32_t thr;
sys/dev/ic/bwi.c
5905
thr = (rf->rf_nrssi[1] - rf->rf_nrssi[0]) * 32;
sys/dev/ic/bwi.c
5906
thr += 20 * (rf->rf_nrssi[0] + 1);
sys/dev/ic/bwi.c
5907
thr /= 40;
sys/dev/ic/bwi.c
5909
thr = rf->rf_nrssi[1] - 5;
sys/dev/ic/bwi.c
5911
if (thr < 0)
sys/dev/ic/bwi.c
5912
thr = 0;
sys/dev/ic/bwi.c
5913
else if (thr > 0x3e)
sys/dev/ic/bwi.c
5914
thr = 0x3e;
sys/dev/ic/bwi.c
5917
PHY_WRITE(mac, BWI_PHYR_NRSSI_THR_11B, (((uint16_t)thr) << 8) | 0x1c);
sys/dev/ic/bwi.c
5953
uint16_t thr;
sys/dev/ic/bwi.c
5981
thr = __SHIFTIN((uint32_t)thr1, NRSSI_THR1_MASK) |
sys/dev/ic/bwi.c
5983
PHY_FILT_SETBITS(mac, BWI_PHYR_NRSSI_THR_11G, 0xf000, thr);
sys/modules/examples/readhappy_mpsafe/test_readhappy.c
72
pthread_t thr[100];
sys/modules/examples/readhappy_mpsafe/test_readhappy.c
78
pthread_create(&thr[i], NULL, read_happy, NULL);
tests/kernel/t_timeleft.c
89
pthread_t thr;
tests/kernel/t_timeleft.c
92
ATF_REQUIRE(pthread_create(&thr, NULL, runner, &i) == 0);
tests/kernel/t_timeleft.c
95
ATF_REQUIRE(pthread_kill(thr, SIGINT) == 0);
tests/kernel/t_timeleft.c
96
ATF_REQUIRE(pthread_join(thr, NULL) == 0);
tests/lib/libc/net/h_nsd_recurse.c
103
pthread_t thr;
tests/lib/libc/net/h_nsd_recurse.c
106
assert(pthread_create(&thr, NULL, thrfunc, NULL) == 0);
tests/lib/libc/net/h_nsd_recurse.c
108
assert(pthread_join(thr, &threval) == 0);
tests/lib/libpthread/t_name.c
76
pthread_t thr, self = pthread_self();
tests/lib/libpthread/t_name.c
92
PTHREAD_REQUIRE(pthread_create(&thr, &attr, threadfunc, NULL));
tests/lib/libpthread/t_name.c
93
PTHREAD_REQUIRE(pthread_join(thr, NULL));
tests/lib/libpthread/t_name.c
95
ATF_REQUIRE_EQ(pthread_getname_np(thr, retname, sizeof(retname)), ESRCH);