Coverage Report

Created: 2017-10-25 09:10

/root/src/xen/xen/include/xen/multicall.h
Line
Count
Source (jump to first uncovered line)
1
/******************************************************************************
2
 * multicall.h
3
 */
4
5
#ifndef __XEN_MULTICALL_H__
6
#define __XEN_MULTICALL_H__
7
8
#include <xen/percpu.h>
9
#ifdef CONFIG_COMPAT
10
#include <compat/xen.h>
11
#endif
12
13
0
#define _MCSF_in_multicall   0
14
0
#define MCSF_in_multicall    (1<<_MCSF_in_multicall)
15
struct mc_state {
16
    unsigned long flags;
17
    union {
18
        struct multicall_entry call;
19
#ifdef CONFIG_COMPAT
20
        struct compat_multicall_entry compat_call;
21
#endif
22
    };
23
};
24
25
enum mc_disposition {
26
    mc_continue,
27
    mc_exit,
28
    mc_preempt,
29
} arch_do_multicall_call(struct mc_state *mc);
30
31
#endif /* __XEN_MULTICALL_H__ */