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

Go to the source code of this file.

Functions

unsigned long __xchg32 (int x, int *ptr)
 
unsigned long __xchg8 (char x, char *ptr)
 
unsigned long __cmpxchg_u32 (volatile unsigned int *ptr, unsigned int old, unsigned int new)
 

Function Documentation

unsigned long __cmpxchg_u32 ( volatile unsigned int ptr,
unsigned int  old,
unsigned int  new 
)

Definition at line 72 of file bitops.c.

unsigned long __xchg32 ( int  x,
int ptr 
)

Definition at line 32 of file bitops.c.

unsigned long __xchg8 ( char  x,
char ptr 
)

Definition at line 45 of file bitops.c.