Home
last modified time | relevance | path

Searched refs:test_and_set_bit (Results 1 – 25 of 64) sorted by relevance

123

/arch/hexagon/include/asm/
A Dbitops.h55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function
113 test_and_set_bit(nr, addr); in set_bit()
139 test_and_set_bit(nr, addr); in arch___set_bit()
158 return test_and_set_bit(nr, addr); in arch___test_and_set_bit()
/arch/x86/kernel/cpu/
A Dperfctr-watchdog.c117 if (!test_and_set_bit(counter, perfctr_nmi_owner)) in reserve_perfctr_nmi()
145 if (!test_and_set_bit(counter, evntsel_nmi_owner)) in reserve_evntsel_nmi()
/arch/sh/boards/mach-x3proto/
A Dilsel.c103 } while (test_and_set_bit(bit, &ilsel_level_map)); in ilsel_enable()
126 if (test_and_set_bit(bit, &ilsel_level_map)) in ilsel_enable_fixed()
/arch/m68k/include/asm/
A Dbitops.h201 #define test_and_set_bit(nr, vaddr) bset_reg_test_and_set_bit(nr, vaddr) macro
203 #define test_and_set_bit(nr, vaddr) bset_mem_test_and_set_bit(nr, vaddr) macro
205 #define test_and_set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro
213 return test_and_set_bit(nr, addr); in arch___test_and_set_bit()
557 #define test_and_set_bit_lock test_and_set_bit
/arch/x86/include/asm/
A Dposted_intr.h95 return test_and_set_bit(POSTED_INTR_ON, (unsigned long *)&pi_desc->control); in pi_test_and_set_on()
110 return test_and_set_bit(vector, pi_desc->pir); in pi_test_and_set_pir()
/arch/sparc/lib/
A Dbitops.S14 ENTRY(test_and_set_bit) /* %o0=nr, %o1=addr */
33 ENDPROC(test_and_set_bit)
34 EXPORT_SYMBOL(test_and_set_bit)
/arch/arm64/include/asm/
A Dmte.h85 if (!test_and_set_bit(PG_mte_lock, &page->flags)) in try_page_mte_tagging()
199 if (!test_and_set_bit(PG_mte_lock, &folio->flags)) in folio_try_hugetlb_mte_tagging()
A Dsync_bitops.h21 #define sync_test_and_set_bit(nr, p) test_and_set_bit(nr, p)
/arch/sparc/include/asm/
A Dbitops_64.h19 int test_and_set_bit(unsigned long nr, volatile unsigned long *addr);
A Dbitops_32.h32 static inline int test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in test_and_set_bit() function
/arch/arm/mm/
A Dcopypage-xscale.c90 if (!test_and_set_bit(PG_dcache_clean, &src->flags)) in xscale_mc_copy_user_highpage()
A Dcopypage-v4mc.c70 if (!test_and_set_bit(PG_dcache_clean, &src->flags)) in v4_mc_copy_user_highpage()
A Dcopypage-v6.c76 if (!test_and_set_bit(PG_dcache_clean, &src->flags)) in v6_copy_user_highpage_aliasing()
/arch/csky/abiv1/
A Dcacheflush.c59 if (!test_and_set_bit(PG_dcache_clean, &folio->flags)) in update_mmu_cache_range()
/arch/arm/include/asm/
A Dbitops.h194 #define test_and_set_bit(nr,p) ATOMIC_BITOP(test_and_set_bit,nr,p) macro
/arch/alpha/include/asm/
A Dspinlock.h52 return !test_and_set_bit(0, &lock->lock); in arch_spin_trylock()
/arch/openrisc/include/asm/bitops/
A Datomic.h63 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() function
/arch/sh/include/asm/
A Dbitops-grb.h75 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() function
A Dbitops-llsc.h68 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function
A Dbitops-cas.h50 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function
/arch/openrisc/mm/
A Dcache.c86 int dirty = !test_and_set_bit(PG_dc_clean, &folio->flags); in update_cache()
/arch/csky/abiv2/
A Dcacheflush.c24 if (test_and_set_bit(PG_dcache_clean, &folio->flags)) in update_mmu_cache_range()
/arch/microblaze/include/asm/
A Dmmu_context_mm.h86 while (test_and_set_bit(ctx, context_map)) { in get_mmu_context()
/arch/powerpc/mm/book3s32/
A Dmmu_context.c55 while (test_and_set_bit(ctx, context_map)) { in __init_new_context()
/arch/mips/sgi-ip27/
A Dip27-init.c51 if (test_and_set_bit(nasid, hub_init_mask)) in per_hub_init()

Completed in 28 milliseconds

123