/xen-4.10.0-shim-comet/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; 188 if (!array->count) { 298 flexarray_t *array = NULL; 305 size = array->count; 458 obj->u.map = array; 460 obj->u.array = array; 540 flexarray_free(obj->u.array); 551 flexarray_t *array = NULL; 558 if (i >= array->count) 570 flexarray_t *array = NULL; [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 | 471 flexarray_t *array; in libxl__cpuid_policy_list_parse_json() local 476 array = libxl__json_object_get_array(o); in libxl__cpuid_policy_list_parse_json() 477 if (!array->count) in libxl__cpuid_policy_list_parse_json() 480 size = array->count; in libxl__cpuid_policy_list_parse_json() 491 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
|
A D | libxl_qmp.c | 831 const char *cmd, flexarray_t *array) in libxl__qmp_run_command_flexarray() argument 837 for (i = 0; i < array->count; i += 2) { in libxl__qmp_run_command_flexarray() 838 flexarray_get(array, i, &name); in libxl__qmp_run_command_flexarray() 839 flexarray_get(array, i + 1, &value); in libxl__qmp_run_command_flexarray()
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/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.markdown | 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.markdown | 444 in the **data ring**. The **indexes page** also contains the full array 866 and the second half to the **out** array. They are used as circular 923 **in** array, the second half is the **out** array. The arrays must 926 - **in** is an array used as circular buffer 929 - **out** is an array used as circular buffer 1014 0 sizeof(array) 1022 left unconsumed in an array: 1051 array in the following way: 1056 - write to array at position *[in|out]_prod* up to *[in|out]_cons*, 1063 array in the following way: [all …]
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/ |
A D | xenctrl.mli | 68 handle : int array; 129 external vcpu_affinity_set : handle -> domid -> int -> bool array -> unit 131 external vcpu_affinity_get : handle -> domid -> int -> bool array 150 external pcpu_info: handle -> int -> int64 array = "stub_xc_pcpu_info" 162 handle -> domid -> nativeint -> nativeint array 180 external get_cpu_featureset : handle -> featureset_index -> int64 array = "stub_xc_get_cpu_features… 205 -> string option array 206 -> string option array
|
A D | xenctrl.ml | 76 handle : int array; 146 external _domain_create: handle -> int32 -> domain_create_flag list -> int array -> arch_domainconf… 161 external _domain_sethandle: handle -> domid -> int array -> unit 202 external vcpu_affinity_set: handle -> domid -> int -> bool array -> unit 204 external vcpu_affinity_get: handle -> domid -> int -> bool array 230 external pcpu_info: handle -> int -> int64 array = "stub_xc_pcpu_info" 245 -> string option array 246 -> string option array 255 external domain_get_pfn_list: handle -> domid -> nativeint -> nativeint array 273 external get_cpu_featureset : handle -> featureset_index -> int64 array = "stub_xc_get_cpu_features…
|
A D | xenctrl_stubs.c | 46 #define string_of_option_array(array, index) \ argument 47 ((Field(array, index) == Val_none) ? NULL : String_val(Field(Field(array, index), 0))) 797 CAMLlocal2(array, tmp); in stub_xc_domain_cpuid_set() 810 array = caml_alloc(4, 0); in stub_xc_domain_cpuid_set() 817 Store_field(array, r, tmp); in stub_xc_domain_cpuid_set() 821 out_config[r] = (c_config[r]) ? String_val(Field(Field(array, r), 0)) : NULL; in stub_xc_domain_cpuid_set() 830 CAMLreturn(array); in stub_xc_domain_cpuid_set() 1051 CAMLlocal2(array, v); in stub_xc_domain_get_pfn_list() 1069 array = caml_alloc(ret, 0); in stub_xc_domain_get_pfn_list() 1072 Store_field(array, i, v); in stub_xc_domain_get_pfn_list() [all …]
|
/xen-4.10.0-shim-comet/docs/designs/ |
A D | dmop.markdown | 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-4.10.0-shim-comet/docs/features/ |
A D | intel_psr_cat_cdp.pandoc | 230 tain a COS array for all domains. One domain uses one COS at one time. One COS 299 feature property pointer array is declared to save every feature's 309 `type` is an array to save all 'enum cbm_type' values of the feature. 337 feature array. 352 `cos_reg_val` is an array to maintain the value set in all COS registers 353 of the feature. The array is indexed by COS ID. 377 `features` is a pointer array to save all enabled features poniters 386 `cos_ref` is an array which maintains the reference of one COS. It maps 389 a domain releases the COS, the reference will decrease by one. The array 461 2. Change 'feature list' to 'feature array'.
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xb/ |
A D | xb.mli | 27 val operation_c_mapping : operation array 29 val array_search : 'a -> 'a array -> int
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/tools/xl/ |
A D | xl_parse.c | 33 #define ARRAY_EXTEND_INIT__CORE(array,count,initfn,more) \ argument 37 (array) = xrealloc((array), sizeof(*array) * (count)); \ 38 (initfn)(&(array)[array_extend_old_count]); \ 40 &(array)[array_extend_old_count]; \ 43 #define ARRAY_EXTEND_INIT(array,count,initfn) \ argument 44 ARRAY_EXTEND_INIT__CORE((array),(count),(initfn), ({ \ 45 (array)[array_extend_old_count].devid = array_extend_old_count; \ 48 #define ARRAY_EXTEND_INIT_NODEVID(array,count,initfn) \ argument 49 ARRAY_EXTEND_INIT__CORE((array),(count),(initfn), /* nothing */ )
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | gdbstub.c | 77 const char array[] = "0123456789abcdef"; in hex2char() local 78 return array[x & 15]; in hex2char()
|
/xen-4.10.0-shim-comet/tools/blktap2/ |
A D | README | 215 dtypes array. Take care here - you need to place it in the position 218 devices in this array and pad with "&null_disk," as necessary. 226 And add your disk to the "blktap_disk_types" array near the top of 267 representing your driver. Two fields in this array are
|
/xen-4.10.0-shim-comet/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() 10387 || opt.interval.array.count != 1) in cmd_parser() 10428 || opt.interval.array.count != 1) in cmd_parser() 10442 || opt.interval.array.count != 1) in cmd_parser() [all …]
|
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | select.ml | 25 external select_on_poll: (Unix.file_descr * event) array -> int -> int = "stub_select_on_poll"
|
/xen-4.10.0-shim-comet/docs/specs/ |
A D | libxc-migration-stream.pandoc | 299 pfn An array of count PFNs and their types. 309 page set as present in the pfn array. 395 p2m_start_pfn First pfn index in the p2m_pfn array. 397 p2m_end_pfn Last pfn index in the p2m_pfn array.
|