Defined in 1 files as a prototype:

Defined in 1 files as a macro:

Defined in 10 files as a function:

Referenced in 10 files:

Smatch caller information:

net/sunrpc/cache.c sunrpc_cache_add_entry() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 4096-ptr_max
PARAM_VALUE 1 fclus 4096-ptr_max
PARAM_VALUE 1 fclus->hash_table 4096-ptr_max
BUF_SIZE 0 cid 48
BUF_SIZE 1 fclus s32min-(-1),1-s32max
BUF_SIZE 1 fclus s32min-(-1),1-s32max
DATA_SOURCE 1 fclus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

net/sunrpc/cache.c sunrpc_cache_update() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 4096-ptr_max
PARAM_VALUE 1 fclus 4096-ptr_max
BUF_SIZE 0 cid 48
BUF_SIZE 1 fclus s32min-(-1),1-s32max
BUF_SIZE 1 fclus s32min-(-1),1-s32max
DATA_SOURCE 1 fclus $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

drivers/xen/grant-table.c gnttab_page_cache_init() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 4096-ptr_max
DATA_SOURCE 0 cid $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->reclaim_sem
HALF_LOCKED2 global &xenwatch_mutex

fs/fat/cache.c fat_get_cluster() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 6353777425009389568
PARAM_VALUE 0 cid->fcluster 1-s32max
PARAM_VALUE 1 fclus (-1)
PARAM_VALUE 2 dclus (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/fat/cache.c fat_get_cluster() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 6353777425009389568
BIT_INFO 2 dclus 0x0,0xfffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/exfat/cache.c exfat_get_cluster() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 3411159538726694912
PARAM_VALUE 1 fclus 0
PARAM_VALUE 2 dclus 1-4294967294
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 dclus unit_page
LOCK2 &sbi->s_lock
TYPE_LOCK (struct exfat_sb_info)->s_lock

fs/exfat/cache.c exfat_get_cluster() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 3411159538726694912
PARAM_VALUE 2 dclus 2-4294967286
CAPPED_DATA 2 dclus 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 fclus unit_page
UNITS 2 dclus unit_page
LOCK2 &sbi->s_lock
TYPE_LOCK (struct exfat_sb_info)->s_lock

fs/exfat/cache.c exfat_get_cluster() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 3411159538726694912
PARAM_VALUE 1 fclus 1-u32max
PARAM_VALUE 2 dclus 2-4294967286
CAPPED_DATA 1 fclus 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 fclus unit_page
LOCK2 &sbi->s_lock
TYPE_LOCK (struct exfat_sb_info)->s_lock

drivers/md/dm-bufio.c dm_bufio_client_create() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 4096-ptr_max
PARAM_VALUE 1 fclus 0-64
BUF_SIZE 0 cid 128-12416
CAPPED_DATA 1 fclus 1
DATA_SOURCE 1 fclus r dm_num_hash_locks
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/dm-pcache/cache.c pcache_cache_start() -> cache_init()

Type Parameter Key Value
PARAM_VALUE 0 cid 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.bvec_pool.curr_nr 1-s32max
PARAM_VALUE 0 cid->backing_dev.bvec_pool.elements 1-u64max
PARAM_VALUE 0 cid->backing_dev.bvec_pool.min_nr 128
PARAM_VALUE 0 cid->backing_dev.bvec_pool.wait.head.next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.bvec_pool.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.bvec_pool.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.bvec_pool.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.bvec_pool.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.complete_list.next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.complete_list.next->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.complete_list.prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.complete_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.complete_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.dm_dev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.inflight_wq.head.next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.inflight_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.inflight_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.inflight_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.inflight_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.req_pool.curr_nr 1-s32max
PARAM_VALUE 0 cid->backing_dev.req_pool.elements 1-u64max
PARAM_VALUE 0 cid->backing_dev.req_pool.min_nr 128
PARAM_VALUE 0 cid->backing_dev.req_pool.wait.head.next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.req_pool.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.req_pool.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.req_pool.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.req_pool.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.submit_list.next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.submit_list.next->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.submit_list.prev 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.submit_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cid->backing_dev.submit_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cid->cache_dev.dm_dev 4096-ptr_max
PARAM_VALUE 0 cid->cache_dev.dm_dev->bdev 4096-ptr_max
PARAM_VALUE 0 cid->cache_dev.dm_dev->dax_dev->ops 0-s64max
PARAM_VALUE 0 cid->cache_dev.seg_bitmap 16,4096-ptr_max
PARAM_VALUE 0 cid->cache_dev.seg_lock.dep_map->name 0-255
PARAM_VALUE 0 cid->cache_dev.seg_lock.first_waiter 0
PARAM_VALUE 0 cid->cache_dev.seg_lock.magic 4096-ptr_max
PARAM_VALUE 0 cid->cache_dev.seg_num 1-1048576
PARAM_VALUE 0 cid->cache_dev.use_vmap 1
PARAM_VALUE 0 cid->defered_req_list.next 4096-ptr_max
PARAM_VALUE 0 cid->defered_req_list.next->next 4096-ptr_max
PARAM_VALUE 0 cid->defered_req_list.prev 4096-ptr_max
PARAM_VALUE 0 cid->defered_req_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cid->defered_req_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cid->opts.cache_mode 0
PARAM_VALUE 0 cid->task_wq 4096-ptr_max
PARAM_VALUE 0 cid->ti 4096-ptr_max
PARAM_VALUE 0 cid->ti->error 6178336389065121792
PARAM_VALUE 0 cid->ti->len 1-u64max
PARAM_VALUE 0 cid->ti->table 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->devices.next->next 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->devices.next->prev 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->disk->slave_bdevs.next 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->disk->slave_bdevs.next->next 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->disk->slave_bdevs.next->prev 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->disk->slave_bdevs.next->prev->next 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->disk->slave_bdevs.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->table_devices.next 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->table_devices.next->next 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->table_devices.next->prev 4096-ptr_max
PARAM_VALUE 0 cid->ti->table->md->table_devices_lock.dep_map->name 0-255
PARAM_VALUE 0 cid->ti->table->md->table_devices_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cid->ti->table->md->table_devices_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cid->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cid->ti->table->md->table_devices_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cid->ti->table->md->table_devices_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cid->ti->type 4096-ptr_max
BUF_SIZE 0 cid 13496
BUF_SIZE 0 cid->task_wq (-1),512,528-8720
CAPPED_DATA 0 cid->ti->begin 1
CAPPED_DATA 0 cid->ti->table->md->disk 1
DATA_SOURCE 0 cid $0
STR_LEN 0 cid->ti->error 13
TERMINATED 0 cid->ti->error 1
NO_OVERFLOW_SIMPLE 0 cid->ti->begin
NO_OVERFLOW_SIMPLE 0 cid->ti->len
HALF_LOCKED2 &md->type_lock