Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/common/
A Dnotifier.c25 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; in notifier_call_chain() local
81 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 Dcpu.c62 void __init register_cpu_notifier(struct notifier_block *nb) in register_cpu_notifier() argument
66 notifier_chain_register(&cpu_chain, nb); in register_cpu_notifier()
83 struct notifier_block *nb = NULL; in cpu_down() local
94 notifier_rc = notifier_call_chain(&cpu_chain, CPU_DOWN_PREPARE, hcpu, &nb); in cpu_down()
115 notifier_rc = notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED, hcpu, &nb); in cpu_down()
125 struct notifier_block *nb = NULL; in cpu_up() local
136 notifier_rc = notifier_call_chain(&cpu_chain, CPU_UP_PREPARE, hcpu, &nb); in cpu_up()
156 notifier_rc = notifier_call_chain(&cpu_chain, CPU_UP_CANCELED, hcpu, &nb); in cpu_up()
A Dinflate.c837 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-4.10.0-shim-comet/tools/libfsimage/ufs/
A Dfsys_ufs.c171 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-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dquota.ml62 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 Doxenstored.conf.in61 # xenstored-log-nb-files = 10
65 # access-log-nb-lines = 13215
66 # acesss-log-nb-chars = 180
A Dxenstored.ml109 ("xenstored-log-nb-files", Config.Set_int Logging.xenstored_log_nb_files);
110 ("xenstored-log-nb-lines", Config.Set_int Logging.xenstored_log_nb_lines);
111 ("xenstored-log-nb-chars", Config.Set_int Logging.xenstored_log_nb_chars);
113 ("access-log-nb-files", Config.Set_int Logging.access_log_nb_files);
114 ("access-log-nb-lines", Config.Set_int Logging.access_log_nb_lines);
115 ("access-log-nb-chars", Config.Set_int Logging.access_log_nb_chars);
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/compat-include/xen/
A Dplatform-compat.h58 #define atomic_notifier_chain_register(chain,nb) notifier_chain_register(chain,nb) argument
59 #define atomic_notifier_chain_unregister(chain,nb) notifier_chain_unregister(chain,nb) argument
65 #define blocking_notifier_chain_register(chain,nb) notifier_chain_register(chain,nb) argument
66 #define blocking_notifier_chain_unregister(chain,nb) notifier_chain_unregister(chain,nb) argument
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_vtpm.c178 int nb, i; in libxl_devid_to_device_vtpm() local
181 vtpms = libxl__device_list(gc, &libxl__vtpm_devtype, domid, &nb); in libxl_devid_to_device_vtpm()
187 for (i = 0; i < nb; ++i) { in libxl_devid_to_device_vtpm()
197 libxl__device_list_free(&libxl__vtpm_devtype, vtpms, nb); in libxl_devid_to_device_vtpm()
213 int nb, i; in libxl_uuid_to_device_vtpm() local
216 vtpms = libxl__device_list(gc, &libxl__vtpm_devtype, domid, &nb); in libxl_uuid_to_device_vtpm()
222 for (i = 0; i < nb; ++i) { in libxl_uuid_to_device_vtpm()
232 libxl__device_list_free(&libxl__vtpm_devtype, vtpms, nb); in libxl_uuid_to_device_vtpm()
A Dlibxl_xshelp.c157 const char *path, unsigned int *nb) in libxl__xs_directory() argument
161 ret = xs_directory(ctx->xsh, t, path, nb); in libxl__xs_directory()
287 unsigned int nb = 0; in libxl__xs_path_cleanup() local
310 if (!libxl__xs_directory(gc, t, path, &nb) || nb != 0) break; in libxl__xs_path_cleanup()
A Dlibxl_nic.c25 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 Dlibxl_usb.c713 int nb = 0; in libxl_devid_to_device_usbctrl() local
716 usbctrls = libxl_device_usbctrl_list(ctx, domid, &nb); in libxl_devid_to_device_usbctrl()
720 for (i = 0; i < nb; i++) { in libxl_devid_to_device_usbctrl()
728 libxl_device_usbctrl_list_free(usbctrls, nb); in libxl_devid_to_device_usbctrl()
A Dlibxl_device.c1397 unsigned int nb; in libxl__device_nextid() local
1405 &nb); in libxl__device_nextid()
1406 if (l == NULL || nb == 0) in libxl__device_nextid()
1409 nextid = strtoul(l[nb - 1], NULL, 10) + 1; in libxl__device_nextid()
A Dlibxl_internal.h726 const char *path, unsigned int *nb);
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_block.c63 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 Dxl_vtpm.c79 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 Dxl_nic.c100 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 Dxl_console.c88 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-4.10.0-shim-comet/tools/firmware/rombios/32bit/
A Dpmm.c247 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-4.10.0-shim-comet/xen/include/xen/
A Dnotifier.h41 struct notifier_head *nh, struct notifier_block *nb);
43 struct notifier_head *nh, struct notifier_block *nb);
A Dcpu.h17 void register_cpu_notifier(struct notifier_block *nb);
/xen-4.10.0-shim-comet/tools/ocaml/libs/xl/
A Dxenlight_stubs.c720 int i, nb; in stub_xl_device_nic_list() local
731 for (i = 0; i < nb; i++) { in stub_xl_device_nic_list()
738 libxl_device_nic_list_free(c_list, nb); in stub_xl_device_nic_list()
748 int i, nb; in stub_xl_device_disk_list() local
759 for (i = 0; i < nb; i++) { in stub_xl_device_disk_list()
797 int i, nb; in stub_xl_device_pci_list() local
808 for (i = 0; i < nb; i++) { in stub_xl_device_pci_list()
868 int i, nb; in stub_xl_device_pci_assignable_list() local
879 for (i = 0; i < nb; i++) { in stub_xl_device_pci_assignable_list()
948 int i, nb; in stub_xl_dominfo_list() local
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/
A Dxenctrl.ml182 let nb = 2 in
185 let l = _domain_getinfolist handle from nb in
186 (if List.length l = nb then __getlist (last_domid l) else []) @ l
A Dxenctrl_stubs.c348 CAMLprim value stub_xc_domain_getinfolist(value xch, value first_domain, value nb) in stub_xc_domain_getinfolist() argument
350 CAMLparam3(xch, first_domain, nb); in stub_xc_domain_getinfolist()
358 toalloc = (sizeof(xc_domaininfo_t) * Int_val(nb)) | 0xfff; in stub_xc_domain_getinfolist()
366 c_max_domains = Int_val(nb); in stub_xc_domain_getinfolist()
/xen-4.10.0-shim-comet/docs/misc/
A Dx86-xenpv-bootloader.markdown34 * i386 (nb only i386, not i686 etc), corresponding to the Xen

Completed in 41 milliseconds