Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
async-thread.h File Reference

Go to the source code of this file.

Data Structures

struct  btrfs_work
 
struct  btrfs_workers
 

Functions

void btrfs_queue_worker (struct btrfs_workers *workers, struct btrfs_work *work)
 
int btrfs_start_workers (struct btrfs_workers *workers)
 
void btrfs_stop_workers (struct btrfs_workers *workers)
 
void btrfs_init_workers (struct btrfs_workers *workers, char *name, int max, struct btrfs_workers *async_starter)
 
void btrfs_requeue_work (struct btrfs_work *work)
 
void btrfs_set_work_high_prio (struct btrfs_work *work)
 

Function Documentation

void btrfs_init_workers ( struct btrfs_workers workers,
char name,
int  max,
struct btrfs_workers async_starter 
)

Definition at line 441 of file async-thread.c.

void btrfs_queue_worker ( struct btrfs_workers workers,
struct btrfs_work work 
)

Definition at line 667 of file async-thread.c.

void btrfs_requeue_work ( struct btrfs_work work)

Definition at line 623 of file async-thread.c.

void btrfs_set_work_high_prio ( struct btrfs_work work)

Definition at line 659 of file async-thread.c.

int btrfs_start_workers ( struct btrfs_workers workers)

Definition at line 507 of file async-thread.c.

void btrfs_stop_workers ( struct btrfs_workers workers)

Definition at line 408 of file async-thread.c.