Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

fs/splice.c do_splice() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 ppos 6564596398195531776
PARAM_VALUE 3 count 1-u64max
DATA_SOURCE 1 file $2
DATA_SOURCE 3 count $4
BIT_INFO 1 file->f_flags 0x0,0xfffffbff
BIT_INFO 1 file->f_mode 0x2,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 1-u64max
USER_PTR 2 ppos

fs/splice.c do_splice() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 ppos 6564596398195531776
PARAM_VALUE 3 count 1-u64max
CAPPED_DATA 1 file 1
DATA_SOURCE 1 file $0
DATA_SOURCE 3 count $4
BIT_INFO 1 file->f_mode 0x1,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 1-u64max
USER_PTR 2 ppos

fs/splice.c vfs_splice_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 2 ppos 4096-ptr_max
PARAM_VALUE 3 count 0-2147479552
BUF_SIZE 1 file (-1),1-s32max
BUF_SIZE 1 file (-1),1-s32max
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $1
DATA_SOURCE 3 count $3
FUZZY_MAX 3 count 2147479552
BIT_INFO 3 count 0x0,0xffffffff
NOSPEC 2 *ppos
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos 0-13442450941
USER_DATA 3 count 1-2147479552[c]
NO_OVERFLOW_SIMPLE 3 count
USER_PTR 2 ppos

fs/overlayfs/copy_up.c ovl_copy_up_file() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 ppos 8434102354812407808
PARAM_VALUE 2 *ppos 0
CAPPED_DATA 1 file 1
CAPPED_DATA 1 file->f_cred 1
CAPPED_DATA 1 file->f_path.dentry 1
DATA_SOURCE 1 file r ovl_path_open
DATA_SOURCE 3 count $3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 count unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

fs/overlayfs/copy_up.c ovl_copy_up_file() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 2 ppos 4055927772070973440
PARAM_VALUE 2 *ppos 0
PARAM_VALUE 3 count 0-1000000000
CAPPED_DATA 1 file 1
DATA_SOURCE 1 file $2
DATA_SOURCE 3 count $3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 count unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

fs/aio.c aio_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_op 4096-ptr_max
PARAM_VALUE 1 file->f_op->read_iter 1-u64max
PARAM_VALUE 2 ppos 4096-ptr_max
PARAM_VALUE 3 count 0-1000000000
BIT_INFO 1 file->f_mode 0x1,0xffffffff
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 0-1000000000
USER_PTR 2 ppos

fs/aio.c aio_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_op 4096-ptr_max
PARAM_VALUE 1 file->f_op->write_iter 1-u64max
PARAM_VALUE 2 ppos 4096-ptr_max
PARAM_VALUE 3 count 0-1000000000
BIT_INFO 1 file->f_mode 0x2,0xffffffff
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 0-1000000000
USER_PTR 2 ppos

fs/overlayfs/file.c ovl_copyfile() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 1-ptr_max
PARAM_VALUE 2 *ppos 0-s64max
PARAM_VALUE 3 count 0-9223372036854775807
BUF_SIZE 1 file s32min,(-1)-s32max
BUF_SIZE 1 file s32min,(-1)-s32max
CAPPED_DATA 1 file 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 file r ovl_real_file
DATA_SOURCE 3 count $4
NOSPEC 2 *ppos
NOSPEC 3 count
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos 0-s64max[c]
USER_DATA 3 count 0-9223372036854775807[c]
NO_OVERFLOW_SIMPLE 2 *ppos
NO_OVERFLOW_SIMPLE 3 count
USER_PTR 2 ppos
LOCK2 &inode_out->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/read_write.c do_sendfile() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 0,4-u64max
PARAM_VALUE 2 ppos 32538186440966144
DATA_SOURCE 3 count $3
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 0-u64max
USER_PTR 2 ppos

fs/read_write.c do_sendfile() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 0,4-u64max
PARAM_VALUE 2 ppos 5593997352812150784
PARAM_VALUE 3 count 0-3147479551
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 3 count $3 [m]
FUZZY_MAX 3 count 2147479552
USER_DATA 3 count 0-3147479551[c]
UNITS 3 count unit_byte

fs/read_write.c kernel_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file->f_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
BUF_SIZE 1 file (-1)-s32max
BUF_SIZE 1 file (-1)-s32max
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $3
DATA_SOURCE 3 count $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 file->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 1 file->f_inode->i_size
NO_OVERFLOW_SIMPLE 1 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 1 file->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 1 file->f_path.moved->d_inode->i_size
UNITS 3 count unit_byte
HALF_LOCKED2 &common->filesem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &key->sem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &psi->read_mutex
HALF_LOCKED2 global &sev_cmd_mutex

fs/read_write.c kernel_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 file->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 1 file->f_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
BUF_SIZE 1 file (-1)-s32max
BUF_SIZE 1 file (-1)-s32max
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $3
DATA_SOURCE 3 count $2
STR_LEN 0 read_write (-1)-1010101
STR_LEN 1 file (-1)-1010101
NOSPEC 2 *ppos
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 file->f_flags 0-18433,32770
USER_DATA 1 file->f_mode 33554432,34078720-571342855[c]
USER_DATA 2 *ppos 0-s64max[c]
USER_DATA 3 count 0-s32max[c]
NO_OVERFLOW_SIMPLE 1 file->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 1 file->f_path.moved->d_inode->i_size
UNITS 3 count unit_byte
USER_PTR 2 ppos
HALF_LOCKED2 &common->filesem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &process->event_mutex
HALF_LOCKED2 &target->event_mutex
HALF_LOCKED2 &target->mutex

fs/read_write.c vfs_copy_file_range() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_inode 4096-ptr_max
PARAM_VALUE 1 file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 file->f_path.dentry->d_inode->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 1 file->f_path.dentry->d_inode->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 1 file->f_path.dentry->d_inode->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
BUF_SIZE 1 file s32min,(-1),1-s32max
BUF_SIZE 1 file s32min,(-1),1-s32max
CAPPED_DATA 1 file->f_inode 1
CAPPED_DATA 1 file->f_inode->i_size 1
DATA_SOURCE 1 file $0
DATA_SOURCE 3 count $4 [m]
NOSPEC 3 count
RX_PATH
USER_DATA 2 *ppos s64min-s64max[c]
USER_DATA 3 count 0-u64max[c]
NO_OVERFLOW_SIMPLE 2 *ppos
NO_OVERFLOW_SIMPLE 3 count
UNITS 3 count unit_byte
USER_PTR 2 ppos
HALF_LOCKED2 &inode_out->i_rwsem
HALF_LOCKED2 &pool->lock

fs/read_write.c vfs_copy_file_range() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 *ppos s64min-9223372036854775806
PARAM_VALUE 3 count 0-1000000000
BUF_SIZE 1 file s32min,(-1),1-s32max
BUF_SIZE 1 file s32min,(-1),1-s32max
CAPPED_DATA 1 file->f_inode 1
CAPPED_DATA 1 file->f_op->copy_file_range 1
DATA_SOURCE 1 file $2
DATA_SOURCE 3 count $4 [m]
NOSPEC 3 count
RX_PATH
USER_DATA 2 *ppos s64min-9223372036854775806[c]
USER_DATA 3 count 0-1000000000[c]
NO_OVERFLOW_SIMPLE 3 count
UNITS 3 count unit_byte
USER_PTR 2 ppos
HALF_LOCKED2 &inode_out->i_rwsem
HALF_LOCKED2 &pool->lock

fs/read_write.c vfs_iocb_iter_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_op 4096-ptr_max
PARAM_VALUE 1 file->f_op->read_iter 1-u64max
PARAM_VALUE 2 ppos 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
BUF_SIZE 1 file (-1),376
BUF_SIZE 1 file (-1),376
DATA_SOURCE 1 file $0
DATA_SOURCE 3 count r iov_iter_count
BIT_INFO 1 file->f_mode 0x20001,0xffffffff
NOSPEC 3 count
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 count 1-1000000000

fs/read_write.c vfs_iocb_iter_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_op 4096-ptr_max
PARAM_VALUE 1 file->f_op->write_iter 1-u64max
PARAM_VALUE 2 ppos 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
BUF_SIZE 1 file s32min,(-1),1-s32max
BUF_SIZE 1 file s32min,(-1),1-s32max
DATA_SOURCE 1 file $0
DATA_SOURCE 3 count r iov_iter_count
BIT_INFO 1 file->f_mode 0x40002,0xffffffff
NOSPEC 3 count
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos s64min-(-2),0-s64max[c]
USER_DATA 3 count 1-1000000000
USER_PTR 2 ppos
HALF_LOCKED2 &inode->i_rwsem

fs/read_write.c vfs_iter_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_op 4096-ptr_max
PARAM_VALUE 1 file->f_op->read_iter 1-u64max
PARAM_VALUE 2 ppos 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
BUF_SIZE 1 file (-1),376
BUF_SIZE 1 file (-1),376
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $2
DATA_SOURCE 3 count r iov_iter_count
BIT_INFO 1 file->f_mode 0x20001,0xffffffff
NOSPEC 2 *ppos
NOSPEC 3 count
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos 0-13442450941
USER_DATA 3 count 1-1000000000
USER_PTR 2 ppos
HALF_LOCKED2 &pool->lock

fs/read_write.c vfs_iter_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_op 4096-ptr_max
PARAM_VALUE 1 file->f_op->write_iter 1-u64max
PARAM_VALUE 2 ppos 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
BUF_SIZE 1 file s32min,(-1),1-s32max
BUF_SIZE 1 file s32min,(-1),1-s32max
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $2
DATA_SOURCE 3 count r iov_iter_count
BIT_INFO 1 file->f_mode 0x40002,0xffffffff
NOSPEC 3 count
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos s64min-(-2),0-s64max
USER_DATA 3 count 1-1000000000
USER_PTR 2 ppos
HALF_LOCKED2 &coda_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/read_write.c vfs_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $3
DATA_SOURCE 3 count $2
BIT_INFO 1 file->f_mode 0x20001,0xffffffff
USER_DATA 2 *ppos 0-s64max
USER_DATA 3 count 0-u64max
USER_PTR 2 ppos

fs/read_write.c vfs_readv() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $3
DATA_SOURCE 3 count r iov_iter_count
BIT_INFO 1 file->f_mode 0x20001,0xffffffff
USER_DATA 2 *ppos 0-s64max
USER_DATA 3 count 1-1000000000
USER_PTR 2 ppos

fs/read_write.c vfs_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $3
DATA_SOURCE 3 count $2
BIT_INFO 1 file->f_mode 0x40002,0xffffffff
USER_DATA 2 *ppos 0-s64max
USER_DATA 3 count 0-u64max
USER_PTR 2 ppos

fs/read_write.c vfs_writev() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
DATA_SOURCE 1 file $0
DATA_SOURCE 2 ppos $3
DATA_SOURCE 3 count r iov_iter_count
BIT_INFO 1 file->f_mode 0x40002,0xffffffff
USER_DATA 2 *ppos 0-s64max
USER_DATA 3 count 1-1000000000
USER_PTR 2 ppos

fs/nfsd/vfs.c nfsd_splice_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_op 4096-ptr_max
PARAM_VALUE 1 file->f_op->splice_read 1-u64max
PARAM_VALUE 3 count 0-u32max
DATA_SOURCE 1 file $2

fs/btrfs/ioctl.c btrfs_ioctl_encoded_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 ppos 1641540234707124224
DATA_SOURCE 1 file $0
CAPABLE 0 21
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 0-u64max
UNITS 3 count unit_byte
USER_PTR 2 ppos

fs/btrfs/ioctl.c btrfs_ioctl_encoded_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 ppos 2411676492343947264
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 file $0
CAPABLE 0 21
BIT_INFO 1 file->f_mode 0x2,0xffffffff
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 0-s32max[c]
UNITS 3 count unit_byte
USER_PTR 2 ppos

fs/btrfs/ioctl.c btrfs_uring_encoded_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 ppos 5806625207125999616
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 0-u64max
UNITS 3 count unit_byte
USER_PTR 2 ppos
HALF_LOCKED2 &ctx->uring_lock

fs/btrfs/ioctl.c btrfs_uring_encoded_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 ppos 4429925043550851072
CAPABLE 0 21
BIT_INFO 1 file->f_mode 0x2,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *ppos s64min-s64max
USER_DATA 3 count 0-s32max[c]
UNITS 3 count unit_byte
USER_PTR 2 ppos
HALF_LOCKED2 &ctx->uring_lock

io_uring/rw.c __io_read() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 0
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_iocb_flags 0-s32max
PARAM_VALUE 2 ppos 0,4096-ptr_max
PARAM_VALUE 3 count 0-1000000000
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
DATA_SOURCE 2 ppos r io_kiocb_update_pos
DATA_SOURCE 3 count r iov_iter_count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 count 0-1000000000
UNITS 3 count unit_byte

io_uring/rw.c io_write() -> rw_verify_area()

Type Parameter Key Value
PARAM_VALUE 0 read_write 1
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 1 file->f_iocb_flags 0-s32max
PARAM_VALUE 2 ppos 0,4096-ptr_max
PARAM_VALUE 3 count 0-1000000000
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
DATA_SOURCE 2 ppos r io_kiocb_update_pos
DATA_SOURCE 3 count r iov_iter_count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 count 0-1000000000
UNITS 3 count unit_byte