Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/btrfs/volumes.c btrfs_get_bdev_and_sb() -> fs_bdev_file_open_by_path()

Type Parameter Key Value
PARAM_VALUE 0 path 1-u64max
PARAM_VALUE 1 mode 1,33,35
PARAM_VALUE 2 holder 1-u64max
PARAM_VALUE 3 sb 1-u64max
BUF_SIZE 2 holder (-1),2880
BUF_SIZE 2 holder (-1),2880
BUF_SIZE 3 sb (-1),2880
DATA_SOURCE 0 path $0
DATA_SOURCE 1 mode $1
DATA_SOURCE 2 holder $2
DATA_SOURCE 3 sb $2
FUZZY_MAX 1 mode 35
BIT_INFO 1 mode 0x1,0x3f
HARD_MAX 1 mode 35
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &uuid_mutex

fs/erofs/super.c erofs_init_device() -> fs_bdev_file_open_by_path()

Type Parameter Key Value
PARAM_VALUE 0 path 1-u64max
PARAM_VALUE 1 mode 1
PARAM_VALUE 3 sb 4096-ptr_max
PARAM_VALUE 3 sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 3 sb->__s_d_op->d_compare 0,4096-ptr_max
PARAM_VALUE 3 sb->__s_d_op->d_delete 0,4096-ptr_max
PARAM_VALUE 3 sb->__s_d_op->d_dname 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592
PARAM_VALUE 3 sb->__s_d_op->d_hash 0,4096-ptr_max
PARAM_VALUE 3 sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 3 sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 3 sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 3 sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 3 sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 3 sb->__s_d_op->d_release 0,4096-ptr_max
PARAM_VALUE 3 sb->__s_d_op->d_revalidate 0,4096-ptr_max
PARAM_VALUE 3 sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 3 sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 3 sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 3 sb->s_bdev 0,4096-ptr_max
PARAM_VALUE 3 sb->s_bdev->bd_disk 4096-ptr_max
PARAM_VALUE 3 sb->s_bdev->bd_disk->queue 4096-ptr_max
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_blkbits 9-73
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.dep_map->name 0-255
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_mapping->invalidate_lock.osq.tail.counter 0-s32max
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_rwsem.dep_map->name 0-255
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 3 sb->s_bdev_file->f_mapping->host->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 3 sb->s_bdev_file->private_data 1-u64max
PARAM_VALUE 3 sb->s_blocksize 4096
PARAM_VALUE 3 sb->s_blocksize_bits 9-73
PARAM_VALUE 3 sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 3 sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 3 sb->s_cop->get_devices 0,5687811845560967168
PARAM_VALUE 3 sb->s_cop->get_dummy_policy 0,5548184023414632448,6265693363421687808,7944682147525111808
PARAM_VALUE 3 sb->s_cop->has_stable_inodes 0,3981700036256542720,5332792210826772480
PARAM_VALUE 3 sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 3 sb->s_cop->legacy_key_prefix 0,924751349837991936,5264834109705359360,8765449967581011968
PARAM_VALUE 3 sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 3 sb->s_export_op->block_ops 0,5961889059343175680
PARAM_VALUE 3 sb->s_export_op->commit_metadata 0,240803493533007872,5538665924712296448,6872150948047065088
PARAM_VALUE 3 sb->s_export_op->encode_fh 0,4096-ptr_max
PARAM_VALUE 3 sb->s_export_op->fh_to_dentry 0,4096-ptr_max
PARAM_VALUE 3 sb->s_export_op->fh_to_parent 0,4096-ptr_max
PARAM_VALUE 3 sb->s_export_op->flags 0,127
PARAM_VALUE 3 sb->s_export_op->get_name 0,3053585434600701952,4446407003036676096,4451526262822047744,5730886654511411200
PARAM_VALUE 3 sb->s_export_op->get_parent 0,4096-ptr_max
PARAM_VALUE 3 sb->s_export_op->open 0,631201664538705920,4233052046380007424
PARAM_VALUE 3 sb->s_export_op->permission 0,4382650131406278656,6192445826193477632
PARAM_VALUE 3 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 3 sb->s_fs_info->available_compr_algs 0-u16max
PARAM_VALUE 3 sb->s_magic 3774210530
PARAM_VALUE 3 sb->s_maxbytes s64max
PARAM_VALUE 3 sb->s_op 2394022178403725312
PARAM_VALUE 3 sb->s_op->alloc_inode 2601210675006619648
PARAM_VALUE 3 sb->s_op->destroy_inode 0
PARAM_VALUE 3 sb->s_op->dirty_inode 0
PARAM_VALUE 3 sb->s_op->drop_inode 0
PARAM_VALUE 3 sb->s_op->evict_inode 4067972057016213504
PARAM_VALUE 3 sb->s_op->free_cached_objects 0
PARAM_VALUE 3 sb->s_op->free_inode 5120837929075118080
PARAM_VALUE 3 sb->s_op->freeze_fs 0
PARAM_VALUE 3 sb->s_op->freeze_super 0
PARAM_VALUE 3 sb->s_op->get_dquots 0
PARAM_VALUE 3 sb->s_op->nr_cached_objects 0
PARAM_VALUE 3 sb->s_op->put_super 3010484676274610176
PARAM_VALUE 3 sb->s_op->quota_read 0
PARAM_VALUE 3 sb->s_op->quota_write 0
PARAM_VALUE 3 sb->s_op->remove_bdev 0
PARAM_VALUE 3 sb->s_op->report_error 0
PARAM_VALUE 3 sb->s_op->show_devname 0
PARAM_VALUE 3 sb->s_op->show_options 6277558564471955456
PARAM_VALUE 3 sb->s_op->show_path 0
PARAM_VALUE 3 sb->s_op->show_stats 0
PARAM_VALUE 3 sb->s_op->shutdown 0
PARAM_VALUE 3 sb->s_op->statfs 2759653189568110592
PARAM_VALUE 3 sb->s_op->sync_fs 0
PARAM_VALUE 3 sb->s_op->thaw_super 0
PARAM_VALUE 3 sb->s_op->umount_begin 0
PARAM_VALUE 3 sb->s_op->unfreeze_fs 0
PARAM_VALUE 3 sb->s_op->write_inode 0
PARAM_VALUE 3 sb->s_root 0
PARAM_VALUE 3 sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 3 sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 3 sb->s_uuid_len 16
BUF_SIZE 3 sb (-1),2880
BUF_SIZE 3 sb (-1),2880
BUF_SIZE 3 sb->s_op 216
CAPPED_DATA 3 sb 1
DATA_SOURCE 3 sb $1
FUZZY_MAX 3 sb->s_blocksize_bits 12
STR_LEN 0 path (-1),8
STR_LEN 3 sb (-1),8
STR_LEN 3 sb->s_id (-1),31
BIT_INFO 3 sb->s_flags 0x401,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 sb->s_flags 1025-2147487744[c]
LOCK2 &sbi->devs->rwsem
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 3 &sb->s_umount
TYPE_LOCK (struct erofs_dev_context)->rwsem

fs/f2fs/super.c f2fs_scan_devices() -> fs_bdev_file_open_by_path()

Type Parameter Key Value
PARAM_VALUE 1 mode 33,35
PARAM_VALUE 2 holder 4096-ptr_max
PARAM_VALUE 3 sb 4096-ptr_max
PARAM_VALUE 3 sb->s_bdev 4096-ptr_max
BUF_SIZE 0 path 65
CAPPED_DATA 3 sb 1
FUZZY_MAX 1 mode 35
BIT_INFO 1 mode 0x21,0x23
HARD_MAX 1 mode 35
UNITS 2 holder unit_byte
UNITS 3 sb unit_byte

fs/xfs/xfs_super.c xfs_blkdev_get() -> fs_bdev_file_open_by_path()

Type Parameter Key Value
PARAM_VALUE 0 path 1-u64max
PARAM_VALUE 1 mode 33,35
PARAM_VALUE 2 holder 4096-ptr_max
PARAM_VALUE 3 sb 4096-ptr_max
PARAM_VALUE 3 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 3 sb->s_root 0
BUF_SIZE 2 holder (-1),2880
BUF_SIZE 3 sb (-1),2880
BUF_SIZE 3 sb (-1),2880
CAPPED_DATA 3 sb 1
DATA_SOURCE 0 path $1
FUZZY_MAX 1 mode 35
STR_LEN 0 path (-1),8
STR_LEN 1 mode (-1),8
STR_LEN 3 sb (-1),8
BIT_INFO 1 mode 0x21,0x23
HARD_MAX 1 mode 35
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 mode 33,35[c]
USER_DATA 3 sb->s_flags 0-2147486719[c]
UNITS 2 holder unit_byte
UNITS 3 sb unit_byte
HALF_LOCKED2 &fc->uapi_mutex