| /tools/xenstored/ |
| A D | hashtable.c | 14 const void *k; member 93 unsigned int i = h->hashfn(k); in hash() 150 hashvalue = hash(h, k); in hashtable_search_entry() 157 if ((hashvalue == e->h) && (h->eqfn(k, e->k))) in hashtable_search_entry() 169 if (hashtable_search_entry(h, k)) in hashtable_add() 186 e->h = hash(h,k); in hashtable_add() 188 e->k = k; in hashtable_add() 190 talloc_steal(e, k); in hashtable_add() 203 e = hashtable_search_entry(h, k); in hashtable_search() 237 hashvalue = hash(h,k); in hashtable_remove() [all …]
|
| A D | hashtable.h | 46 hashtable_add(struct hashtable *h, const void *k, void *v); 62 hashtable_replace(struct hashtable *h, const void *k, void *v); 74 hashtable_search(const struct hashtable *h, const void *k); 85 hashtable_remove(struct hashtable *h, const void *k); 107 int (*func)(const void *k, void *v, void *arg), void *arg);
|
| A D | domain.c | 665 static int check_domain(const void *k, void *v, void *arg) in check_domain() argument 1423 static unsigned int domhash_fn(const void *k) in domhash_fn() argument 1425 return *(const unsigned int *)k; in domhash_fn() 1695 static int domain_reset_global_acc_sub(const void *k, void *v, void *arg) in domain_reset_global_acc_sub() argument 1991 static int dump_state_domain(const void *k, void *v, void *arg) in dump_state_domain() argument 2044 static int domain_check_acc_init_sub(const void *k, void *v, void *arg) in domain_check_acc_init_sub() argument 2100 static int domain_check_acc_cb(const void *k, void *v, void *arg) in domain_check_acc_cb() argument
|
| A D | core.c | 2291 static unsigned int hash_from_key_fn(const void *k) in hash_from_key_fn() argument 2293 const char *str = k; in hash_from_key_fn() 2329 char *k = talloc_strdup(NULL, str); in remember_string() local 2331 if (!k) in remember_string() 2333 return hashtable_add(hash, k, (void *)1); in remember_string()
|
| /tools/libs/light/ |
| A D | libxl_numa.c | 62 if (n < k) in comb_init() 66 GCNEW_ARRAY(new_iter, k); in comb_init() 67 for (i = 0; i < k; i++) in comb_init() 74 static int comb_next(comb_iter_t it, int n, int k) in comb_next() argument 96 for (i = k - 1; it[i] == n - k + i; i--) { in comb_next() 100 for (it[i]++, i++; i < k; i++) in comb_next() 131 if (m < k && n == it[m]) { in comb_get_nodemap() 190 int i, j, k; in nr_vcpus_on_nodes() local 241 libxl_for_each_set_bit(k, vinfo[j].cpumap) { in nr_vcpus_on_nodes() 242 if (k >= tinfo_elements) in nr_vcpus_on_nodes() [all …]
|
| A D | libxl_device.c | 1294 const char *k, *v; in device_hotplug() local 1297 for (x = 0; (k = env[x]); x += 2) { in device_hotplug() 1299 LOGD(DEBUG, aodev->dev->domid, "\t%s: %s", k, v); in device_hotplug() 1834 int i, j, k; in libxl_device_events_handler() local 1866 for (k = 0; k < ndevs; k++) { in libxl_device_events_handler() 1868 be_path, kinds[i], domains[j], devs[k]); in libxl_device_events_handler()
|
| A D | libxl_usb.c | 904 int i, j, k; in get_assigned_devices() local 935 for (k = 0; k < nd; k++) { in get_assigned_devices() 936 libxl_device_usbdev_copy(CTX, *list + *num, tmp + k); in get_assigned_devices()
|
| /tools/xl/ |
| A D | xl_vsnd.c | 104 int i, j, k, n; in main_vsndlist() local 145 for(k = 0; k < vsnds[i].pcms[j].num_vsnd_streams; k++) { in main_vsndlist() 146 libxl_vsnd_stream *stream = &vsnds[i].pcms[j].streams[k]; in main_vsndlist() 147 libxl_streaminfo *info = &vsndinfo.pcms[j].streams[k]; in main_vsndlist() 150 XENSND_FIELD_TYPE": %s", k, stream->unique_id, in main_vsndlist()
|
| A D | xl_parse.c | 1459 uint32_t start = 0, end = 0, k; in parse_config_data() local 1484 for (k = start; k <= end; k++) in parse_config_data() 1485 b_info->llc_colors[cur_index++] = k; in parse_config_data()
|
| /tools/ocaml/xenstored/ |
| A D | trie.mli | 27 (** [mem t k] returns true if a value is associated with the key [k] in the trie [t]. 31 (** [find t k] returns the value associated with the key [k] in the trie [t]. 32 Returns [Not_found] if no values are associated with [k] in [t]. *) 35 (** [set t k v] associates the value [v] with the key [k] in the trie [t]. *) 38 (** [unset k v] removes the association of value [v] with the key [k] in the trie [t].
|
| A D | config.ml | 61 | k :: v :: [] -> Some (trim_end lc k, trim_start lc v) 85 List.iter (fun (k, v) -> 88 | None -> append (k, err_msg) 92 if not (List.mem_assoc k expected) then 93 other k v 94 else let ty = List.assoc k expected in 106 | Not_found -> append (k, "unknown key") 107 | exn -> append (k, Printexc.to_string exn)
|
| A D | stdext.ml | 58 let find_opt k t = try Some (find k t) with Not_found -> None 60 let update k f t = 61 let r = find_opt k t in 65 | Some _, None -> remove k t 67 | _, Some r' -> add k r' t
|
| A D | xenstored.ml | 132 | Config.Error err as e -> List.iter (fun (k, e) -> 134 | "unknown key" -> eprintf "config: unknown key %s\n" k 135 | _ -> eprintf "config: %s: %s\n" k e
|
| A D | store.ml | 350 SymbolMap.fold (fun k _ accu -> Symbol.to_string k :: accu) children []
|
| /tools/tests/x86_emulator/ |
| A D | blowfish.c | 394 int i, j, k; in Blowfish_Init() local 405 for (k = 0; k < 4; ++k) { in Blowfish_Init()
|
| A D | simd-sha.c | 146 unsigned int k, r; in sha_test() local 242 k = rol_c(SHA(1rnds4, tmp, tmp, 1), 2)[0]; in sha_test() 246 y = rol_c(a, 5) + (b ^ c ^ d) + swap(src) + e + k; in sha_test()
|
| /tools/xentrace/ |
| A D | xenctx.c | 783 int k; in print_lines() local 809 for (k = j; k < xenctx.bytes_per_line / width; k++) in print_lines() 812 for (k = 0; k < j; k++) in print_lines() 815 unsigned char *bytep = (unsigned char *)&ascii[k]; in print_lines()
|
| A D | xenalyze.c | 1795 int j, k; in volume_summary() local 1807 for(k=0; k<HVM_VOL_MAX; k++) { in volume_summary() 1808 if(vol->hvm[k]) in volume_summary() 1810 hvm_vol_name[k], vol->hvm[k]); in volume_summary() 3037 int i,j, k; in hvm_pf_xen_summary() local 3063 int k; in hvm_pf_xen_summary() local 3064 for(k=0; k<5; k++) { in hvm_pf_xen_summary() 3066 " +[%d] ", k); in hvm_pf_xen_summary() 3076 for(k=0; k<PF_XEN_FIXUP_UNSYNC_RESYNC_MAX; k++) { in hvm_pf_xen_summary() 3078 " +[%3d] ", k); in hvm_pf_xen_summary() [all …]
|
| /tools/misc/ |
| A D | xenpm.c | 461 int i, j, k, ret; in signal_int_handler() local 623 for ( k = 0; k < core_nr; k++ ) in signal_int_handler() 628 cputopo[j].core == core_ids[k] ) in signal_int_handler() 631 printf("\t Core %d CPU %d\n", core_ids[k], j); in signal_int_handler()
|
| /tools/libfsimage/xfs/ |
| A D | fsys_xfs.c | 68 #define XFS_INO_MASK(k) ((xfs_uint32_t)((1ULL << (k)) - 1)) argument
|
| /tools/libs/guest/ |
| A D | xg_dom_x86.c | 1187 int i, j, k; in meminit_pv() local 1300 for ( k = 0; k < SUPERPAGE_2MB_NR_PFNS; k++, pfn++ ) in meminit_pv() 1301 dom->pv_p2m[pfn] = mfn + k; in meminit_pv()
|
| /tools/firmware/vgabios/ |
| A D | clext.c | 660 or al, #0x20 ;; enable 16k 832 call cirrus_extbios_85h ;; vram in 64k 922 call cirrus_extbios_85h ;; al=vram in 64k 1131 call cirrus_extbios_85h ;; al=vram in 64k
|
| A D | README | 130 . vgabios image size is now exactly 32k with a checksum
|
| A D | ChangeLog | 259 - enable 16k granularity for VBE only 314 - fixed possible overflow error if cirrus start address is >256k
|
| /tools/firmware/rombios/ |
| A D | rombios.c | 10494 ;; Video ROM: from 0xC0000..0xC7FFF in 2k increments 10495 ;; General ROM: from 0xC8000..0xE9FFF in 2k increments 10514 mov ax, #0x0004 ;; start with increment of 4 (512-byte) blocks = 2k 10522 ;; the nearest 2k quantity, since we only scan at 2k intervals.
|