Defined in 1 files as a macro:
Defined in 2 files as a function:
- drivers/net/ethernet/mellanox/mlx4/port.c, line 112 (as a function)
- fs/jfs/jfs_dtree.c, line 234 (as a function)
Referenced in 5 files:
- drivers/media/dvb-frontends/dib8000.c
- drivers/net/ethernet/mellanox/mlx4/port.c, line 387
- fs/jfs/jfs_dtree.c
- lib/842/842_compress.c, line 136
- tools/testing/radix-tree/multiorder.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/port.c __mlx4_unregister_mac() -> find_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->caps.num_ports | 1-s32max |
| PARAM_VALUE | 0 | ip->flags | 128-u64max |
| PARAM_VALUE | 0 | ip->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ip->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ip->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | *ip->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *ip->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *ip->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *ip->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *ip->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *ip->phys_caps.pkey_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 1 | index | 4096-ptr_max |
| PARAM_VALUE | 1 | index->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | index->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | index->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | index->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | index->mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 1 | index | 1824 |
| CAPPED_DATA | 1 | &index->mutex | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 2 | mp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | mp | 0-u64max[c] |
| USER_DATA | 2 | mp | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | ip->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | ip->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | ip->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ip->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | ip->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | ip->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | ip->persist->pdev->dev.cma_area->available_count | |
| UNITS | 2 | mp | unit_array_size |
| LOCK2 | 1 | &index->mutex | |
| HALF_LOCKED2 | &dup_table->mutex | ||
| TYPE_LOCK | (struct mlx4_mac_table)->mutex |
fs/jfs/jfs_dtree.c free_index() -> find_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ip->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | ip->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->rename | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->rmdir | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->unlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->fh_to_parent | 0,4672,5297,4573560380487,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 2 | mp | 2370908506813009920 |
| PARAM_VALUE | 2 | *mp | 0 |
| PARAM_VALUE | 3 | lblock | 5686530382758801408 |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| DATA_SOURCE | 1 | index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | 0 | &ip->i_rwsem |
fs/jfs/jfs_dtree.c modify_index() -> find_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->fh_to_parent | 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | ip->i_data.host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->link | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->mkdir | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->mknod | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->readlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->rename | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->rmdir | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->symlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_op->unlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->empty_dir | 0,86,8614,4392966320616476,52340232799868436,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->get_context | 0,706,70677,451380944949812,17350455714160640,51492518756116725,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->set_context | 0,67,6756,3250154607523569,59790662996066713,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->fh_to_parent | 0,4672,5297,4573560380487,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784-s64max |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ip->i_sb->s_qcop->set_info | 0,4911963300299485184,5546188274882789376 |
| PARAM_VALUE | 2 | mp | 3812761366599462912,4527412697132396544,4888666804909584384,6079215949290479616,7869841487259185152 |
| PARAM_VALUE | 2 | *mp | 0,4096-ptr_max |
| PARAM_VALUE | 3 | lblock | 1738668211210268672,2090396817474392064,4413033549726490624,6837262928035311616,8209368445270171648 |
| CAPPED_DATA | 0 | ip | 1 |
| CAPPED_DATA | 0 | ip->i_sb | 1 |
| DATA_SOURCE | 0 | ip | $1 |
| DATA_SOURCE | 1 | index | $2 |
| DATA_SOURCE | 2 | mp | $5 |
| DATA_SOURCE | 3 | lblock | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_mode | 0-u16max |
| USER_DATA | 0 | ip->i_size | (-9223372036854775807)-s64max |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_bytes | |
| HALF_LOCKED2 | 0 | &ip->i_rwsem |
fs/jfs/jfs_dtree.c read_index() -> find_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ip->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ip->i_op->readlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ip->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 1 | index | 0-4294967294 |
| PARAM_VALUE | 2 | mp | 2376948691193626624 |
| PARAM_VALUE | 2 | *mp | 0 |
| PARAM_VALUE | 3 | lblock | 8245359632990380032 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |