Defined in 1 files as a function:
Referenced in 13 files:
- drivers/net/ethernet/aquantia/atlantic/aq_ring.c
- drivers/net/ethernet/freescale/enetc/enetc.c, line 2006
- drivers/net/ethernet/freescale/fec_main.c, line 2187
- drivers/net/ethernet/intel/i40e/i40e_txrx.c, line 2540
- drivers/net/ethernet/intel/i40e/i40e_xsk.c, line 355
- drivers/net/ethernet/intel/ice/ice_txrx.c, line 1037
- drivers/net/ethernet/intel/ice/ice_txrx_lib.c, line 447
- drivers/net/ethernet/intel/ice/ice_xsk.c, line 648
- drivers/net/ethernet/meta/fbnic/fbnic_txrx.c, line 1281
- include/uapi/linux/bpf.h, line 6165
- net/core/filter.c
- net/xdp/xsk.c
- tools/include/uapi/linux/bpf.h, line 6165
Smatch caller information:
drivers/net/ethernet/freescale/enetc/enetc.c enetc_clean_rx_ring_xdp() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 2997338229986557952 |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_txrx_lib.c __ice_xmit_xdp_ring() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 981344126431883264,7029288526324645888 |
| PARAM_VALUE | 0 | xdp->data_end | 4096-ptr_max |
| DATA_SOURCE | 0 | xdp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &xdp_ring->tx_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_xsk.c ice_clean_rx_irq_zc() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/core/filter.c ____bpf_xdp_event_output() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 1-u64max |
| DATA_SOURCE | 0 | xdp | $0 |
net/core/filter.c ____bpf_xdp_get_buff_len() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | xdp | $0 |
net/core/filter.c bpf_dynptr_from_xdp() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | xdp | $0 |
net/core/filter.c bpf_xdp_frags_shrink_tail() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 1-u32max |
| DATA_SOURCE | 0 | xdp | $0 |
net/core/filter.c bpf_xdp_pointer() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| BUF_SIZE | 0 | xdp | (-1),1-s32max |
| BUF_SIZE | 0 | xdp | (-1),1-s32max |
| DATA_SOURCE | 0 | xdp | $0 |
net/core/filter.c bpf_xdp_pull_data() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| DATA_SOURCE | 0 | xdp | $0 |
drivers/net/ethernet/aquantia/atlantic/aq_ring.c __aq_ring_xdp_clean() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4608340779390623744 |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0,2-u32max |
| RX_PATH |
drivers/net/ethernet/aquantia/atlantic/aq_ring.c aq_xdp_run_prog() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4608340779390623744 |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| DATA_SOURCE | 0 | xdp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_handle_xdp_result_zc() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| DATA_SOURCE | 0 | xdp | $1 |
| RX_PATH |
drivers/net/ethernet/intel/ice/ice_txrx.c ice_clean_rx_irq() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 7029288526324645888 |
| PARAM_VALUE | 0 | xdp->data_end | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->frame_sz | 0-16777215 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/xdp/xsk.c xsk_generic_rcv() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 6139258418707382272,7996515439792750592 |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0,2-u32max |
| DATA_SOURCE | 0 | xdp | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/xdp/xsk.c xsk_rcv() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| BUF_SIZE | 0 | xdp->rxq | (-1),64 |
| DATA_SOURCE | 0 | xdp | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c fbnic_clean_rcq() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/freescale/fec_main.c fec_build_skb_zc() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| DATA_SOURCE | 0 | xdp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_clean_rx_irq() -> xdp_get_buff_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| BUF_SIZE | 0 | xdp | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |