Home
last modified time | relevance | path

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

12345678910>>...51

/linux-6.6.21/net/batman-adv/
Dsoft-interface.c578 atomic_set(&vlan->ap_isolation, 0); in batadv_softif_create_vlan()
751 atomic_set(&bat_priv->aggregated_ogms, 1); in batadv_softif_init_late()
752 atomic_set(&bat_priv->bonding, 0); in batadv_softif_init_late()
754 atomic_set(&bat_priv->bridge_loop_avoidance, 1); in batadv_softif_init_late()
757 atomic_set(&bat_priv->distributed_arp_table, 1); in batadv_softif_init_late()
760 atomic_set(&bat_priv->multicast_mode, 1); in batadv_softif_init_late()
761 atomic_set(&bat_priv->multicast_fanout, 16); in batadv_softif_init_late()
762 atomic_set(&bat_priv->mcast.num_want_all_unsnoopables, 0); in batadv_softif_init_late()
763 atomic_set(&bat_priv->mcast.num_want_all_ipv4, 0); in batadv_softif_init_late()
764 atomic_set(&bat_priv->mcast.num_want_all_ipv6, 0); in batadv_softif_init_late()
[all …]
Dmain.c195 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
201 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
207 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
213 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
219 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
225 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_init()
232 atomic_set(&bat_priv->gw.reselect, 0); in batadv_mesh_init()
233 atomic_set(&bat_priv->mesh_state, BATADV_MESH_ACTIVE); in batadv_mesh_init()
249 atomic_set(&bat_priv->mesh_state, BATADV_MESH_INACTIVE); in batadv_mesh_init()
262 atomic_set(&bat_priv->mesh_state, BATADV_MESH_DEACTIVATING); in batadv_mesh_free()
[all …]
Dnetlink.c211 atomic_set(&vlan->ap_isolation, !!nla_get_u8(attr)); in batadv_netlink_set_mesh_ap_isolation()
447 atomic_set(&bat_priv->aggregated_ogms, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
471 atomic_set(&bat_priv->bonding, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
478 atomic_set(&bat_priv->bridge_loop_avoidance, in batadv_netlink_set_mesh()
488 atomic_set(&bat_priv->distributed_arp_table, in batadv_netlink_set_mesh()
497 atomic_set(&bat_priv->fragmentation, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
507 atomic_set(&bat_priv->gw.bandwidth_down, nla_get_u32(attr)); in batadv_netlink_set_mesh()
514 atomic_set(&bat_priv->gw.bandwidth_up, nla_get_u32(attr)); in batadv_netlink_set_mesh()
542 atomic_set(&bat_priv->gw.mode, gw_mode); in batadv_netlink_set_mesh()
561 atomic_set(&bat_priv->gw.sel_class, sel_class); in batadv_netlink_set_mesh()
[all …]
/linux-6.6.21/lib/
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-6.6.21/net/rxrpc/
Dproc.c480 atomic_set(&rxnet->stat_tx_data, 0); in rxrpc_stats_clear()
481 atomic_set(&rxnet->stat_tx_data_retrans, 0); in rxrpc_stats_clear()
482 atomic_set(&rxnet->stat_tx_data_underflow, 0); in rxrpc_stats_clear()
483 atomic_set(&rxnet->stat_tx_data_cwnd_reset, 0); in rxrpc_stats_clear()
484 atomic_set(&rxnet->stat_tx_data_send, 0); in rxrpc_stats_clear()
485 atomic_set(&rxnet->stat_tx_data_send_frag, 0); in rxrpc_stats_clear()
486 atomic_set(&rxnet->stat_tx_data_send_fail, 0); in rxrpc_stats_clear()
487 atomic_set(&rxnet->stat_rx_data, 0); in rxrpc_stats_clear()
488 atomic_set(&rxnet->stat_rx_data_reqack, 0); in rxrpc_stats_clear()
489 atomic_set(&rxnet->stat_rx_data_jumbo, 0); in rxrpc_stats_clear()
[all …]
Dnet_ns.c45 atomic_set(&rxnet->nr_calls, 1); in rxrpc_init_net()
47 atomic_set(&rxnet->nr_conns, 1); in rxrpc_init_net()
56 atomic_set(&rxnet->nr_client_conns, 0); in rxrpc_init_net()
/linux-6.6.21/arch/x86/platform/uv/
Duv_nmi.c501 atomic_set(&hub_nmi->cpu_owner, cpu); in uv_set_in_nmi()
503 atomic_set(&uv_nmi_cpu, cpu); in uv_set_in_nmi()
582 atomic_set(&hub_nmi->cpu_owner, -1); in uv_clear_nmi()
583 atomic_set(&hub_nmi->in_nmi, 0); in uv_clear_nmi()
663 atomic_set(&uv_nmi_cpus_in_nmi, k); in uv_nmi_wait_cpus()
769 atomic_set(&uv_nmi_slave_continue, SLAVE_CLEAR); in uv_nmi_sync_exit()
784 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_nmi_action_health()
805 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_nmi_dump_state()
852 atomic_set(&uv_nmi_kexec_failed, 1); in uv_nmi_kdump()
906 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_call_kgdb_kdb()
[all …]
/linux-6.6.21/drivers/net/wireless/rsi/
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-6.6.21/drivers/gpu/drm/qxl/
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-6.6.21/Documentation/litmus-tests/atomic/
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-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_reset.c150 atomic_set(&reset_domain->in_gpu_reset, 0); in amdgpu_reset_create_reset_domain()
151 atomic_set(&reset_domain->reset_res, 0); in amdgpu_reset_create_reset_domain()
159 atomic_set(&reset_domain->in_gpu_reset, 1); in amdgpu_device_lock_reset_domain()
166 atomic_set(&reset_domain->in_gpu_reset, 0); in amdgpu_device_unlock_reset_domain()
/linux-6.6.21/arch/x86/kernel/
Dtsc_sync.c367 atomic_set(&test_runs, 1); in check_tsc_sync_source()
369 atomic_set(&test_runs, 3); in check_tsc_sync_source()
391 atomic_set(&test_runs, 0); in check_tsc_sync_source()
398 atomic_set(&test_runs, 0); in check_tsc_sync_source()
412 atomic_set(&start_count, 0); in check_tsc_sync_source()
489 atomic_set(&stop_count, 0); in check_tsc_sync_target()
/linux-6.6.21/drivers/sh/maple/
Dmaple.c389 atomic_set(&mdev->busy, 0); in maple_attach_driver()
436 atomic_set(&mdev->busy, 1); in setup_maple_commands()
475 atomic_set(&mdev->busy, 1); in maple_vblank_handler()
512 atomic_set(&mdev_add->busy, 1); in maple_map_subunits()
550 atomic_set(&mdev->busy, 2); in maple_response_none()
572 atomic_set(&mdev->busy, 0); in maple_response_none()
656 atomic_set(&mdev->busy, 0); in maple_dma_handler()
662 atomic_set(&mdev->busy, 0); in maple_dma_handler()
668 atomic_set(&mdev->busy, 0); in maple_dma_handler()
678 atomic_set(&mdev->busy, 0); in maple_dma_handler()
[all …]
/linux-6.6.21/fs/smb/client/
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-6.6.21/drivers/mfd/
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-6.6.21/sound/soc/fsl/
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-6.6.21/drivers/net/wireless/broadcom/b43/
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-6.6.21/drivers/s390/char/
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-6.6.21/arch/mips/kernel/
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()
Dsync-r4k.c52 atomic_set(&count_count_stop, 0); in synchronise_count_master()
73 atomic_set(&count_count_start, 0); in synchronise_count_master()
/linux-6.6.21/drivers/net/wireless/st/cw1200/
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-6.6.21/drivers/misc/sgi-xp/
Dxpc_main.c359 atomic_set(&part->channel_mgr_requests, 1); in xpc_channel_mgr()
427 atomic_set(&part->channel_mgr_requests, 1); in xpc_setup_ch_structures()
432 atomic_set(&part->nchannels_active, 0); in xpc_setup_ch_structures()
433 atomic_set(&part->nchannels_engaged, 0); in xpc_setup_ch_structures()
442 atomic_set(&ch->kthreads_assigned, 0); in xpc_setup_ch_structures()
443 atomic_set(&ch->kthreads_idle, 0); in xpc_setup_ch_structures()
444 atomic_set(&ch->kthreads_active, 0); in xpc_setup_ch_structures()
446 atomic_set(&ch->references, 0); in xpc_setup_ch_structures()
447 atomic_set(&ch->n_to_notify, 0); in xpc_setup_ch_structures()
452 atomic_set(&ch->n_on_msg_allocate_wq, 0); in xpc_setup_ch_structures()
[all …]
/linux-6.6.21/drivers/net/wwan/t7xx/
Dt7xx_pci.c101 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_INIT); in t7xx_pci_pm_init()
124 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_RESUMED); in t7xx_pci_pm_init_late()
137 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_INIT); in t7xx_pci_pm_reinit()
149 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_EXCEPTION); in t7xx_pci_pm_exp_detected()
294 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_SUSPENDED); in __t7xx_pci_pm_suspend()
341 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_RESUMED); in __t7xx_pci_pm_suspend()
454 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_SUSPENDED); in __t7xx_pci_pm_resume()
480 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_SUSPENDED); in __t7xx_pci_pm_resume()
514 atomic_set(&t7xx_dev->md_pm_state, MTK_PM_RESUMED); in __t7xx_pci_pm_resume()
/linux-6.6.21/fs/pstore/
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-6.6.21/arch/openrisc/kernel/
Dsync-timer.c55 atomic_set(&count_count_stop, 0); in synchronise_count_master()
76 atomic_set(&count_count_start, 0); in synchronise_count_master()

12345678910>>...51