Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

io_uring/openclose.c io_openat2() -> do_file_open()

Type Parameter Key Value
PARAM_VALUE 1 pathname->aname 4096-ptr_max
PARAM_VALUE 1 pathname->aname->ino (-1)
PARAM_VALUE 1 pathname->aname->name s64min-(-4096),0-s64max
PARAM_VALUE 1 pathname->aname->name_len (-1)
PARAM_VALUE 1 pathname->aname->should_free 1
PARAM_VALUE 1 pathname->aname->type 0
PARAM_VALUE 2 op 9123697986640130048
PARAM_VALUE 2 op->acc_mode 0-265
PARAM_VALUE 2 op->intent 0,65536,131072,196608,393216,458752
PARAM_VALUE 2 op->lookup_flags 0-3,8-11,512-385877003
PARAM_VALUE 2 op->mode 0,32768-36862
DATA_SOURCE 1 pathname r class_filename_complete_delayed_constructor
RX_PATH
TASK_NOT_RUNNING

fs/open.c do_sys_openat2() -> do_file_open()

Type Parameter Key Value
PARAM_VALUE 1 pathname 4096-u64max
PARAM_VALUE 2 op 7656506677973151744
PARAM_VALUE 2 op->acc_mode 0-265
PARAM_VALUE 2 op->intent 0,65536,131072,196608,393216,458752
PARAM_VALUE 2 op->lookup_flags 0-3,8-11,512-385876491
PARAM_VALUE 2 op->mode 0,32768-36862
DATA_SOURCE 0 dfd $0
DATA_SOURCE 1 pathname r class_filename_flags_constructor
USER_DATA 0 dfd s32min-s32max
USER_DATA 2 op->mode 32768-36862[c]
USER_DATA 2 op->open_flag 0-s32max[c]

fs/open.c file_open_name() -> do_file_open()

Type Parameter Key Value
PARAM_VALUE 0 dfd (-100)
PARAM_VALUE 1 pathname 4096-u64max
PARAM_VALUE 2 op 3724445852645912576
PARAM_VALUE 2 op->acc_mode 0-265
PARAM_VALUE 2 op->intent 0,65536,131072,196608,393216,458752
PARAM_VALUE 2 op->lookup_flags 0-3,8-11,512-385876491
PARAM_VALUE 2 op->mode 0,32768-36862
DATA_SOURCE 1 pathname $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *pathname->name 0-255
USER_PTR 1 pathname->iname
USER_PTR 1 pathname->name
HALF_LOCKED2 &split_debug_mutex
HALF_LOCKED2 global &acct_on_mutex

fs/exec.c do_open_execat() -> do_file_open()

Type Parameter Key Value
PARAM_VALUE 1 pathname 4096-u64max
PARAM_VALUE 2 op 8270601736902168576
PARAM_VALUE 2 op->acc_mode 1
PARAM_VALUE 2 op->intent 65536
PARAM_VALUE 2 op->lookup_flags 0-1
PARAM_VALUE 2 op->mode 0
PARAM_VALUE 2 op->open_flag 32800
BUF_SIZE 1 pathname (-1)-s32max
BUF_SIZE 1 pathname (-1)-s32max
DATA_SOURCE 0 dfd $0
DATA_SOURCE 1 pathname $1
USER_DATA 0 dfd s32min-s32max