/xen/tools/libxl/ |
A D | flexarray.c | 29 flexarray_t *array; in flexarray_make() local 31 GCNEW(array); in flexarray_make() 34 array->count = 0; in flexarray_make() 35 array->gc = gc; in flexarray_make() 38 return array; in flexarray_make() 44 free(array->data); in flexarray_free() 45 free(array); in flexarray_free() 64 newsize = (array->size * 2 < idx) ? idx + 1 : array->size * 2; in flexarray_set() 65 flexarray_grow(array, newsize - array->size); in flexarray_set() 75 return flexarray_set(array, array->count, ptr); in flexarray_append() [all …]
|
A D | flexarray.h | 36 _hidden void flexarray_free(flexarray_t *array); 37 _hidden void flexarray_grow(flexarray_t *array, int extents); 38 _hidden int flexarray_set(flexarray_t *array, unsigned int index, void *ptr); 39 _hidden int flexarray_append(flexarray_t *array, void *ptr); 40 _hidden int flexarray_append_pair(flexarray_t *array, void *ptr1, void *ptr2); 41 _hidden int flexarray_vappend(flexarray_t *array, ...); 42 _hidden int flexarray_get(flexarray_t *array, int index, void **ptr); 44 _hidden void **flexarray_contents(flexarray_t *array);
|
A D | libxl_json.c | 182 flexarray_t *array; in libxl__bitmap_parse_json() local 188 if (!array->count) { in libxl__bitmap_parse_json() 298 flexarray_t *array = NULL; in libxl__string_list_parse_json() local 305 size = array->count; in libxl__string_list_parse_json() 458 obj->u.map = array; in libxl__json_object_alloc() 460 obj->u.array = array; in libxl__json_object_alloc() 541 flexarray_free(obj->u.array); in libxl__json_object_free() 552 flexarray_t *array = NULL; in libxl__json_array_get() local 559 if (i >= array->count) in libxl__json_array_get() 571 flexarray_t *array = NULL; in libxl__json_map_node_get() local [all …]
|
A D | libxl_xshelp.c | 20 char **libxl__xs_kvs_of_flexarray(libxl__gc *gc, flexarray_t *array) in libxl__xs_kvs_of_flexarray() argument 25 if (!array) in libxl__xs_kvs_of_flexarray() 28 length = array->count; in libxl__xs_kvs_of_flexarray() 37 flexarray_get(array, i, &ptr); in libxl__xs_kvs_of_flexarray() 39 flexarray_get(array, i + 1, &ptr); in libxl__xs_kvs_of_flexarray()
|
A D | libxl_cpuid.c | 506 flexarray_t *array; in libxl__cpuid_policy_list_parse_json() local 511 array = libxl__json_object_get_array(o); in libxl__cpuid_policy_list_parse_json() 512 if (!array->count) in libxl__cpuid_policy_list_parse_json() 515 size = array->count; in libxl__cpuid_policy_list_parse_json() 526 if (flexarray_get(array, i, (void**)&t) != 0) in libxl__cpuid_policy_list_parse_json()
|
A D | idl.txt | 190 A class representing an array of similar elements. An idl.Array must 194 element of the array. 197 idl.Aggregate and will contain the length of the array. The field
|
/xen/tools/libxc/ |
A D | xc_hcall_buf.c | 121 array = malloc(sizeof(*array)); in xc_hypercall_buffer_array_create() 122 if ( array == NULL ) in xc_hypercall_buffer_array_create() 129 array->max_bufs = n; in xc_hypercall_buffer_array_create() 130 array->bufs = bufs; in xc_hypercall_buffer_array_create() 132 return array; in xc_hypercall_buffer_array_create() 136 free(array); in xc_hypercall_buffer_array_create() 148 if ( index >= array->max_bufs || array->bufs[index].hbuf ) in xc__hypercall_buffer_array_alloc() 162 if ( index >= array->max_bufs || array->bufs[index].hbuf == NULL ) in xc__hypercall_buffer_array_get() 174 if ( array == NULL ) in xc_hypercall_buffer_array_destroy() 179 free(array->bufs); in xc_hypercall_buffer_array_destroy() [all …]
|
/xen/xen/tools/ |
A D | get-fields.sh | 180 array=" " 182 array="$array;" 238 array= 249 array="$array $token" 306 array=" " 308 array="$array;" 330 if [ -n "$array" ] 332 array="$array $token" 362 array= 366 if [ -n "$array" ] [all …]
|
/xen/xen/include/xen/ |
A D | nospec.h | 70 #define array_access_nospec(array, index) \ argument 71 (array)[array_index_nospec(index, ARRAY_SIZE(array))]
|
/xen/docs/misc/ |
A D | dump-core-format.txt | 56 structure array of vcpu_guest_context_t 58 This section stores the array of vcpu_guest_context_t 61 The size of array is stored in xch_nr_vcpus member of header 76 structure array of struct xen_dumpcore_p2m 91 exist invalid (pfn, gmfn)'s at the end part of this array. 98 structure array of uint64_t 107 pfn's at the end part of this array. 115 structure array of page where page is page size byte array 130 structure array of mapped_regs_t 132 This section stores the array of mapped_regs_t. [all …]
|
A D | 9pfs.pandoc | 226 /* this is an array of (1 << ring_order) elements */ 243 **in** array, the second half is the **out** array. The array must 245 - **out** is an array used as circular buffer 248 - **in** is an array used as circular buffer 260 array. **in_prod** is increased by the backend, after writing data to 326 0 sizeof(array) 333 The following functions are provided to read and write to an array: 370 array in the following way: 382 array in the following way: 401 to the other end on the *out* array, following the producer workflow [all …]
|
A D | pvcalls.pandoc | 436 in the **data ring**. The **indexes page** also contains the full array 858 and the second half to the **out** array. They are used as circular 915 **in** array, the second half is the **out** array. The arrays must 918 - **in** is an array used as circular buffer 921 - **out** is an array used as circular buffer 1006 0 sizeof(array) 1014 left unconsumed in an array: 1043 array in the following way: 1048 - write to array at position *[in|out]_prod* up to *[in|out]_cons*, 1055 array in the following way: [all …]
|
A D | livepatch.pandoc | 275 * `.livepatch.funcs` - which is an array of livepatch_func structures. 289 The `.livepatch.funcs` contains an array of livepatch_func structures 378 * `.livepatch.hooks.load` - an array of function pointers. 379 * `.livepatch.hooks.unload` - an array of function pointers. 450 This section contains an array of function pointers to be executed 455 Each entry in this array is eight bytes. 471 Each entry in this array is eight bytes. 488 Each entry in this array is eight bytes. 503 Each entry in this array is eight bytes. 519 Each entry in this array is eight bytes. [all …]
|
/xen/tools/ocaml/libs/xb/ |
A D | op.mli | 24 val operation_c_mapping : operation array 26 val array_search : 'a -> 'a array -> int
|
A D | xb.mli | 27 val operation_c_mapping : operation array 29 val array_search : 'a -> 'a array -> int
|
/xen/tools/tests/x86_emulator/ |
A D | simd-sg.c | 206 const typeof((vec_t){}[0]) array[] = { 228 x = gather(full, array, (idx_t){}, full, 1); in sg_test() 236 x = gather(full, array, idx, full, ELEM_SIZE); in sg_test() 244 x = gather(full, array, idx * ELEM_SIZE, full, 2); in sg_test() 252 x = gather(full, array, inv, full, ELEM_SIZE); in sg_test() 260 y = gather(full, array + ITEM_COUNT, -idx, full, ELEM_SIZE); in sg_test() 274 x = gather(full, array, inv * 2, full, ELEM_SIZE / 2); in sg_test() 283 y = gather(x, array, idx, (idx & inv) != 0, ELEM_SIZE); in sg_test()
|
/xen/docs/designs/ |
A D | dmop.pandoc | 29 matches any restriction in place) and an array of buffers and lengths, 31 then reference further buffers from within in the array. Since the only 32 user buffers passed are that found with that array, they can all can be 53 @bufs points to an array of buffers where @bufs[0] contains a struct 57 @nr_bufs is the number of buffers in the @bufs array.
|
/xen/tools/ocaml/libs/xc/ |
A D | xenctrl.ml | 101 handle : int array; 222 external vcpu_affinity_set: handle -> domid -> int -> bool array -> unit 224 external vcpu_affinity_get: handle -> domid -> int -> bool array 250 external pcpu_info: handle -> int -> int64 array = "stub_xc_pcpu_info" 278 external get_cpu_featureset : handle -> featureset_index -> int64 array = "stub_xc_get_cpu_features…
|
A D | xenctrl.mli | 92 handle : int array; 168 external vcpu_affinity_set : handle -> domid -> int -> bool array -> unit 170 external vcpu_affinity_get : handle -> domid -> int -> bool array 189 external pcpu_info: handle -> int -> int64 array = "stub_xc_pcpu_info" 216 external get_cpu_featureset : handle -> featureset_index -> int64 array = "stub_xc_get_cpu_features…
|
/xen/docs/features/ |
A D | intel_psr_cat_cdp.pandoc | 236 maintain a COS array for all domains. One domain uses one COS at one time. 312 feature property pointer array is declared to save every feature's 322 `type` is an array to save all 'enum cbm_type' values of the 348 feature array. 363 `cos_reg_val` is an array to maintain the value set in all COS 364 registers of the feature. The array is indexed by COS ID. 386 `features` is a pointer array to save all enabled features pointers 395 `cos_ref` is an array which maintains the reference of one COS. 399 decrease by one. The array is indexed by COS ID. 482 2. Change 'feature list' to 'feature array'.
|
/xen/tools/ocaml/libs/xl/ |
A D | xenlight_stubs.c | 150 libxl_key_value_list array; in libxl_key_value_list_val() local 154 array = calloc((nr + 1) * 2, sizeof(char *)); in libxl_key_value_list_val() 155 if (!array) in libxl_key_value_list_val() 161 array[i * 2] = dup_String_val(Field(elem, 0)); in libxl_key_value_list_val() 162 array[i * 2 + 1] = dup_String_val(Field(elem, 1)); in libxl_key_value_list_val() 165 *c_val = array; in libxl_key_value_list_val() 196 libxl_string_list array; in libxl_string_list_val() local 200 array = calloc(nr + 1, sizeof(char *)); in libxl_string_list_val() 201 if (!array) in libxl_string_list_val() 205 array[i] = dup_String_val(Field(v, 0)); in libxl_string_list_val() [all …]
|
/xen/tools/xl/ |
A D | xl_parse.c | 35 #define ARRAY_EXTEND_INIT__CORE(array,count,initfn,more) \ argument 39 (array) = xrealloc((array), sizeof(*array) * (count)); \ 40 (initfn)(&(array)[array_extend_old_count]); \ 42 &(array)[array_extend_old_count]; \ 45 #define ARRAY_EXTEND_INIT(array,count,initfn) \ argument 46 ARRAY_EXTEND_INIT__CORE((array),(count),(initfn), ({ \ 47 (array)[array_extend_old_count].devid = array_extend_old_count; \ 50 #define ARRAY_EXTEND_INIT_NODEVID(array,count,initfn) \ argument 51 ARRAY_EXTEND_INIT__CORE((array),(count),(initfn), /* nothing */ )
|
/xen/xen/common/ |
A D | gdbstub.c | 78 const char array[] = "0123456789abcdef"; in hex2char() local 79 return array[x & 15]; in hex2char()
|
/xen/tools/xentrace/ |
A D | xenalyze.c | 221 struct array_struct array; member 1885 } array; member 2415 for(i=0; i<P.interval.array.count; i++) { in interval_table_output() 2443 P.interval.array.count = count; in interval_table_alloc() 2446 if(!P.interval.array.values) { in interval_table_alloc() 2498 if(P.interval.array.values[i]) { in interval_cr3_value_check() 2616 if(P.interval.array.values[i]) { in interval_domain_value_check() 10384 || opt.interval.array.count != 1) in cmd_parser() 10425 || opt.interval.array.count != 1) in cmd_parser() 10439 || opt.interval.array.count != 1) in cmd_parser() [all …]
|
/xen/tools/ocaml/xenstored/ |
A D | select.ml | 25 external select_on_poll: (Unix.file_descr * event) array -> int -> int = "stub_select_on_poll"
|