Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/xen/tools/xenstored/
A Dtalloc.h48 #define talloc(ctx, type) (type *)talloc_named_const(ctx, sizeof(type), #type) argument
53 #define talloc_zero(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type) argument
56 #define talloc_zero_array(ctx, type, count) (type *)_talloc_zero_array(ctx, sizeof(type), count, #t… argument
57 #define talloc_array(ctx, type, count) (type *)_talloc_array(ctx, sizeof(type), count, #type) argument
60 #define talloc_realloc(ctx, p, type, count) (type *)_talloc_realloc_array(ctx, p, sizeof(type), cou… argument
65 #define malloc_p(type) (type *)malloc(sizeof(type)) argument
66 #define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count) argument
67 #define realloc_p(p, type, count) (type *)realloc_array(p, sizeof(type), count) argument
77 #define talloc_get_type(ptr, type) (type *)talloc_check_name(ptr, #type) argument
79 #define talloc_find_parent_bytype(ptr, type) (type *)talloc_find_parent_byname(ptr, #type) argument
[all …]
/xen/xen/tools/kconfig/
A Dexpr.c30 e->type = type; in expr_alloc_one()
38 e->type = type; in expr_alloc_two()
47 e->type = type; in expr_alloc_comp()
155 if (e1->type == type) { in __expr_eliminate_eq()
160 if (e2->type == type) { in __expr_eliminate_eq()
233 if (e1->type != e2->type) switch (e2->type) { in expr_eliminate_eq()
257 if (e1->type != e2->type) in expr_eq()
432 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) in expr_join_or()
434 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) in expr_join_or()
598 if (e1->type == type) { in expr_eliminate_dups1()
[all …]
A Dmenu.c86 switch (e->type) { in rewrite_m()
115 if (sym->type == type) in menu_set_type()
118 sym->type = type; in menu_set_type()
124 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type()
222 return sym2->type == S_INT || sym2->type == S_HEX || in menu_validate_number()
235 if ((sym->type == S_STRING || sym->type == S_INT || sym->type == S_HEX) && in sym_check_prop()
243 if (sym->type == S_HEX || sym->type == S_INT) { in sym_check_prop()
264 if (sym->type != S_BOOLEAN && sym->type != S_TRISTATE) in sym_check_prop()
277 if (sym->type != S_INT && sym->type != S_HEX) in sym_check_prop()
681 type = menu->prompt ? menu->prompt->type : 0; in menu_get_parent_menu()
[all …]
/xen/xen/common/ubsan/
A Dubsan.c78 WARN_ON(!type_is_int(type)); in type_is_signed()
79 return type->type_info & 1; in type_is_signed()
99 if (is_inline_int(type)) { in get_signed_val()
112 return type_is_signed(type) && get_signed_val(type, val) < 0; in val_is_negative()
117 if (is_inline_int(type)) in get_unsigned_val()
129 if (type_is_int(type)) { in val_to_string()
186 struct type_descriptor *type = data->type; in handle_overflow() local
204 type->type_name); in handle_overflow()
269 if (type_is_signed(data->type) && get_signed_val(data->type, rhs) == -1) in __ubsan_handle_divrem_overflow()
290 data->type->type_name); in handle_null_ptr_deref()
[all …]
/xen/xen/common/
A Dvmap.c27 ASSERT(!vm_base[type]); in vm_init_type()
29 vm_base[type] = start; in vm_init_type()
31 vm_low[type]= PFN_UP((vm_end[type] + 7) / 8); in vm_init_type()
54 bitmap_fill(vm_bitmap(type), vm_low[type]); in vm_init_type()
189 end = find_next_zero_bit(vm_bitmap(type), vm_top[type], start + 1); in vm_size()
201 type = VMAP_XEN; in vm_free()
202 bit = vm_index(va, type); in vm_free()
212 if ( bit < vm_low[type] ) in vm_free()
214 vm_low[type] = bit - 1; in vm_free()
215 while ( !test_bit(vm_low[type] - 1, vm_bitmap(type)) ) in vm_free()
[all …]
/xen/tools/libs/guest/
A Dxg_sr_common.c13 const char *dhdr_type_to_str(uint32_t type) in dhdr_type_to_str() argument
15 if ( type < ARRAY_SIZE(dhdr_types) && dhdr_types[type] ) in dhdr_type_to_str()
16 return dhdr_types[type]; in dhdr_type_to_str()
44 const char *rec_type_to_str(uint32_t type) in rec_type_to_str() argument
46 if ( !(type & REC_TYPE_OPTIONAL) ) in rec_type_to_str()
49 (mandatory_rec_types[type]) ) in rec_type_to_str()
50 return mandatory_rec_types[type]; in rec_type_to_str()
65 { &rec->type, sizeof(rec->type) }, in write_split_record()
122 datasz, rhdr.type, rec_type_to_str(rhdr.type)); in read_record()
131 datasz, rhdr.type, rec_type_to_str(rhdr.type)); in read_record()
[all …]
/xen/xen/include/xen/
A Dpercpu.h4 #define DECLARE_PER_CPU(type, name) \ argument
5 extern __typeof__(type) per_cpu__ ## name
7 #define __DEFINE_PER_CPU(attr, type, name) \ argument
8 attr __typeof__(type) per_cpu_ ## name
16 #define DEFINE_PER_CPU(type, name) \ argument
17 __DEFINE_PER_CPU(__section(".bss.percpu"), type, _ ## name)
19 #define DEFINE_PER_CPU_PAGE_ALIGNED(type, name) \ argument
21 [BUILD_BUG_ON_ZERO(__alignof(type) & (PAGE_SIZE - 1))]; \
23 type, _ ## name)
25 #define DEFINE_PER_CPU_READ_MOSTLY(type, name) \ argument
[all …]
A Dkernel.h33 #define min_t(type,x,y) \ argument
34 ({ type __x = (x); type __y = (y); __x < __y ? __x: __y; })
35 #define max_t(type,x,y) \ argument
36 ({ type __x = (x); type __y = (y); __x > __y ? __x: __y; })
53 #define container_of(ptr, type, member) ({ \ argument
54 typeof_field(type, member) *__mptr = (ptr); \
55 (type *)( (char *)__mptr - offsetof(type,member) );})
82 #define typecheck(type,x) \ argument
83 ({ type __dummy; \
A Dmultiboot2.h123 u32 type; member
128 u32 type; member
134 u32 type; member
140 u32 type; member
149 u32 type; member
154 u32 type; member
163 uint32_t type; member
182 uint32_t type; member
215 u32 type; member
221 u32 type; member
[all …]
A Dguest_access.h27 #define guest_handle_cast(hnd, type) ({ \ argument
28 type *_x = (hnd).p; \
29 (XEN_GUEST_HANDLE_PARAM(type)) { _x }; \
32 #define guest_handle_const_cast(hnd, type) ({ \ argument
33 const type *p_ = (hnd).p; \
34 (XEN_GUEST_HANDLE_PARAM(const_##type)) { p_ }; \
51 ((XEN_GUEST_HANDLE(type)) { &(hnd).p->fld })
53 #define guest_handle_from_ptr(ptr, type) \ argument
54 ((XEN_GUEST_HANDLE_PARAM(type)) { (type *)(ptr) })
55 #define const_guest_handle_from_ptr(ptr, type) \ argument
[all …]
/xen/tools/firmware/hvmloader/
A Dhypercall.h41 #define _hypercall0(type, name) \ argument
49 (type)__res; \
52 #define _hypercall1(type, name, a1) \ argument
61 (type)__res; \
64 #define _hypercall2(type, name, a1, a2) \ argument
73 (type)__res; \
76 #define _hypercall3(type, name, a1, a2, a3) \ argument
87 (type)__res; \
90 #define _hypercall4(type, name, a1, a2, a3, a4) \ argument
163 unsigned int cmd, unsigned int type) in hypercall_vm_assist() argument
[all …]
/xen/tools/xl/
A Dxl_psr.c122 switch (type) { in psr_cmt_print_domain_info()
264 libxl_psr_cmt_type type; in main_psr_cmt_show() local
290 ret = psr_cmt_show(type, domid); in main_psr_cmt_show()
357 switch (type) { in psr_print_one_domain_val()
423 switch (type) { in psr_print_socket()
471 switch (type) { in psr_val_show()
558 libxl_psr_type type; in main_psr_mba_set() local
591 type = LIBXL_PSR_CBM_TYPE_MBA_THRTL; in main_psr_mba_set()
638 libxl_psr_cbm_type type; in main_psr_cat_cbm_set() local
686 type = LIBXL_PSR_CBM_TYPE_L2_CBM; in main_psr_cat_cbm_set()
[all …]
/xen/tools/include/xen-tools/
A Dcommon-macros.h54 #define min_t(type, x, y) \ argument
56 const type _x = (x); \
57 const type _y = (y); \
63 #define max_t(type, x, y) \ argument
65 const type _x = (x); \
66 const type _y = (y); \
86 #define container_of(ptr, type, member) ({ \ argument
87 typeof(((type *)0)->member) *mptr__ = (ptr); \
88 (type *)((char *)mptr__ - offsetof(type, member)); \
98 #define get_unaligned_t(type, ptr) ({ \ argument
[all …]
/xen/tools/libs/light/
A Didl.txt4 Each type in the libxl interface is represented by an object of type
16 of the type.
28 type.
40 memory contained within this type (but not the type itself).
50 this type.
78 representing this type.
83 representing this type to C type.
98 Other simple type-Classes
113 Complex type-Classes
157 Field.type The type of the member (a idl.Type).
[all …]
A Dgentypes.py74 if f.type is not None:
120 if f.type is not None:
231 ku = field.type
263 for x in f.type.fields:
289 if f.type is not None:
295 elif isinstance(field.type, idl.Struct) and field.type.copy_fn is None:
336 return f.type.init_val
350 if f.type.check_default_fn:
387 if f.type is not None:
499 if f.type is not None:
[all …]
A Dlibxl_psr.c76 libxl_psr_type type) in libxl__psr_alloc_log_err_msg() argument
123 LOG(ERROR, "%s: %s", feat_name[type], msg); in libxl__psr_alloc_log_err_msg()
245 rc = event_mask & (1 << (type - 1)); in libxl_psr_cmt_type_supported()
254 libxl_psr_cmt_type type, in libxl_psr_cmt_get_sample() argument
280 rc = xc_psr_cmt_get_data(ctx->xch, rmid, cpu, type - 1, in libxl_psr_cmt_get_sample()
321 libxl_psr_type type) in libxl__psr_type_to_libxc_psr_type() argument
324 return (xc_psr_type)type; in libxl__psr_type_to_libxc_psr_type()
346 switch (type) { in libxl__feat_type_to_libxc_feat_type()
370 assert(type == LIBXL_PSR_FEAT_TYPE_CAT); in libxl__hw_info_to_libxl_cat_info()
467 libxl__psr_alloc_log_err_msg(gc, errno, type); in libxl_psr_get_val()
[all …]
A Dlibxl_x86.c9 switch(d_config->c_info.type) { in libxl__arch_domain_prepare_config()
42 switch (type) { in e820_names()
77 src[i].type = 0; in e820_sanitize()
89 (src[i].type == 0)) in e820_sanitize()
102 e820[idx].type = E820_RAM; in e820_sanitize()
145 src[i].type = 0; in e820_sanitize()
165 src[i].type = 0; in e820_sanitize()
212 (src[i].type == 0)) in e820_sanitize()
215 e820[idx].type = src[i].type; in e820_sanitize()
411 switch(info->type) { in hvm_set_conf_params()
[all …]
/xen/tools/include/
A Dxen_list.h109 #define XEN_SLIST_HEAD(name, type) \ argument
111 type *slh_first; /* first element */ \
117 #define XEN_SLIST_ENTRY(type) \ argument
119 type *sle_next; /* next element */ \
199 #define XEN_STAILQ_ENTRY(type) \ argument
201 type *stqe_next; /* next element */ \
256 ((type *)(void *) \
302 #define XEN_LIST_HEAD(name, type) \ argument
310 #define XEN_LIST_ENTRY(type) \ argument
312 type *le_next; /* next element */ \
[all …]
/xen/tools/golang/xenlight/
A Dgengotypes.py117 if f.type.typename is not None:
173 if f.type is None:
273 for nf in f.type.fields:
362 if f.type is None:
378 for nf in f.type.fields:
437 clenvar = ty.type.lenvar.name
480 for nf in f.type.fields:
511 ctypename = ty.type.typename
571 if f.type is None:
585 for uf in f.type.fields:
[all …]
/xen/xen/arch/x86/include/asm/
A Dshared.h10 #define GET_SET_SHARED(type, field) \ argument
11 static inline type arch_get_##field(const struct domain *d) \
18 type val) \
26 #define GET_SET_VCPU(type, field) \ argument
27 static inline type arch_get_##field(const struct vcpu *v) \
49 #define GET_SET_SHARED(type, field) \ argument
50 static inline type arch_get_##field(const struct domain *d) \
55 type val) \
60 #define GET_SET_VCPU(type, field) \ argument
61 static inline type arch_get_##field(const struct vcpu *v) \
[all …]
/xen/tools/libs/ctrl/
A Dxc_kexec.c15 int xc_kexec_exec(xc_interface *xch, int type) in xc_kexec_exec() argument
27 exec->type = type; in xc_kexec_exec()
68 int xc_kexec_load(xc_interface *xch, uint8_t type, uint16_t arch, in xc_kexec_load() argument
89 load->type = type; in xc_kexec_load()
106 int xc_kexec_unload(xc_interface *xch, int type) in xc_kexec_unload() argument
118 unload->type = type; in xc_kexec_unload()
130 int xc_kexec_status(xc_interface *xch, int type) in xc_kexec_status() argument
142 status->type = type; in xc_kexec_status()
/xen/docs/
A Dxen-headers124 my ($text,$type,$name,$hparams,$deref) = @_;
126 debug(2,"DEFN $. $type $name $hparams |$text|");
129 my $xrefs = $sdef{$type}{$name}{Xrefs};
131 $hparams .= " name=\"${type}_$name\"" if $sdef{$type}{$name}{Used};
153 my ($type,$name,$hkey) = @_;
154 $sdef{$type}{$name}{Used} = 1;
155 my $sdef = $sdef{$type}{$name};
169 my ($ttype,$tname) = ($type,$name);
191 my ($text,$type,$name) = @_;
339 my ($type,$desc,$pfx,$sfx) = @_;
[all …]
/xen/xen/arch/x86/
A De820.c53 if (type && ei->type != type) in e820_all_mapped()
87 e820.map[x].type = type; in add_memory_region()
100 switch (map[i].type) { in print_e820_memory_map()
316 unsigned long type = biosmap->type; in copy_e820_map() local
353 if (e820.map[i].type != E820_RAM) in find_max_pfn()
557 if ( rs == e && ei[i].type == type ) in e820_add_range()
563 if ( re == s && ei[i].type == type && in e820_add_range()
590 ei[i].type = type; in e820_add_range()
616 e820->map[i].type = new_type; in e820_change_range_type()
654 e820->map[i+1].type = new_type; in e820_change_range_type()
[all …]
/xen/xen/arch/arm/arm64/
A Dinsn.c47 switch (type) { in aarch64_get_imm_shift_mask()
102 u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn) in aarch64_insn_decode_immediate() argument
107 switch (type) { in aarch64_insn_decode_immediate()
116 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_decode_immediate()
118 type); in aarch64_insn_decode_immediate()
135 switch (type) { in aarch64_insn_encode_immediate()
146 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_encode_immediate()
148 type); in aarch64_insn_encode_immediate()
181 enum aarch64_insn_branch_type type) in aarch64_insn_gen_branch_imm() argument
195 switch (type) { in aarch64_insn_gen_branch_imm()
[all …]
/xen/tools/ocaml/libs/xc/
A Dxenctrl.mli17 type domid = int
18 type vcpuinfo = {
53 type arch_domainconfig =
57 type domain_create_flag =
85 type domaininfo = {
105 type physinfo_cap_flag =
128 type physinfo = {
142 type compile_info = {
151 type handle
215 type evtchn_stat =
[all …]

Completed in 68 milliseconds

12345678910>>...25