/src/lib/libpthread/ |
pthread_specific.c | 60 pthread_t self; local in function:__strong_alias 65 self = pthread__self(); 72 return pthread__add_specific(self, key, value);
|
pthread_spin.c | 94 pthread_t self; local in function:pthread_spin_lock 99 self = pthread__self(); 100 while (pthread__spintrylock(self, &lock->pts_spin) == 0) { 110 pthread_t self; local in function:pthread_spin_trylock 115 self = pthread__self(); 116 if (pthread__spintrylock(self, &lock->pts_spin) == 0) 124 pthread_t self; local in function:pthread_spin_unlock 129 self = pthread__self(); 130 pthread__spinunlock(self, &lock->pts_spin);
|
pthread_specific.c | 60 pthread_t self; local in function:__strong_alias 65 self = pthread__self(); 72 return pthread__add_specific(self, key, value);
|
pthread_spin.c | 94 pthread_t self; local in function:pthread_spin_lock 99 self = pthread__self(); 100 while (pthread__spintrylock(self, &lock->pts_spin) == 0) { 110 pthread_t self; local in function:pthread_spin_trylock 115 self = pthread__self(); 116 if (pthread__spintrylock(self, &lock->pts_spin) == 0) 124 pthread_t self; local in function:pthread_spin_unlock 129 self = pthread__self(); 130 pthread__spinunlock(self, &lock->pts_spin);
|
pthread_barrier.c | 79 pthread_t self; local in function:pthread_barrier_wait 95 self = pthread__self(); 101 pthread__unpark_all(&barrier->ptb_waiters, self, 109 PTQ_INSERT_TAIL(&barrier->ptb_waiters, self, pt_sleep); 110 self->pt_sleepobj = &barrier->ptb_waiters; 111 (void)pthread__park(self, interlock, &barrier->ptb_waiters,
|
pthread_barrier.c | 79 pthread_t self; local in function:pthread_barrier_wait 95 self = pthread__self(); 101 pthread__unpark_all(&barrier->ptb_waiters, self, 109 PTQ_INSERT_TAIL(&barrier->ptb_waiters, self, pt_sleep); 110 self->pt_sleepobj = &barrier->ptb_waiters; 111 (void)pthread__park(self, interlock, &barrier->ptb_waiters,
|
res_state.c | 72 pthread_t self = pthread__self(); local in function:res_state_debug 73 int len = snprintf(buf, sizeof(buf), "%p: %s %p\n", self, msg, p);
|
res_state.c | 72 pthread_t self = pthread__self(); local in function:res_state_debug 73 int len = snprintf(buf, sizeof(buf), "%p: %s %p\n", self, msg, p);
|
pthread_lock.c | 149 pthread_t self; local in function:pthread__spinlock_slow 152 self = pthread__self(); 159 if ((*self->pt_lockops.plo_try)(lock))
|
pthread_lock.c | 149 pthread_t self; local in function:pthread__spinlock_slow 152 self = pthread__self(); 159 if ((*self->pt_lockops.plo_try)(lock))
|
/src/tests/lib/libpthread/ |
t_sigalarm.c | 91 pthread_t self = pthread_self(); local in function:ATF_TC_BODY 93 PTHREAD_REQUIRE(pthread_create(&self, NULL, setup, NULL));
|
t_sigalarm.c | 91 pthread_t self = pthread_self(); local in function:ATF_TC_BODY 93 PTHREAD_REQUIRE(pthread_create(&self, NULL, setup, NULL));
|
t_kill.c | 82 pthread_t self; local in function:sighandler 85 self = pthread_self(); 86 ATF_REQUIRE_MSG((self != mainthread) && (signo == SIGUSR1), 90 if (self == th[i].id) 118 pthread_t self; local in function:ATF_TC_BODY 130 self = pthread_self(); 131 ATF_REQUIRE_EQ_MSG(self, mainthread, "thread id changed");
|
t_name.c | 54 pthread_t self = pthread_self(); local in function:threadfunc 57 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname))); 60 PTHREAD_REQUIRE(pthread_setname_np(self, non_const_name, NULL)); 62 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname))); 76 pthread_t thr, self = pthread_self(); local in function:ATF_TC_BODY 89 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
|
t_kill.c | 82 pthread_t self; local in function:sighandler 85 self = pthread_self(); 86 ATF_REQUIRE_MSG((self != mainthread) && (signo == SIGUSR1), 90 if (self == th[i].id) 118 pthread_t self; local in function:ATF_TC_BODY 130 self = pthread_self(); 131 ATF_REQUIRE_EQ_MSG(self, mainthread, "thread id changed");
|
t_name.c | 54 pthread_t self = pthread_self(); local in function:threadfunc 57 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname))); 60 PTHREAD_REQUIRE(pthread_setname_np(self, non_const_name, NULL)); 62 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname))); 76 pthread_t thr, self = pthread_self(); local in function:ATF_TC_BODY 89 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
|
/src/sys/arch/hpcmips/include/ |
sysconf.h | 77 void *self; member in struct:platform_clock
|
sysconf.h | 77 void *self; member in struct:platform_clock
|
/src/sys/arch/powerpc/pic/ |
pic_mpcsoc.c | 89 struct pic_ops *self; local in function:setup_mpcpic 95 self = &ops->pic; 108 self->pic_numintrs = ((x & 0x07ff0000) >> 16) + 1; 109 self->pic_cookie = addr; 110 self->pic_enable_irq = mpcpic_enable_irq; 111 self->pic_reenable_irq = mpcpic_enable_irq; 112 self->pic_disable_irq = mpcpic_disable_irq; 113 self->pic_get_irq = opic_get_irq; 114 self->pic_ack_irq = opic_ack_irq; 115 self->pic_establish_irq = mpcpic_establish_irq [all...] |
pic_mpcsoc.c | 89 struct pic_ops *self; local in function:setup_mpcpic 95 self = &ops->pic; 108 self->pic_numintrs = ((x & 0x07ff0000) >> 16) + 1; 109 self->pic_cookie = addr; 110 self->pic_enable_irq = mpcpic_enable_irq; 111 self->pic_reenable_irq = mpcpic_enable_irq; 112 self->pic_disable_irq = mpcpic_disable_irq; 113 self->pic_get_irq = opic_get_irq; 114 self->pic_ack_irq = opic_ack_irq; 115 self->pic_establish_irq = mpcpic_establish_irq [all...] |
/src/sys/dev/bluetooth/ |
bthub.c | 99 bthub_match(device_t self, cfdata_t cfdata, void *arg) 106 bthub_attach(device_t parent, device_t self, void *aux) 112 dict = device_properties(self); 124 if (!pmf_device_register(self, NULL, NULL)) { 130 aprint_error_dev(self, "couldn't establish power handler\n"); 135 bthub_detach(device_t self, int flags) 138 pmf_device_deregister(self); 140 return config_detach_children(self, flags); 181 device_t dev, self; local in function:bthub_pioctl 195 self = device_lookup(&bthub_cd, unit) [all...] |
bthub.c | 99 bthub_match(device_t self, cfdata_t cfdata, void *arg) 106 bthub_attach(device_t parent, device_t self, void *aux) 112 dict = device_properties(self); 124 if (!pmf_device_register(self, NULL, NULL)) { 130 aprint_error_dev(self, "couldn't establish power handler\n"); 135 bthub_detach(device_t self, int flags) 138 pmf_device_deregister(self); 140 return config_detach_children(self, flags); 181 device_t dev, self; local in function:bthub_pioctl 195 self = device_lookup(&bthub_cd, unit) [all...] |
/src/sys/arch/arm/nvidia/ |
tegra_fb.c | 78 tegra_fb_attach(device_t parent, device_t self, void *aux) 80 struct tegra_fb_softc * const sc = device_private(self); 84 sc->sc_dev = self; 101 device_t self = sc->sc_dev; local in function:tegra_fb_init 104 .da_dev = self, 115 aprint_error_dev(self, "failed to attach drmfb: %d\n", error); 119 pmf_device_register1(self, NULL, NULL, tegra_fb_shutdown); 123 tegra_fb_shutdown(device_t self, int flags) 125 struct tegra_fb_softc * const sc = device_private(self);
|
/src/sys/arch/sparc/dev/ |
audioamd.c | 155 audioamd_mainbus_attach(device_t parent, device_t self, void *aux) 162 sc = device_private(self); 163 sc->sc_am7930.sc_dev = self; 172 printf("%s: cannot map registers\n", device_xname(self)); 180 audioamd_obio_attach(device_t parent, device_t self, void *aux) 189 sc = device_private(self); 190 sc->sc_am7930.sc_dev = self; 197 printf("%s: cannot map registers\n", device_xname(self)); 205 audioamd_sbus_attach(device_t parent, device_t self, void *aux) 212 sc = device_private(self); 231 device_t self; local in function:audioamd_attach [all...] |
/src/sys/arch/x86/x86/ |
ipi.c | 134 struct cpu_info *ci, *self = curcpu(); local in function:x86_broadcast_ipi 139 if (ci == self)
|