Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

alloc_netdev_mqs(9) [centos man page]

ALLOC_NETDEV_MQS(9)					      Network device support					       ALLOC_NETDEV_MQS(9)

NAME
alloc_netdev_mqs - allocate network device SYNOPSIS
struct net_device * alloc_netdev_mqs(int sizeof_priv, const char * name, void (*setup) (struct net_device *), unsigned int txqs, unsigned int rxqs); ARGUMENTS
sizeof_priv size of private data to allocate space for name device name format string setup callback to initialize device txqs the number of TX subqueues to allocate rxqs the number of RX subqueues to allocate DESCRIPTION
Allocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subquue structs for each queue on the device. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 ALLOC_NETDEV_MQS(9)

Check Out this Related Man Page

STRUCT 
CCWGROUP_DRIV(9) The ccwgroup bus STRUCT CCWGROUP_DRIV(9) NAME
struct_ccwgroup_driver - driver for ccw group devices SYNOPSIS
struct ccwgroup_driver { int (* setup) (struct ccwgroup_device *); void (* remove) (struct ccwgroup_device *); int (* set_online) (struct ccwgroup_device *); int (* set_offline) (struct ccwgroup_device *); void (* shutdown) (struct ccwgroup_device *); int (* prepare) (struct ccwgroup_device *); void (* complete) (struct ccwgroup_device *); int (* freeze) (struct ccwgroup_device *); int (* thaw) (struct ccwgroup_device *); int (* restore) (struct ccwgroup_device *); struct device_driver driver; }; MEMBERS
setup function called during device creation to setup the device remove function called on remove set_online function called when device is set online set_offline function called when device is set offline shutdown function called when device is shut down prepare prepare for pm state transition complete undo work done in prepare freeze callback for freezing during hibernation snapshotting thaw undo work done in freeze restore callback for restoring after hibernation driver embedded driver structure AUTHOR
Cornelia Huck <cornelia.huck@de.ibm.com> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT CCWGROUP_DRIV(9)
Man Page