Home
last modified time | relevance | path

Searched refs:NETDEV_ALIGN (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/Documentation/networking/device_drivers/qlogic/
Dqlge.rst28 NETDEV_ALIGN = 32
29 return netdevice.value_() + align(struct_size("net_device"), NETDEV_ALIGN)
/Linux-v6.6/net/ieee802154/
Dcore.h28 struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN);
/Linux-v6.6/net/mac802154/
Dmain.c75 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw()
88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
/Linux-v6.6/drivers/net/can/
Dvxcan.c168 can_ml = netdev_priv(dev) + ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN); in vxcan_setup()
300 .priv_size = ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN) + sizeof(struct can_ml_priv),
/Linux-v6.6/drivers/net/can/dev/
Ddev.c249 size = ALIGN(sizeof_priv, NETDEV_ALIGN) + sizeof(struct can_ml_priv); in alloc_candev_mqs()
263 can_ml = (void *)priv + ALIGN(sizeof_priv, NETDEV_ALIGN); in alloc_candev_mqs()
/Linux-v6.6/net/devlink/
Ddevl_internal.h58 char priv[] __aligned(NETDEV_ALIGN);
/Linux-v6.6/drivers/net/ethernet/wiznet/
Dw5100.c1075 ALIGN(sizeof(struct w5100_priv), NETDEV_ALIGN); in w5100_ops_priv()
1090 alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); in w5100_probe()
1093 alloc_size += NETDEV_ALIGN - 1; in w5100_probe()
/Linux-v6.6/include/net/
Dcfg802154.h245 char priv[] __aligned(NETDEV_ALIGN);
Dcfg80211.h5587 char priv[] __aligned(NETDEV_ALIGN);
/Linux-v6.6/net/wireless/
Dcore.h119 struct wiphy wiphy __aligned(NETDEV_ALIGN);
/Linux-v6.6/net/mac80211/
Dmain.c668 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee80211_alloc_hw_nm()
736 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee80211_alloc_hw_nm()
/Linux-v6.6/drivers/net/phy/
Dmdio_bus.c152 size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); in mdiobus_alloc_size()
/Linux-v6.6/include/linux/
Dnetdevice.h2429 #define NETDEV_ALIGN 32 macro
2598 return (char *)dev + ALIGN(sizeof(struct net_device), NETDEV_ALIGN); in netdev_priv()
/Linux-v6.6/net/core/
Ddev.c10704 alloc_size = ALIGN(alloc_size, NETDEV_ALIGN); in alloc_netdev_mqs()
10708 alloc_size += NETDEV_ALIGN - 1; in alloc_netdev_mqs()
10714 dev = PTR_ALIGN(p, NETDEV_ALIGN); in alloc_netdev_mqs()