Linux Kernel
3.7.1
|
#include "dm.h"
#include <linux/device-mapper.h>
#include <linux/bio.h>
#include <linux/mempool.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/dm-io.h>
Go to the source code of this file.
Data Structures | |
struct | dm_io_client |
struct | io |
struct | dpages |
Macros | |
#define | DM_MSG_PREFIX "io" |
#define | DM_IO_MAX_REGIONS BITS_PER_LONG |
#define | MIN_IOS 16 |
#define | MIN_BIOS 16 |
Functions | |
struct io | __attribute__ ((aligned(DM_IO_MAX_REGIONS))) |
struct dm_io_client * | dm_io_client_create (void) |
EXPORT_SYMBOL (dm_io_client_create) | |
void | dm_io_client_destroy (struct dm_io_client *client) |
EXPORT_SYMBOL (dm_io_client_destroy) | |
int | dm_io (struct dm_io_request *io_req, unsigned num_regions, struct dm_io_region *where, unsigned long *sync_error_bits) |
EXPORT_SYMBOL (dm_io) | |
int __init | dm_io_init (void) |
void | dm_io_exit (void) |
Variables | |
unsigned long | error_bits |
atomic_t | count |
struct task_struct * | sleeper |
struct dm_io_client * | client |
io_notify_fn | callback |
void * | context |
void * | vma_invalidate_address |
unsigned long | vma_invalidate_size |
struct dpages | __attribute__ |
#define DM_IO_MAX_REGIONS BITS_PER_LONG |
|
read |
void dm_io_client_destroy | ( | struct dm_io_client * | client | ) |
EXPORT_SYMBOL | ( | dm_io_client_create | ) |
EXPORT_SYMBOL | ( | dm_io_client_destroy | ) |
EXPORT_SYMBOL | ( | dm_io | ) |
eeh_pe_traverse - Traverse PEs in the specified PHB : root PE
: extra parameter to callback
The function is used to traverse the specified PE and its child PEs. The traversing is to be terminated once the callback returns something other than NULL, or no more PEs to be traversed.
eeh_pe_dev_traverse - Traverse the devices from the PE : EEH PE
: extra parameter to callback
The function is used to traverse the devices of the specified PE and its child PEs.
struct task_struct* sleeper |