Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

io_uring/truncate.c io_ftruncate() -> do_ftruncate()

Type Parameter Key Value
PARAM_VALUE 2 flags 0
RX_PATH
TASK_NOT_RUNNING

fs/open.c ksys_ftruncate() -> do_ftruncate()

Type Parameter Key Value
PARAM_VALUE 0 file 0,4-u64max
PARAM_VALUE 1 length 0-s64max
PARAM_VALUE 2 flags 0-1
DATA_SOURCE 1 length $1
DATA_SOURCE 2 flags $2
FUZZY_MAX 1 length 0
HARD_MAX 2 flags 1
USER_DATA 1 length 0-s64max