Documented in 1 files:

Defined in 1 files as a function:

Referenced in 14 files:

Smatch caller information:

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_rx_alloc() -> netdev_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 2432
DATA_SOURCE 0 fragsz r mtk_max_frag_size
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/renesas/rswitch_main.c rswitch_gwca_queue_alloc_rx_buf() -> netdev_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 2560
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_frag_alloc() -> netdev_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 0-4096
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte

drivers/net/ethernet/broadcom/bgmac.c bgmac_dma_rx_skb_for_slot() -> netdev_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 1920
RX_PATH
TASK_NOT_RUNNING

drivers/net/wwan/t7xx/t7xx_hif_dpmaif_rx.c t7xx_dpmaif_rx_frag_alloc() -> netdev_alloc_frag()

Type Parameter Key Value
RX_PATH

drivers/net/ethernet/intel/e1000/e1000_main.c e1000_alloc_frag() -> netdev_alloc_frag()

Type Parameter Key Value
DATA_SOURCE 0 fragsz r e1000_frag_len
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/netronome/nfp/nfp_net_dp.c nfp_net_rx_alloc_one() -> netdev_alloc_frag()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte

drivers/net/tun.c tun_napi_alloc_frags() -> netdev_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 1-4096
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte
LOCK2 &tfile->napi_mutex
TYPE_LOCK (struct tun_file)->napi_mutex

drivers/net/ethernet/hisilicon/hip04_eth.c hip04_alloc_ring() -> netdev_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 1920
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/hisilicon/hip04_eth.c hip04_rx_poll() -> netdev_alloc_frag()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/atheros/ag71xx.c ag71xx_fill_rx_buf() -> ag71xx_fill_rx_buf param 3()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 fragsz 321-65855[c]