Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/audit_tree.c audit_add_tree_rule() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &audit_filter_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_add_tree_rule() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next->next 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->list.next 4096-ptr_max
PARAM_VALUE 0 tree->list.prev 4096-ptr_max
PARAM_VALUE 0 tree->pathname 4096-ptr_max
PARAM_VALUE 0 tree->root 1-u64max
PARAM_VALUE 0 tree->root->count 1
PARAM_VALUE 0 tree->root->mark 4096-ptr_max
PARAM_VALUE 0 tree->root->refs.counter 1
PARAM_VALUE 0 tree->rules.next 4096-ptr_max
PARAM_VALUE 0 tree->rules.next->next 4096-ptr_max
PARAM_VALUE 0 tree->rules.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->same_root.next 4096-ptr_max
PARAM_VALUE 0 tree->same_root.prev 4096-ptr_max
CAPPED_DATA 0 &tree->chunks 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &audit_filter_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_add_tree_rule() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next->next 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->list.next 4096-ptr_max
PARAM_VALUE 0 tree->list.prev 4096-ptr_max
PARAM_VALUE 0 tree->pathname 4096-ptr_max
PARAM_VALUE 0 tree->root 1-u64max
PARAM_VALUE 0 tree->root->count 1
PARAM_VALUE 0 tree->root->mark 4096-ptr_max
PARAM_VALUE 0 tree->root->refs.counter 1
PARAM_VALUE 0 tree->rules.next 4096-ptr_max
PARAM_VALUE 0 tree->rules.next->next 4096-ptr_max
PARAM_VALUE 0 tree->rules.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->same_root.next 4096-ptr_max
PARAM_VALUE 0 tree->same_root.prev 4096-ptr_max
CAPPED_DATA 0 &tree->chunks 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &audit_filter_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_add_tree_rule() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->list.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->list.prev->next 4096-ptr_max
PARAM_VALUE 0 tree->rules.next->next 4096-ptr_max
PARAM_VALUE 0 tree->rules.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->rules.prev->next 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &audit_filter_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_put_tree() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 1-u64max
DATA_SOURCE 0 tree $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &audit_cmd_mutex.lock

kernel/audit_tree.c audit_tag_tree() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->list.next 4096-ptr_max
PARAM_VALUE 0 tree->list.next->next 4096-ptr_max
PARAM_VALUE 0 tree->list.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->pathname 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_tag_tree() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->list.next 4096-ptr_max
PARAM_VALUE 0 tree->list.next->next 4096-ptr_max
PARAM_VALUE 0 tree->list.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->pathname 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_tag_tree() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next->next 4096-ptr_max
PARAM_VALUE 0 tree->chunks.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->list.next 4096-ptr_max
PARAM_VALUE 0 tree->list.next->next 4096-ptr_max
PARAM_VALUE 0 tree->list.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->pathname 4096-ptr_max
PARAM_VALUE 0 tree->root 1-u64max
PARAM_VALUE 0 tree->root->count 1
PARAM_VALUE 0 tree->root->mark 4096-ptr_max
PARAM_VALUE 0 tree->root->refs.counter 1
PARAM_VALUE 0 tree->same_root.next 4096-ptr_max
PARAM_VALUE 0 tree->same_root.prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &audit_filter_mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_tag_tree() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->list.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->list.prev->next 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c audit_trim_trees() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->list.next->next 4096-ptr_max
PARAM_VALUE 0 tree->list.next->prev 4096-ptr_max
PARAM_VALUE 0 tree->pathname 4096-ptr_max
CAPPED_DATA 0 &tree->chunks 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

kernel/audit_tree.c free_chunk() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/audit_tree.c prune_one() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
CAPPED_DATA 0 tree 1
DATA_SOURCE 0 tree $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock

kernel/audit_tree.c remove_chunk_node() -> put_tree()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &hash_lock