Name

__netdev_alloc_page — allocate a page for ps-rx on a specific device

Synopsis

struct page * __netdev_alloc_page (struct net_device * dev,
 gfp_t gfp_mask);
 

Arguments

dev

network device to receive on

gfp_mask

alloc_pages_node mask

Description

Allocate a new page. dev currently unused.

NULL is returned if there is no free memory.