Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/extent-tree.c btrfs_trim_free_extents_throttle() -> btrfs_issue_discard()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1048576-u64max |
| PARAM_VALUE | 2 | len | 1-2147483648 |
| PARAM_VALUE | 3 | discarded_bytes | 2070536672775274496 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | bdev | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->chunk_mutex |
fs/btrfs/extent-tree.c do_discard_extent() -> btrfs_issue_discard()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 3 | discarded_bytes | 8660630198457491456 |
| PARAM_VALUE | 3 | *discarded_bytes | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdev | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &fs_info->unused_bg_unpin_mutex |