Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/misc/phantom.c class_create_file() -> class_create_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 cls 1566999962350260224
PARAM_VALUE 0 cls->ns_type 0
PARAM_VALUE 1 attr 5622891342039220224
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 cls $0
DATA_SOURCE 1 attr $1

drivers/infiniband/core/uverbs_main.c class_create_file() -> class_create_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 cls 2919379478020341760
PARAM_VALUE 0 cls->ns_type 0
PARAM_VALUE 1 attr 8306678064969662464
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 cls $0
DATA_SOURCE 1 attr $1

net/core/net-sysfs.c netdev_class_create_file_ns() -> class_create_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 cls 3300503725970145280
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 4096-ptr_max
DATA_SOURCE 1 attr $0
DATA_SOURCE 2 ns $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

drivers/gpu/drm/drm_sysfs.c class_create_file() -> class_create_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 cls 4096-ptr_max
PARAM_VALUE 0 cls->class_groups 0,4096-ptr_max
PARAM_VALUE 0 cls->class_release 8086981562295300096
PARAM_VALUE 0 cls->name 236288891707031552
PARAM_VALUE 1 attr 8035961412578762752
PARAM_VALUE 2 ns 0
BUF_SIZE 0 cls 96
BUF_SIZE 0 cls->name 4
DATA_SOURCE 0 cls $0
DATA_SOURCE 1 attr $1
STR_LEN 0 cls->name 3
TERMINATED 0 cls->name 1