Home
last modified time | relevance | path

Searched refs:smm (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/md/persistent-data/
H A Ddm-space-map-metadata.c181 static int add_bop(struct sm_metadata *smm, enum block_op_type type, dm_block_t b) in add_bop() argument
183 int r = brb_push(&smm->uncommitted, type, b); in add_bop()
193 static int commit_bop(struct sm_metadata *smm, struct block_op *op) in commit_bop() argument
200 r = sm_ll_inc(&smm->ll, op->block, &ev); in commit_bop()
204 r = sm_ll_dec(&smm->ll, op->block, &ev); in commit_bop()
211 static void in(struct sm_metadata *smm) in in() argument
213 smm->recursion_count++; in in()
216 static int apply_bops(struct sm_metadata *smm) in apply_bops() argument
220 while (!brb_empty(&smm->uncommitted)) { in apply_bops()
223 r = brb_peek(&smm in apply_bops()
239 out(struct sm_metadata *smm) out() argument
269 recursing(struct sm_metadata *smm) recursing() argument
276 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_destroy() local
283 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_blocks() local
292 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_free() local
305 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_count() local
345 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_count_is_more_than_one() local
397 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_set_count() local
415 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_inc_block() local
432 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_dec_block() local
449 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block_() local
485 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block() local
507 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_commit() local
524 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_register_threshold_callback() local
540 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_copy_root() local
594 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_blocks() local
603 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_free() local
613 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_count() local
638 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_new_block() local
653 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_inc_block() local
660 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_dec_block() local
707 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_extend() local
760 struct sm_metadata *smm; dm_sm_metadata_init() local
778 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_create() local
822 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_open() local
[all...]
/kernel/linux/linux-6.6/drivers/md/persistent-data/
H A Ddm-space-map-metadata.c183 static int add_bop(struct sm_metadata *smm, enum block_op_type type, dm_block_t b, dm_block_t e) in add_bop() argument
185 int r = brb_push(&smm->uncommitted, type, b, e); in add_bop()
195 static int commit_bop(struct sm_metadata *smm, struct block_op *op) in commit_bop() argument
202 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
206 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
213 static void in(struct sm_metadata *smm) in in() argument
215 smm->recursion_count++; in in()
218 static int apply_bops(struct sm_metadata *smm) in apply_bops() argument
222 while (!brb_empty(&smm->uncommitted)) { in apply_bops()
225 r = brb_peek(&smm in apply_bops()
241 out(struct sm_metadata *smm) out() argument
271 recursing(struct sm_metadata *smm) recursing() argument
278 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_destroy() local
285 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_blocks() local
294 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_nr_free() local
307 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_get_count() local
347 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_count_is_more_than_one() local
399 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_set_count() local
417 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_inc_blocks() local
436 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_dec_blocks() local
453 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block_() local
489 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_new_block() local
512 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_commit() local
529 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_register_threshold_callback() local
545 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_copy_root() local
599 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_blocks() local
608 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_nr_free() local
618 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_get_count() local
643 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_new_block() local
659 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_inc_blocks() local
671 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_bootstrap_dec_blocks() local
722 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); sm_metadata_extend() local
773 struct sm_metadata *smm; dm_sm_metadata_init() local
790 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_create() local
832 struct sm_metadata *smm = container_of(sm, struct sm_metadata, sm); dm_sm_metadata_open() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
H A Dvmx_set_nested_state_test.c85 state->hdr.vmx.smm.flags = 0; in set_default_vmx_state()
146 state->hdr.vmx.smm.flags = 1; in test_vmx_nested_state()
172 state->hdr.vmx.smm.flags = KVM_STATE_NESTED_SMM_GUEST_MODE; in test_vmx_nested_state()
181 state->hdr.vmx.smm.flags = ~(KVM_STATE_NESTED_SMM_GUEST_MODE | in test_vmx_nested_state()
188 state->hdr.vmx.smm.flags = KVM_STATE_NESTED_SMM_GUEST_MODE; in test_vmx_nested_state()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Dvmx_set_nested_state_test.c84 state->hdr.vmx.smm.flags = 0; in set_default_vmx_state()
145 state->hdr.vmx.smm.flags = 1; in test_vmx_nested_state()
171 state->hdr.vmx.smm.flags = KVM_STATE_NESTED_SMM_GUEST_MODE; in test_vmx_nested_state()
180 state->hdr.vmx.smm.flags = ~(KVM_STATE_NESTED_SMM_GUEST_MODE | in test_vmx_nested_state()
187 state->hdr.vmx.smm.flags = KVM_STATE_NESTED_SMM_GUEST_MODE; in test_vmx_nested_state()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Ddell-smbios-base.c564 int ret, wmi, smm; in dell_smbios_init() local
591 smm = init_dell_smbios_smm(); in dell_smbios_init()
592 if (smm) in dell_smbios_init()
593 pr_debug("Failed to initialize SMM backend: %d\n", smm); in dell_smbios_init()
594 if (wmi && smm) { in dell_smbios_init()
595 pr_err("No SMBIOS backends available (wmi: %d, smm: %d)\n", in dell_smbios_init()
596 wmi, smm); in dell_smbios_init()
H A DMakefile41 dell-smbios-$(CONFIG_DELL_SMBIOS_SMM) += dell-smbios-smm.o
/kernel/linux/linux-6.6/drivers/platform/x86/dell/
H A Ddell-smbios-base.c564 int ret, wmi, smm; in dell_smbios_init() local
591 smm = init_dell_smbios_smm(); in dell_smbios_init()
592 if (smm) in dell_smbios_init()
593 pr_debug("Failed to initialize SMM backend: %d\n", smm); in dell_smbios_init()
594 if (wmi && smm) { in dell_smbios_init()
595 pr_err("No SMBIOS backends available (wmi: %d, smm: %d)\n", in dell_smbios_init()
596 wmi, smm); in dell_smbios_init()
H A DMakefile15 dell-smbios-$(CONFIG_DELL_SMBIOS_SMM) += dell-smbios-smm.o
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
H A Dkvm.h341 __u8 smm; member
436 } smm; member
/kernel/linux/linux-5.10/tools/arch/x86/include/uapi/asm/
H A Dkvm.h341 __u8 smm; member
436 } smm; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/
H A Dkvm.h293 __u8 smm; member
359 } smm; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
H A Dkvm.h293 __u8 smm; member
359 } smm; member
/kernel/linux/linux-5.10/arch/alpha/include/asm/
H A Dhwrpb.h159 long smm; /* SMM nubber used by LMF */ member
/kernel/linux/linux-6.6/arch/alpha/include/asm/
H A Dhwrpb.h159 long smm; /* SMM nubber used by LMF */ member
/kernel/linux/linux-6.6/arch/x86/kvm/
H A DMakefile23 kvm-$(CONFIG_KVM_SMM) += smm.o
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dnested.c286 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested()
292 vmx->nested.smm.vmxon = false; in free_nested()
6125 (vmx->nested.vmxon || vmx->nested.smm.vmxon)) { in vmx_get_nested_state()
6141 if (vmx->nested.smm.vmxon) in vmx_get_nested_state()
6142 kvm_state.hdr.vmx.smm.flags |= KVM_STATE_NESTED_SMM_VMXON; in vmx_get_nested_state()
6144 if (vmx->nested.smm.guest_mode) in vmx_get_nested_state()
6145 kvm_state.hdr.vmx.smm.flags |= KVM_STATE_NESTED_SMM_GUEST_MODE; in vmx_get_nested_state()
6242 if (kvm_state->hdr.vmx.smm.flags) in vmx_set_nested_state()
6267 if ((kvm_state->hdr.vmx.smm.flags & KVM_STATE_NESTED_SMM_GUEST_MODE) && in vmx_set_nested_state()
6271 if (kvm_state->hdr.vmx.smm in vmx_set_nested_state()
[all...]
H A Dvmx.h197 } smm; member
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dnested.c19 #include "smm.h"
301 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested()
307 vmx->nested.smm.vmxon = false; in free_nested()
6430 (vmx->nested.vmxon || vmx->nested.smm.vmxon)) { in vmx_get_nested_state()
6447 if (vmx->nested.smm.vmxon) in vmx_get_nested_state()
6448 kvm_state.hdr.vmx.smm.flags |= KVM_STATE_NESTED_SMM_VMXON; in vmx_get_nested_state()
6450 if (vmx->nested.smm.guest_mode) in vmx_get_nested_state()
6451 kvm_state.hdr.vmx.smm.flags |= KVM_STATE_NESTED_SMM_GUEST_MODE; in vmx_get_nested_state()
6552 if (kvm_state->hdr.vmx.smm.flags) in vmx_set_nested_state()
6577 if ((kvm_state->hdr.vmx.smm in vmx_set_nested_state()
[all...]
H A Dvmx.h242 } smm; member
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/
H A Dplugin_kvm.c374 unsigned smm:8; member
410 role.smm ? " smm" : ""); in kvm_mmu_print_role()
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Dkvm.h357 __u8 smm; member
474 } smm; member
/kernel/linux/linux-6.6/tools/arch/x86/include/uapi/asm/
H A Dkvm.h357 __u8 smm; member
474 } smm; member
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/
H A Dmmu_internal.h139 return role.smm ? 1 : 0; in kvm_mmu_role_as_id()
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
H A DMakefile87 dtb-$(CONFIG_ARCH_MXC) += imx8mn-bsh-smm-s2.dtb
88 dtb-$(CONFIG_ARCH_MXC) += imx8mn-bsh-smm-s2pro.dtb
/kernel/linux/linux-6.6/scripts/dtc/include-prefixes/arm64/freescale/
H A DMakefile87 dtb-$(CONFIG_ARCH_MXC) += imx8mn-bsh-smm-s2.dtb
88 dtb-$(CONFIG_ARCH_MXC) += imx8mn-bsh-smm-s2pro.dtb

Completed in 33 milliseconds

12