Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/f2fs/file.c f2fs_file_fadvise() -> generic_fadvise()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->fadvise 1-u64max
PARAM_VALUE 3 advice s32min-1,3-s32max
BUF_SIZE 0 file s32min-(-1),1-s32max
BUF_SIZE 0 file s32min-(-1),1-s32max
DATA_SOURCE 0 file $0
DATA_SOURCE 1 offset $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 advice $3
FUZZY_MAX 3 advice 3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset s64min-s64max
USER_DATA 2 len s64min-s64max
USER_DATA 3 advice s32min-1,4-s32max

fs/xfs/xfs_file.c xfs_file_fadvise() -> generic_fadvise()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->fadvise 1-u64max
BUF_SIZE 0 file s32min-(-1),1-s32max
BUF_SIZE 0 file s32min-(-1),1-s32max
DATA_SOURCE 0 file $0
DATA_SOURCE 1 offset $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 advice $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset s64min-s64max
USER_DATA 2 len s64min-s64max
USER_DATA 3 advice s32min-2,4-s32max

mm/fadvise.c vfs_fadvise() -> generic_fadvise()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->fadvise 0
BUF_SIZE 0 file s32min-(-1),1-s32max
BUF_SIZE 0 file s32min-(-1),1-s32max
DATA_SOURCE 0 file $0
DATA_SOURCE 1 offset $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 advice $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset s64min-s64max
USER_DATA 2 len s64min-s64max
USER_DATA 3 advice s32min-s32max
UNITS 1 offset unit_byte
UNITS 2 len unit_byte