Defined in 2 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 5 files:
Smatch caller information:
fs/hfs/btree.c hfs_bmap_new_bmap() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->num_recs | 1 |
| PARAM_VALUE | 0 | node->this | 0-4294967294 |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 2 |
| PARAM_VALUE | 1 | off | 14 |
| PARAM_VALUE | 2 | data | 32768 |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->this | 1 |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| DATA_SOURCE | 0 | node | r hfs_bnode_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/btree.c hfs_bmap_new_bmap() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->num_recs | 1 |
| PARAM_VALUE | 0 | node->this | 0-4294967294 |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 2 |
| PARAM_VALUE | 2 | data | 14 |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->this | 1 |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| CAPPED_DATA | 1 | off | 1 |
| DATA_SOURCE | 0 | node | r hfs_bnode_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | off | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/btree.c hfs_bmap_new_bmap() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->num_recs | 1 |
| PARAM_VALUE | 0 | node->this | 0-4294967294 |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 2 |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->this | 1 |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| CAPPED_DATA | 1 | off | 1 |
| CAPPED_DATA | 2 | data | 1 |
| DATA_SOURCE | 0 | node | r hfs_bnode_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_bnode_split() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->this | 1 |
| DATA_SOURCE | 0 | node | r hfs_bmap_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_bnode_split() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->this | 1 |
| DATA_SOURCE | 0 | node | r hfs_bmap_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_brec_insert() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree->inode->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 | node->tree->inode->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 | node->tree->inode->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 | 1 | off | 10 |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_brec_insert() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree->inode->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 | node->tree->inode->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 | node->tree->inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_brec_insert() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree->inode->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 | node->tree->inode->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 | node->tree->inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_brec_remove() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->num_recs | 1-u16max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree->inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | node->tree->inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | off | 10 |
| PARAM_VALUE | 2 | data | 1-u16max |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &(sb->s_fs_info)->ext_tree->tree_lock |
fs/hfs/brec.c hfs_brec_remove() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->num_recs | 1-u16max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree->inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | node->tree->inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &(sb->s_fs_info)->ext_tree->tree_lock |
fs/hfs/brec.c hfs_brec_remove() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->num_recs | 1-u16max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree->inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | node->tree->inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | data | 0 |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &(sb->s_fs_info)->ext_tree->tree_lock |
fs/hfs/brec.c hfs_brec_update_parent() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_brec_update_parent() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_btree_inc_height() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->next | 0 |
| PARAM_VALUE | 0 | node->num_recs | 0-1 |
| PARAM_VALUE | 0 | node->parent | 0 |
| PARAM_VALUE | 0 | node->prev | 0 |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 0,255 |
| PARAM_VALUE | 2 | data | 14 |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->this | 1 |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| DATA_SOURCE | 0 | node | r hfs_bmap_alloc |
| FUZZY_MAX | 0 | node->num_recs | 1 |
| FUZZY_MAX | 0 | node->type | 255 |
| HARD_MAX | 0 | node->num_recs | 1 |
| HARD_MAX | 0 | node->type | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/brec.c hfs_btree_inc_height() -> hfs_bnode_write_u16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->next | 0 |
| PARAM_VALUE | 0 | node->num_recs | 0-1 |
| PARAM_VALUE | 0 | node->parent | 0 |
| PARAM_VALUE | 0 | node->prev | 0 |
| PARAM_VALUE | 0 | node->tree | 4096-ptr_max |
| PARAM_VALUE | 0 | node->type | 0,255 |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| BUF_SIZE | 0 | node | (-1),144-s32max |
| CAPPED_DATA | 0 | node->this | 1 |
| CAPPED_DATA | 0 | node->tree->node_size | 1 |
| DATA_SOURCE | 0 | node | r hfs_bmap_alloc |
| FUZZY_MAX | 0 | node->num_recs | 1 |
| FUZZY_MAX | 0 | node->type | 255 |
| HARD_MAX | 0 | node->num_recs | 1 |
| HARD_MAX | 0 | node->type | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | data | unit_byte |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |