Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/cluster/tcp.c o2net_accept_one() -> o2net_set_nn_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nn | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nn->nn_sc | 0 |
| PARAM_VALUE | 0 | nn->nn_timeout.counter | 0 |
| PARAM_VALUE | 1 | sc | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_sock | 4096-ptr_max |
| PARAM_VALUE | 2 | valid | 0 |
| PARAM_VALUE | 3 | err | 0 |
| BUF_SIZE | 1 | sc | 840 |
| DATA_SOURCE | 0 | nn | r o2net_nn_from_num |
| DATA_SOURCE | 1 | sc | r sc_alloc |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &nn->nn_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct o2net_node)->nn_lock |
fs/ocfs2/cluster/tcp.c o2net_check_handshake() -> o2net_set_nn_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nn | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nn->nn_sc | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_timeout.counter | 0 |
| PARAM_VALUE | 1 | sc | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_handshake_ok | 1 |
| PARAM_VALUE | 1 | sc->sc_idle_timeout.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_idle_timeout.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_keepalive_work.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_net_debug_item.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_net_debug_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_node->nd_item.ci_dentry->d_fsdata->s_dependent_count | s32min-s32max |
| PARAM_VALUE | 1 | sc->sc_node->nd_num | 0-254 |
| PARAM_VALUE | 1 | sc->sc_page->memcg_data | 0 |
| PARAM_VALUE | 1 | sc->sc_page_off | 32 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 2 | valid | 1 |
| PARAM_VALUE | 3 | err | 0 |
| CAPPED_DATA | 0 | nn->nn_sc | 1 |
| CAPPED_DATA | 1 | sc | 1 |
| DATA_SOURCE | 0 | nn | r o2net_nn_from_num |
| DATA_SOURCE | 1 | sc | $0 |
| PARAM_COMPARE | 0 | nn->nn_sc | == $1 |
| PARAM_COMPARE | 1 | sc | == $0->nn_sc |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &nn->nn_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct o2net_node)->nn_lock |
fs/ocfs2/cluster/tcp.c o2net_connect_expired() -> o2net_set_nn_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nn | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nn->nn_sc_valid | 0 |
| PARAM_VALUE | 1 | sc | 0 |
| PARAM_VALUE | 2 | valid | 0 |
| PARAM_VALUE | 3 | err | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &nn->nn_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct o2net_node)->nn_lock |
fs/ocfs2/cluster/tcp.c o2net_disconnect_node() -> o2net_set_nn_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nn | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nn->nn_timeout.counter | 0 |
| PARAM_VALUE | 1 | sc | 0 |
| PARAM_VALUE | 2 | valid | 0 |
| PARAM_VALUE | 3 | err | (-107) |
| DATA_SOURCE | 0 | nn | r o2net_nn_from_num |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &nn->nn_lock | |
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | global &o2hb_callback_sem | ||
| TYPE_LOCK | (struct o2net_node)->nn_lock |
fs/ocfs2/cluster/tcp.c o2net_ensure_shutdown() -> o2net_set_nn_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nn | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nn->nn_persistent_error | (-107),0 |
| PARAM_VALUE | 0 | nn->nn_sc | 4096-ptr_max |
| PARAM_VALUE | 1 | sc | 0 |
| PARAM_VALUE | 2 | valid | 0 |
| PARAM_VALUE | 3 | err | (-107),0 |
| CAPPED_DATA | 0 | nn->nn_sc | 1 |
| DATA_SOURCE | 0 | nn | $0 |
| DATA_SOURCE | 3 | err | $2 |
| HARD_MAX | 3 | err | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &nn->nn_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct o2net_node)->nn_lock |
fs/ocfs2/cluster/tcp.c o2net_hb_node_up() -> o2net_set_nn_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nn | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nn->nn_persistent_error | (-107) |
| PARAM_VALUE | 0 | nn->nn_timeout.counter | 0 |
| PARAM_VALUE | 1 | sc | 0 |
| PARAM_VALUE | 2 | valid | 0 |
| PARAM_VALUE | 3 | err | 0 |
| DATA_SOURCE | 0 | nn | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &o2hb_callback_sem | ||
| LOCK2 | 0 | &nn->nn_lock | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &o2nm_cluster_group.cs_subsys.su_mutex | ||
| TYPE_LOCK | (struct o2net_node)->nn_lock |
fs/ocfs2/cluster/tcp.c o2net_start_connect() -> o2net_set_nn_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nn | 4096-ptr_max |
| PARAM_VALUE | 0 | nn->nn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nn->nn_persistent_error | (-107),0 |
| PARAM_VALUE | 0 | nn->nn_sc | 0 |
| PARAM_VALUE | 1 | sc | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_send_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sc->sc_send_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | sc->sc_send_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_send_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | sc->sc_send_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | sc->sc_sock | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_sock->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->listener->sk_lock.owned | 1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->arfs->filter_count | s32min-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->arfs->mode | 0-4 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->last_filter_id | s32min-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->ntp_fltr_count | s32min-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->sp_task.cpu | s32min-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->sp_task.timer.flags | 0-4294967295 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_hard | 0-1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_lazy | 0-1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_queued | 0-1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_soft | 0-1 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_cgrp_data.cgroup->bpf.refcnt.percpu_count_ptr | 1-u64max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_data_ready | 6842935097077510144 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_dst_cache->ops->pcpuc_entries.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_lock.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_lock.wq.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_reuseport_cb->rcu.func | 1-u64max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_state_change | 8155864920802799616 |
| PARAM_VALUE | 1 | sc->sc_sock->sk->sk_user_data | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_sock->sk->tcp_retransmit_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | sc->sc_sock->type | 1 |
| PARAM_VALUE | 1 | *sc->sc_sock->sk->sk_backlog.head->dev->name | 0-255 |
| PARAM_VALUE | 1 | *sc->sc_sock->sk->sk_user_data->door_bell.wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 2 | valid | 0 |
| PARAM_VALUE | 3 | err | 0 |
| BUF_SIZE | 1 | sc | 840 |
| CAPPED_DATA | 1 | sc->sc_sock->sk | 1 |
| DATA_SOURCE | 1 | sc | r sc_alloc |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | sc->sc_sock->sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | sc->sc_sock->sk->sk_receive_queue.prev->data_len | |
| NO_OVERFLOW_SIMPLE | 1 | sc->sc_sock->sk->sk_receive_queue.prev->next->data_len | |
| NO_OVERFLOW_SIMPLE | 1 | sc->sc_sock->sk->sk_write_queue.next->data_len | |
| NO_OVERFLOW_SIMPLE | 1 | sc->sc_sock->sk->sk_write_queue.next->prev->data_len | |
| LOCK2 | 0 | &nn->nn_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct o2net_node)->nn_lock |