Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/page-writeback.c bdi_set_max_bytes() -> __bdi_set_max_ratio()

Type Parameter Key Value
BUF_SIZE 0 bdi s32min-(-2),1-s32max
BUF_SIZE 0 bdi s32min-(-2),1-s32max
DATA_SOURCE 0 bdi $0
DATA_SOURCE 1 max_ratio r bdi_ratio_from_pages
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bdi unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

mm/page-writeback.c bdi_set_max_ratio() -> __bdi_set_max_ratio()

Type Parameter Key Value
BUF_SIZE 0 bdi s32min-(-1),1-s32max
BUF_SIZE 0 bdi s32min-(-1),1-s32max
DATA_SOURCE 0 bdi $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bdi unit_byte
HALF_LOCKED2 &of->mutex

mm/page-writeback.c bdi_set_max_ratio_no_scale() -> __bdi_set_max_ratio()

Type Parameter Key Value
BUF_SIZE 0 bdi s32min-(-2),1-s32max
BUF_SIZE 0 bdi s32min-(-2),1-s32max
DATA_SOURCE 0 bdi $0
DATA_SOURCE 1 max_ratio $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bdi unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex