Defined in 3 files as a function:
- drivers/net/ethernet/mellanox/mlx4/mcg.c, line 694 (as a function)
- fs/proc/proc_sysctl.c, line 113 (as a function)
- tools/perf/dlfilters/dlfilter-show-cycles.c, line 47 (as a function)
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlx4/mcg.c
- fs/proc/proc_sysctl.c
- fs/smb/client/readdir.c
- tools/perf/dlfilters/dlfilter-show-cycles.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_qp_attach_common() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 4096-ptr_max |
| PARAM_VALUE | 0 | phead->caps.steering_mode | 0-1 |
| PARAM_VALUE | 0 | phead->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | phead->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | phead->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | *phead->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->phys_caps.pkey_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| PARAM_VALUE | 3 | namelen | 0-7 |
| PARAM_VALUE | 4 | mgm_mailbox | 4096-ptr_max |
| PARAM_VALUE | 4 | mgm_mailbox->buf | 4096-ptr_max |
| PARAM_VALUE | 5 | prev | 7310797459343765504 |
| PARAM_VALUE | 6 | index | 1247712292693803008 |
| PARAM_VALUE | 6 | *index | (-1) |
| BUF_SIZE | 0 | phead | (-1),944 |
| BUF_SIZE | 0 | phead | (-1),944 |
| BUF_SIZE | 2 | name | 16 |
| BUF_SIZE | 4 | mgm_mailbox | 16 |
| CAPPED_DATA | 3 | namelen | 1 |
| DATA_SOURCE | 0 | phead | $0 |
| DATA_SOURCE | 2 | name | $2 |
| DATA_SOURCE | 3 | namelen | $4 |
| DATA_SOURCE | 4 | mgm_mailbox | r mlx4_alloc_cmd_mailbox |
| FUZZY_MAX | 3 | namelen | 1 |
| BIT_INFO | 0 | phead->caps.steering_mode | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | namelen | 0,2-7[c] |
| USER_DATA | 1 | dir | 0-255 |
| USER_DATA | 2 | *name | 0-255 |
| USER_DATA | 3 | namelen | 0,2-7[c] |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | phead->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | phead->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | phead->persist->pdev->dev.cma_area->available_count | |
| USER_PTR | 2 | name | |
| LOCK2 | &priv->mcg_table.mutex | ||
| TYPE_LOCK | (struct mlx4_mcg_table)->mutex |
drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_qp_detach_common() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 4096-ptr_max |
| PARAM_VALUE | 0 | phead->caps.steering_mode | 0-1 |
| PARAM_VALUE | 0 | phead->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | phead->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | phead->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | *phead->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *phead->phys_caps.pkey_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| PARAM_VALUE | 4 | mgm_mailbox | 4096-ptr_max |
| PARAM_VALUE | 4 | mgm_mailbox->buf | 4096-ptr_max |
| PARAM_VALUE | 5 | prev | 4927043066346385408 |
| PARAM_VALUE | 6 | index | 1515870201185624064 |
| BUF_SIZE | 0 | phead | (-1),944 |
| BUF_SIZE | 0 | phead | (-1),944 |
| BUF_SIZE | 2 | name | 16 |
| BUF_SIZE | 4 | mgm_mailbox | 16 |
| DATA_SOURCE | 0 | phead | $0 |
| DATA_SOURCE | 2 | name | $2 |
| DATA_SOURCE | 3 | namelen | $3 |
| DATA_SOURCE | 4 | mgm_mailbox | r mlx4_alloc_cmd_mailbox |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | namelen | 0-7[c] |
| USER_DATA | 1 | dir | 0-255 |
| USER_DATA | 2 | *name | 0-255 |
| USER_DATA | 3 | namelen | 0-7[c] |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | phead->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | phead->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | phead->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | phead->persist->pdev->dev.cma_area->available_count | |
| USER_PTR | 2 | name | |
| LOCK2 | &priv->mcg_table.mutex | ||
| TYPE_LOCK | (struct mlx4_mcg_table)->mutex |
fs/proc/proc_sysctl.c find_subdir() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 8518737973467529216 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| BUF_SIZE | 1 | dir | (-1),96,186-s32max |
| BUF_SIZE | 1 | dir | (-1),96,186-s32max |
| BUF_SIZE | 2 | name | (-1)-s32max |
| BUF_SIZE | 2 | name | (-1)-s32max |
| DATA_SOURCE | 1 | dir | $0 |
| DATA_SOURCE | 2 | name | $1 |
| DATA_SOURCE | 3 | namelen | $2 |
| STR_LEN | 0 | phead | (-1)-3,9-27,29-30 |
| STR_LEN | 1 | dir | (-1)-3,9-27,29-30 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | namelen | unit_byte |
| HALF_LOCKED2 | global &sysctl_lock |
fs/proc/proc_sysctl.c get_links() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 6365159254260953088 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 3 | namelen | 0-3 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 2 | name | 3-4 |
| BUF_SIZE | 2 | name | 3-4 |
| DATA_SOURCE | 1 | dir | $0 |
| STR_LEN | 0 | phead | 0-3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &sysctl_lock |
fs/proc/proc_sysctl.c get_links() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 6365159254260953088 |
| PARAM_VALUE | 0 | *phead | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 3 | namelen | 0-3 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 2 | name | 3-4 |
| BUF_SIZE | 2 | name | 3-4 |
| DATA_SOURCE | 1 | dir | $0 |
| STR_LEN | 0 | phead | 0-3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &sysctl_lock |
fs/proc/proc_sysctl.c lookup_entry() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 8049676611008786432 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | name | $2 |
| DATA_SOURCE | 3 | namelen | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | name | unit_byte |
| UNITS | 3 | namelen | unit_byte |
| LOCK2 | global &sysctl_lock | ||
| HALF_LOCKED2 | &dir->i_rwsem |
fs/proc/proc_sysctl.c put_links() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 8803243120312209408 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 3 | namelen | 0-3 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 2 | name | 3-4 |
| BUF_SIZE | 2 | name | 3-4 |
| DATA_SOURCE | 1 | dir | r xlate_dir |
| STR_LEN | 0 | phead | 0-3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &sysctl_lock |
fs/proc/proc_sysctl.c sysctl_follow_link() -> find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phead | 5667672370892386304 |
| PARAM_VALUE | 0 | *phead | 0 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 3 | namelen | 0-3 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 1 | dir | (-1),96 |
| BUF_SIZE | 2 | name | 3-4 |
| BUF_SIZE | 2 | name | 3-4 |
| DATA_SOURCE | 1 | dir | r xlate_dir |
| STR_LEN | 0 | phead | 0-3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &sysctl_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |