Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/hwtracing/stm/policy.c, line 545
- fs/configfs/configfs_internal.h, line 127
- fs/configfs/dir.c, line 802
- fs/configfs/item.c
- fs/dlm/config.c, line 912
- fs/ocfs2/cluster/heartbeat.c, line 2432
- fs/ocfs2/cluster/nodemanager.c
- include/linux/configfs.h, line 97
Smatch caller information:
fs/configfs/item.c config_group_find_item() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| PARAM_VALUE | 0 | item->ci_name | 1-u64max |
| DATA_SOURCE | 0 | item | r to_item |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &space_list->cg_subsys->su_mutex | ||
| HALF_LOCKED2 | global &xe_configfs.su_mutex | ||
| HALF_LOCKED2 | su_mutex |
fs/ocfs2/cluster/heartbeat.c o2hb_region_pin() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &o2hb_dependency_mutex | ||
| LOCK2 | global &o2hb_live_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
fs/configfs/dir.c config_group_get() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subsys->su_mutex |
fs/configfs/dir.c configfs_get_config_item() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | item | 1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/configfs/dir.c link_obj() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| PARAM_VALUE | 0 | item->ci_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | item->ci_group | 4096-ptr_max |
| PARAM_VALUE | 0 | item->ci_group->cg_children.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | item->ci_group->cg_children.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | item->ci_group->cg_children.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | item | (-1),80 |
| BUF_SIZE | 0 | item | (-1),80 |
| BUF_SIZE | 0 | item->ci_parent | (-1)-s32max |
| DATA_SOURCE | 0 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &subsys->su_mutex |
fs/configfs/symlink.c configfs_get_config_item() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | item | 1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct lockref)->lock |
drivers/net/netconsole.c config_group_get() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| PARAM_VALUE | 0 | item->ci_name | 1-u64max |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &target_cleanup_list_lock | ||
| LOCK2 | global &target_list_lock |
drivers/hwtracing/stm/policy.c stp_policy_node_lookup() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &stp_policy_subsys.su_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/target/target_core_transport.c config_group_get() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/dlm/config.c get_comm() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| CAPPED_DATA | 0 | &item->ci_entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_in_recovery | ||
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | global &clusters_root.subsys.su_mutex | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
fs/ocfs2/cluster/nodemanager.c o2nm_get_node_by_ip() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &cluster->cl_nodes_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct o2nm_cluster)->cl_nodes_lock |
fs/ocfs2/cluster/nodemanager.c o2nm_get_node_by_num() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &o2nm_single_cluster->cl_nodes_lock | ||
| HALF_LOCKED2 | &dlm->spinlock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &dlm_domain_lock | ||
| TYPE_LOCK | (struct o2nm_cluster)->cl_nodes_lock |
fs/ocfs2/cluster/nodemanager.c o2nm_node_get() -> config_item_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |