Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

arch/x86/xen/irq.c xen_force_evtchn_callback() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 0
PARAM_VALUE 1 arg 0

drivers/xen/features.c xen_setup_features() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 6
PARAM_VALUE 1 arg 3420828212168511488
BUF_SIZE 1 arg 8
HALF_LOCKED2 irq

arch/x86/xen/enlighten.c xen_banner() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 0
PARAM_VALUE 1 arg 0
LOCK2 irq

arch/x86/xen/enlighten.c xen_banner() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 1
PARAM_VALUE 1 arg 7680792775953145856
BUF_SIZE 1 arg 16
NOCHECK_CALL
LOCK2 irq

arch/x86/xen/enlighten.c xen_running_on_version_or_later() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 0
PARAM_VALUE 1 arg 0

drivers/xen/sys-hypervisor.c buildid_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 10
PARAM_VALUE 1 arg 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c buildid_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 10
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 4-4100
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c capabilities_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 3
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 1024
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c changeset_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 4
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 64
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c compile_date_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 2
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 144
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c compiled_by_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 2
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 144
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c compiler_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 2
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 144
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c extra_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 1
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 16
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c major_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 0
PARAM_VALUE 1 arg 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c minor_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 0
PARAM_VALUE 1 arg 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c pagesize_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 7
PARAM_VALUE 1 arg 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c uuid_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 8
PARAM_VALUE 1 arg 8868303127797788672
BUF_SIZE 1 arg 16
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c virtual_start_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 5
PARAM_VALUE 1 arg 4096-ptr_max
BUF_SIZE 1 arg 8
DATA_SOURCE 1 arg r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c xen_feature_show() -> HYPERVISOR_xen_version()

Type Parameter Key Value
PARAM_VALUE 0 cmd 6
PARAM_VALUE 1 arg 3653612134868172800
BUF_SIZE 1 arg 8
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex