Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_poll_rx() -> napi_alloc_frag()

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

drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_napi_alloc_one() -> napi_alloc_frag()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte

drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_napi_alloc_one() -> napi_alloc_frag()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_handle_rx_copybreak() -> napi_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 0,4294967282
BIT_INFO 0 fragsz 0x0,0x0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte

drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_frag_alloc() -> napi_alloc_frag()

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

drivers/infiniband/hw/hfi1/ipoib_rx.c prepare_frag_skb() -> napi_alloc_frag()

Type Parameter Key Value
BIT_INFO 0 fragsz 0x0,0x7fffffc0
TASK_NOT_RUNNING

drivers/net/ethernet/broadcom/tg3.c tg3_alloc_rx_data() -> napi_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 0-4096
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fragsz unit_byte
HALF_LOCKED2 &tp->lock
HALF_LOCKED2 bh

drivers/net/ethernet/broadcom/bcm4908_enet.c bcm4908_enet_dma_alloc_rx_buf() -> napi_alloc_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragsz 1920
RX_PATH
TASK_NOT_RUNNING

drivers/net/virtio_net.c xsk_append_merge_buffer() -> napi_alloc_frag()

Type Parameter Key Value
CAPPED_DATA 0 fragsz 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 fragsz 0-u32max[c]
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

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]