Linux Perf
rwsem.c File Reference
#include "util.h"
#include "rwsem.h"
Include dependency graph for rwsem.c:

Go to the source code of this file.

Functions

int init_rwsem (struct rw_semaphore *sem)
 
int exit_rwsem (struct rw_semaphore *sem)
 
int down_read (struct rw_semaphore *sem)
 
int up_read (struct rw_semaphore *sem)
 
int down_write (struct rw_semaphore *sem)
 
int up_write (struct rw_semaphore *sem)
 

Function Documentation

◆ down_read()

int down_read ( struct rw_semaphore sem)

Definition at line 14 of file rwsem.c.

◆ down_write()

int down_write ( struct rw_semaphore sem)

Definition at line 24 of file rwsem.c.

◆ exit_rwsem()

int exit_rwsem ( struct rw_semaphore sem)

Definition at line 9 of file rwsem.c.

◆ init_rwsem()

int init_rwsem ( struct rw_semaphore sem)

Definition at line 4 of file rwsem.c.

◆ up_read()

int up_read ( struct rw_semaphore sem)

Definition at line 19 of file rwsem.c.

◆ up_write()

int up_write ( struct rw_semaphore sem)

Definition at line 29 of file rwsem.c.