Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv4/igmp.c igmpv3_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->sfmode | 1 |
| PARAM_VALUE | 2 | type | 6 |
| PARAM_VALUE | 3 | gdeleted | 1 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &in_dev->mc_tomb_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct in_device)->mc_tomb_lock |
net/ipv4/igmp.c igmpv3_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->sfmode | 1 |
| PARAM_VALUE | 2 | type | 6 |
| PARAM_VALUE | 3 | gdeleted | 1 |
| PARAM_VALUE | 4 | sdeleted | 1 |
| DATA_SOURCE | 0 | skb | r add_grec |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &in_dev->mc_tomb_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct in_device)->mc_tomb_lock |
net/ipv4/igmp.c igmpv3_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->crcount | 1-255 |
| PARAM_VALUE | 1 | pmc->sfmode | 0 |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | gdeleted | 1 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &in_dev->mc_tomb_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct in_device)->mc_tomb_lock |
net/ipv4/igmp.c igmpv3_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmc->sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5-6 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| FUZZY_MAX | 2 | type | 6 |
| BIT_INFO | 2 | type | 0x4,0x7 |
| HARD_MAX | 2 | type | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 1 | &pmc->lock | |
| TYPE_LOCK | (struct ip_mc_list)->lock |
net/ipv4/igmp.c igmpv3_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmc->sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5-6 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 1 |
| DATA_SOURCE | 0 | skb | r add_grec |
| FUZZY_MAX | 2 | type | 6 |
| BIT_INFO | 2 | type | 0x4,0x7 |
| HARD_MAX | 2 | type | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 1 | &pmc->lock | |
| TYPE_LOCK | (struct ip_mc_list)->lock |
net/ipv4/igmp.c igmpv3_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->crcount | 1-255 |
| PARAM_VALUE | 1 | pmc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmc->sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3-4 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| DATA_SOURCE | 0 | skb | r add_grec |
| FUZZY_MAX | 2 | type | 4 |
| HARD_MAX | 2 | type | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 1 | &pmc->lock | |
| TYPE_LOCK | (struct ip_mc_list)->lock |
net/ipv4/igmp.c igmpv3_send_report() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmc->multiaddr | 0-3758096384,3758096386-u32max |
| PARAM_VALUE | 1 | pmc->sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1-2 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| DATA_SOURCE | 1 | pmc | $1 [m] |
| FUZZY_MAX | 2 | type | 2 |
| HARD_MAX | 2 | type | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 1 | &pmc->lock | |
| TYPE_LOCK | (struct ip_mc_list)->lock |
net/ipv4/igmp.c igmpv3_send_report() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0 |
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmc->sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1-2 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| BUF_SIZE | 0 | skb | 0 |
| DATA_SOURCE | 1 | pmc | $1 |
| FUZZY_MAX | 2 | type | 2 |
| HARD_MAX | 2 | type | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 1 | &pmc->lock | |
| TYPE_LOCK | (struct ip_mc_list)->lock |
net/ipv6/mcast.c mld_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->mca_sfmode | 1 |
| PARAM_VALUE | 2 | type | 6 |
| PARAM_VALUE | 3 | gdeleted | 1 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PARAM_VALUE | 5 | crsend | 0 |
| LOCK2 | &idev->mc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 6 |
| PARAM_VALUE | 3 | gdeleted | 1 |
| PARAM_VALUE | 4 | sdeleted | 1 |
| PARAM_VALUE | 5 | crsend | 0 |
| DATA_SOURCE | 0 | skb | r add_grec |
| LOCK2 | &idev->mc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->mca_crcount | 1-255 |
| PARAM_VALUE | 1 | pmc->mca_sfmode | 0 |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | gdeleted | 1 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PARAM_VALUE | 5 | crsend | 0 |
| LOCK2 | &idev->mc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->mca_sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5-6 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PARAM_VALUE | 5 | crsend | 0 |
| FUZZY_MAX | 2 | type | 6 |
| BIT_INFO | 2 | type | 0x4,0x7 |
| HARD_MAX | 2 | type | 6 |
| LOCK2 | &idev->mc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->mca_sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5-6 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 1 |
| PARAM_VALUE | 5 | crsend | 0 |
| DATA_SOURCE | 0 | skb | r add_grec |
| FUZZY_MAX | 2 | type | 6 |
| BIT_INFO | 2 | type | 0x4,0x7 |
| HARD_MAX | 2 | type | 6 |
| LOCK2 | &idev->mc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->mca_crcount | 1-255 |
| PARAM_VALUE | 1 | pmc->mca_sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3-4 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PARAM_VALUE | 5 | crsend | 0 |
| DATA_SOURCE | 0 | skb | r add_grec |
| FUZZY_MAX | 2 | type | 4 |
| HARD_MAX | 2 | type | 4 |
| LOCK2 | &idev->mc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_initial_cr() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->mca_sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 4-5 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PARAM_VALUE | 5 | crsend | 1 |
| FUZZY_MAX | 2 | type | 5 |
| BIT_INFO | 2 | type | 0x4,0x5 |
| HARD_MAX | 2 | type | 5 |
| LOCK2 | &idev->mc_lock | ||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_report() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->mca_sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1-2 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PARAM_VALUE | 5 | crsend | 0 |
| DATA_SOURCE | 1 | pmc | $1 [m] |
| FUZZY_MAX | 2 | type | 2 |
| BIT_INFO | 1 | pmc->mca_flags | 0x0,0xfffffff7 |
| HARD_MAX | 2 | type | 2 |
| LOCK2 | &idev->mc_lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |
net/ipv6/mcast.c mld_send_report() -> add_grec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0 |
| PARAM_VALUE | 1 | pmc | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->idev | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->idev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->idev->dev->nd_net.net | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->idev->dev->nd_net.net->ipv6.devconf_all | 4096-ptr_max |
| PARAM_VALUE | 1 | pmc->idev->dev->nd_net.net->ipv6.devconf_all->force_mld_version | s32min-0,2-s32max |
| PARAM_VALUE | 1 | pmc->idev->mc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmc->idev->mc_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pmc->idev->mc_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | pmc->idev->mc_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pmc->idev->mc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmc->idev->mc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | pmc->idev->mc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | pmc->mca_sfcount | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 1-2 |
| PARAM_VALUE | 3 | gdeleted | 0 |
| PARAM_VALUE | 4 | sdeleted | 0 |
| PARAM_VALUE | 5 | crsend | 0 |
| BUF_SIZE | 0 | skb | 0 |
| CAPPED_DATA | 1 | pmc->idev->dev->nd_net.net | 1 |
| DATA_SOURCE | 1 | pmc | $1 |
| FUZZY_MAX | 2 | type | 2 |
| HARD_MAX | 2 | type | 2 |
| LOCK2 | &idev->mc_lock | ||
| LOCK2 | 1 | &pmc->idev->mc_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inet6_dev)->mc_lock |