Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/tipc/name_table.c tipc_nametbl_remove_publ() -> tipc_sub_report_overlap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sub | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 2 | event | 2 |
| CAPPED_DATA | 0 | &sub->service_list | 1 |
| CAPPED_DATA | 1 | p->key | 1 |
| CAPPED_DATA | 1 | p->sk.ref | 1 |
| DATA_SOURCE | 1 | p | r tipc_service_remove_publ |
| DATA_SOURCE | 3 | must | r list_empty |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sc->lock | ||
| LOCK2 | &tn->nametbl_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct tipc_net)->nametbl_lock | ||
| TYPE_LOCK | (struct tipc_service)->lock |
net/tipc/name_table.c tipc_service_insert_publ() -> tipc_sub_report_overlap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sub | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->all_publ.next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->all_publ.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->all_publ.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->all_publ.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->all_publ.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_node.next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_node.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_sock.next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_sock.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_sock.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_sock.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->binding_sock.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->local_publ.next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->local_publ.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->local_publ.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->local_publ.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p->local_publ.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p->scope | 2-3 |
| PARAM_VALUE | 2 | event | 1 |
| BUF_SIZE | 1 | p | 128 |
| CAPPED_DATA | 0 | &sub->service_list | 1 |
| CAPPED_DATA | 1 | p->scope | 1 |
| CAPPED_DATA | 1 | p->sk.node | 1 |
| DATA_SOURCE | 1 | p | $2 |
| DATA_SOURCE | 3 | must | r list_empty |
| NOSPEC | 1 | p->sk.node | |
| NOSPEC | 1 | p->sr.lower | |
| NOSPEC | 1 | p->sr.type | |
| NOSPEC | 1 | p->sr.upper | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | p->key | 0-u32max |
| USER_DATA | 1 | p->sk.node | 0-u32max[c] |
| USER_DATA | 1 | p->sk.ref | 0-u32max |
| USER_DATA | 1 | p->sr.lower | 0-u32max |
| USER_DATA | 1 | p->sr.type | 0-u32max |
| USER_DATA | 1 | p->sr.upper | 0-u32max |
| LOCK2 | &sc->lock | ||
| LOCK2 | &tn->nametbl_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct tipc_net)->nametbl_lock | ||
| TYPE_LOCK | (struct tipc_service)->lock |
net/tipc/name_table.c tipc_service_subscribe() -> tipc_sub_report_overlap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sub | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->inactive | 0 |
| PARAM_VALUE | 0 | sub->net | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->service_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->service_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->service_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->service_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->service_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->sub_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->sub_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->sub_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->sub_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sub->sub_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 2 | event | 1 |
| PARAM_VALUE | 3 | must | 1 |
| BUF_SIZE | 0 | sub | 288 |
| CAPPED_DATA | 0 | sub->net->gen | 1 |
| CAPPED_DATA | 0 | sub->s.seq.lower | 1 |
| DATA_SOURCE | 0 | sub | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sub->evt.s.seq.type | 64-u32max |
| USER_DATA | 0 | sub->s.seq.type | 64-u32max |
| LOCK2 | &service->lock | ||
| LOCK2 | &tn->nametbl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct tipc_net)->nametbl_lock | ||
| TYPE_LOCK | (struct tipc_service)->lock |