Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
stub_tx.c File Reference
#include <linux/kthread.h>
#include <linux/socket.h>
#include "usbip_common.h"
#include "stub.h"

Go to the source code of this file.

Functions

void stub_enqueue_ret_unlink (struct stub_device *sdev, __u32 seqnum, __u32 status)
 
void stub_complete (struct urb *urb)
 
int stub_tx_loop (void *data)
 

Function Documentation

void stub_complete ( struct urb urb)

stub_complete - completion handler of a usbip urb : pointer to the urb completed

When a urb has completed, the USB core driver calls this function mostly in the interrupt context. To return the result of a urb, the completed urb is linked to the pending list of returning.

Definition at line 65 of file stub_tx.c.

void stub_enqueue_ret_unlink ( struct stub_device sdev,
__u32  seqnum,
__u32  status 
)

Definition at line 38 of file stub_tx.c.

int stub_tx_loop ( void data)

Definition at line 363 of file stub_tx.c.