Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- include/linux/pagemap.h, line 1457
- include/trace/events/readahead.h, line 117
- mm/filemap.c
- mm/readahead.c, line 651
Smatch caller information:
fs/cramfs/inode.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 540579868564504576 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-1048575 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 2230417248492351488 |
| PARAM_VALUE | 1 | req_count | 4 |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &read_mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ntfs/dir.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 6349688315453317120 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | req_count | unit_page |
| LOCK2 | &ndir->mrec_lock | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |
mm/filemap.c do_sync_mmap_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 9196988586477379584 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-18446744073709551614 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ractl->_index | 0-4503599627370495 |
| UNITS | 1 | req_count | unit_page |
mm/filemap.c filemap_get_pages() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 2195801576911400960 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-2251799813685247,18444492273895866368-u64max |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->file | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 0-6755399441055743,18444492273895866369-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ractl->_index | 0-4330424[c] |
| USER_DATA | 1 | req_count | 0-4503599627370495,18446744073705221192-u64max |
| UNITS | 1 | req_count | unit_page |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/erofs/dir.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 5108081537672527872 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-4503599627370496 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 2-u64max |
| CAPPED_DATA | 1 | req_count | 1 |
| CAPPED_DATA | 1 | req_count | 1 |
| DATA_SOURCE | 1 | req_count | $4 |
| FUZZY_MAX | 1 | req_count | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/logfile.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 1714111484119945216 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-2251799813685247,18444492273895866368-u64max |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 0-2251799813685247 |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | req_count | unit_page |
| LOCK2 | &log_ni->runlist.lock | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| TYPE_LOCK | (struct runlist)->lock |
fs/btrfs/free-space-cache.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 7524752656402796544 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 283262167421399040 |
| PARAM_VALUE | 1 | req_count | 0-2251799813685247,18444492273895866368-u64max |
| DATA_SOURCE | 1 | req_count | $4 |
| BIT_INFO | 1 | req_count | 0x0,0x7ffffffffffff |
| BIT_INFO | 1 | req_count | 0x0,0x7ffffffffffff |
| NOCHECK_CALL | |||
| UNITS | 1 | req_count | unit_page |
| LOCK2 | &caching_ctl->mutex | ||
| LOCK2 | &fs_info->commit_root_sem | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_caching_control)->mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem |
fs/btrfs/relocation.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 8616733304250834944 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-4503599627370495 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 1-4503599627370496 |
| DATA_SOURCE | 1 | req_count | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | req_count | unit_page |
fs/btrfs/defrag.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 2343795774431555584 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-4503599627370495 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 1-4503599627370496 |
| DATA_SOURCE | 1 | req_count | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | req_count | unit_page |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs3/bitmap.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 7306908383417462784 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-4503599627370495 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 1 |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ntfs/inode.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 6483065500970536960 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-562949953421310 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 1-562949953421311 |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ractl->_index | 0-u16max[c] |
| USER_DATA | 1 | req_count | 1-562949953421311[c] |
| UNITS | 1 | req_count | unit_page |
fs/f2fs/dir.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 2211453315554217984 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 2-4 |
| CAPPED_DATA | 1 | req_count | 1 |
| CAPPED_DATA | 1 | req_count | 1 |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs3/fsntfs.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 8965333554577711104 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-4503599627370495 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 1 |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/khugepaged.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 1982905728242999296 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-18446744073709551614 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 1-u64max |
| DATA_SOURCE | 1 | req_count | $4 |
| NOSPEC | 0 | ractl->_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ractl->_index | 0-4503603922337790[c] |
| USER_DATA | 1 | req_count | 1-4503599627371007[c] |
| UNITS | 1 | req_count | unit_page |
| HALF_LOCKED2 | &mm->mmap_lock |
fs/btrfs/send.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 9122165367445794816 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-4503599627370495 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 0 |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 0-4503599627370496,18442240474082181122-u64max |
| DATA_SOURCE | 1 | req_count | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | req_count | unit_page |
fs/ext4/dir.c page_cache_sync_readahead() -> page_cache_sync_ra()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ractl | 1715110916867399680 |
| PARAM_VALUE | 0 | ractl->_batch_count | 0 |
| PARAM_VALUE | 0 | ractl->_index | 0-4503599627370495 |
| PARAM_VALUE | 0 | ractl->_nr_pages | 0 |
| PARAM_VALUE | 0 | ractl->_pflags | 0 |
| PARAM_VALUE | 0 | ractl->_workingset | 0 |
| PARAM_VALUE | 0 | ractl->dropbehind | 0 |
| PARAM_VALUE | 0 | ractl->file | 4096-ptr_max |
| PARAM_VALUE | 0 | ractl->ra | 4096-ptr_max |
| PARAM_VALUE | 1 | req_count | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 1 | req_count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ractl->_index | 0-4503599627370495[c] |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |