Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/sysfs.c btrfs_discard_iops_limit_store() -> btrfs_discard_calc_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | discard_ctl | 4096-ptr_max |
| BUF_SIZE | 0 | discard_ctl | 400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | discard_ctl->iops_limit | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | discard_ctl->iops_limit | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/btrfs/extent-tree.c btrfs_finish_extent_commit() -> btrfs_discard_calc_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | discard_ctl | 4096-ptr_max |
| NOCHECK_CALL |