Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/page-writeback.c __wb_calc_thresh() -> fprop_fraction_percpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 72,4096-ptr_max |
| PARAM_VALUE | 1 | pl | 4096-ptr_max |
| PARAM_VALUE | 2 | numerator | 880519018434908160 |
| PARAM_VALUE | 3 | denominator | 6348240781494276096 |
| BUF_SIZE | 1 | pl | (-1),184 |
| BUF_SIZE | 1 | pl | (-1),184 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read |
lib/flex_proportions.c __fprop_add_percpu_max() -> fprop_fraction_percpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | pl | 4096-ptr_max |
| PARAM_VALUE | 2 | numerator | 574980109676167168 |
| PARAM_VALUE | 3 | denominator | 1368912408821596160 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 1 | pl | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &(&mapping->i_pages)->xa_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &folio->private->lock |