Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/exfat/inode.c exfat_map_cluster() -> exfat_chain_cont_cluster()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info->boot_bh->b_data->vol_flags 0-u16max
PARAM_VALUE 0 sb->s_fs_info->boot_bh->b_folio->mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sb->s_fs_info->boot_bh->b_folio->mapping->host->i_state.__state 0-4294967295
PARAM_VALUE 0 sb->s_fs_info->vol_flags 0-u16max
PARAM_VALUE 1 chain 0-4294967294
DATA_SOURCE 2 len r exfat_bytes_to_cluster
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 chain unit_page
LOCK2 &sbi->s_lock
TYPE_LOCK (struct exfat_sb_info)->s_lock

fs/exfat/namei.c exfat_find_empty_entry() -> exfat_chain_cont_cluster()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 chain unit_page
UNITS 2 len unit_page
HALF_LOCKED2 &sbi->s_lock

fs/exfat/file.c exfat_cont_expand() -> exfat_chain_cont_cluster()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 2 len 1-u32max
DATA_SOURCE 2 len r exfat_bytes_to_cluster
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 chain unit_page
HALF_LOCKED2 &inode->i_rwsem

fs/exfat/fatent.c exfat_alloc_cluster() -> exfat_chain_cont_cluster()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info->num_clusters 3-4294967295
PARAM_VALUE 0 sb->s_op->shutdown 0,4096-ptr_max
PARAM_VALUE 1 chain 2-u32max
CAPPED_DATA 1 chain 1
FUZZY_MAX 1 chain u32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 chain unit_page
UNITS 2 len unit_page
LOCK2 &sbi->bitmap_lock
HALF_LOCKED2 &sbi->s_lock
TYPE_LOCK (struct exfat_sb_info)->bitmap_lock

fs/exfat/fatent.c exfat_alloc_cluster() -> exfat_chain_cont_cluster()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info->num_clusters 3-4294967295
PARAM_VALUE 0 sb->s_op->shutdown 0,4096-ptr_max
PARAM_VALUE 1 chain 2-4294967294
CAPPED_DATA 0 sb->s_fs_info->num_clusters 1
CAPPED_DATA 1 chain 1
PARAM_COMPARE 1 chain < $0->s_fs_info->num_clusters
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 chain unit_page
UNITS 2 len unit_page
LOCK2 &sbi->bitmap_lock
HALF_LOCKED2 &sbi->s_lock
TYPE_LOCK (struct exfat_sb_info)->bitmap_lock