Home
last modified time | relevance | path

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

12345678910>>...33

/linux-3.4.99/drivers/oprofile/
Doprofile_stats.c33 atomic_set(&oprofile_stats.sample_lost_no_mm, 0); in oprofile_reset_stats()
34 atomic_set(&oprofile_stats.sample_lost_no_mapping, 0); in oprofile_reset_stats()
35 atomic_set(&oprofile_stats.event_lost_overflow, 0); in oprofile_reset_stats()
36 atomic_set(&oprofile_stats.bt_lost_no_mapping, 0); in oprofile_reset_stats()
37 atomic_set(&oprofile_stats.multiplex_counter, 0); in oprofile_reset_stats()
Devent_buffer.c62 atomic_set(&buffer_ready, 1); in add_event_entry()
75 atomic_set(&buffer_ready, 1); in wake_up_buffer_waiter()
154 atomic_set(&buffer_ready, 0); in event_buffer_release()
187 atomic_set(&buffer_ready, 0); in event_buffer_read()
/linux-3.4.99/arch/powerpc/platforms/pseries/
Dsuspend.c91 atomic_set(&suspending, 0); in pseries_suspend_enter()
92 atomic_set(&suspend_data.done, 1); in pseries_suspend_enter()
104 atomic_set(&suspending, 1); in pseries_prepare_late()
105 atomic_set(&suspend_data.working, 0); in pseries_prepare_late()
106 atomic_set(&suspend_data.done, 0); in pseries_prepare_late()
107 atomic_set(&suspend_data.error, 0); in pseries_prepare_late()
/linux-3.4.99/fs/cifs/
Dcifs_debug.c268 atomic_set(&totBufAllocCount, 0); in cifs_stats_proc_write()
269 atomic_set(&totSmBufAllocCount, 0); in cifs_stats_proc_write()
282 atomic_set(&tcon->num_smbs_sent, 0); in cifs_stats_proc_write()
283 atomic_set(&tcon->num_writes, 0); in cifs_stats_proc_write()
284 atomic_set(&tcon->num_reads, 0); in cifs_stats_proc_write()
285 atomic_set(&tcon->num_oplock_brks, 0); in cifs_stats_proc_write()
286 atomic_set(&tcon->num_opens, 0); in cifs_stats_proc_write()
287 atomic_set(&tcon->num_posixopens, 0); in cifs_stats_proc_write()
288 atomic_set(&tcon->num_posixmkdirs, 0); in cifs_stats_proc_write()
289 atomic_set(&tcon->num_closes, 0); in cifs_stats_proc_write()
[all …]
/linux-3.4.99/net/batman-adv/
Dsoft-interface.c135 atomic_set(&softif_neigh_vid->refcount, 2); in softif_neigh_vid_get()
180 atomic_set(&softif_neigh->refcount, 2); in softif_neigh_get()
829 atomic_set(&bat_priv->aggregated_ogms, 1); in softif_create()
830 atomic_set(&bat_priv->bonding, 0); in softif_create()
831 atomic_set(&bat_priv->ap_isolation, 0); in softif_create()
832 atomic_set(&bat_priv->vis_mode, VIS_TYPE_CLIENT_UPDATE); in softif_create()
833 atomic_set(&bat_priv->gw_mode, GW_MODE_OFF); in softif_create()
834 atomic_set(&bat_priv->gw_sel_class, 20); in softif_create()
835 atomic_set(&bat_priv->gw_bandwidth, 41); in softif_create()
836 atomic_set(&bat_priv->orig_interval, 1000); in softif_create()
[all …]
Dmain.c121 atomic_set(&bat_priv->gw_reselect, 0); in mesh_init()
122 atomic_set(&bat_priv->mesh_state, MESH_ACTIVE); in mesh_init()
137 atomic_set(&bat_priv->mesh_state, MESH_DEACTIVATING); in mesh_free()
150 atomic_set(&bat_priv->mesh_state, MESH_INACTIVE); in mesh_free()
/linux-3.4.99/arch/mips/kernel/
Dsync-r4k.c54 atomic_set(&count_reference, read_c0_count()); in synchronise_count_master()
55 atomic_set(&count_start_flag, 1); in synchronise_count_master()
77 atomic_set(&count_count_stop, 0); in synchronise_count_master()
94 atomic_set(&count_count_start, 0); in synchronise_count_master()
Dspinlock_test.c99 atomic_set(&ms.start_wait, 2); in multi_get()
100 atomic_set(&ms.enter_wait, 2); in multi_get()
101 atomic_set(&ms.exit_wait, 2); in multi_get()
/linux-3.4.99/drivers/s390/char/
Dmonreader.c237 atomic_set(&monpriv->iucv_connected, 1); in mon_iucv_path_complete()
248 atomic_set(&monpriv->iucv_severed, 1); in mon_iucv_path_severed()
316 atomic_set(&monpriv->iucv_severed, 0); in mon_open()
317 atomic_set(&monpriv->iucv_connected, 0); in mon_open()
351 atomic_set(&monpriv->iucv_severed, 0); in mon_close()
352 atomic_set(&monpriv->iucv_connected, 0); in mon_close()
353 atomic_set(&monpriv->read_ready, 0); in mon_close()
354 atomic_set(&monpriv->msglim_count, 0); in mon_close()
477 atomic_set(&monpriv->iucv_severed, 0); in monreader_freeze()
478 atomic_set(&monpriv->iucv_connected, 0); in monreader_freeze()
[all …]
/linux-3.4.99/drivers/media/video/s5p-mfc/
Ds5p_mfc_pm.c67 atomic_set(&pm->power, 0); in s5p_mfc_init_pm()
73 atomic_set(&clk_ref, 0); in s5p_mfc_init_pm()
122 atomic_set(&pm->power, 1); in s5p_mfc_power_on()
132 atomic_set(&pm->power, 0); in s5p_mfc_power_off()
/linux-3.4.99/drivers/gpu/drm/ttm/
Dttm_module.c49 atomic_set(&device_released, 1); in ttm_drm_class_device_release()
73 atomic_set(&device_released, 0); in ttm_init()
80 atomic_set(&device_released, 1); in ttm_init()
/linux-3.4.99/arch/m68k/include/asm/
Datomic.h20 #define atomic_set(v, i) (((v)->counter) = i) macro
119 atomic_set(v, t); in atomic_add_return()
133 atomic_set(v, t); in atomic_sub_return()
147 atomic_set(v, new); in atomic_cmpxchg()
159 atomic_set(v, new); in atomic_xchg()
/linux-3.4.99/sound/core/
Dhrtimer.c71 atomic_set(&stime->running, 0); in snd_hrtimer_open()
92 atomic_set(&stime->running, 0); in snd_hrtimer_start()
96 atomic_set(&stime->running, 1); in snd_hrtimer_start()
103 atomic_set(&stime->running, 0); in snd_hrtimer_stop()
/linux-3.4.99/drivers/sh/maple/
Dmaple.c390 atomic_set(&mdev->busy, 0); in maple_attach_driver()
437 atomic_set(&mdev->busy, 1); in setup_maple_commands()
476 atomic_set(&mdev->busy, 1); in maple_vblank_handler()
513 atomic_set(&mdev_add->busy, 1); in maple_map_subunits()
551 atomic_set(&mdev->busy, 2); in maple_response_none()
573 atomic_set(&mdev->busy, 0); in maple_response_none()
657 atomic_set(&mdev->busy, 0); in maple_dma_handler()
663 atomic_set(&mdev->busy, 0); in maple_dma_handler()
669 atomic_set(&mdev->busy, 0); in maple_dma_handler()
679 atomic_set(&mdev->busy, 0); in maple_dma_handler()
[all …]
/linux-3.4.99/kernel/power/
Dswap.c510 atomic_set(&d->stop, 1); in crc32_threadfn()
514 atomic_set(&d->ready, 0); in crc32_threadfn()
519 atomic_set(&d->stop, 1); in crc32_threadfn()
554 atomic_set(&d->stop, 1); in lzo_compress_threadfn()
558 atomic_set(&d->ready, 0); in lzo_compress_threadfn()
563 atomic_set(&d->stop, 1); in lzo_compress_threadfn()
702 atomic_set(&data[thr].ready, 1); in save_image_lzo()
710 atomic_set(&crc->ready, 1); in save_image_lzo()
716 atomic_set(&data[thr].stop, 0); in save_image_lzo()
756 atomic_set(&crc->stop, 0); in save_image_lzo()
[all …]
/linux-3.4.99/drivers/net/wireless/b43/
Dleds.c116 atomic_set(&led->state, brightness); in b43_led_brightness_set()
135 atomic_set(&led->state, 0); in b43_register_led()
271 atomic_set(&led->state, 1); in b43_leds_init()
275 atomic_set(&led->state, 0); in b43_leds_init()
284 atomic_set(&led->state, 0); in b43_leds_init()
290 atomic_set(&led->state, 0); in b43_leds_init()
296 atomic_set(&led->state, 0); in b43_leds_init()
/linux-3.4.99/fs/notify/
Dgroup.c86 atomic_set(&group->refcnt, 1); in fsnotify_alloc_group()
91 atomic_set(&group->num_marks, 1); in fsnotify_alloc_group()
/linux-3.4.99/drivers/misc/sgi-xp/
Dxpc_main.c375 atomic_set(&part->channel_mgr_requests, 1); in xpc_channel_mgr()
442 atomic_set(&part->channel_mgr_requests, 1); in xpc_setup_ch_structures()
447 atomic_set(&part->nchannels_active, 0); in xpc_setup_ch_structures()
448 atomic_set(&part->nchannels_engaged, 0); in xpc_setup_ch_structures()
457 atomic_set(&ch->kthreads_assigned, 0); in xpc_setup_ch_structures()
458 atomic_set(&ch->kthreads_idle, 0); in xpc_setup_ch_structures()
459 atomic_set(&ch->kthreads_active, 0); in xpc_setup_ch_structures()
461 atomic_set(&ch->references, 0); in xpc_setup_ch_structures()
462 atomic_set(&ch->n_to_notify, 0); in xpc_setup_ch_structures()
467 atomic_set(&ch->n_on_msg_allocate_wq, 0); in xpc_setup_ch_structures()
[all …]
/linux-3.4.99/arch/blackfin/kernel/
Dnmi.c154 atomic_set(&nmi_touched[this_cpu], 0); in check_nmi_wdt_touched()
162 atomic_set(&nmi_touched[cpu], 0); in check_nmi_wdt_touched()
194 atomic_set(&nmi_touched[smp_processor_id()], 1); in touch_nmi_watchdog()
/linux-3.4.99/drivers/staging/bcm/
DInterfaceMisc.c218 atomic_set(&psIntfAdapter->uNumTcbUsed, 0); in Bcm_kill_all_URBs()
219 atomic_set(&psIntfAdapter->uCurrTcb, 0); in Bcm_kill_all_URBs()
221 atomic_set(&psIntfAdapter->uNumRcbUsed, 0); in Bcm_kill_all_URBs()
222 atomic_set(&psIntfAdapter->uCurrRcb, 0); in Bcm_kill_all_URBs()
DInterfaceIsr.c42 atomic_set(&Adapter->CurrNumFreeTxDesc, in read_int_callback()
44 atomic_set (&Adapter->uiMBupdate, TRUE); in read_int_callback()
70 atomic_set(&Adapter->TxPktAvail, 1); in read_int_callback()
/linux-3.4.99/kernel/
Dcred.c68 atomic_set(&cred->subscribers, n); in set_cred_subscribers()
253 atomic_set(&new->tgcred->usage, 1); in cred_alloc_blank()
256 atomic_set(&new->usage, 1); in cred_alloc_blank()
302 atomic_set(&new->usage, 1); in prepare_creds()
358 atomic_set(&tgcred->usage, 1); in prepare_exec_creds()
441 atomic_set(&tgcred->usage, 1); in copy_creds()
678 atomic_set(&new->usage, 1); in prepare_kernel_cred()
684 atomic_set(&tgcred->usage, 1); in prepare_kernel_cred()
/linux-3.4.99/net/nfc/nci/
Drsp.c139 atomic_set(&ndev->state, NCI_DISCOVERY); in nci_rf_disc_rsp_packet()
167 atomic_set(&ndev->state, NCI_IDLE); in nci_rf_deactivate_rsp_packet()
221 atomic_set(&ndev->cmd_cnt, 1); in nci_rsp_packet()
/linux-3.4.99/drivers/atm/
DuPD98402.c166 atomic_set(&PRIV(dev)->sonet_stats.s,INT_MAX); }
225 atomic_set(&PRIV(dev)->sonet_stats.corr_hcs,-1); in uPD98402_start()
226 atomic_set(&PRIV(dev)->sonet_stats.tx_cells,-1); in uPD98402_start()
227 atomic_set(&PRIV(dev)->sonet_stats.rx_cells,-1); in uPD98402_start()
/linux-3.4.99/fs/fscache/
Dnetfs.c41 atomic_set(&netfs->primary_index->usage, 1); in __fscache_register_netfs()
42 atomic_set(&netfs->primary_index->n_children, 0); in __fscache_register_netfs()

12345678910>>...33