Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/ocfs2/inode.c ocfs2_remove_inode() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
PARAM_VALUE 1 bh->b_data->i_atime_nsec 0-4294967295
PARAM_VALUE 1 bh->b_data->i_attr 0-4294967295
PARAM_VALUE 1 bh->b_data->i_clusters 0-4294967295
PARAM_VALUE 1 bh->b_data->i_ctime_nsec 0-s32max
PARAM_VALUE 1 bh->b_data->i_dyn_features 0-u16max
PARAM_VALUE 1 bh->b_data->i_flags 0,2-u32max
PARAM_VALUE 1 bh->b_data->i_gid 0-4294967295
PARAM_VALUE 1 bh->b_data->i_links_count 0-u16max
PARAM_VALUE 1 bh->b_data->i_links_count_hi 0-u16max
PARAM_VALUE 1 bh->b_data->i_mode 0-u16max
PARAM_VALUE 1 bh->b_data->i_mtime_nsec 0-4294967295
PARAM_VALUE 1 bh->b_data->i_uid 0-4294967295
PARAM_VALUE 1 bh->b_data->id2.i_list.l_tree_depth 0-4
PARAM_VALUE 1 bh->b_private 4096-ptr_max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->__i_nlink 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_atime_nsec 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_bytes 0-u16max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_count.counter s32min-s32max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_ctime_nsec 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_generation 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_mode 0-u16max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_mtime_nsec 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_nlink 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->bad_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->check_ino 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->dirty_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->erasing_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->free_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->highest_xseqno 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->nextblock->offset 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->no_chk_data_crc 0-1
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->nr_erasing_blocks 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->nr_free_blocks 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->ro_error 0-1
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->s_err_report.flags 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->s_es->s_wtime 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->s_es->s_wtime_hi 0-255
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sd_log_error s32min-s32max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sd_log_flush_head 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sd_log_flush_tail 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sd_log_head 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sd_log_idle 0-1
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sd_log_num_revoke 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sd_log_tail 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->sector_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->summary->sum_num 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->summary->sum_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->unchecked_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->used_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->wasted_size 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->wbuf_dwork.cpu s32min-s32max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->wbuf_inodes->ino 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->wbuf_len 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->wbuf_ofs 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->xdatum_mem_usage 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->xref_dead_list->ic 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->xref_dead_list->xd 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_pending_errors.refs.counter s32min-s32max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_wb->dwork.work.flags 0-4294967295
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_wb->dwork.work.function 1626621062881370112
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_wb->dwork.work.is_queued 0-1
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_wb->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bh->b_private->b_jcount s32min-s32max
PARAM_VALUE 1 bh->b_private->b_modified 1
PARAM_VALUE 1 *bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->s_last_error_func 0-255
PARAM_VALUE 1 *bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->wbuf 0-255
PARAM_VALUE 1 *bh->b_private->b_bh->b_folio->mapping->host->i_sb->s_fs_info->wbuf_verify 0-255
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 bh unit_byte
LOCK2 &inode_alloc_inode->i_rwsem
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/dir.c ocfs2_dx_dir_truncate() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/suballoc.c _ocfs2_reclaim_suballoc_to_main() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
PARAM_VALUE 1 bh->b_data->bg_contig_free_bits 0-64,65472-u16max
PARAM_VALUE 1 bh->b_private 4096-ptr_max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_state.__state 0-4294967295
PARAM_VALUE 1 bh->b_private->b_state_lock.rlock.dep_map->name 0-255
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &alloc_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_bg_alloc_cleanup() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
PARAM_VALUE 1 bh->b_data->bg_chain 0
PARAM_VALUE 1 bh->b_data->bg_signature 0
PARAM_VALUE 1 bh->b_private 4096-ptr_max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_state.__state 0-4294967295
PARAM_VALUE 1 bh->b_private->b_state_lock.rlock.dep_map->name 0-255
BUF_SIZE 1 bh (-1)-s32max
BUF_SIZE 1 bh (-1)-s32max
CAPPED_DATA 1 bh 1
DATA_SOURCE 1 bh $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_read_hint_group_descriptor() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/resize.c ocfs2_group_add() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data->bg_chain 0
PARAM_VALUE 1 bh->b_data->bg_check.bc_reserved1 0
CAPPED_DATA 1 bh 1
CAPPED_DATA 1 bh->b_data->bg_bits 1
CAPPED_DATA 1 bh->b_data->bg_free_bits_count 1
CAPPED_DATA 1 bh->b_data->bg_size 1
CAPABLE 0 24
NOCHECK_CALL
UNITS 1 bh unit_byte
LOCK2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_unlink_path() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ocfs2/alloc.c ocfs2_unlink_path() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_lock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_cache_unlock 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ocfs2/refcounttree.c ocfs2_remove_refcount_extent() -> ocfs2_remove_from_cache()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 bh 4096-ptr_max
PARAM_VALUE 1 bh->b_data 4096-ptr_max
PARAM_VALUE 1 bh->b_data->rf_records.rl_used 0
PARAM_VALUE 1 bh->b_private 4096-ptr_max
PARAM_VALUE 1 bh->b_private->b_bh->b_folio->mapping->host->i_state.__state 0-4294967295
PARAM_VALUE 1 bh->b_private->b_jcount s32min-s32max
PARAM_VALUE 1 bh->b_private->b_state_lock.rlock.dep_map->name 0-255
CAPPED_DATA 1 bh 1
DATA_SOURCE 0 ci $1
DATA_SOURCE 1 bh $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem