Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
- drivers/dax/super.c, line 113
- drivers/md/dm.c, line 769
- fs/erofs/super.c
- fs/ext4/super.c, line 4386
- fs/xfs/xfs_buf.c, line 1783
Smatch caller information:
fs/erofs/super.c erofs_fc_fill_super() -> fs_dax_get_by_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start_off | 4096-ptr_max |
| PARAM_VALUE | 2 | holder | 0 |
| PARAM_VALUE | 3 | ops | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdev | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/erofs/super.c erofs_init_device() -> fs_dax_get_by_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | start_off | 4096-ptr_max |
| PARAM_VALUE | 2 | holder | 0 |
| PARAM_VALUE | 3 | ops | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbi->devs->rwsem | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct erofs_dev_context)->rwsem |
drivers/md/dm.c open_table_device() -> fs_dax_get_by_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | start_off | 1363007945779216384 |
| PARAM_VALUE | 2 | holder | 0 |
| PARAM_VALUE | 3 | ops | 0 |
| BUF_SIZE | 0 | bdev | 2136 |
| DATA_SOURCE | 0 | bdev | r file_bdev |
| LOCK2 | &md->table_devices_lock | ||
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex | ||
| TYPE_LOCK | (struct mapped_device)->table_devices_lock |
fs/xfs/xfs_buf.c xfs_alloc_buftarg() -> fs_dax_get_by_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | start_off | 4096-ptr_max |
| PARAM_VALUE | 2 | holder | 4096-ptr_max |
| PARAM_VALUE | 3 | ops | 963381065625411584 |
| BUF_SIZE | 0 | bdev | 2136 |
| BUF_SIZE | 2 | holder | 1-s32max |
| BUF_SIZE | 3 | ops | 8 |
| DATA_SOURCE | 0 | bdev | r file_bdev |
| DATA_SOURCE | 2 | holder | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdev | unit_byte |
| UNITS | 2 | holder | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/super.c ext4_alloc_sbi() -> fs_dax_get_by_bdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->bd_fsfreeze_count.counter | s32min-0 |
| PARAM_VALUE | 1 | start_off | 4096-ptr_max |
| PARAM_VALUE | 2 | holder | 0 |
| PARAM_VALUE | 3 | ops | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdev | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |