Home
last modified time | relevance | path

Searched refs:hnd (Results 1 – 11 of 11) sorted by relevance

/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dguest_access.h42 #define guest_handle_is_null(hnd) ((hnd).p == NULL) argument
45 #define guest_handle_add_offset(hnd, nr) ((hnd).p += (nr)) argument
46 #define guest_handle_subtract_offset(hnd, nr) ((hnd).p -= (nr)) argument
50 #define guest_handle_cast(hnd, type) ({ \ argument
51 type *_x = (hnd).p; \
76 ((XEN_GUEST_HANDLE(type)) { &(hnd).p->fld })
104 #define clear_guest_offset(hnd, off, nr) ({ \ argument
105 void *_d = (hnd).p; \
130 array_access_ok((hnd).p, (nr), sizeof(*(hnd).p)))
135 sizeof(*(hnd).p)))
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dguest_access.h24 #define guest_handle_is_null(hnd) ((hnd).p == NULL) argument
27 #define guest_handle_add_offset(hnd, nr) ((hnd).p += (nr)) argument
28 #define guest_handle_subtract_offset(hnd, nr) ((hnd).p -= (nr)) argument
32 #define guest_handle_cast(hnd, type) ({ \ argument
33 type *_x = (hnd).p; \
39 typeof((hnd).p) _x = (hnd).p; \
51 typeof((hnd).p) _x = (hnd).p; \
69 #define copy_to_guest_offset(hnd, off, ptr, nr) ({ \ argument
80 #define clear_guest_offset(hnd, off, nr) ({ \ argument
81 void *_d = (hnd).p; \
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Dcompat.h29 #define compat_handle_is_null(hnd) ((hnd).c == 0) argument
33 ((hnd).c += (nr) * sizeof(**(hnd)._))
52 ((void)((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c == (ptr))); \
61 const typeof(*(ptr)) *_s = (typeof(**(hnd)._) *)(full_ptr_t)(hnd).c; \
75 void *_d = &((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c)->field; \
76 ((void)(&((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c)->field == \
84 &((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c)->field; \
101 ((void)((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c == (ptr))); \
119 void *_d = &((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c)->field; \
120 ((void)(&((typeof(**(hnd)._) *)(full_ptr_t)(hnd).c)->field == \
[all …]
A Dguest_access.h14 #define copy_to_guest(hnd, ptr, nr) \ argument
15 copy_to_guest_offset(hnd, 0, ptr, nr)
17 #define copy_from_guest(ptr, hnd, nr) \ argument
18 copy_from_guest_offset(ptr, hnd, 0, nr)
20 #define clear_guest(hnd, nr) \ argument
21 clear_guest_offset(hnd, 0, nr)
23 #define __copy_to_guest(hnd, ptr, nr) \ argument
24 __copy_to_guest_offset(hnd, 0, ptr, nr)
26 #define __copy_from_guest(ptr, hnd, nr) \ argument
27 __copy_from_guest_offset(ptr, hnd, 0, nr)
[all …]
/xen-4.10.0-shim-comet/tools/memshr/
A Dinterface.c150 share_tuple_t *hnd) in memshr_vbd_issue_ro_request() argument
157 *hnd = (share_tuple_t){ 0, 0, 0 }; in memshr_vbd_issue_ro_request()
174 *hnd = client_st; in memshr_vbd_issue_ro_request()
207 void memshr_vbd_complete_ro_request(share_tuple_t hnd, in memshr_vbd_complete_ro_request() argument
222 if(blockshr_insert(memshr.blks, blk, hnd) < 0) in memshr_vbd_complete_ro_request()
A Dmemshr.h44 share_tuple_t *hnd);
46 share_tuple_t hnd,
/xen-4.10.0-shim-comet/xen/include/public/arch-x86/
A Dxen-x86_32.h100 #define set_xen_guest_handle_raw(hnd, val) \ argument
101 do { if ( sizeof(hnd) == 8 ) *(uint64_t *)&(hnd) = 0; \
102 (hnd).p = val; \
A Dxen.h56 #define set_xen_guest_handle_raw(hnd, val) do { (hnd).p = val; } while (0) argument
57 #define set_xen_guest_handle(hnd, val) set_xen_guest_handle_raw(hnd, val) argument
/xen-4.10.0-shim-comet/xen/include/public/
A Darch-arm.h192 #define set_xen_guest_handle_raw(hnd, val) \ argument
194 typeof(&(hnd)) _sxghr_tmp = &(hnd); \
198 #define set_xen_guest_handle(hnd, val) set_xen_guest_handle_raw(hnd, val) argument
/xen-4.10.0-shim-comet/xen/common/compat/
A Dmemory.c66 XEN_GUEST_HANDLE_PARAM(void) hnd; in compat_memory_op()
84 set_xen_guest_handle(nat.hnd, COMPAT_ARG_XLAT_VIRT_BASE); in compat_memory_op()
235 nat.hnd = compat; in compat_memory_op()
402 rc = do_memory_op(cmd, nat.hnd); in compat_memory_op()
417 if ( hypercall_xlat_continuation(&cmd, 2, 0x02, nat.hnd, compat) ) in compat_memory_op()
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dtapdisk-vbd.c1221 share_tuple_t hnd = treq.memshr_hnd; in __tapdisk_vbd_complete_td_request() local
1228 if (hnd.handle != 0) in __tapdisk_vbd_complete_td_request()
1229 memshr_vbd_complete_ro_request(hnd, uid, in __tapdisk_vbd_complete_td_request()

Completed in 14 milliseconds