Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/gfs2/file.c gfs2_file_buffered_write() -> should_fault_in_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 2 | prev_count | 8876556161916948480 |
| PARAM_VALUE | 2 | *prev_count | 0 |
| PARAM_VALUE | 3 | window_size | 6909696577722654720 |
| PARAM_VALUE | 3 | *window_size | 0 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| DATA_SOURCE | 0 | i | $1 |
| DATA_SOURCE | 1 | iocb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 1 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 1 | iocb->ki_pos | s64min-(-2),0-s64max |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/file.c gfs2_file_buffered_write() -> should_fault_in_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 2 | prev_count | 8876556161916948480 |
| PARAM_VALUE | 2 | *prev_count | 0-1000000000 |
| PARAM_VALUE | 3 | window_size | 6909696577722654720 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| DATA_SOURCE | 0 | i | $1 |
| DATA_SOURCE | 1 | iocb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 1 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 1 | iocb->ki_pos | s64min-s64max |
| USER_DATA | 2 | *prev_count | 1-1000000000 |
| USER_DATA | 3 | *window_size | 1-4096,28673-1048576[c] |
| USER_PTR | 2 | prev_count | |
| USER_PTR | 3 | window_size | |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/file.c gfs2_file_direct_read() -> should_fault_in_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 2 | prev_count | 6938041024152371200 |
| PARAM_VALUE | 2 | *prev_count | 0-1000000000 |
| PARAM_VALUE | 3 | window_size | 4991723273636356096 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| DATA_SOURCE | 0 | i | $1 |
| DATA_SOURCE | 1 | iocb | $0 |
| NOSPEC | 0 | i->count | |
| NOSPEC | 1 | iocb->ki_pos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->count | 1-1000000000 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 1 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 1 | iocb->ki_pos | 0-13442450941 |
| USER_DATA | 2 | *prev_count | 1-1000000000 |
| USER_DATA | 3 | *window_size | 1-1048575,18446744071709551617-u64max |
| USER_PTR | 2 | prev_count | |
| USER_PTR | 3 | window_size | |
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/file.c gfs2_file_direct_write() -> should_fault_in_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 2 | prev_count | 4887358843887484928 |
| PARAM_VALUE | 2 | *prev_count | 0-1000000000 |
| PARAM_VALUE | 3 | window_size | 8482852612103290880 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| DATA_SOURCE | 0 | i | $1 |
| DATA_SOURCE | 1 | iocb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 1 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 1 | iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 2 | *prev_count | 1-1000000000 |
| USER_DATA | 3 | *window_size | 1-4096,28673-1048576[c] |
| USER_PTR | 2 | prev_count | |
| USER_PTR | 3 | window_size | |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/file.c gfs2_file_read_iter() -> should_fault_in_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 2 | prev_count | 7181206738444800000 |
| PARAM_VALUE | 2 | *prev_count | 0-1000000000 |
| PARAM_VALUE | 3 | window_size | 1782102803740127232 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| DATA_SOURCE | 0 | i | $1 |
| DATA_SOURCE | 1 | iocb | $0 |
| NOSPEC | 0 | i->count | |
| NOSPEC | 1 | iocb->ki_pos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->count | 0-u64max |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | iocb->ki_filp->f_ra.prev_pos | 0-15737418236[c] |
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 1 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 1 | iocb->ki_pos | 0-13442450941 |
| USER_DATA | 2 | *prev_count | 1-1000000000 |
| USER_DATA | 3 | *window_size | 1-1048575,18446744071709551617-u64max |
| USER_PTR | 2 | prev_count | |
| USER_PTR | 3 | window_size | |
| HALF_LOCKED2 | &pool->lock |