Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ccwreq.c File Reference
#include <linux/types.h>
#include <linux/err.h>
#include <asm/ccwdev.h>
#include <asm/cio.h>
#include "io_sch.h"
#include "cio.h"
#include "device.h"
#include "cio_debug.h"

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "cio"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 

Functions

int lpm_adjust (int lpm, int mask)
 
void ccw_request_start (struct ccw_device *cdev)
 
int ccw_request_cancel (struct ccw_device *cdev)
 
void ccw_request_handler (struct ccw_device *cdev)
 
void ccw_request_timeout (struct ccw_device *cdev)
 
void ccw_request_notoper (struct ccw_device *cdev)
 

Macro Definition Documentation

#define KMSG_COMPONENT   "cio"

Definition at line 8 of file ccwreq.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 9 of file ccwreq.c.

Function Documentation

int ccw_request_cancel ( struct ccw_device cdev)

ccw_request_cancel - cancel running I/O request : ccw device

Cancel the I/O request specified by cdev->req. Return non-zero if request has already finished, zero otherwise.

Definition at line 150 of file ccwreq.c.

void ccw_request_handler ( struct ccw_device cdev)

ccw_request_handler - interrupt handler for I/O request procedure. : ccw device

Handle interrupt during I/O request procedure.

Definition at line 253 of file ccwreq.c.

void ccw_request_notoper ( struct ccw_device cdev)

ccw_request_notoper - notoper handler for I/O request procedure : ccw device

Handle notoper during I/O request procedure.

Definition at line 364 of file ccwreq.c.

void ccw_request_start ( struct ccw_device cdev)

ccw_request_start - perform I/O request : ccw device

Perform the I/O request specified by cdev->req.

Definition at line 119 of file ccwreq.c.

void ccw_request_timeout ( struct ccw_device cdev)

ccw_request_timeout - timeout handler for I/O request procedure : ccw device

Handle timeout during I/O request procedure.

Definition at line 325 of file ccwreq.c.

int lpm_adjust ( int  lpm,
int  mask 
)

lpm_adjust - adjust path mask : path mask to adjust : mask of available paths

Shift right until and have at least one bit in common or until is zero. Return the resulting lpm.

Definition at line 29 of file ccwreq.c.