/xen/xen/common/ |
A D | notifier.c | 25 struct notifier_block *nb; in notifier_chain_register() local 29 nb = list_entry(chain->next, struct notifier_block, chain); in notifier_chain_register() 30 if ( n->priority > nb->priority ) in notifier_chain_register() 74 struct notifier_block *nb = NULL; in notifier_call_chain() local 83 nb = list_entry(cursor, struct notifier_block, chain); in notifier_call_chain() 84 ret = nb->notifier_call(nb, val, v); in notifier_call_chain() 88 *pcursor = nb; in notifier_call_chain()
|
A D | cpu.c | 68 void __init register_cpu_notifier(struct notifier_block *nb) in register_cpu_notifier() argument 71 notifier_chain_register(&cpu_chain, nb); in register_cpu_notifier() 76 struct notifier_block **nb, bool nofail) in cpu_notifier_call_chain() argument 79 int notifier_rc = notifier_call_chain(&cpu_chain, action, hcpu, nb); in cpu_notifier_call_chain() 102 struct notifier_block *nb = NULL; in cpu_down() local 114 err = cpu_notifier_call_chain(cpu, CPU_DOWN_PREPARE, &nb, false); in cpu_down() 134 cpu_notifier_call_chain(cpu, CPU_DOWN_FAILED, &nb, true); in cpu_down() 143 struct notifier_block *nb = NULL; in cpu_up() local 155 err = cpu_notifier_call_chain(cpu, CPU_UP_PREPARE, &nb, false); in cpu_up() 171 cpu_notifier_call_chain(cpu, CPU_UP_CANCELED, &nb, true); in cpu_up()
|
A D | inflate.c | 837 unsigned nb; /* number of bit length codes */ in inflate_dynamic() local 869 nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ in inflate_dynamic() 884 for (j = 0; j < nb; j++) in inflate_dynamic()
|
/xen/tools/libfsimage/ufs/ |
A D | fsys_ufs.c | 171 grub_daddr32_t nb, blkno; in sbmap() local 192 nb = INODE->ic_ib[level]; in sbmap() 193 if (nb == 0) { in sbmap() 196 if (indirblk0 != nb) { in sbmap() 202 indirblk0 = nb; in sbmap() 206 nb = INDIRBLK0[index]; in sbmap() 210 if (indirblk1 != nb) { in sbmap() 215 indirblk1 = nb; in sbmap() 219 nb = INDIRBLK1[index]; in sbmap() 220 if (nb == 0) in sbmap() [all …]
|
/xen/tools/ocaml/xenstored/ |
A D | quota.ml | 62 let set_entry quota id nb = 63 if nb = 0 67 Hashtbl.replace quota.cur id nb 69 Hashtbl.add quota.cur id nb 74 let nb = get_entry quota id in 75 set_entry quota id (nb - 1) 79 let nb = try get_entry quota id with Not_found -> 0 in 80 set_entry quota id (nb + 1) 83 Hashtbl.iter (fun id nb -> set_entry quota id (get_entry quota id + nb)) diff.cur 86 Hashtbl.iter (fun id nb -> let diff = nb - (try get_entry orig_quota id with Not_found -> 0) in
|
A D | oxenstored.conf.in | 72 # xenstored-log-nb-files = 10 76 # access-log-nb-lines = 13215 77 # acesss-log-nb-chars = 180
|
A D | xenstored.ml | 111 ("xenstored-log-nb-files", Config.Set_int Logging.xenstored_log_nb_files); 112 ("xenstored-log-nb-lines", Config.Set_int Logging.xenstored_log_nb_lines); 113 ("xenstored-log-nb-chars", Config.Set_int Logging.xenstored_log_nb_chars); 115 ("access-log-nb-files", Config.Set_int Logging.access_log_nb_files); 116 ("access-log-nb-lines", Config.Set_int Logging.access_log_nb_lines); 117 ("access-log-nb-chars", Config.Set_int Logging.access_log_nb_chars);
|
/xen/tools/libxl/ |
A D | libxl_vtpm.c | 162 int nb, i; in libxl_devid_to_device_vtpm() local 165 vtpms = libxl__device_list(gc, &libxl__vtpm_devtype, domid, &nb); in libxl_devid_to_device_vtpm() 171 for (i = 0; i < nb; ++i) { in libxl_devid_to_device_vtpm() 181 libxl__device_list_free(&libxl__vtpm_devtype, vtpms, nb); in libxl_devid_to_device_vtpm() 197 int nb, i; in libxl_uuid_to_device_vtpm() local 200 vtpms = libxl__device_list(gc, &libxl__vtpm_devtype, domid, &nb); in libxl_uuid_to_device_vtpm() 206 for (i = 0; i < nb; ++i) { in libxl_uuid_to_device_vtpm() 216 libxl__device_list_free(&libxl__vtpm_devtype, vtpms, nb); in libxl_uuid_to_device_vtpm()
|
A D | libxl_xshelp.c | 157 const char *path, unsigned int *nb) in libxl__xs_directory() argument 161 ret = xs_directory(ctx->xsh, t, path, nb); in libxl__xs_directory() 285 unsigned int nb = 0; in libxl__xs_path_cleanup() local 308 if (!libxl__xs_directory(gc, t, path, &nb) || nb != 0) break; in libxl__xs_path_cleanup()
|
A D | libxl_nic.c | 25 int nb, rc, i; in libxl_mac_to_device_nic() local 32 nics = libxl__device_list(gc, &libxl__nic_devtype, domid, &nb); in libxl_mac_to_device_nic() 39 for (i = 0; i < nb; ++i) { in libxl_mac_to_device_nic() 49 for (; i<nb; i++) in libxl_mac_to_device_nic()
|
A D | libxl_device.c | 1423 unsigned int nb; in libxl__device_nextid() local 1431 libxl__device_kind_to_string(device)), &nb); in libxl__device_nextid() 1432 if (l == NULL || nb == 0) in libxl__device_nextid() 1435 nextid = strtoul(l[nb - 1], NULL, 10) + 1; in libxl__device_nextid()
|
A D | libxl_internal.h | 958 const char *path, unsigned int *nb);
|
/xen/tools/xl/ |
A D | xl_block.c | 63 int i, nb; in main_blocklist() local 79 disks = libxl_device_disk_list(ctx, domid, &nb); in main_blocklist() 83 for (i=0; i<nb; i++) { in main_blocklist() 92 libxl_device_disk_list_free(disks, nb); in main_blocklist()
|
A D | xl_vtpm.c | 79 int nb, i; in main_vtpmlist() local 94 if (!(vtpms = libxl_device_vtpm_list(ctx, domid, &nb))) { in main_vtpmlist() 97 for (i = 0; i < nb; ++i) { in main_vtpmlist() 109 libxl_device_vtpm_list_free(vtpms, nb); in main_vtpmlist()
|
A D | xl_vkb.c | 87 int nb, i; in main_vkblist() local 99 vkbs = libxl_device_vkb_list(ctx, domid, &nb); in main_vkblist() 103 for (i = 0; i < nb; ++i) { in main_vkblist() 114 libxl_device_vkb_list_free(vkbs, nb); in main_vkblist()
|
A D | xl_nic.c | 100 int nb, i; in main_networklist() local 111 nics = libxl_device_nic_list(ctx, domid, &nb); in main_networklist() 115 for (i = 0; i < nb; ++i) { in main_networklist() 128 libxl_device_nic_list_free(nics, nb); in main_networklist()
|
A D | xl_console.c | 88 int nb, i; in main_channellist() local 99 channels = libxl_device_channel_list(ctx, domid, &nb); in main_channellist() 102 for (i = 0; i < nb; ++i) { in main_channellist()
|
/xen/tools/firmware/rombios/32bit/ |
A D | pmm.c | 247 memblk_t *nb = mb->next; in collect_avail_memblks() local 249 for_remain_memblk ( heap, nb ) in collect_avail_memblks() 250 if ( memblk_is_inuse(nb) ) in collect_avail_memblks() 252 mb->next = nb; in collect_avail_memblks() 432 memblk_t *nb = mb->next; in pmmAllocate() local 434 for_remain_memblk(heap, nb) in pmmAllocate() 435 if (nb->handle == handle) in pmmAllocate()
|
/xen/xen/include/xen/ |
A D | notifier.h | 40 struct notifier_head *nh, struct notifier_block *nb); 42 struct notifier_head *nh, struct notifier_block *nb);
|
A D | cpu.h | 17 void register_cpu_notifier(struct notifier_block *nb);
|
/xen/tools/ocaml/libs/xl/ |
A D | xenlight_stubs.c | 732 int i, nb; in stub_xl_device_nic_list() local 743 for (i = 0; i < nb; i++) { in stub_xl_device_nic_list() 750 libxl_device_nic_list_free(c_list, nb); in stub_xl_device_nic_list() 760 int i, nb; in stub_xl_device_disk_list() local 771 for (i = 0; i < nb; i++) { in stub_xl_device_disk_list() 809 int i, nb; in stub_xl_device_pci_list() local 820 for (i = 0; i < nb; i++) { in stub_xl_device_pci_list() 880 int i, nb; in stub_xl_device_pci_assignable_list() local 891 for (i = 0; i < nb; i++) { in stub_xl_device_pci_assignable_list() 960 int i, nb; in stub_xl_dominfo_list() local [all …]
|
/xen/tools/ocaml/libs/xc/ |
A D | xenctrl.ml | 202 let nb = 2 in 205 let l = _domain_getinfolist handle from nb in 206 (if List.length l = nb then __getlist (last_domid l) else []) @ l
|
A D | xenctrl_stubs.c | 407 CAMLprim value stub_xc_domain_getinfolist(value xch, value first_domain, value nb) in stub_xc_domain_getinfolist() argument 409 CAMLparam3(xch, first_domain, nb); in stub_xc_domain_getinfolist() 417 toalloc = (sizeof(xc_domaininfo_t) * Int_val(nb)) | 0xfff; in stub_xc_domain_getinfolist() 425 c_max_domains = Int_val(nb); in stub_xc_domain_getinfolist()
|
/xen/docs/misc/ |
A D | x86-xenpv-bootloader.pandoc | 34 * `i386` (nb only `i386`, not `i686` etc), corresponding to the Xen
|