#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/signal.h>
#include <linux/poll.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usbdevice_fs.h>
#include <linux/usb/hcd.h>
#include <linux/cdev.h>
#include <linux/notifier.h>
#include <linux/security.h>
#include <linux/user_namespace.h>
#include <linux/scatterlist.h>
#include <asm/uaccess.h>
#include <asm/byteorder.h>
#include <linux/moduleparam.h>
#include "usb.h"
Go to the source code of this file.
#define AS_CONTINUATION 1 |
#define USBFS_XFER_MAX (UINT_MAX / 2 - 1000000) |
- Enumerator:
-
Definition at line 108 of file devio.c.
module_param |
( |
usbfs_memory_mb |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
usbfs_snoop |
, |
|
|
"true to log all usbfs traffic" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
usbfs_memory_mb |
, |
|
|
"maximum MB allowed for usbfs buffers (0 = no limit)" |
|
|
) |
| |
Initial value:= {
.llseek = usbdev_lseek,
.read = usbdev_read,
.poll = usbdev_poll,
.unlocked_ioctl = usbdev_ioctl,
.open = usbdev_open,
.release = usbdev_release,
}
Definition at line 2184 of file devio.c.
struct usb_driver usbfs_driver |
Initial value:= {
.name = "usbfs",
.probe = driver_probe,
.disconnect = driver_disconnect,
.suspend = driver_suspend,
.resume = driver_resume,
}
Definition at line 622 of file devio.c.