HomeSort by: relevance | last modified time | path
    Searched defs:self (Results 1 - 25 of 98) sorted by relevancy

1 2 3 4

  /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_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);
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_cond.c 129 pthread_t self; local in function:pthread_cond_timedwait
143 self = pthread__self();
144 pthread__assert(self->pt_lid != 0);
146 if (__predict_false(atomic_load_relaxed(&self->pt_cancel) &
161 waiter.lid = self->pt_lid;
176 !(cancel = atomic_load_relaxed(&self->pt_cancel) &
195 * remove self.
241 pthread_t self; local in function:pthread_cond_signal
250 self = pthread_self();
277 pthread__mutex_deferwake(self, mutex, head)
286 pthread_t self; local in function:pthread_cond_broadcast
    [all...]
  /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_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_sem.c 146 pthread_t self = pthread_self(); local in function:entry
149 printf("Thread %p waiting for semaphore...\n", self);
151 printf("Thread %p got semaphore\n", self);
  /src/sys/arch/hpcmips/include/
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...]
  /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...]
  /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)
  /src/sys/dev/acpi/
acpi_fan.c 78 acpifan_attach(device_t parent, device_t self, void *aux)
80 struct acpifan_softc *sc = device_private(self);
86 sc->sc_dev = self;
92 if (acpifan_sensor_init(self) != true)
93 aprint_error_dev(self, "failed to initialize\n");
96 (void)pmf_device_register1(self, acpifan_suspend,
102 aprint_verbose_dev(self, "ACPI 4.0 functionality present\n");
106 acpifan_detach(device_t self, int flags)
108 struct acpifan_softc *sc = device_private(self);
112 pmf_device_deregister(self);
191 device_t self; local in function:acpifan_sensor_state
223 device_t self = sme->sme_cookie; local in function:acpifan_sensor_refresh
    [all...]
  /src/sys/dev/acpi/wmi/
wmi_msi.c 77 wmi_msi_attach(device_t parent, device_t self, void *aux)
79 struct wmi_msi_softc *sc = device_private(self);
82 sc->sc_dev = self;
95 (void)pmf_device_register(self, wmi_msi_suspend, wmi_msi_resume);
99 wmi_msi_detach(device_t self, int flags)
101 struct wmi_msi_softc *sc = device_private(self);
104 (void)pmf_device_deregister(self);
111 wmi_msi_suspend(device_t self, const pmf_qual_t *qual)
113 struct wmi_msi_softc *sc = device_private(self);
122 wmi_msi_resume(device_t self, const pmf_qual_t *qual
136 device_t self = aux; local in function:wmi_msi_notify_handler
    [all...]
  /src/sys/arch/arm/rockchip/
rk_fb.c 79 rk_fb_attach(device_t parent, device_t self, void *aux)
81 struct rk_fb_softc * const sc = device_private(self);
84 sc->sc_dev = self;
96 rk_fb_turnoffandbackonagain(device_t self)
98 struct rk_fb_softc *sc = device_private(self);
119 device_t self = sc->sc_dev; local in function:rk_fb_init
124 .da_dev = self,
134 aprint_error_dev(self, "failed to attach drmfb: %d\n", error);
138 pmf_device_register1(self, NULL, NULL, rk_fb_shutdown);
140 config_interrupts(self, rk_fb_turnoffandbackonagain)
    [all...]
  /src/sys/arch/arm/ti/
ti_fb.c 80 ti_fb_attach(device_t parent, device_t self, void *aux)
82 struct ti_fb_softc * const sc = device_private(self);
85 sc->sc_dev = self;
101 device_t self = sc->sc_dev; local in function:tilcdc_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, ti_fb_shutdown);
123 ti_fb_shutdown(device_t self, int flags)
125 struct ti_fb_softc * const sc = device_private(self);
  /src/sys/external/bsd/drm2/pci/
drm_pci.c 64 device_t self = dev->dev; local in function:drm_pci_attach
101 aprint_debug_dev(self, "map %u has non-memory type:"
117 aprint_debug_dev(self, "map %u failed\n", unit);
  /src/sys/arch/xen/x86/
xen_ipi.c 192 struct cpu_info *ci, *self = curcpu(); local in function:xen_broadcast_ipi
206 if (ci == self)
  /src/sys/arch/amiga/dev/
wdc_acafh.c 106 wdc_acafh_attach(device_t parent, device_t self, void *aux)
108 struct wdc_acafh_softc *sc = device_private(self);
120 sc->sc_wdcdev.sc_atac.atac_dev = self;
146 device_t self; local in function:wdc_acafh_attach_channel
148 self = sc->sc_wdcdev.sc_atac.atac_dev;
162 aprint_normal_dev(self, "done init for channel %d\n", chnum);
171 device_t self; local in function:wdc_acafh_map_channel
174 self = sc->sc_wdcdev.sc_atac.atac_dev;
186 aprint_error_dev(self, "couldn't map regs\n");
197 aprint_error_dev(self, "couldn't map regs\n")
    [all...]
  /src/sys/dev/isa/
pcppi.c 158 pcppi_isa_attach(device_t parent, device_t self, void *aux)
160 struct pcppi_softc *sc = device_private(self);
164 sc->sc_dv = self;
177 pcppi_childdet(device_t self, device_t child)
184 pcppi_detach(device_t self, int flags)
187 struct pcppi_softc *sc = device_private(self);
196 pmf_device_deregister(self);
218 device_t self = sc->sc_dv; local in function:pcppi_attach
233 if (!pmf_device_register(self, NULL, NULL))
234 aprint_error_dev(self, "couldn't establish power handler\n")
    [all...]
  /src/sys/dev/ic/
rs5c313.c 63 device_t self = sc->sc_dev; local in function:rs5c313_attach
87 sc->sc_todr.todr_dev = self;
92 aprint_error_dev(self, "init failed\n");
103 device_t self = sc->sc_dev; local in function:rs5c313_init
118 aprint_error_dev(self, "time not valid\n");

Completed in 26 milliseconds

1 2 3 4