Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/huge_memory.c use_zero_page_show() -> single_hugepage_flag_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 2613169432955031552
PARAM_VALUE 1 attr->attr 5312316905862565888
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 flag 8
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

mm/khugepaged.c defrag_show() -> single_hugepage_flag_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 4391557163757064192
PARAM_VALUE 1 attr->attr 9048174758995927040
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 flag 7
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex