Documented in 1 files:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

fs/coredump.c file_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/xfs/xfs_exchrange.c file_end_write() -> sb_end_write()

Type Parameter Key Value
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/btrfs/volumes.c class_super_write_destructor() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
NOCHECK_CALL

fs/splice.c file_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/inode.c touch_atime() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
CAPPED_DATA 0 sb->s_time_max 1
PARAM_COMPARE 0 sb->s_time_max >= $0->s_time_min
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/aio.c kiocb_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &epdata->dev->lock

fs/remap_range.c file_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode_out->i_rwsem
HALF_LOCKED2 &pool->lock

fs/read_write.c file_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/read_write.c kiocb_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/cachefiles/io.c kiocb_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &epdata->dev->lock

fs/pipe.c fifo_pipe_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &pool->lock

fs/ext4/mmp.c class_super_write_destructor() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
NOCHECK_CALL

drivers/block/loop.c kiocb_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &pool->lock

fs/overlayfs/util.c ovl_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

fs/namespace.c mnt_drop_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &pool->lock

fs/namespace.c mnt_drop_write_file() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &pool->lock

fs/namespace.c mnt_want_write() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/namespace.c mnt_want_write_file() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/block-group.c class_super_write_destructor() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/defrag.c class_super_write_destructor() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
NOCHECK_CALL

kernel/acct.c file_end_write() -> sb_end_write()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/btrfs/ioctl.c file_end_write() -> sb_end_write()

Type Parameter Key Value
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/btrfs/super.c btrfs_sync_fs() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 sb->__s_d_op->d_compare 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_delete 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_hash 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_init 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 sb->__s_d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_real 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_release 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_revalidate 0,4096-ptr_max
PARAM_VALUE 0 sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 sb->__s_d_op->d_weak_revalidate 0,4096-ptr_max
PARAM_VALUE 0 sb->dq_op->get_projid 0,7338024449714536448,7628531135466618880
PARAM_VALUE 0 sb->s_bdev->bd_mapping->host->i_sb->s_cop->inode_info_offs 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712
PARAM_VALUE 0 sb->s_bdev->bd_mapping->host->i_sb->s_export_op->encode_fh 0,2,4096-ptr_max
PARAM_VALUE 0 sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sb->s_bdi->wb_switch_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 sb->s_cop->get_devices 0,5687811845560967168
PARAM_VALUE 0 sb->s_cop->get_dummy_policy 0,5548184023414632448,6265693363421687808,7944682147525111808
PARAM_VALUE 0 sb->s_cop->has_stable_inodes 0,3981700036256542720,5332792210826772480
PARAM_VALUE 0 sb->s_cop->inode_info_offs 1632,1640,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 sb->s_cop->legacy_key_prefix 0,924751349837991936,5264834109705359360,8765449967581011968
PARAM_VALUE 0 sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 sb->s_export_op->block_ops 0,5961889059343175680
PARAM_VALUE 0 sb->s_export_op->commit_metadata 0,240803493533007872,5538665924712296448,6872150948047065088
PARAM_VALUE 0 sb->s_export_op->encode_fh 0,4096-ptr_max
PARAM_VALUE 0 sb->s_export_op->fh_to_dentry 0,4096-ptr_max
PARAM_VALUE 0 sb->s_export_op->fh_to_parent 0,4096-ptr_max
PARAM_VALUE 0 sb->s_export_op->flags 0,127
PARAM_VALUE 0 sb->s_export_op->get_name 0,3053585434600701952,4446407003036676096,4451526262822047744,5730886654511411200
PARAM_VALUE 0 sb->s_export_op->get_parent 0,4096-ptr_max
PARAM_VALUE 0 sb->s_export_op->open 0,631201664538705920,4233052046380007424
PARAM_VALUE 0 sb->s_export_op->permission 0,4382650131406278656,6192445826193477632
PARAM_VALUE 0 sb->s_op->alloc_inode 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->destroy_inode 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->dirty_inode 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->drop_inode 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->evict_inode 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->free_cached_objects 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->free_inode 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->freeze_fs 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->freeze_super 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->get_dquots 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->nr_cached_objects 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->put_super 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->quota_read 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->quota_write 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->remove_bdev 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->report_error 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->show_devname 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->show_options 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->show_path 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->show_stats 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->shutdown 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->statfs 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->sync_fs 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->thaw_super 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->umount_begin 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->unfreeze_fs 0,4096-ptr_max
PARAM_VALUE 0 sb->s_op->write_inode 0,4096-ptr_max
PARAM_VALUE 0 sb->s_qcop->quota_disable 0,637464591504867328,4066745432278487040
PARAM_VALUE 0 sb->s_qcop->quota_enable 0,597331821921447936,2941034304064159744
PARAM_VALUE 0 sb->s_qcop->quota_off 0,235525967617187840,378378731525734400,4214951161165094912,7289446986913722368
PARAM_VALUE 0 sb->s_qcop->quota_on 0,196830233519054848,261516502312550400,1599093278103990272,8517879478770987008
PARAM_VALUE 0 sb->s_qcop->quota_sync 0,1130962422595588096,2593409015288025088,7799822221866086400
PARAM_VALUE 0 sb->s_qcop->set_info 0,4096-ptr_max
PARAM_VALUE 0 sb->s_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sb->s_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_shrink->debugfs_entry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_vop->begin_enable_verity 3347785137392660480,4504743579353014272,9111006403386490880
PARAM_VALUE 0 sb->s_vop->end_enable_verity 1750709696857870336,8608593979167166464,8809274236534411264
PARAM_VALUE 0 sb->s_vop->get_verity_descriptor 2424442146745896960,4802014347016474624,6048233524557684736
PARAM_VALUE 0 sb->s_vop->read_merkle_tree_page 1021715590784540672,2125625854056194048,6352085838395670528
PARAM_VALUE 0 sb->s_vop->readahead_merkle_tree 0,3982924104221462528,6713350451579838464
PARAM_VALUE 0 sb->s_vop->write_merkle_tree_block 4874731033741524992,6108757370651340800,8268657141613019136
BUF_SIZE 0 sb s32min,(-10),(-1)-s32max
BUF_SIZE 0 sb s32min,(-10),(-1)-s32max
BUF_SIZE 0 sb->dq_op (-1),88
BUF_SIZE 0 sb->s_export_op (-1),80
BUF_SIZE 0 sb->s_fs_info (-1),376,4416
BUF_SIZE 0 sb->s_mtd (-1),64
BUF_SIZE 0 sb->s_op (-1),216
BUF_SIZE 0 sb->s_qcop (-1),88
BUF_SIZE 0 sb->s_root (-1)-s32max
BUF_SIZE 0 sb->s_type (-1),232
BUF_SIZE 0 sb->s_xattr (-1),16,32
DATA_SOURCE 0 sb $0
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
STR_LEN 0 sb->s_id (-1),31
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 sb->s_bdev_file->f_flags 0,32768-u32max
USER_DATA 0 sb->s_bdev_file->f_mode 0,64-u32max
USER_DATA 0 sb->s_flags 0-u64max[c]
USER_DATA 0 sb->s_root->__d_name.hash 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
NO_OVERFLOW_SIMPLE 0 sb->s_dio_done_wq->rescuer->task->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 sb->s_root->d_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 sb->s_root->d_inode->i_size
UNITS 0 sb unit_byte
USER_PTR 0 sb->s_root->__d_name.name
HALF_LOCKED2 0 &sb->s_umount

fs/quota/quota.c quotactl_block() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_umount.dep_map->name 0-255
PARAM_VALUE 0 sb->s_umount.first_waiter->handoff_set 1
PARAM_VALUE 0 sb->s_umount.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 sb->s_umount.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 sb->s_umount.osq.tail.counter 0-s32max
PARAM_VALUE 0 sb->s_umount.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sb->s_umount.wait_lock.owner (-1)
PARAM_VALUE 0 sb->s_umount.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sb->s_writers.frozen 1-u16max
CAPPED_DATA 0 &sb->s_umount 1
DATA_SOURCE 0 sb r user_get_super
NOCHECK_CALL

fs/xfs/xfs_ioctl.c class_super_write_destructor() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
CAPABLE 0 21
NOCHECK_CALL

fs/open.c class_super_write_destructor() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/open.c file_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

io_uring/rw.c kiocb_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte

fs/backing-file.c file_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/backing-file.c kiocb_end_write() -> sb_end_write()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &epdata->dev->lock

fs/nfs/localio.c file_end_write() -> sb_end_write()

Type Parameter Key Value
NOCHECK_CALL
UNITS 0 sb unit_byte
HALF_LOCKED2 &pool->lock

fs/ext4/super.c ext4_lazyinit_thread() -> sb_end_write()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sb->s_umount.first_waiter->type 0-1
CAPPED_DATA 0 &sb->s_umount 1
NOCHECK_CALL
UNITS 0 sb unit_byte
LOCK2 0 &sb->s_umount
TYPE_LOCK (struct super_block)->s_umount