Home
last modified time | relevance | path

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

1234

/arch/powerpc/platforms/pseries/
Dsuspend.c109 atomic_set(&suspending, 0); in pseries_suspend_enter()
110 atomic_set(&suspend_data.done, 1); in pseries_suspend_enter()
122 atomic_set(&suspending, 1); in pseries_prepare_late()
123 atomic_set(&suspend_data.working, 0); in pseries_prepare_late()
124 atomic_set(&suspend_data.done, 0); in pseries_prepare_late()
125 atomic_set(&suspend_data.error, 0); in pseries_prepare_late()
/arch/x86/kernel/
Dtsc_sync.c291 atomic_set(&test_runs, 1); in check_tsc_sync_source()
293 atomic_set(&test_runs, 3); in check_tsc_sync_source()
300 atomic_set(&skip_test, 0); in check_tsc_sync_source()
322 atomic_set(&test_runs, 0); in check_tsc_sync_source()
329 atomic_set(&test_runs, 0); in check_tsc_sync_source()
343 atomic_set(&start_count, 0); in check_tsc_sync_source()
419 atomic_set(&stop_count, 0); in check_tsc_sync_target()
/arch/x86/platform/uv/
Duv_nmi.c472 atomic_set(&hub_nmi->cpu_owner, cpu); in uv_set_in_nmi()
474 atomic_set(&uv_nmi_cpu, cpu); in uv_set_in_nmi()
553 atomic_set(&hub_nmi->cpu_owner, -1); in uv_clear_nmi()
554 atomic_set(&hub_nmi->in_nmi, 0); in uv_clear_nmi()
634 atomic_set(&uv_nmi_cpus_in_nmi, k); in uv_nmi_wait_cpus()
740 atomic_set(&uv_nmi_slave_continue, SLAVE_CLEAR); in uv_nmi_sync_exit()
755 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_nmi_action_health()
776 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_nmi_dump_state()
819 atomic_set(&uv_nmi_kexec_failed, 1); in uv_nmi_kdump()
837 atomic_set(&uv_nmi_kexec_failed, 1); in uv_nmi_kdump()
[all …]
/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()
/arch/sparc/include/asm/
Datomic_32.h31 void atomic_set(atomic_t *, int);
33 #define atomic_set_release(v, i) atomic_set((v), (i))
/arch/blackfin/kernel/
Dnmi.c155 atomic_set(&nmi_touched[this_cpu], 0); in check_nmi_wdt_touched()
163 atomic_set(&nmi_touched[cpu], 0); in check_nmi_wdt_touched()
195 atomic_set(&nmi_touched[smp_processor_id()], 1); in arch_touch_nmi_watchdog()
/arch/hexagon/include/asm/
Datomic.h33 static inline void atomic_set(atomic_t *v, int new) in atomic_set() function
45 #define atomic_set_release(v, i) atomic_set((v), (i))
/arch/m68k/include/asm/
Datomic.h22 #define atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) macro
174 atomic_set(v, new); in atomic_cmpxchg()
186 atomic_set(v, new); in atomic_xchg()
/arch/microblaze/mm/
Dmmu_context.c49 atomic_set(&nr_free_contexts, LAST_CONTEXT - FIRST_CONTEXT + 1); in mmu_context_init()
/arch/arc/include/asm/
Datomic.h28 #define atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) macro
104 #define atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) macro
108 static inline void atomic_set(atomic_t *v, int i) in atomic_set() function
126 #define atomic_set_release(v, i) atomic_set((v), (i))
216 static inline void atomic_set(atomic_t *v, int i)
/arch/metag/include/asm/
Datomic_lock1.h30 static inline int atomic_set(atomic_t *v, int i) in atomic_set() function
41 #define atomic_set_release(v, i) atomic_set((v), (i))
/arch/s390/mm/
Dpgalloc.c222 atomic_set(&page->_mapcount, 3); in page_table_alloc()
227 atomic_set(&page->_mapcount, 1); in page_table_alloc()
257 atomic_set(&page->_mapcount, -1); in page_table_free()
305 atomic_set(&page->_mapcount, -1); in __tlb_remove_table()
/arch/powerpc/kernel/
Drtas.c768 atomic_set(&data->error, rc); in __rtas_suspend_last_cpu()
772 atomic_set(&data->done, 1); in __rtas_suspend_last_cpu()
818 atomic_set(&data->error, rc); in __rtas_suspend_cpu()
822 atomic_set(&data->done, 1); in __rtas_suspend_cpu()
970 atomic_set(&data.working, 0); in rtas_ibm_suspend_me()
971 atomic_set(&data.done, 0); in rtas_ibm_suspend_me()
972 atomic_set(&data.error, 0); in rtas_ibm_suspend_me()
983 atomic_set(&data.error, cpuret); in rtas_ibm_suspend_me()
994 atomic_set(&data.error, -EINVAL); in rtas_ibm_suspend_me()
/arch/arm/mach-exynos/
Dpm.c322 atomic_set(&cpu1_wakeup, 1); in exynos_cpu1_powerdown()
336 atomic_set(&cpu1_wakeup, 0); in exynos_post_enter_aftr()
/arch/sh/drivers/dma/
Ddma-api.c187 atomic_set(&channel->busy, 1); in dmac_search_free_channel()
209 atomic_set(&channel->busy, 0); in request_dma()
226 atomic_set(&channel->busy, 0); in free_dma()
388 atomic_set(&chan->busy, 0); in register_dmac()
/arch/ia64/kernel/
Duncached.c126 atomic_set(&uc_pool->status, 0); in uncached_add_chunk()
148 atomic_set(&uc_pool->status, 0); in uncached_add_chunk()
/arch/arc/kernel/
Dkgdb.c149 atomic_set(&kgdb_cpu_doing_single_step, -1); in kgdb_arch_handle_exception()
153 atomic_set(&kgdb_cpu_doing_single_step, in kgdb_arch_handle_exception()
/arch/sh/include/asm/
Datomic.h25 #define atomic_set(v,i) WRITE_ONCE((v)->counter, (i)) macro
/arch/mips/math-emu/
Ddsemul.c200 atomic_set(&current->thread.bd_emu_frame, BD_EMUFRAME_NONE); in dsemul_thread_rollback()
287 atomic_set(&current->thread.bd_emu_frame, fr_idx); in mips_dsemul()
/arch/sparc/kernel/
Dnmi.c193 atomic_set(&nmi_active, -1); in check_nmi_watchdog()
261 atomic_set(&nmi_active, -1); in nmi_init()
/arch/tile/include/asm/
Datomic_32.h99 static inline void atomic_set(atomic_t *v, int n) in atomic_set() function
104 #define atomic_set_release(v, i) atomic_set((v), (i))
/arch/sparc/lib/
Datomic32.c113 void atomic_set(atomic_t *v, int i) in atomic_set() function
121 EXPORT_SYMBOL(atomic_set);
/arch/m68k/amiga/
Dchipram.c41 atomic_set(&chipavail, amiga_chip_size); in amiga_chip_init()
/arch/arm64/kernel/
Dkgdb.c197 atomic_set(&kgdb_cpu_doing_single_step, -1); in kgdb_arch_handle_exception()
218 atomic_set(&kgdb_cpu_doing_single_step, raw_smp_processor_id()); in kgdb_arch_handle_exception()

1234