Home
last modified time | relevance | path

Searched full:vm (Results 1 – 25 of 1533) sorted by relevance

12345678910>>...62

/freebsd/sys/riscv/vmm/
H A Dvmm.c51 #include <vm/vm.h>
52 #include <vm/vm_object.h>
53 #include <vm/vm_page.h>
54 #include <vm/pmap.h>
55 #include <vm/vm_map.h>
56 #include <vm/vm_extern.h>
57 #include <vm/vm_param.h>
65 #include <machine/vm.h>
89 struct vm *vm; /* (o) */ member
130 * (o) initialized the first time the VM is created
[all …]
/freebsd/sys/kern/
H A Dsubr_vmem.c64 #include <vm/uma.h>
65 #include <vm/vm.h>
66 #include <vm/pmap.h>
67 #include <vm/vm_map.h>
68 #include <vm/vm_object.h>
69 #include <vm/vm_kern.h>
70 #include <vm/vm_extern.h>
71 #include <vm/vm_param.h>
72 #include <vm/vm_pag
197 VMEM_CONDVAR_INIT(vm,wchan) global() argument
198 VMEM_CONDVAR_DESTROY(vm) global() argument
199 VMEM_CONDVAR_WAIT(vm) global() argument
200 VMEM_CONDVAR_BROADCAST(vm) global() argument
202 VMEM_LOCK(vm) global() argument
203 VMEM_TRYLOCK(vm) global() argument
204 VMEM_UNLOCK(vm) global() argument
205 VMEM_LOCK_INIT(vm,name) global() argument
206 VMEM_LOCK_DESTROY(vm) global() argument
207 VMEM_ASSERT_LOCKED(vm) global() argument
268 _bt_fill(vmem_t * vm,int flags) _bt_fill() argument
309 bt_fill(vmem_t * vm,int flags) bt_fill() argument
320 bt_alloc(vmem_t * vm) bt_alloc() argument
338 bt_freetrim(vmem_t * vm,int freelimit) bt_freetrim() argument
359 bt_free(vmem_t * vm,bt_t * bt) bt_free() argument
373 bt_save(vmem_t * vm) bt_save() argument
381 bt_restore(vmem_t * vm) bt_restore() argument
400 bt_freehead_tofree(vmem_t * vm,vmem_size_t size) bt_freehead_tofree() argument
422 bt_freehead_toalloc(vmem_t * vm,vmem_size_t size,int strat) bt_freehead_toalloc() argument
443 bt_hashhead(vmem_t * vm,vmem_addr_t addr) bt_hashhead() argument
455 bt_lookupbusy(vmem_t * vm,vmem_addr_t addr) bt_lookupbusy() argument
472 bt_rembusy(vmem_t * vm,bt_t * bt) bt_rembusy() argument
483 bt_insbusy(vmem_t * vm,bt_t * bt) bt_insbusy() argument
499 bt_remseg(vmem_t * vm,bt_t * bt) bt_remseg() argument
508 bt_insseg(vmem_t * vm,bt_t * bt,bt_t * prev) bt_insseg() argument
515 bt_insseg_tail(vmem_t * vm,bt_t * bt) bt_insseg_tail() argument
531 bt_insfree(vmem_t * vm,bt_t * bt) bt_insfree() argument
581 qc_init(vmem_t * vm,vmem_size_t qcache_max) qc_init() argument
606 qc_destroy(vmem_t * vm) qc_destroy() argument
617 qc_drain(vmem_t * vm) qc_drain() argument
728 vmem_rehash(vmem_t * vm,vmem_size_t newhashsize) vmem_rehash() argument
778 vmem_t *vm; vmem_periodic() local
826 vmem_add1(vmem_t * vm,vmem_addr_t addr,vmem_size_t size,int type) vmem_add1() argument
875 vmem_destroy1(vmem_t * vm) vmem_destroy1() argument
905 vmem_import(vmem_t * vm,vmem_size_t size,vmem_size_t align,int flags) vmem_import() argument
994 vmem_clip(vmem_t * vm,bt_t * bt,vmem_addr_t start,vmem_size_t size) vmem_clip() argument
1036 vmem_try_fetch(vmem_t * vm,const vmem_size_t size,vmem_size_t align,int flags) vmem_try_fetch() argument
1077 vmem_try_release(vmem_t * vm,struct vmem_btag * bt,const bool remfree) vmem_try_release() argument
1111 vmem_xalloc_nextfit(vmem_t * vm,const vmem_size_t size,vmem_size_t align,const vmem_size_t phase,const vmem_size_t nocross,int flags,vmem_addr_t * addrp) vmem_xalloc_nextfit() argument
1199 vmem_set_import(vmem_t * vm,vmem_import_t * importfn,vmem_release_t * releasefn,void * arg,vmem_size_t import_quantum) vmem_set_import() argument
1213 vmem_set_limit(vmem_t * vm,vmem_size_t limit) vmem_set_limit() argument
1222 vmem_set_reclaim(vmem_t * vm,vmem_reclaim_t * reclaimfn) vmem_set_reclaim() argument
1234 vmem_init(vmem_t * vm,const char * name,vmem_addr_t base,vmem_size_t size,vmem_size_t quantum,vmem_size_t qcache_max,int flags) vmem_init() argument
1291 vmem_t *vm; vmem_create() local
1303 vmem_destroy(vmem_t * vm) vmem_destroy() argument
1314 vmem_roundup_size(vmem_t * vm,vmem_size_t size) vmem_roundup_size() argument
1324 vmem_alloc(vmem_t * vm,vmem_size_t size,int flags,vmem_addr_t * addrp) vmem_alloc() argument
1353 vmem_xalloc(vmem_t * vm,const vmem_size_t size0,vmem_size_t align,const vmem_size_t phase,const vmem_size_t nocross,const vmem_addr_t minaddr,const vmem_addr_t maxaddr,int flags,vmem_addr_t * addrp) vmem_xalloc() argument
1464 vmem_free(vmem_t * vm,vmem_addr_t addr,vmem_size_t size) vmem_free() argument
1478 vmem_xfree(vmem_t * vm,vmem_addr_t addr,vmem_size_t size __unused) vmem_xfree() argument
1524 vmem_add(vmem_t * vm,vmem_addr_t addr,vmem_size_t size,int flags) vmem_add() argument
1543 vmem_size(vmem_t * vm,int typemask) vmem_size() argument
1638 vmem_whatis_lookup(vmem_t * vm,vmem_addr_t addr) vmem_whatis_lookup() argument
1657 vmem_t *vm; vmem_whatis() local
1676 const vmem_t *vm; vmem_printall() local
1686 const vmem_t *vm = (const void *)addr; vmem_print() local
1704 const vmem_t *vm; DB_SHOW_ALL_COMMAND() local
1712 const vmem_t *vm = (const void *)addr; DB_SHOW_COMMAND() local
1757 const vmem_t *vm; DB_SHOW_ALL_COMMAND() local
1769 vmem_check_sanity(vmem_t * vm) vmem_check_sanity() argument
1814 vmem_check(vmem_t * vm) vmem_check() argument
[all...]
/freebsd/sys/arm64/vmm/
H A Dvmm.c46 #include <vm/vm.h>
47 #include <vm/vm_object.h>
48 #include <vm/vm_page.h>
49 #include <vm/pmap.h>
50 #include <vm/vm_map.h>
51 #include <vm/vm_extern.h>
52 #include <vm/vm_param.h>
60 #include <machine/vm.h>
85 struct vm *vm; /* (o) */ member
135 * (o) initialized the first time the VM is created
[all …]
/freebsd/sys/amd64/vmm/
H A Dvmm.c48 #include <vm/vm.h>
49 #include <vm/vm_param.h>
50 #include <vm/vm_extern.h>
51 #include <vm/vm_object.h>
52 #include <vm/vm_page.h>
53 #include <vm/pmap.h>
54 #include <vm/vm_map.h>
55 #include <vm/vm_pager.h>
56 #include <vm/vm_kern.h>
57 #include <vm/vnode_pager.h>
[all …]
/freebsd/contrib/bc/src/
H A Dvm.c63 #include <vm.h>
78 BcVm* vm = &vm_data; variable
93 BcVm* vm = bcl_getspecific(); local
96 assert(BC_SIG_EXC(vm));
101 bc_file_puts(&vm->ferr, bc_flush_none, "Longjmp: ");
102 bc_file_puts(&vm->ferr, bc_flush_none, f);
103 bc_file_putchar(&vm->ferr, bc_flush_none, '\n');
104 bc_file_flush(&vm->ferr, bc_flush_none);
108 assert(vm->jmp_bufs.len - (size_t) vm->sig_pop);
111 if (vm->jmp_bufs.len == 0) abort();
[all …]
H A Dlibrary.c46 #include <vm.h>
119 * @param vm The @a BcVm to set as the thread data.
123 bcl_setspecific(BcVm* vm) in bcl_setspecific() argument
131 r = pthread_setspecific(tls_real, vm); in bcl_setspecific()
140 r = TlsSetValue(tls_real, vm); in bcl_setspecific()
151 BcVm* vm; in bcl_getspecific() local
155 vm = pthread_getspecific(tls_real); in bcl_getspecific()
159 vm = TlsGetValue(tls_real); in bcl_getspecific()
163 return vm; in bcl_getspecific()
170 BcVm* vm; in bcl_init() local
249 BcVm* vm = bcl_getspecific(); bcl_pushContext() local
264 BcVm* vm = bcl_getspecific(); bcl_popContext() local
270 bcl_contextHelper(BcVm * vm) bcl_contextHelper() argument
279 BcVm* vm = bcl_getspecific(); bcl_context() local
287 BcVm* vm = bcl_getspecific(); bcl_free() local
338 BcVm* vm = bcl_getspecific(); bcl_abortOnFatalError() local
346 BcVm* vm = bcl_getspecific(); bcl_setAbortOnFatalError() local
354 BcVm* vm = bcl_getspecific(); bcl_leadingZeroes() local
362 BcVm* vm = bcl_getspecific(); bcl_setLeadingZeroes() local
370 BcVm* vm = bcl_getspecific(); bcl_digitClamp() local
378 BcVm* vm = bcl_getspecific(); bcl_setDigitClamp() local
386 BcVm* vm = bcl_getspecific(); bcl_ctxt_create() local
473 BcVm* vm = bcl_getspecific(); bcl_err() local
551 BcVm* vm = bcl_getspecific(); bcl_num_create() local
595 BcVm* vm = bcl_getspecific(); bcl_num_free() local
615 BcVm* vm = bcl_getspecific(); bcl_copy() local
649 BcVm* vm = bcl_getspecific(); bcl_dup() local
695 BcVm* vm = bcl_getspecific(); bcl_num_neg() local
715 BcVm* vm = bcl_getspecific(); bcl_num_setNeg() local
735 BcVm* vm = bcl_getspecific(); bcl_num_scale() local
756 BcVm* vm = bcl_getspecific(); bcl_num_setScale() local
793 BcVm* vm = bcl_getspecific(); bcl_num_len() local
814 BcVm* vm = bcl_getspecific(); bcl_bigdig_helper() local
862 BcVm* vm = bcl_getspecific(); bcl_bigdig2num() local
900 BcVm* vm = bcl_getspecific(); bcl_binary() local
1045 BcVm* vm = bcl_getspecific(); bcl_sqrt_helper() local
1096 BcVm* vm = bcl_getspecific(); bcl_divmod_helper() local
1186 BcVm* vm = bcl_getspecific(); bcl_modexp_helper() local
1254 BcVm* vm = bcl_getspecific(); bcl_cmp() local
1277 BcVm* vm = bcl_getspecific(); bcl_zero() local
1297 BcVm* vm = bcl_getspecific(); bcl_one() local
1319 BcVm* vm = bcl_getspecific(); bcl_parse() local
1369 BcVm* vm = bcl_getspecific(); bcl_string_helper() local
1430 BcVm* vm = bcl_getspecific(); bcl_irand_helper() local
1490 BcVm* vm = bcl_getspecific(); bcl_frandHelper() local
1529 BcVm* vm = bcl_getspecific(); bcl_frand() local
1562 BcVm* vm = bcl_getspecific(); bcl_ifrandHelper() local
1594 BcVm* vm = bcl_getspecific(); bcl_ifrand_helper() local
1647 BcVm* vm = bcl_getspecific(); bcl_rand_seedWithNum_helper() local
1693 BcVm* vm = bcl_getspecific(); bcl_rand_seed() local
1717 BcVm* vm = bcl_getspecific(); bcl_rand_reseed() local
1729 BcVm* vm = bcl_getspecific(); bcl_rand_seed2num() local
1752 BcVm* vm = bcl_getspecific(); bcl_rand_int() local
1760 BcVm* vm = bcl_getspecific(); bcl_rand_bounded() local
[all...]
H A Dargs.c51 #include <vm.h>
62 if (vm->exprs.v == NULL) in bc_args_exprs()
64 bc_vec_init(&vm->exprs, sizeof(uchar), BC_DTOR_NONE); in bc_args_exprs()
67 bc_vec_concat(&vm->exprs, str); in bc_args_exprs()
68 bc_vec_concat(&vm->exprs, "\n"); in bc_args_exprs()
83 vm->file = file; in bc_args_file()
140 vm->redefined_kws[i] = true; in bc_args_redefine()
175 vm->flags |= BC_FLAG_DIGIT_CLAMP; in bc_args()
181 vm->flags &= ~BC_FLAG_DIGIT_CLAMP; in bc_args()
188 if (vm->no_exprs) in bc_args()
[all …]
/freebsd/sys/riscv/include/
H A Dvmm.h39 #include <vm/vm.h>
40 #include <vm/pmap.h>
110 struct vm;
125 int vm_create(const char *name, struct vm **retvm);
126 struct vcpu *vm_alloc_vcpu(struct vm *vm, int vcpuid);
127 void vm_disable_vcpu_creation(struct vm *vm);
128 void vm_slock_vcpus(struct vm *vm);
129 void vm_unlock_vcpus(struct vm *vm);
130 void vm_destroy(struct vm *vm);
131 int vm_reinit(struct vm *vm);
[all …]
/freebsd/sys/arm64/include/
H A Dvmm.h32 #include <vm/vm.h>
33 #include <vm/pmap.h>
108 * The VM name has to fit into the pathname length constraints of devfs,
116 * image that is attached to the VM. A separator character gets added to
119 * The effective length of a VM name is 229 bytes for FreeBSD 13 and 37
129 struct vm;
144 int vm_create(const char *name, struct vm **retvm);
145 struct vcpu *vm_alloc_vcpu(struct vm *vm, int vcpuid);
146 void vm_disable_vcpu_creation(struct vm *vm);
147 void vm_slock_vcpus(struct vm *vm);
[all …]
/freebsd/sys/amd64/include/
H A Dvmm.h125 * The VM name has to fit into the pathname length constraints of devfs,
133 * image that is attached to the VM. A separator character gets added to
136 * The effective length of a VM name is 229 bytes for FreeBSD 13 and 37
151 struct vm;
175 typedef void * (*vmi_init_func_t)(struct vm *vm, struct pmap *pmap);
201 vmi_init_func_t init; /* vm-specific initialization */
227 int vm_create(const char *name, struct vm **retvm);
228 struct vcpu *vm_alloc_vcpu(struct vm *vm, int vcpuid);
229 void vm_disable_vcpu_creation(struct vm *vm);
230 void vm_slock_vcpus(struct vm *vm);
[all …]
/freebsd/lib/libkvm/
H A Dkvm_powerpc.c94 struct vmstate *vm; in powerpc_maphdrs() local
97 vm = kd->vmst; in powerpc_maphdrs()
99 vm->mapsz = sizeof(*vm->eh) + sizeof(struct kerneldumpheader); in powerpc_maphdrs()
100 vm->map = mmap(NULL, vm->mapsz, PROT_READ, MAP_PRIVATE, kd->pmfd, 0); in powerpc_maphdrs()
101 if (vm->map == MAP_FAILED) { in powerpc_maphdrs()
105 vm->dmphdrsz = 0; in powerpc_maphdrs()
106 vm->eh = vm->map; in powerpc_maphdrs()
107 if (!valid_elf_header(vm->eh)) { in powerpc_maphdrs()
114 vm->dmphdrsz = dump_header_size(vm->map); in powerpc_maphdrs()
115 if (vm->dmphdrsz == 0) in powerpc_maphdrs()
[all …]
H A Dkvm_powerpc64.c96 struct vmstate *vm; in powerpc_maphdrs() local
99 vm = kd->vmst; in powerpc_maphdrs()
101 vm->mapsz = sizeof(*vm->eh) + sizeof(struct kerneldumpheader); in powerpc_maphdrs()
102 vm->map = mmap(NULL, vm->mapsz, PROT_READ, MAP_PRIVATE, kd->pmfd, 0); in powerpc_maphdrs()
103 if (vm->map == MAP_FAILED) { in powerpc_maphdrs()
107 vm->dmphdrsz = 0; in powerpc_maphdrs()
108 vm->eh = vm->map; in powerpc_maphdrs()
109 if (!valid_elf_header(kd, vm->eh)) { in powerpc_maphdrs()
116 vm->dmphdrsz = dump_header_size(vm->map); in powerpc_maphdrs()
117 if (vm->dmphdrsz == 0) in powerpc_maphdrs()
[all …]
H A Dkvm_minidump_amd64.c39 #include <vm/vm.h>
50 #define VM_IS_V1(vm) (vm->hdr.version == 1) argument
51 #define VA_OFF(vm, va) \ argument
52 (VM_IS_V1(vm) ? ((va) & (AMD64_PAGE_SIZE - 1)) : ((va) & AMD64_PAGE_MASK))
114 struct vmstate *vm = kd->vmst; in _amd64_minidump_freevtop() local
116 free(vm); in _amd64_minidump_freevtop()
128 _kvm_err(kd, kd->program, "cannot allocate vm"); in _amd64_minidump_initvtop()
186 struct vmstate *vm; in _amd64_minidump_vatop_v1() local
193 vm = kd->vmst; in _amd64_minidump_vatop_v1()
196 if (va >= vm->hdr.kernbase) { in _amd64_minidump_vatop_v1()
[all …]
/freebsd/sys/dev/vmm/
H A Dvmm_ktr.h39 #define VCPU_CTR0(vm, vcpuid, format) \ argument
40 CTR2(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid))
42 #define VCPU_CTR1(vm, vcpuid, format, p1) \ argument
43 CTR3(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid), (p1))
45 #define VCPU_CTR2(vm, vcpuid, format, p1, p2) \ argument
46 CTR4(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid), (p1), (p2))
48 #define VCPU_CTR3(vm, vcpuid, format, p1, p2, p3) \ argument
49 CTR5(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid), (p1), (p2), (p3))
51 #define VCPU_CTR4(vm, vcpuid, format, p1, p2, p3, p4) \ argument
52 CTR6(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid), \
[all …]
H A Dvmm_dev.c26 #include <vm/vm.h>
27 #include <vm/vm_object.h>
55 struct vm *vm; /* vm instance cookie */ member
114 vm_slock_vcpus(sc->vm); in vcpu_lock_all()
115 maxcpus = vm_get_maxcpus(sc->vm); in vcpu_lock_all()
117 vcpu = vm_vcpu(sc->vm, i); in vcpu_lock_all()
127 vcpu = vm_vcpu(sc->vm, j); in vcpu_lock_all()
132 vm_unlock_vcpus(sc->vm); in vcpu_lock_all()
144 maxcpus = vm_get_maxcpus(sc->vm); in vcpu_unlock_all()
146 vcpu = vm_vcpu(sc->vm, i); in vcpu_unlock_all()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrIntrinsicVL.gen.td67 …ssml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTrrvml i64:$sy, i64:$sz, v256f64:$vx,…
68 …ml v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTirvml (LO7 $I), i64:$sz, v256f64:$vx,…
71 …sml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCrrvml i64:$sy, i64:$sz, v256f64:$vx…
72 …l v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCirvml (LO7 $I), i64:$sz, v256f64:$vx…
75 …sml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTOTrrvml i64:$sy, i64:$sz, v256f64:$vx…
76 …l v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTOTirvml (LO7 $I), i64:$sz, v256f64:$vx…
79 …ml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCOTrrvml i64:$sy, i64:$sz, v256f64:$v…
80 … v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTNCOTirvml (LO7 $I), i64:$sz, v256f64:$v…
83 …sml v256f64:$vx, i64:$sy, i64:$sz, v256i1:$vm, i32:$vl), (VSTUrrvml i64:$sy, i64:$sz, v256f64:$vx,…
84 …ml v256f64:$vx, simm7:$I, i64:$sz, v256i1:$vm, i32:$vl), (VSTUirvml (LO7 $I), i64:$sz, v256f64:$vx…
[all …]
H A DVEInstrVec.td5 // Pseudo instructions for VM/VM512 spill/restore
17 (outs VM:$vmx), (ins MEMrii:$addr),
25 (outs), (ins MEMrii:$addr, VM:$vmx),
63 (ins CCOp:$cf, V64:$vz, VM512:$vm, I32:$vl),
64 "# pseudo-vfmk.w.$cf $vmx, $vz, $vm">;
69 (ins CCOp:$cf, V64:$vz, VM512:$vm, I32:$vl),
70 "# pseudo-vfmk.s.$cf $vmx, $vz, $vm">;
195 defm m : VSTbm<opcStr, " $vx, $sy, $sz, $m", opc, !con(dag_in, (ins VM:$m))>;
258 defm m : VGTlm<opcStr, argStr#", $m", opc, RC, !con(dag_in, (ins VM:$m))>;
310 defm m : VSCbm<opcStr, argStr#", $m", opc, !con(dag_in, (ins VM:$m))>;
[all …]
/freebsd/sys/amd64/vmm/io/
H A Dvatpic.h39 struct vatpic *vatpic_init(struct vm *vm);
42 int vatpic_master_handler(struct vm *vm, bool in, int port, int bytes,
44 int vatpic_slave_handler(struct vm *vm, bool in, int port, int bytes,
46 int vatpic_elc_handler(struct vm *vm, bool in, int port, int bytes,
49 int vatpic_assert_irq(struct vm *vm, int irq);
50 int vatpic_deassert_irq(struct vm *vm, int irq);
51 int vatpic_pulse_irq(struct vm *vm, int irq);
52 int vatpic_set_irq_trigger(struct vm *vm, int irq, enum vm_intr_trigger trigger);
54 void vatpic_pending_intr(struct vm *vm, int *vecptr);
55 void vatpic_intr_accepted(struct vm *vm, int vector);
H A Dppt.h32 int ppt_unassign_all(struct vm *vm);
33 int ppt_map_mmio(struct vm *vm, int bus, int slot, int func,
35 int ppt_unmap_mmio(struct vm *vm, int bus, int slot, int func,
37 int ppt_setup_msi(struct vm *vm, int bus, int slot, int func,
39 int ppt_setup_msix(struct vm *vm, int bus, int slot, int func,
41 int ppt_disable_msix(struct vm *vm, int bus, int slot, int func);
42 int ppt_assigned_devices(struct vm *vm);
43 bool ppt_is_mmio(struct vm *vm, vm_paddr_t gpa);
55 int ppt_assign_device(struct vm *vm, int bus, int slot, int func);
56 int ppt_unassign_device(struct vm *vm, int bus, int slot, int func);
H A Dppt.c84 struct vm *vm; /* owner of this device */ member
179 if (ppt->vm != NULL) in ppt_detach()
202 ppt_find(struct vm *vm, int bus, int slot, int func, struct pptdev **pptp) in ppt_find() argument
219 if (ppt->vm != vm) /* Make sure we own this device */ in ppt_find()
226 ppt_unmap_all_mmio(struct vm *vm, struct pptdev *ppt) in ppt_unmap_all_mmio() argument
235 (void)vm_unmap_mmio(vm, seg->gpa, seg->len); in ppt_unmap_all_mmio()
335 ppt_assigned_devices(struct vm *vm) in ppt_assigned_devices() argument
342 if (ppt->vm == vm) in ppt_assigned_devices()
349 ppt_is_mmio(struct vm *vm, vm_paddr_t gpa) in ppt_is_mmio() argument
356 if (ppt->vm != vm) in ppt_is_mmio()
[all …]
H A Dvrtc.h37 struct vrtc *vrtc_init(struct vm *vm);
41 time_t vrtc_get_time(struct vm *vm);
42 int vrtc_set_time(struct vm *vm, time_t secs);
43 int vrtc_nvram_write(struct vm *vm, int offset, uint8_t value);
44 int vrtc_nvram_read(struct vm *vm, int offset, uint8_t *retval);
46 int vrtc_addr_handler(struct vm *vm, bool in, int port, int bytes,
48 int vrtc_data_handler(struct vm *vm, bool in, int port, int bytes,
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/
H A Dmmap_sync_001_pos.ksh28 log_must eval "echo $saved_vm_dirty_expire_centisecs > /proc/sys/vm/dirty_expire_centisecs"
29 log_must eval "echo $saved_vm_dirty_background_ratio > /proc/sys/vm/dirty_background_ratio"
30 log_must eval "echo $saved_vm_dirty_writeback_centisecs > /proc/sys/vm/dirty_writeback_centisecs"
34 if [ $(</proc/sys/vm/dirty_expire_centisecs) -eq 1 ]; then
35 log_must eval "echo 3000 > /proc/sys/vm/dirty_expire_centisecs"
38 if [ $(</proc/sys/vm/dirty_background_ratio) -eq 0 ]; then
39 log_must eval "echo 10 > /proc/sys/vm/dirty_background_ratio"
42 if [ $(</proc/sys/vm/dirty_writeback_centisecs) -eq 1 ]; then
43 log_must eval "echo 500 > /proc/sys/vm/dirty_writeback_centisecs"
48 log_unsupported "Only supported on Linux, requires /proc/sys/vm/ tunables"
[all …]
/freebsd/contrib/bc/include/
H A Dstatus.h679 #define BC_SIG_EXC(vm) \ argument
680 BC_UNLIKELY((vm)->status != (sig_atomic_t) BC_STATUS_SUCCESS || (vm)->sig)
683 #define BC_NO_SIG_EXC(vm) \ argument
684 BC_LIKELY((vm)->status == (sig_atomic_t) BC_STATUS_SUCCESS && !(vm)->sig)
687 #define BC_SIG_INTERRUPT(vm) \ argument
688 BC_UNLIKELY((vm)->sig != 0 && (vm)->sig != SIGWINCH)
690 #define BC_SIG_INTERRUPT(vm) BC_UNLIKELY((vm)->sig != 0) argument
702 assert(vm->sig_lock); \
713 assert(vm->sig_lock == 0); \
738 vm->sig_lock = 1; \
[all …]
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dmoortec,mr75203.yaml20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138).
26 be presented for VM for measurement within its range (e.g. mr76006 -
29 TS, VM & PD also include a digital interface, which consists of configuration
54 - const: vm
56 intel,vm-map:
58 PVT controller has 5 VM (voltage monitor) sensors.
59 vm-map defines CPU core to VM instance mapping. A
60 value of 0xff means that VM sensor is unused.
73 moortec,vm
[all...]
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc2139 vm.disable_swapspace_pageouts
2142 vm.dmmax
2145 vm.kvm_free
2148 vm.kvm_size
2151 vm.loadavg
2158 vm.max_launder
2161 vm.nswapdev
2168 vm.pageout_full_stats_interval
2171 vm.pageout_lock_miss
2174 vm.pageout_stats_free_max
[all …]

12345678910>>...62