Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
bitops.h File Reference
#include <linux/compiler.h>

Go to the source code of this file.

Macros

#define set_bit(nr, vaddr)
 
#define __set_bit(nr, vaddr)   set_bit(nr, vaddr)
 
#define smp_mb__before_clear_bit()   barrier()
 
#define smp_mb__after_clear_bit()   barrier()
 
#define clear_bit(nr, vaddr)
 
#define __clear_bit(nr, vaddr)   clear_bit(nr, vaddr)
 
#define change_bit(nr, vaddr)
 
#define __change_bit(nr, vaddr)   change_bit(nr, vaddr)
 
#define test_and_set_bit(nr, vaddr)
 
#define __test_and_set_bit(nr, vaddr)   test_and_set_bit(nr, vaddr)
 
#define test_and_clear_bit(nr, vaddr)
 
#define __test_and_clear_bit(nr, vaddr)   test_and_clear_bit(nr, vaddr)
 
#define test_and_change_bit(nr, vaddr)
 
#define __test_and_change_bit(nr, vaddr)   test_and_change_bit(nr, vaddr)
 
#define find_first_zero_bit   find_first_zero_bit
 
#define find_next_zero_bit   find_next_zero_bit
 
#define find_first_bit   find_first_bit
 
#define find_next_bit   find_next_bit
 

Macro Definition Documentation

#define __change_bit (   nr,
  vaddr 
)    change_bit(nr, vaddr)

Definition at line 153 of file bitops.h.

#define __clear_bit (   nr,
  vaddr 
)    clear_bit(nr, vaddr)

Definition at line 113 of file bitops.h.

#define __set_bit (   nr,
  vaddr 
)    set_bit(nr, vaddr)

Definition at line 67 of file bitops.h.

#define __test_and_change_bit (   nr,
  vaddr 
)    test_and_change_bit(nr, vaddr)

Definition at line 309 of file bitops.h.

#define __test_and_clear_bit (   nr,
  vaddr 
)    test_and_clear_bit(nr, vaddr)

Definition at line 259 of file bitops.h.

#define __test_and_set_bit (   nr,
  vaddr 
)    test_and_set_bit(nr, vaddr)

Definition at line 209 of file bitops.h.

#define change_bit (   nr,
  vaddr 
)
Value:
(__builtin_constant_p(nr) ? \
bchg_mem_change_bit(nr, vaddr) : \
bfchg_mem_change_bit(nr, vaddr))

Definition at line 148 of file bitops.h.

#define clear_bit (   nr,
  vaddr 
)
Value:
(__builtin_constant_p(nr) ? \
bclr_mem_clear_bit(nr, vaddr) : \
bfclr_mem_clear_bit(nr, vaddr))

Definition at line 108 of file bitops.h.

#define find_first_bit   find_first_bit

Definition at line 402 of file bitops.h.

#define find_first_zero_bit   find_first_zero_bit

Definition at line 347 of file bitops.h.

#define find_next_bit   find_next_bit

Definition at line 432 of file bitops.h.

#define find_next_zero_bit   find_next_zero_bit

Definition at line 377 of file bitops.h.

#define set_bit (   nr,
  vaddr 
)
Value:
(__builtin_constant_p(nr) ? \
bset_mem_set_bit(nr, vaddr) : \
bfset_mem_set_bit(nr, vaddr))

Definition at line 62 of file bitops.h.

#define smp_mb__after_clear_bit ( )    barrier()

Definition at line 74 of file bitops.h.

#define smp_mb__before_clear_bit ( )    barrier()

Definition at line 73 of file bitops.h.

#define test_and_change_bit (   nr,
  vaddr 
)
Value:
(__builtin_constant_p(nr) ? \
bchg_mem_test_and_change_bit(nr, vaddr) : \
bfchg_mem_test_and_change_bit(nr, vaddr))

Definition at line 304 of file bitops.h.

#define test_and_clear_bit (   nr,
  vaddr 
)
Value:
(__builtin_constant_p(nr) ? \
bclr_mem_test_and_clear_bit(nr, vaddr) : \
bfclr_mem_test_and_clear_bit(nr, vaddr))

Definition at line 254 of file bitops.h.

#define test_and_set_bit (   nr,
  vaddr 
)
Value:
(__builtin_constant_p(nr) ? \
bset_mem_test_and_set_bit(nr, vaddr) : \
bfset_mem_test_and_set_bit(nr, vaddr))

Definition at line 204 of file bitops.h.