tag | line | file | source code |
sizeof_priv | 93 | drivers/net/net_init.c | init_etherdev(struct device *dev, int sizeof_priv, unsigned long *mem_startp) |
sizeof_priv | 101 | drivers/net/net_init.c | + sizeof_priv + 3; |
sizeof_priv | 112 | drivers/net/net_init.c | sizeof_priv = (sizeof_priv + 3) & ~3; |
sizeof_priv | 115 | drivers/net/net_init.c | *mem_startp += sizeof_priv; |
sizeof_priv | 117 | drivers/net/net_init.c | dev->priv = kmalloc(sizeof_priv, GFP_KERNEL); |
sizeof_priv | 118 | drivers/net/net_init.c | memset(dev->priv, 0, sizeof_priv); |
sizeof_priv | 131 | drivers/net/net_init.c | if (sizeof_priv) |
sizeof_priv | 133 | drivers/net/net_init.c | dev->name = sizeof_priv + (char *)(dev + 1); |