Home
last modified time | relevance | path

Searched refs:atomic_set (Results 1 – 25 of 243) sorted by relevance

12345678910

/linux-2.4.37.9/include/asm-mips/
Dsemaphore.h58 atomic_set(&sem->count, val); in sema_init()
59 atomic_set(&sem->waking, 0); in sema_init()
232 atomic_set(&sem->count, count); in down_trylock()
236 atomic_set(&sem->count, count + 1); in down_trylock()
239 atomic_set(&sem->waking, waking - 1); in down_trylock()
271 atomic_set(&sem->count, count); in up()
272 atomic_set(&sem->waking, waking); in up()
/linux-2.4.37.9/include/asm-mips64/
Dsemaphore.h58 atomic_set(&sem->count, val); in sema_init()
59 atomic_set(&sem->waking, 0); in sema_init()
232 atomic_set(&sem->count, count); in down_trylock()
236 atomic_set(&sem->count, count + 1); in down_trylock()
239 atomic_set(&sem->waking, waking - 1); in down_trylock()
271 atomic_set(&sem->count, count); in up()
272 atomic_set(&sem->waking, waking); in up()
/linux-2.4.37.9/net/khttpd/
Dmain.c132 atomic_set(&Running[CPUNR],1); in MainDaemon()
174 atomic_set(&Running[CPUNR],0); in MainDaemon()
264 atomic_set(&Running[I],1); in ManagementDaemon()
322 atomic_set(&ConnectCount,0); in khttpd_init()
323 atomic_set(&DaemonCount,0); in khttpd_init()
324 atomic_set(&khttpd_stopCount,0); in khttpd_init()
/linux-2.4.37.9/drivers/char/drm-4.0/
Dcontext.c48 atomic_set(&q->finalization, 0); in drm_init_queue()
49 atomic_set(&q->block_count, 0); in drm_init_queue()
50 atomic_set(&q->block_read, 0); in drm_init_queue()
51 atomic_set(&q->block_write, 0); in drm_init_queue()
52 atomic_set(&q->total_queued, 0); in drm_init_queue()
53 atomic_set(&q->total_flushed, 0); in drm_init_queue()
54 atomic_set(&q->total_locks, 0); in drm_init_queue()
101 atomic_set(&queue->use_count, 1); in drm_alloc_queue()
Dgamma_drv.c139 atomic_set(&dev->ioctl_count, 0); in gamma_setup()
140 atomic_set(&dev->vma_count, 0); in gamma_setup()
142 atomic_set(&dev->buf_alloc, 0); in gamma_setup()
146 atomic_set(&dev->total_open, 0); in gamma_setup()
147 atomic_set(&dev->total_close, 0); in gamma_setup()
148 atomic_set(&dev->total_ioctl, 0); in gamma_setup()
149 atomic_set(&dev->total_irq, 0); in gamma_setup()
150 atomic_set(&dev->total_ctx, 0); in gamma_setup()
151 atomic_set(&dev->total_locks, 0); in gamma_setup()
152 atomic_set(&dev->total_unlocks, 0); in gamma_setup()
[all …]
Di810_drv.c148 atomic_set(&dev->ioctl_count, 0); in i810_setup()
149 atomic_set(&dev->vma_count, 0); in i810_setup()
151 atomic_set(&dev->buf_alloc, 0); in i810_setup()
155 atomic_set(&dev->total_open, 0); in i810_setup()
156 atomic_set(&dev->total_close, 0); in i810_setup()
157 atomic_set(&dev->total_ioctl, 0); in i810_setup()
158 atomic_set(&dev->total_irq, 0); in i810_setup()
159 atomic_set(&dev->total_ctx, 0); in i810_setup()
160 atomic_set(&dev->total_locks, 0); in i810_setup()
161 atomic_set(&dev->total_unlocks, 0); in i810_setup()
[all …]
Dr128_drv.c156 atomic_set(&dev->ioctl_count, 0); in r128_setup()
157 atomic_set(&dev->vma_count, 0); in r128_setup()
159 atomic_set(&dev->buf_alloc, 0); in r128_setup()
163 atomic_set(&dev->total_open, 0); in r128_setup()
164 atomic_set(&dev->total_close, 0); in r128_setup()
165 atomic_set(&dev->total_ioctl, 0); in r128_setup()
166 atomic_set(&dev->total_irq, 0); in r128_setup()
167 atomic_set(&dev->total_ctx, 0); in r128_setup()
168 atomic_set(&dev->total_locks, 0); in r128_setup()
169 atomic_set(&dev->total_unlocks, 0); in r128_setup()
[all …]
Dtdfx_drv.c133 atomic_set(&dev->ioctl_count, 0); in tdfx_setup()
134 atomic_set(&dev->vma_count, 0); in tdfx_setup()
136 atomic_set(&dev->buf_alloc, 0); in tdfx_setup()
138 atomic_set(&dev->total_open, 0); in tdfx_setup()
139 atomic_set(&dev->total_close, 0); in tdfx_setup()
140 atomic_set(&dev->total_ioctl, 0); in tdfx_setup()
141 atomic_set(&dev->total_irq, 0); in tdfx_setup()
142 atomic_set(&dev->total_ctx, 0); in tdfx_setup()
143 atomic_set(&dev->total_locks, 0); in tdfx_setup()
144 atomic_set(&dev->total_unlocks, 0); in tdfx_setup()
[all …]
Dlists.c107 atomic_set(&bl->count, 0); in drm_freelist_create()
112 atomic_set(&bl->wfh, 0); in drm_freelist_create()
120 atomic_set(&bl->count, 0); in drm_freelist_destroy()
158 atomic_set(&bl->wfh, 0); in drm_freelist_put()
200 atomic_set(&bl->wfh, 1); in drm_freelist_get()
Dmga_drv.c149 atomic_set(&dev->ioctl_count, 0); in mga_setup()
150 atomic_set(&dev->vma_count, 0); in mga_setup()
152 atomic_set(&dev->buf_alloc, 0); in mga_setup()
156 atomic_set(&dev->total_open, 0); in mga_setup()
157 atomic_set(&dev->total_close, 0); in mga_setup()
158 atomic_set(&dev->total_ioctl, 0); in mga_setup()
159 atomic_set(&dev->total_irq, 0); in mga_setup()
160 atomic_set(&dev->total_ctx, 0); in mga_setup()
161 atomic_set(&dev->total_locks, 0); in mga_setup()
162 atomic_set(&dev->total_unlocks, 0); in mga_setup()
[all …]
Dradeon_drv.c154 atomic_set(&dev->ioctl_count, 0); in radeon_setup()
155 atomic_set(&dev->vma_count, 0); in radeon_setup()
157 atomic_set(&dev->buf_alloc, 0); in radeon_setup()
161 atomic_set(&dev->total_open, 0); in radeon_setup()
162 atomic_set(&dev->total_close, 0); in radeon_setup()
163 atomic_set(&dev->total_ioctl, 0); in radeon_setup()
164 atomic_set(&dev->total_irq, 0); in radeon_setup()
165 atomic_set(&dev->total_ctx, 0); in radeon_setup()
166 atomic_set(&dev->total_locks, 0); in radeon_setup()
167 atomic_set(&dev->total_unlocks, 0); in radeon_setup()
[all …]
Dffb_drv.c492 atomic_set(&dev->ioctl_count, 0); in ffb_setup()
493 atomic_set(&dev->vma_count, 0); in ffb_setup()
495 atomic_set(&dev->buf_alloc, 0); in ffb_setup()
497 atomic_set(&dev->total_open, 0); in ffb_setup()
498 atomic_set(&dev->total_close, 0); in ffb_setup()
499 atomic_set(&dev->total_ioctl, 0); in ffb_setup()
500 atomic_set(&dev->total_irq, 0); in ffb_setup()
501 atomic_set(&dev->total_ctx, 0); in ffb_setup()
502 atomic_set(&dev->total_locks, 0); in ffb_setup()
503 atomic_set(&dev->total_unlocks, 0); in ffb_setup()
[all …]
/linux-2.4.37.9/drivers/char/drm/
Ddrm_lists.h116 atomic_set(&bl->count, 0); in DRM()
121 atomic_set(&bl->wfh, 0); in DRM()
129 atomic_set(&bl->count, 0); in DRM()
167 atomic_set(&bl->wfh, 0); in DRM()
209 atomic_set(&bl->wfh, 1); in DRM()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.c843 atomic_set(&card->data_has_arrived,1); in qeth_wakeup()
933 atomic_set(&card->is_startlaned,0); in qeth_get_cards_problem()
951 atomic_set(&card->is_startlaned,1); in qeth_get_cards_problem()
987 atomic_set(&card->problem,problem); in qeth_get_cards_problem()
1115 atomic_set(&sparebufs[no].status, SPAREBUF_FREE); in qeth_put_spare_buf()
1231 atomic_set(&card->inbound_buffer_refcnt[pos],1); in qeth_queue_input_buffer()
1260 atomic_set(&card->requeue_position, in qeth_queue_input_buffer()
1785 atomic_set(&card->inbound_buffer_refcnt[buffer_no],0); in qeth_read_in_buffer()
2035 atomic_set(&card->last_pci_pos[queue],position_for_do_qdio); in qeth_flush_packed_packets()
2064 atomic_set(&card->last_pci_pos[queue], in qeth_flush_packed_packets()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dsmp.c233 atomic_set(&data.started, 0); in smp_call_function_single()
236 atomic_set(&data.finished, 0); in smp_call_function_single()
287 atomic_set(&data.started, 0); in smp_call_function()
290 atomic_set(&data.finished, 0); in smp_call_function()
/linux-2.4.37.9/arch/mips64/kernel/
Dsemaphore.c82 atomic_set(&sem->waking, waking - 1); in waking_non_zero()
217 atomic_set(&sem->waking, waking - 1); in waking_non_zero_interruptible()
220 atomic_set(&sem->count, atomic_read(&sem->count) + 1); in waking_non_zero_interruptible()
Dsmp.c69 atomic_set(&smp_commenced, 1); in smp_commence()
109 atomic_set(&data.started, 0); in smp_call_function()
112 atomic_set(&data.finished, 0); in smp_call_function()
/linux-2.4.37.9/arch/mips/kernel/
Dsemaphore.c82 atomic_set(&sem->waking, waking - 1); in waking_non_zero()
217 atomic_set(&sem->waking, waking - 1); in waking_non_zero_interruptible()
220 atomic_set(&sem->count, atomic_read(&sem->count) + 1); in waking_non_zero_interruptible()
Dsmp.c69 atomic_set(&smp_commenced, 1); in smp_commence()
109 atomic_set(&data.started, 0); in smp_call_function()
112 atomic_set(&data.finished, 0); in smp_call_function()
/linux-2.4.37.9/kernel/
Duser.c101 atomic_set(&new->__count, 1); in alloc_uid()
102 atomic_set(&new->processes, 0); in alloc_uid()
103 atomic_set(&new->files, 0); in alloc_uid()
/linux-2.4.37.9/include/asm-s390/
Dhardirq.h63 atomic_set(&global_irq_holder,NO_PROC_ID); in release_irqlock()
64 atomic_set(&global_irq_lock,0); in release_irqlock()
/linux-2.4.37.9/include/asm-s390x/
Dhardirq.h63 atomic_set(&global_irq_holder,NO_PROC_ID); in release_irqlock()
64 atomic_set(&global_irq_lock,0); in release_irqlock()
/linux-2.4.37.9/drivers/atm/
DuPD98402.c168 atomic_set(&PRIV(dev)->sonet_stats.s,INT_MAX); }
226 atomic_set(&PRIV(dev)->sonet_stats.corr_hcs,-1); in uPD98402_start()
227 atomic_set(&PRIV(dev)->sonet_stats.tx_cells,-1); in uPD98402_start()
228 atomic_set(&PRIV(dev)->sonet_stats.rx_cells,-1); in uPD98402_start()
/linux-2.4.37.9/arch/s390x/kernel/
Dsmp.c157 atomic_set(&data.started, 0); in smp_call_function()
160 atomic_set(&data.finished, 0); in smp_call_function()
203 atomic_set(&data.started, 0); in smp_call_function_on()
206 atomic_set(&data.finished, 0); in smp_call_function_on()
614 atomic_set(&smp_commenced,1); in smp_commence()
/linux-2.4.37.9/arch/s390/kernel/
Dsmp.c157 atomic_set(&data.started, 0); in smp_call_function()
160 atomic_set(&data.finished, 0); in smp_call_function()
203 atomic_set(&data.started, 0); in smp_call_function_on()
206 atomic_set(&data.finished, 0); in smp_call_function_on()
633 atomic_set(&smp_commenced,1); in smp_commence()

12345678910