Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bounce.c File Reference
#include <linux/mm.h>
#include <linux/export.h>
#include <linux/swap.h>
#include <linux/gfp.h>
#include <linux/bio.h>
#include <linux/pagemap.h>
#include <linux/mempool.h>
#include <linux/blkdev.h>
#include <linux/init.h>
#include <linux/hash.h>
#include <linux/highmem.h>
#include <linux/bootmem.h>
#include <asm/tlbflush.h>
#include <trace/events/block.h>

Go to the source code of this file.

Macros

#define POOL_SIZE   64
 
#define ISA_POOL_SIZE   16
 
#define bounce_copy_vec(to, vfrom)   memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len)
 

Functions

int init_emergency_isa_pool (void)
 
void blk_queue_bounce (struct request_queue *q, struct bio **bio_orig)
 
 EXPORT_SYMBOL (blk_queue_bounce)
 

Macro Definition Documentation

#define bounce_copy_vec (   to,
  vfrom 
)    memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len)

Definition at line 63 of file bounce.c.

#define ISA_POOL_SIZE   16

Definition at line 23 of file bounce.c.

#define POOL_SIZE   64

Definition at line 22 of file bounce.c.

Function Documentation

void blk_queue_bounce ( struct request_queue q,
struct bio **  bio_orig 
)

Definition at line 271 of file bounce.c.

EXPORT_SYMBOL ( blk_queue_bounce  )
int init_emergency_isa_pool ( void  )

Definition at line 80 of file bounce.c.