Home
last modified time | relevance | path

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

1234

/arch/mips/kernel/
Dsync-r4k.c41 atomic_set(&count_reference, read_c0_count()); in synchronise_count_master()
42 atomic_set(&count_start_flag, cpu); in synchronise_count_master()
63 atomic_set(&count_count_stop, 0); in synchronise_count_master()
80 atomic_set(&count_count_start, 0); in synchronise_count_master()
86 atomic_set(&count_start_flag, 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()
Dmachine_kexec.c111 atomic_set(&kexec_ready_to_reboot, 1); in machine_kexec()
Dprocess.c72 atomic_set(&current->thread.bd_emu_frame, BD_EMUFRAME_NONE); in start_thread()
174 atomic_set(&p->thread.bd_emu_frame, BD_EMUFRAME_NONE); in copy_thread()
611 atomic_set(&task->mm->context.fp_mode_switching, 1); in mips_set_process_fp_mode()
663 atomic_set(&task->mm->context.fp_mode_switching, 0); in mips_set_process_fp_mode()
/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/platform/uv/
Duv_nmi.c202 atomic_set(&hub_nmi->cpu_owner, cpu); in uv_set_in_nmi()
204 atomic_set(&uv_nmi_cpu, cpu); in uv_set_in_nmi()
269 atomic_set(&hub_nmi->cpu_owner, -1); in uv_clear_nmi()
270 atomic_set(&hub_nmi->in_nmi, 0); in uv_clear_nmi()
354 atomic_set(&uv_nmi_cpus_in_nmi, k); in uv_nmi_wait_cpus()
453 atomic_set(&uv_nmi_slave_continue, SLAVE_CLEAR); in uv_nmi_sync_exit()
473 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_nmi_dump_state()
518 atomic_set(&uv_nmi_kexec_failed, 1); in uv_nmi_kdump()
580 atomic_set(&uv_nmi_slave_continue, SLAVE_EXIT); in uv_call_kgdb_kdb()
651 atomic_set(&uv_nmi_cpus_in_nmi, -1); in uv_handle_nmi()
[all …]
/arch/arc/include/asm/
Datomic.h24 #define atomic_set(v, i) (((v)->counter) = (i)) macro
71 #define atomic_set(v, i) (((v)->counter) = (i)) macro
75 static inline void atomic_set(atomic_t *v, int i) in atomic_set() function
/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()
/arch/x86/kernel/
Dtsc_sync.c144 atomic_set(&stop_count, 0); in check_tsc_sync_source()
175 atomic_set(&start_count, 0); in check_tsc_sync_source()
Dtracepoint.c23 atomic_set(&trace_idt_ctr, val); in set_trace_idt_ctr()
/arch/m68k/include/asm/
Datomic.h21 #define atomic_set(v, i) (((v)->counter) = i) macro
133 atomic_set(v, new); in atomic_cmpxchg()
145 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/powerpc/kernel/
Drtas.c749 atomic_set(&data->error, rc); in __rtas_suspend_last_cpu()
753 atomic_set(&data->done, 1); in __rtas_suspend_last_cpu()
799 atomic_set(&data->error, rc); in __rtas_suspend_cpu()
803 atomic_set(&data->done, 1); in __rtas_suspend_cpu()
952 atomic_set(&data.working, 0); in rtas_ibm_suspend_me()
953 atomic_set(&data.done, 0); in rtas_ibm_suspend_me()
954 atomic_set(&data.error, 0); in rtas_ibm_suspend_me()
963 atomic_set(&data.error, cpuret); in rtas_ibm_suspend_me()
973 atomic_set(&data.error, -EINVAL); in rtas_ibm_suspend_me()
/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/sparc/lib/
Datomic32.c91 void atomic_set(atomic_t *v, int i) in atomic_set() function
99 EXPORT_SYMBOL(atomic_set);
/arch/sparc/include/asm/
Datomic_32.h27 void atomic_set(atomic_t *, int);
/arch/um/kernel/
Dsmp.c219 atomic_set(&scf_started, 0); in smp_call_function()
220 atomic_set(&scf_finished, 0); in smp_call_function()
/arch/ia64/kernel/
Duncached.c125 atomic_set(&uc_pool->status, 0); in uncached_add_chunk()
147 atomic_set(&uc_pool->status, 0); in uncached_add_chunk()
/arch/sparc/kernel/
Dnmi.c193 atomic_set(&nmi_active, -1); in check_nmi_watchdog()
258 atomic_set(&nmi_active, -1); in nmi_init()
/arch/arc/kernel/
Dkgdb.c148 atomic_set(&kgdb_cpu_doing_single_step, -1); in kgdb_arch_handle_exception()
152 atomic_set(&kgdb_cpu_doing_single_step, in kgdb_arch_handle_exception()
/arch/sh/include/asm/
Datomic.h18 #define atomic_set(v,i) ((v)->counter = (i)) macro
/arch/mips/math-emu/
Ddsemul.c197 atomic_set(&current->thread.bd_emu_frame, BD_EMUFRAME_NONE); in dsemul_thread_rollback()
270 atomic_set(&current->thread.bd_emu_frame, fr_idx); in mips_dsemul()
/arch/arm64/kernel/
Dkgdb.c179 atomic_set(&kgdb_cpu_doing_single_step, -1); in kgdb_arch_handle_exception()
200 atomic_set(&kgdb_cpu_doing_single_step, raw_smp_processor_id()); in kgdb_arch_handle_exception()
/arch/m68k/amiga/
Dchipram.c40 atomic_set(&chipavail, amiga_chip_size); in amiga_chip_init()
/arch/hexagon/include/asm/
Datomic.h33 static inline void atomic_set(atomic_t *v, int new) in atomic_set() function

1234