Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

arch/x86/xen/enlighten_hvm.c xen_hvm_init_shared_info() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 7
PARAM_VALUE 1 arg 5318532229323558912
BUF_SIZE 1 arg 24
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

drivers/xen/mem-reservation.c xenmem_reservation_decrease() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 1
PARAM_VALUE 1 arg 6212175361682386944
BUF_SIZE 1 arg 32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &balloon_mutex

drivers/xen/mem-reservation.c xenmem_reservation_increase() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 6
PARAM_VALUE 1 arg 5839247440804212736
BUF_SIZE 1 arg 32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &balloon_mutex

drivers/xen/grant-table.c gnttab_map() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 7
PARAM_VALUE 1 arg 8995369008812781568
BUF_SIZE 1 arg 24
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 global &gnttab_list_lock

arch/x86/xen/enlighten_pvh.c mem_map_via_hcall() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 9
PARAM_VALUE 1 arg 862224325979377664
BUF_SIZE 1 arg 16

drivers/xen/privcmd.c privcmd_ioctl_mmap_resource() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 28
PARAM_VALUE 1 arg 1388733465637867520
BUF_SIZE 1 arg 32

drivers/xen/privcmd.c privcmd_ioctl_mmap_resource() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 28
PARAM_VALUE 1 arg 1388733465637867520
BUF_SIZE 1 arg 32
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

drivers/xen/balloon.c balloon_init() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 3
PARAM_VALUE 1 arg 4829039763868151808
PARAM_VALUE 1 *arg 32752
BUF_SIZE 1 arg 2

drivers/xen/xlate_mmu.c remap_pte_fn() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 23
PARAM_VALUE 1 arg 7589740866333220864
BUF_SIZE 1 arg 32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 ptl

drivers/xen/xlate_mmu.c unmap_gfn() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 15
PARAM_VALUE 1 arg 1701818105566466048
BUF_SIZE 1 arg 16
RX_PATH
TASK_NOT_RUNNING

arch/x86/xen/setup.c xen_free_mfn() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 1
PARAM_VALUE 1 arg 3992775286774202368
BUF_SIZE 1 arg 32
LOCK2 irq

arch/x86/xen/setup.c xen_get_max_pages() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 4
PARAM_VALUE 1 arg 1699856077729771520
PARAM_VALUE 1 *arg 32752
BUF_SIZE 1 arg 2
LOCK2 irq

arch/x86/xen/setup.c xen_memory_setup() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 9-10
PARAM_VALUE 1 arg 1492911329351680000
BUF_SIZE 1 arg 16
BIT_INFO 0 cmd 0x8,0xb
LOCK2 irq

arch/x86/xen/mmu_pv.c xen_exchange_memory() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 11
PARAM_VALUE 1 arg 1928189781917769728
BUF_SIZE 1 arg 72
PREEMPT_ADD
LOCK2 flags
LOCK2 global &xen_reservation_lock

arch/x86/xen/mmu_pv.c xen_setup_machphys_mapping() -> HYPERVISOR_memory_op()

Type Parameter Key Value
PARAM_VALUE 0 cmd 12
PARAM_VALUE 1 arg 7948039334760824832
BUF_SIZE 1 arg 24