Home
last modified time | relevance | path

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

12345678910>>...43

/linux/net/batman-adv/
H A Dsoft-interface.c581 atomic_set(&vlan->ap_isolation, 0); in batadv_softif_create_vlan()
754 atomic_set(&bat_priv->aggregated_ogms, 1); in batadv_softif_init_late()
755 atomic_set(&bat_priv->bonding, 0); in batadv_softif_init_late()
757 atomic_set(&bat_priv->bridge_loop_avoidance, 1); in batadv_softif_init_late()
760 atomic_set(&bat_priv->distributed_arp_table, 1); in batadv_softif_init_late()
763 atomic_set(&bat_priv->multicast_mode, 1); in batadv_softif_init_late()
764 atomic_set(&bat_priv->multicast_fanout, 16); in batadv_softif_init_late()
765 atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0); in batadv_softif_init_late()
766 atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0); in batadv_softif_init_late()
767 atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0); in batadv_softif_init_late()
[all …]
H A Dmain.c196 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
202 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
208 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
214 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
220 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
226 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
233 atomic_set(&bat_priv->gw.reselect, 0); in batadv_mesh_init()
234 atomic_set(&bat_priv->mesh_state, BATADV_MESH_ACTIVE); in batadv_mesh_init()
250 atomic_set(&bat_priv->mesh_state, BATADV_MESH_INACTIVE); in batadv_mesh_init()
263 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_free()
[all …]
H A Dnetlink.c209 atomic_set(&vlan->ap_isolation, !!nla_get_u8(attr)); in batadv_netlink_set_mesh_ap_isolation()
445 atomic_set(&bat_priv->aggregated_ogms, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
469 atomic_set(&bat_priv->bonding, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
476 atomic_set(&bat_priv->bridge_loop_avoidance, in batadv_netlink_set_mesh()
486 atomic_set(&bat_priv->distributed_arp_table, in batadv_netlink_set_mesh()
495 atomic_set(&bat_priv->fragmentation, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
505 atomic_set(&bat_priv->gw.bandwidth_down, nla_get_u32(attr)); in batadv_netlink_set_mesh()
512 atomic_set(&bat_priv->gw.bandwidth_up, nla_get_u32(attr)); in batadv_netlink_set_mesh()
540 atomic_set(&bat_priv->gw.mode, gw_mode); in batadv_netlink_set_mesh()
559 atomic_set(&bat_priv->gw.sel_class, sel_class); in batadv_netlink_set_mesh()
[all …]
/linux/lib/
H A Drcuref.c202 atomic_set(&ref->refcnt, RCUREF_DEAD); in rcuref_get_slowpath()
215 atomic_set(&ref->refcnt, RCUREF_SATURATED); in rcuref_get_slowpath()
268 atomic_set(&ref->refcnt, RCUREF_DEAD); in rcuref_put_slowpath()
278 atomic_set(&ref->refcnt, RCUREF_SATURATED); in rcuref_put_slowpath()
/linux/arch/x86/platform/uv/
H A Duv_nmi.c504 atomic_set(&hub_nmi->cpu_owner, cpu); in uv_set_in_nmi()
506 atomic_set(&uv_nmi_cpu, cpu); in uv_set_in_nmi()
585 atomic_set(&hub_nmi->cpu_owner, -1); in uv_clear_nmi()
586 atomic_set(&hub_nmi->in_nmi, 0); in uv_clear_nmi()
666 atomic_set(&uv_nmi_cpus_in_nmi, k); in uv_nmi_wait_cpus()
772 atomic_set(&uv_nmi_slave_continue, SLAVE_CLEAR); in uv_nmi_sync_exit()
787 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_nmi_action_health()
808 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_nmi_dump_state()
855 atomic_set(&uv_nmi_kexec_failed, 1); in uv_nmi_kdump()
909 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_call_kgdb_kdb()
[all …]
/linux/net/rxrpc/
H A Dproc.c554 atomic_set(&rxnet->stat_tx_data, 0); in rxrpc_stats_clear()
555 atomic_set(&rxnet->stat_tx_data_retrans, 0); in rxrpc_stats_clear()
556 atomic_set(&rxnet->stat_tx_data_underflow, 0); in rxrpc_stats_clear()
557 atomic_set(&rxnet->stat_tx_data_cwnd_reset, 0); in rxrpc_stats_clear()
558 atomic_set(&rxnet->stat_tx_data_send, 0); in rxrpc_stats_clear()
559 atomic_set(&rxnet->stat_tx_data_send_frag, 0); in rxrpc_stats_clear()
560 atomic_set(&rxnet->stat_tx_data_send_fail, 0); in rxrpc_stats_clear()
561 atomic_set(&rxnet->stat_rx_data, 0); in rxrpc_stats_clear()
562 atomic_set(&rxnet->stat_rx_data_reqack, 0); in rxrpc_stats_clear()
563 atomic_set(&rxnet->stat_rx_data_jumbo, 0); in rxrpc_stats_clear()
[all …]
H A Dnet_ns.c45 atomic_set(&rxnet->nr_calls, 1); in rxrpc_init_net()
47 atomic_set(&rxnet->nr_conns, 1); in rxrpc_init_net()
57 atomic_set(&rxnet->nr_client_conns, 0); in rxrpc_init_net()
/linux/arch/mips/kernel/
H A Dsync-r4k.c113 atomic_set(&test_runs, NR_LOOPS); in check_counter_sync_source()
135 atomic_set(&test_runs, 0); in check_counter_sync_source()
141 atomic_set(&test_runs, 0); in check_counter_sync_source()
153 atomic_set(&start_count, 0); in check_counter_sync_source()
216 atomic_set(&stop_count, 0); in synchronise_count_slave()
H A Dspinlock_test.c100 atomic_set(&ms.start_wait, 2); in multi_get()
101 atomic_set(&ms.enter_wait, 2); in multi_get()
102 atomic_set(&ms.exit_wait, 2); in multi_get()
/linux/drivers/net/wireless/rsi/
H A Drsi_common.h29 atomic_set(&pevent->event_condition, 1); in rsi_init_event()
50 atomic_set(&event->event_condition, 0); in rsi_set_event()
56 atomic_set(&event->event_condition, 1); in rsi_reset_event()
65 atomic_set(&thread->thread_done, 0); in rsi_create_kthread()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_irq.c94 atomic_set(&qdev->irq_received, 0); in qxl_irq_init()
95 atomic_set(&qdev->irq_received_display, 0); in qxl_irq_init()
96 atomic_set(&qdev->irq_received_cursor, 0); in qxl_irq_init()
97 atomic_set(&qdev->irq_received_io_cmd, 0); in qxl_irq_init()
/linux/Documentation/litmus-tests/atomic/
H A DAtomic-RMW-ops-are-atomic-WRT-atomic_set.litmus1 C Atomic-RMW-ops-are-atomic-WRT-atomic_set
6 * Test that atomic_set() cannot break the atomicity of atomic RMWs.
21 atomic_set(v, 0);
/linux/fs/smb/client/
H A Dsmb1ops.c644 atomic_set(&tcon->stats.cifs_stats.num_writes, 0); in cifs_clear_stats()
645 atomic_set(&tcon->stats.cifs_stats.num_reads, 0); in cifs_clear_stats()
646 atomic_set(&tcon->stats.cifs_stats.num_flushes, 0); in cifs_clear_stats()
647 atomic_set(&tcon->stats.cifs_stats.num_oplock_brks, 0); in cifs_clear_stats()
648 atomic_set(&tcon->stats.cifs_stats.num_opens, 0); in cifs_clear_stats()
649 atomic_set(&tcon->stats.cifs_stats.num_posixopens, 0); in cifs_clear_stats()
650 atomic_set(&tcon->stats.cifs_stats.num_posixmkdirs, 0); in cifs_clear_stats()
651 atomic_set(&tcon->stats.cifs_stats.num_closes, 0); in cifs_clear_stats()
652 atomic_set(&tcon->stats.cifs_stats.num_deletes, 0); in cifs_clear_stats()
653 atomic_set(&tcon->stats.cifs_stats.num_mkdirs, 0); in cifs_clear_stats()
[all …]
/linux/drivers/sh/maple/
H A 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/arch/x86/kernel/
H A Dtsc_sync.c365 atomic_set(&test_runs, 1); in check_tsc_sync_source()
367 atomic_set(&test_runs, 3); in check_tsc_sync_source()
389 atomic_set(&test_runs, 0); in check_tsc_sync_source()
396 atomic_set(&test_runs, 0); in check_tsc_sync_source()
410 atomic_set(&start_count, 0); in check_tsc_sync_source()
487 atomic_set(&stop_count, 0); in check_tsc_sync_target()
/linux/drivers/mfd/
H A Dsi476x-i2c.c142 atomic_set(&core->is_alive, 1); in si476x_core_start()
149 atomic_set(&core->is_alive, 1); in si476x_core_start()
165 atomic_set(&core->is_alive, 1); in si476x_core_start()
193 atomic_set(&core->is_alive, 0); in si476x_core_start()
224 atomic_set(&core->is_alive, 0); in si476x_core_stop()
407 atomic_set(&core->is_alive, 0); in si476x_core_pronounce_dead()
412 atomic_set(&core->cts, 1); in si476x_core_pronounce_dead()
415 atomic_set(&core->stc, 1); in si476x_core_pronounce_dead()
499 atomic_set(&core->cts, 1); in si476x_core_get_and_signal_status()
510 atomic_set(&core->stc, 1); in si476x_core_get_and_signal_status()
[all …]
/linux/sound/soc/fsl/
H A Dimx-pcm-fiq.c119 atomic_set(&iprtd->playing, 1); in snd_imx_pcm_trigger()
121 atomic_set(&iprtd->capturing, 1); in snd_imx_pcm_trigger()
131 atomic_set(&iprtd->playing, 0); in snd_imx_pcm_trigger()
133 atomic_set(&iprtd->capturing, 0); in snd_imx_pcm_trigger()
186 atomic_set(&iprtd->playing, 0); in snd_imx_open()
187 atomic_set(&iprtd->capturing, 0); in snd_imx_open()
/linux/drivers/net/wireless/broadcom/b43/
H A Dleds.c103 atomic_set(&led->state, brightness); in b43_led_brightness_set()
122 atomic_set(&led->state, 0); in b43_register_led()
262 atomic_set(&led->state, 1); in b43_leds_init()
266 atomic_set(&led->state, 0); in b43_leds_init()
275 atomic_set(&led->state, 0); in b43_leds_init()
281 atomic_set(&led->state, 0); in b43_leds_init()
287 atomic_set(&led->state, 0); in b43_leds_init()
/linux/drivers/s390/char/
H A Dmonreader.c234 atomic_set(&monpriv->iucv_connected, 1); in mon_iucv_path_complete()
245 atomic_set(&monpriv->iucv_severed, 1); in mon_iucv_path_severed()
313 atomic_set(&monpriv->iucv_severed, 0); in mon_open()
314 atomic_set(&monpriv->iucv_connected, 0); in mon_open()
347 atomic_set(&monpriv->iucv_severed, 0); in mon_close()
348 atomic_set(&monpriv->iucv_connected, 0); in mon_close()
349 atomic_set(&monpriv->read_ready, 0); in mon_close()
350 atomic_set(&monpriv->msglim_count, 0); in mon_close()
/linux/drivers/net/wireless/st/cw1200/
H A Dbh.c67 atomic_set(&priv->bh_rx, 0); in cw1200_register_bh()
68 atomic_set(&priv->bh_tx, 0); in cw1200_register_bh()
69 atomic_set(&priv->bh_term, 0); in cw1200_register_bh()
70 atomic_set(&priv->bh_suspend, CW1200_BH_RESUMED); in cw1200_register_bh()
130 atomic_set(&priv->bh_suspend, CW1200_BH_SUSPEND); in cw1200_bh_suspend()
145 atomic_set(&priv->bh_suspend, CW1200_BH_RESUME); in cw1200_bh_resume()
516 atomic_set(&priv->bh_suspend, CW1200_BH_SUSPENDED); in cw1200_bh()
527 atomic_set(&priv->bh_suspend, CW1200_BH_RESUMED); in cw1200_bh()
/linux/drivers/misc/sgi-xp/
H A Dxpc_main.c357 atomic_set(&part->channel_mgr_requests, 1); in xpc_channel_mgr()
425 atomic_set(&part->channel_mgr_requests, 1); in xpc_setup_ch_structures()
430 atomic_set(&part->nchannels_active, 0); in xpc_setup_ch_structures()
431 atomic_set(&part->nchannels_engaged, 0); in xpc_setup_ch_structures()
440 atomic_set(&ch->kthreads_assigned, 0); in xpc_setup_ch_structures()
441 atomic_set(&ch->kthreads_idle, 0); in xpc_setup_ch_structures()
442 atomic_set(&ch->kthreads_active, 0); in xpc_setup_ch_structures()
444 atomic_set(&ch->references, 0); in xpc_setup_ch_structures()
445 atomic_set(&ch->n_to_notify, 0); in xpc_setup_ch_structures()
450 atomic_set(&ch->n_on_msg_allocate_wq, 0); in xpc_setup_ch_structures()
[all …]
/linux/fs/pstore/
H A Dzone.c214 atomic_set(&zone->buffer->datalen, wlen + off); in psz_zone_write()
255 atomic_set(&zone->dirty, true); in psz_zone_write()
277 atomic_set(&zone->dirty, true); in psz_flush_dirty_zone()
307 atomic_set(&new->buffer->datalen, 0); in psz_move_zone()
308 atomic_set(&new->dirty, false); in psz_move_zone()
311 atomic_set(&old->buffer->datalen, 0); in psz_move_zone()
627 atomic_set(&cxt->recovered, 1); in psz_recovery()
673 atomic_set(&zone->buffer->datalen, 0); in psz_kmsg_erase()
854 atomic_set(&zone->buffer->start, cnt + start); in psz_record_write()
866 atomic_set(&zone->buffer->datalen, zone->buffer_size); in psz_record_write()
[all …]
/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c350 atomic_set(&sdev->num_ctx, 0); in siw_device_create()
351 atomic_set(&sdev->num_srq, 0); in siw_device_create()
352 atomic_set(&sdev->num_qp, 0); in siw_device_create()
353 atomic_set(&sdev->num_cq, 0); in siw_device_create()
354 atomic_set(&sdev->num_mr, 0); in siw_device_create()
355 atomic_set(&sdev->num_pd, 0); in siw_device_create()
/linux/drivers/accel/ivpu/
H A Divpu_pm.c135 atomic_set(&vdev->pm->reset_pending, 1); in ivpu_pm_recovery_work()
148 atomic_set(&vdev->pm->reset_pending, 0); in ivpu_pm_recovery_work()
329 atomic_set(&vdev->pm->reset_pending, 1); in ivpu_pm_reset_prepare_cb()
352 atomic_set(&vdev->pm->reset_pending, 0); in ivpu_pm_reset_done_cb()
368 atomic_set(&pm->reset_pending, 0); in ivpu_pm_init()
369 atomic_set(&pm->reset_counter, 0); in ivpu_pm_init()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c222 atomic_set(&wmm->highest_queued_prio, HIGH_PRIO_TID); in mwifiex_wmm_queue_priorities_tid()
445 atomic_set(&priv->wmm.tx_pkts_queued, 0); in mwifiex_wmm_init()
446 atomic_set(&priv->wmm.highest_queued_prio, HIGH_PRIO_TID); in mwifiex_wmm_init()
538 atomic_set(&priv->wmm.tx_pkts_queued, 0); in mwifiex_wmm_cleanup_queues()
539 atomic_set(&priv->wmm.highest_queued_prio, HIGH_PRIO_TID); in mwifiex_wmm_cleanup_queues()
612 atomic_set(&priv->adapter->bypass_tx_pending, 0); in mwifiex_clean_txrx()
667 atomic_set(&priv->wmm.tx_pkts_queued, tx_pkts_queued); in mwifiex_update_ralist_tx_pause()
668 atomic_set(&priv->wmm.highest_queued_prio, HIGH_PRIO_TID); in mwifiex_update_ralist_tx_pause()
711 atomic_set(&priv->wmm.tx_pkts_queued, tx_pkts_queued); in mwifiex_update_ralist_tx_pause_in_tdls_cs()
712 atomic_set(&priv->wmm.highest_queued_prio, HIGH_PRIO_TID); in mwifiex_update_ralist_tx_pause_in_tdls_cs()
[all …]

12345678910>>...43