Defined in 2 files as a prototype:

Defined in 1 files as a macro:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/hfs/brec.c hfs_brec_insert() -> hfs_bnode_move()

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 2 src 0-u16max
PARAM_VALUE 3 len 0-u16max,4294901761-u32max
BUF_SIZE 0 node (-1),144-s32max
BUF_SIZE 0 node (-1),144-s32max
CAPPED_DATA 0 node->tree->node_size 1
DATA_SOURCE 2 src r hfs_bnode_read_u16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte
UNITS 2 src unit_byte
UNITS 3 len unit_byte
HALF_LOCKED2 &(sb->s_fs_info)->cat_tree->tree_lock

fs/hfs/brec.c hfs_brec_remove() -> hfs_bnode_move()

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 dst 0-u16max,u32max
PARAM_VALUE 2 src 0-196604,4294901759-u32max
PARAM_VALUE 3 len 0-131072,4294770692-u32max
CAPPED_DATA 0 node->tree->node_size 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte
UNITS 2 src unit_byte
UNITS 3 len 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_update_parent() -> hfs_bnode_move()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->tree 4096-ptr_max
PARAM_VALUE 2 src 0-65531,4294967292-u32max
PARAM_VALUE 3 len 0-65539,4294901765-u32max
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 dst unit_byte
UNITS 2 src unit_byte
UNITS 3 len unit_byte
HALF_LOCKED2 &(sb->s_fs_info)->cat_tree->tree_lock