Home
last modified time | relevance | path

Searched refs:par (Results 1 – 21 of 21) sorted by relevance

/xen/tools/tests/xenstore/
A Dxs-test.c42 int (*func_init)(uintptr_t par);
43 int (*func)(uintptr_t par);
45 uintptr_t par; member
91 ret = tst->func(tst->par); in call_test()
144 static int ret0(uintptr_t par) in ret0() argument
212 static int test_dir(uintptr_t par) in test_dir() argument
253 if ( par > WRITE_BUFFERS_N ) in test_rm_init()
256 for ( i = 0; i < par; i++ ) in test_rm_init()
263 static int test_rm(uintptr_t par) in test_rm() argument
275 static int test_ta1(uintptr_t par) in test_ta1() argument
[all …]
/xen/xen/include/asm-arm/arm64/
A Dpage.h51 uint64_t par, tmp = READ_SYSREG64(PAR_EL1); in __va_to_par() local
55 par = READ_SYSREG64(PAR_EL1); in __va_to_par()
57 return par; in __va_to_par()
63 uint64_t par, tmp = READ_SYSREG64(PAR_EL1); in gva_to_ma_par() local
70 par = READ_SYSREG64(PAR_EL1); in gva_to_ma_par()
72 return par; in gva_to_ma_par()
77 uint64_t par, tmp = READ_SYSREG64(PAR_EL1); in gva_to_ipa_par() local
84 par = READ_SYSREG64(PAR_EL1); in gva_to_ipa_par()
86 return par; in gva_to_ipa_par()
/xen/xen/include/asm-arm/arm32/
A Dpage.h67 uint64_t par, tmp; in __va_to_par() local
71 par = READ_CP64(PAR); in __va_to_par()
73 return par; in __va_to_par()
79 uint64_t par, tmp; in gva_to_ma_par() local
86 par = READ_CP64(PAR); in gva_to_ma_par()
88 return par; in gva_to_ma_par()
92 uint64_t par, tmp; in gva_to_ipa_par() local
99 par = READ_CP64(PAR); in gva_to_ipa_par()
101 return par; in gva_to_ipa_par()
/xen/tools/xenstore/
A Dxenstore_control.c11 char *par = NULL; in main() local
26 par = malloc(len); in main()
27 if (!par) { in main()
34 memcpy(par + len, argv[p], strlen(argv[p]) + 1); in main()
46 ret = xs_control_command(xsh, argv[1], par, len); in main()
65 free(par); in main()
/xen/xen/include/asm-arm/
A Dpage.h267 uint64_t par = __va_to_par(va); in va_to_par() local
269 if ( par & PAR_F ) in va_to_par()
272 panic_PAR(par); in va_to_par()
274 return par; in va_to_par()
279 uint64_t par = gva_to_ipa_par(va, flags); in gva_to_ipa() local
280 if ( par & PAR_F ) in gva_to_ipa()
282 *paddr = (par & PADDR_MASK & PAGE_MASK) | ((unsigned long) va & ~PAGE_MASK); in gva_to_ipa()
A Dmm.h245 uint64_t par = va_to_par(va); in __virt_to_maddr() local
246 return (par & PADDR_MASK & PAGE_MASK) | (va & ~PAGE_MASK); in __virt_to_maddr()
276 uint64_t par = gva_to_ma_par(va, flags); in gvirt_to_maddr() local
277 if ( par & PAR_F ) in gvirt_to_maddr()
278 return par; in gvirt_to_maddr()
279 *pa = (par & PADDR_MASK & PAGE_MASK) | ((unsigned long) va & ~PAGE_MASK); in gvirt_to_maddr()
A Ddomain.h150 uint64_t par; member
A Dprocessor.h517 void panic_PAR(uint64_t par);
/xen/xen/include/xen/
A Dparam.h26 } par; member
46 .par.func = _var }
54 .par.var = &_var }
61 .par.var = &_var }
68 .par.var = &_var }
75 .par.var = &_var }
86 void (*init_leaf)(struct param_hypfs *par);
106 #define param_2_parfs(par) &__parfs_##par argument
/xen/xen/common/
A Dspinlock.c355 static void spinlock_profile_iterate(lock_profile_subfunc *sub, void *par) in spinlock_profile_iterate() argument
365 sub(eq, i, hq->idx, par); in spinlock_profile_iterate()
370 int32_t type, int32_t idx, void *par) in spinlock_profile_print_elem() argument
399 int32_t type, int32_t idx, void *par) in spinlock_profile_reset_elem() argument
423 int32_t type, int32_t idx, void *par) in spinlock_profile_ucopy_elem() argument
425 spinlock_profile_ucopy_t *p = par; in spinlock_profile_ucopy_elem()
452 spinlock_profile_ucopy_t par; in spinlock_profile_control() local
461 par.rc = 0; in spinlock_profile_control()
462 par.pc = pc; in spinlock_profile_control()
463 spinlock_profile_iterate(spinlock_profile_ucopy_elem, &par); in spinlock_profile_control()
[all …]
A Dkernel.c35 *(uint8_t *)param->par.var = val; in assign_integer_param()
40 *(uint16_t *)param->par.var = val; in assign_integer_param()
45 *(uint32_t *)param->par.var = val; in assign_integer_param()
48 *(uint64_t *)param->par.var = val; in assign_integer_param()
118 rctmp = param->par.func(q); in parse_params()
131 strlcpy(param->par.var, optval, param->len); in parse_params()
165 rctmp = param->par.func(optval); in parse_params()
A Dgrant_table.c96 static void update_gnttab_par(unsigned int val, struct param_hypfs *par, in update_gnttab_par() argument
100 custom_runtime_set_var_sz(par, parval, GRANT_CUSTOM_VAL_SZ); in update_gnttab_par()
103 static void __init gnttab_max_frames_init(struct param_hypfs *par) in gnttab_max_frames_init() argument
105 update_gnttab_par(opt_max_grant_frames, par, opt_max_grant_frames_val); in gnttab_max_frames_init()
108 static void __init max_maptrack_frames_init(struct param_hypfs *par) in max_maptrack_frames_init() argument
110 update_gnttab_par(opt_max_maptrack_frames, par, in max_maptrack_frames_init()
117 static void update_gnttab_par(unsigned int val, struct param_hypfs *par, in update_gnttab_par() argument
124 struct param_hypfs *par, char *parval) in parse_gnttab_limit() argument
137 update_gnttab_par(val, par, parval); in parse_gnttab_limit()
/xen/tools/libxl/
A Dlibxl.c666 char *par, *val, *end, *path; in libxl_set_parameters() local
679 for (par = params; *par; par = end) { in libxl_set_parameters()
680 end = strchr(par, ' '); in libxl_set_parameters()
682 end = par + strlen(par); in libxl_set_parameters()
684 val = strchr(par, '='); in libxl_set_parameters()
687 if (!val && !strncmp(par, "no", 2)) { in libxl_set_parameters()
688 path = libxl__sprintf(gc, "/params/%s", par + 2); in libxl_set_parameters()
689 path[end - par - 2 + 8] = 0; in libxl_set_parameters()
691 par += 2; in libxl_set_parameters()
693 path = libxl__sprintf(gc, "/params/%s", par); in libxl_set_parameters()
[all …]
/xen/xen/include/asm-x86/hvm/
A Dtrace.h61 #define TRC_PAR_LONG(par) ((par)&0xFFFFFFFF),((par)>>32) argument
/xen/xen/drivers/char/
A Dconsole.c91 static void con_timestamp_mode_upd(struct param_hypfs *par) in con_timestamp_mode_upd() argument
95 custom_runtime_set_var_sz(par, val, 7); in con_timestamp_mode_upd()
98 #define con_timestamp_mode_upd(par) argument
178 static void __init xenlog_init(struct param_hypfs *par) in xenlog_init() argument
181 custom_runtime_set_var(par, xenlog_val); in xenlog_init()
184 static void __init xenlog_guest_init(struct param_hypfs *par) in xenlog_guest_init() argument
188 custom_runtime_set_var(par, xenlog_guest_val); in xenlog_guest_init()
/xen/tools/tests/vhpet/
A Demul.h390 #define TRC_PAR_LONG(par) ((par)&0xFFFFFFFF),((par)>>32) argument
/xen/xen/arch/x86/pv/
A Ddomain.c66 static void __init opt_pcid_init(struct param_hypfs *par) in opt_pcid_init() argument
68 custom_runtime_set_var(par, opt_pcid_2_string[opt_pcid]); in opt_pcid_init()
/xen/xen/arch/arm/
A Dtraps.c365 void panic_PAR(uint64_t par) in panic_PAR() argument
369 int stage = par & PAR_STAGE2 ? 2 : 1; in panic_PAR()
370 int second_in_first = !!(par & PAR_STAGE21); in panic_PAR()
372 msg = decode_fsc( (par&PAR_FSC_MASK) >> PAR_FSC_SHIFT, &level); in panic_PAR()
375 par, msg, in panic_PAR()
A Ddomain.c138 p->arch.par = READ_SYSREG64(PAR_EL1); in ctxt_switch_from()
225 WRITE_SYSREG64(n->arch.par, PAR_EL1); in ctxt_switch_to()
A Dp2m.c1828 uint64_t par; in get_page_from_gva() local
1844 par = gvirt_to_maddr(va, &maddr, flags); in get_page_from_gva()
1865 if ( par ) in get_page_from_gva()
/xen/xen/arch/x86/hvm/vmx/
A Dvmcs.c110 static void __init init_ept_param(struct param_hypfs *par) in init_ept_param() argument
113 custom_runtime_set_var(par, opt_ept_setting); in init_ept_param()

Completed in 42 milliseconds