/xen/xen/arch/x86/ |
A D | debug.c | 30 dbg_hvm_va2mfn(dbgva_t vaddr, struct domain *dp, int toaddr, gfn_t *gfn) in dbg_hvm_va2mfn() argument 36 *gfn = _gfn(paging_gva_to_gfn(dp->vcpu[0], vaddr, &pfec)); in dbg_hvm_va2mfn() 40 mfn = get_gfn(dp, gfn_x(*gfn), &gfntype); in dbg_hvm_va2mfn() 46 put_gfn(dp, gfn_x(*gfn)); in dbg_hvm_va2mfn() 67 dbg_pv_va2mfn(dbgva_t vaddr, struct domain *dp, uint64_t pgd3val) in dbg_pv_va2mfn() argument 73 unsigned long cr3 = (pgd3val ? pgd3val : dp->vcpu[0]->arch.cr3); in dbg_pv_va2mfn() 125 mfn = (is_hvm_domain(dp) in dbg_rw_guest_mem() 126 ? dbg_hvm_va2mfn(addr, dp, toaddr, &gfn) in dbg_rw_guest_mem() 127 : dbg_pv_va2mfn(addr, dp, pgd3)); in dbg_rw_guest_mem() 137 paging_mark_dirty(dp, mfn); in dbg_rw_guest_mem() [all …]
|
/xen/tools/libfsimage/common/ |
A D | fsimage_plugin.c | 125 struct dirent *dp = NULL; in load_plugins() local 146 dp = readdir(dir); in load_plugins() 148 if (dp == NULL && errno != 0) in load_plugins() 151 if (dp == NULL) in load_plugins() 154 if (strcmp(dp->d_name, ".") == 0) in load_plugins() 156 if (strcmp(dp->d_name, "..") == 0) in load_plugins() 160 dp->d_name); in load_plugins() 173 free(dp); in load_plugins()
|
/xen/tools/libfsimage/ext2fs/ |
A D | fsys_ext2fs.c | 865 loc += dp->rec_len; in ext2fs_dir() 870 printf ("directory entry ino=%d\n", dp->inode); in ext2fs_dir() 871 if (dp->inode) in ext2fs_dir() 872 printf ("entry=%s\n", dp->name); in ext2fs_dir() 875 if (dp->inode) in ext2fs_dir() 877 int saved_c = dp->name[dp->name_len]; in ext2fs_dir() 879 dp->name[dp->name_len] = 0; in ext2fs_dir() 880 str_chk = substring (dirname, dp->name); in ext2fs_dir() 888 print_a_completion (dp->name); in ext2fs_dir() 892 dp->name[dp->name_len] = saved_c; in ext2fs_dir() [all …]
|
/xen/tools/libfsimage/ufs/ |
A D | fsys_ufs.c | 233 struct direct *dp; in dlook() local 257 dp = (struct direct *)(DIRENT + off); in dlook() 258 if (dp->d_ino && substring(name, dp->d_name) == 0) in dlook() 259 return (dp->d_ino); in dlook() 260 loc += dp->d_reclen; in dlook()
|
/xen/tools/xenstat/libxenstat/src/ |
A D | xenstat_linux.c | 414 struct dirent *dp; in xenstat_collect_vbds() local 435 for(dp = readdir(priv->sysfsvbd); dp != NULL ; in xenstat_collect_vbds() 436 dp = readdir(priv->sysfsvbd)) { in xenstat_collect_vbds() 443 ret = sscanf(dp->d_name, "%3s-%u-%u", buf, &domid, &vbd.dev); in xenstat_collect_vbds() 470 if ((read_attributes_vbd(dp->d_name, "statistics/oo_req", buf, 256)<=0) || in xenstat_collect_vbds() 472 (read_attributes_vbd(dp->d_name, "statistics/rd_req", buf, 256)<=0) || in xenstat_collect_vbds() 474 (read_attributes_vbd(dp->d_name, "statistics/wr_req", buf, 256)<=0) || in xenstat_collect_vbds() 476 (read_attributes_vbd(dp->d_name, "statistics/rd_sect", buf, 256)<=0) || in xenstat_collect_vbds() 478 (read_attributes_vbd(dp->d_name, "statistics/wr_sect", buf, 256)<=0) || in xenstat_collect_vbds()
|
/xen/xen/arch/x86/x86_64/ |
A D | cpu_idle.c | 55 if ( unlikely(!compat_handle_okay((_s_)->dp, (_s_)->dpcnt)) ) \ in copy_from_compat_state() 57 guest_from_compat_handle((_d_)->dp, (_s_)->dp); \ in copy_from_compat_state()
|
/xen/xen/common/efi/ |
A D | boot.c | 480 EFI_DEVICE_PATH *dp; in get_parent_handle() local 499 for ( dp = loaded_image->FilePath, *buffer = 0; in get_parent_handle() 500 DevicePathType(dp) != END_DEVICE_PATH_TYPE; in get_parent_handle() 501 dp = (void *)dp + DevicePathNodeLength(dp) ) in get_parent_handle() 505 if ( DevicePathType(dp) != MEDIA_DEVICE_PATH || in get_parent_handle() 506 DevicePathSubType(dp) != MEDIA_FILEPATH_DP ) in get_parent_handle() 523 fp = (void *)dp; in get_parent_handle() 524 if ( BUFFERSIZE < DevicePathNodeLength(dp) - in get_parent_handle() 525 sizeof(*dp) + sizeof(*buffer) ) in get_parent_handle() 527 memcpy(buffer, fp->PathName, DevicePathNodeLength(dp) - sizeof(*dp)); in get_parent_handle() [all …]
|
/xen/xen/include/asm-arm/ |
A D | page.h | 146 #define copy_page(dp, sp) memcpy(dp, sp, PAGE_SIZE) argument
|
/xen/xen/arch/x86/cpu/ |
A D | intel_cacheinfo.c | 177 unsigned char *dp = (unsigned char *)regs; in init_intel_cacheinfo() local 196 unsigned char des = dp[j]; in init_intel_cacheinfo()
|
/xen/xen/arch/x86/acpi/ |
A D | cpu_idle.c | 1252 xen_processor_csd_t dp; in print_cx_pminfo() local 1279 csd = state.dp; in print_cx_pminfo() 1284 if ( unlikely(copy_from_guest(&dp, csd, 1)) ) in print_cx_pminfo() 1286 printk("\t\t\tdomain = %d\n", dp.domain); in print_cx_pminfo() 1287 printk("\t\t\tcoord_type = %d\n", dp.coord_type); in print_cx_pminfo() 1288 printk("\t\t\tnum = %d\n", dp.num); in print_cx_pminfo()
|
/xen/stubdom/grub.patches/ |
A D | 99minios | 897 -etherboot_vsprintf (char *buf, const char *fmt, const int *dp) 906 - for (p = (char *) *dp++; *p != '\0'; p++) 915 - const long *lp = (const long *) dp; 920 - dp = (const int *) lp; 928 - int i = *dp++; 937 - const long *lp = (const long *) dp; 940 - dp = (const int *) lp; 949 - p = (char *) *dp++; 958 - *q++ = *dp++;
|
/xen/tools/libxl/ |
A D | libxl_usb.c | 1358 char *spath, *dp = NULL; in usbintf_get_drvpath() local 1363 dp = libxl__zalloc(gc, PATH_MAX); in usbintf_get_drvpath() 1364 dp = realpath(spath, dp); in usbintf_get_drvpath() 1365 if (!dp && errno != ENOENT) { in usbintf_get_drvpath() 1370 *drvpath = dp; in usbintf_get_drvpath()
|
A D | libxl_pci.c | 465 char * spath, *dp = NULL; in sysfs_dev_unbind() local 475 dp = libxl__zalloc(gc, PATH_MAX); in sysfs_dev_unbind() 476 dp = realpath(spath, dp); in sysfs_dev_unbind() 477 if ( !dp ) { in sysfs_dev_unbind() 482 LOG(DEBUG, "Driver re-plug path: %s", dp); in sysfs_dev_unbind() 485 spath = GCSPRINTF("%s/unbind", dp); in sysfs_dev_unbind() 493 *driver_path = dp; in sysfs_dev_unbind()
|
/xen/xen/include/public/ |
A D | platform.h | 410 XEN_GUEST_HANDLE(xen_processor_csd_t) dp; /* NULL if no dependency */
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.h | 121 unsigned long ip, dp; member
|
A D | x86_emulate.c | 1499 aux.dp = state->ea.mem.off; in put_fpu()
|
/xen/xen/arch/x86/hvm/ |
A D | emulate.c | 2434 fpu_ctxt->fdp.addr = aux->dp; in hvmemul_put_fpu() 2443 fpu_ctxt->fdp.offs = aux->dp; in hvmemul_put_fpu() 2452 fpu_ctxt->fdp.addr = aux->dp | (aux->ds << 4); in hvmemul_put_fpu()
|