Documented in 1 files:

Defined in 5 files as a prototype:

Defined in 14 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/scsi/scsi_debug.c dif_compute_csum() -> ip_compute_csum()

Type Parameter Key Value
DATA_SOURCE 0 buff $0
DATA_SOURCE 1 len $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 buff unit_byte
HALF_LOCKED2 &sdev->state_mutex

drivers/net/amt.c amt_build_igmp_gq() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PARAM_VALUE 1 len 12
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
LOCK2 rcu_read

drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_csum() -> ip_compute_csum()

Type Parameter Key Value
DATA_SOURCE 0 buff $0
DATA_SOURCE 1 len $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
LOCK2 &lpfc_cmd->buf_lock
HALF_LOCKED2 &phba->epd_pool.lock
HALF_LOCKED2 &phba->sli4_hba.nvmels_wq->pring->ring_lock
TYPE_LOCK (struct lpfc_io_buf)->buf_lock

net/ipv4/igmp.c igmp_send_report() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PARAM_VALUE 1 len 8
DATA_SOURCE 0 buff r skb_put
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte

net/ipv4/igmp.c igmpv3_sendpack() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pmc->lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/media/pci/bt8xx/bttv-cards.c osprey_eeprom() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 *buff 0-255
PARAM_VALUE 1 len 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/ipv4/icmp.c icmp_ext_append() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PARAM_VALUE 1 len s32min-3,5-s32max
DATA_SOURCE 0 buff r skb_put_zero
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
LOCK2 bh
HALF_LOCKED2 &x->lock
HALF_LOCKED2 rcu_read

net/bridge/br_multicast.c br_ip4_multicast_alloc_query() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PARAM_VALUE 1 len 8,12,16-262152
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
HALF_LOCKED2 &br->multicast_lock
HALF_LOCKED2 &brmctx->br->multicast_lock
TYPE_LOCK (struct net_bridge)->multicast_lock

net/ipv4/ipmr.c pim_rcv() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PARAM_VALUE 1 len 8
DATA_SOURCE 0 buff r skb_transport_header
BIT_INFO 0 buff->flags 0x0,0xbfffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
HALF_LOCKED2 rcu_read

net/ipv6/icmp.c icmp6_ext_append() -> ip_compute_csum()

Type Parameter Key Value
PARAM_VALUE 0 buff 4096-ptr_max
PARAM_VALUE 1 len s32min-3,5-s32max
DATA_SOURCE 0 buff r skb_put_zero
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &x->lock