| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-event.c | 21 static unsigned int sev_pos(const struct v4l2_subscribed_event *sev, unsigned int idx) in sev_pos() argument 23 idx += sev->first; in sev_pos() 24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos() 51 kev->sev->first = sev_pos(kev->sev, 1); in __v4l2_event_dequeue() 52 kev->sev->in_use--; in __v4l2_event_dequeue() 91 struct v4l2_subscribed_event *sev; in v4l2_event_subscribed() local 95 list_for_each_entry(sev, &fh->subscribed, list) in v4l2_event_subscribed() 96 if (sev->type == type && sev->id == id) in v4l2_event_subscribed() 97 return sev; in v4l2_event_subscribed() 105 struct v4l2_subscribed_event *sev; in __v4l2_event_queue_fh() local [all …]
|
| H A D | v4l2-ctrls-api.c | 1277 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, in v4l2_ctrl_add_event() argument 1280 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event() 1286 list_add_tail(&sev->node, &ctrl->ev_subs); in v4l2_ctrl_add_event() 1288 (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL)) in v4l2_ctrl_add_event() 1289 send_initial_event(sev->fh, ctrl); in v4l2_ctrl_add_event() 1294 static void v4l2_ctrl_del_event(struct v4l2_subscribed_event *sev) in v4l2_ctrl_del_event() argument 1296 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event() 1302 list_del(&sev->node); in v4l2_ctrl_del_event()
|
| /linux/drivers/crypto/ccp/ |
| H A D | sev-dev.c | 36 #include <asm/sev.h> 40 #include "sev-dev.h" 42 #define DEVICE_NAME "sev" 43 #define SEV_FW_FILE "amd/sev.fw" 130 static void __sev_firmware_shutdown(struct sev_device *sev, bool panic); 141 struct sev_device *sev = psp_master->sev_data; in sev_version_greater_or_equal() local 143 if (sev->api_major > maj) in sev_version_greater_or_equal() 146 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal() 154 struct sev_device *sev in sev_irq_handler() local 169 sev_wait_cmd_ioc(struct sev_device * sev,unsigned int * reg,unsigned int timeout) sev_wait_cmd_ioc() argument 278 struct sev_device *sev = psp_master->sev_data; sev_read_init_ex_file() local 319 struct sev_device *sev = psp_master->sev_data; sev_write_init_ex_file() local 444 struct sev_device *sev; __snp_alloc_firmware_pages() local 478 struct sev_device *sev = psp_master->sev_data; __snp_free_firmware_pages() local 805 struct sev_device *sev = psp_master->sev_data; snp_legacy_handling_needed() local 850 struct sev_device *sev; __sev_do_cmd_locked() local 1077 snp_hv_fixed_pages_state_update(struct sev_device * sev,enum snp_hv_fixed_pages_state page_state) snp_hv_fixed_pages_state_update() argument 1185 snp_add_hv_fixed_pages(struct sev_device * sev,struct sev_data_range_list * range_list) snp_add_hv_fixed_pages() argument 1242 struct sev_device *sev; sev_is_snp_ciphertext_hiding_supported() local 1260 snp_get_platform_data(struct sev_device * sev,int * error) snp_get_platform_data() argument 1358 struct sev_device *sev = psp_master->sev_data; snp_verify_mitigation() local 1417 struct sev_device *sev = psp_master->sev_data; verified_mitigations_store() local 1458 sev_snp_register_verify_mitigation(struct sev_device * sev) sev_snp_register_verify_mitigation() argument 1490 sev_snp_unregister_verify_mitigation(struct sev_device * sev) sev_snp_unregister_verify_mitigation() argument 1504 sev_snp_register_verify_mitigation(struct sev_device * sev) sev_snp_register_verify_mitigation() argument 1505 sev_snp_unregister_verify_mitigation(struct sev_device * sev) sev_snp_unregister_verify_mitigation() argument 1513 struct sev_device *sev; __sev_snp_init_locked() local 1671 __sev_platform_init_handle_tmr(struct sev_device * sev) __sev_platform_init_handle_tmr() argument 1692 __sev_platform_init_handle_init_ex_path(struct sev_device * sev) __sev_platform_init_handle_init_ex_path() argument 1743 struct sev_device *sev; __sev_platform_init_locked() local 1805 struct sev_device *sev; _sev_platform_init_locked() local 1862 struct sev_device *sev; __sev_platform_shutdown_locked() local 1963 struct sev_device *sev = psp_master->sev_data; sev_ioctl_do_pek_pdh_gen() local 1986 struct sev_device *sev = psp_master->sev_data; sev_ioctl_do_pek_csr() local 2069 struct sev_device *sev = psp_master->sev_data; sev_get_api_version() local 2194 struct sev_device *sev; __sev_snp_shutdown_locked() local 2290 struct sev_device *sev = psp_master->sev_data; sev_ioctl_do_pek_import() local 2448 struct sev_device *sev = psp_master->sev_data; sev_ioctl_do_pdh_export() local 2552 struct sev_device *sev = psp_master->sev_data; __sev_do_snp_platform_status() local 2635 struct sev_device *sev = psp_master->sev_data; sev_ioctl_do_snp_set_config() local 2655 struct sev_device *sev = psp_master->sev_data; sev_ioctl_do_snp_vlek_load() local 2806 sev_misc_init(struct sev_device * sev) sev_misc_init() argument 2849 struct sev_device *sev; sev_dev_init() local 2905 __sev_firmware_shutdown(struct sev_device * sev,bool panic) __sev_firmware_shutdown() argument 2940 sev_firmware_shutdown(struct sev_device * sev) sev_firmware_shutdown() argument 2980 struct sev_device *sev; sev_get_snp_policy_bits() local 3016 struct sev_device *sev = psp->sev_data; sev_dev_destroy() local 3032 struct sev_device *sev = psp_master->sev_data; snp_shutdown_on_panic() local 3060 struct sev_device *sev = psp_master->sev_data; sev_pci_init() local 3094 struct sev_device *sev = psp_master->sev_data; sev_pci_exit() local 3102 get_v1_svn(struct sev_device * sev) get_v1_svn() argument 3119 get_v2_svn(struct sev_device * sev) get_v2_svn() argument 3136 sev_firmware_allows_es(struct sev_device * sev) sev_firmware_allows_es() argument 3150 struct sev_device *sev; sev_firmware_supported_vm_types() local [all...] |
| H A D | Makefile | 12 sev-dev.o \ 20 ccp-$(CONFIG_CRYPTO_DEV_SP_PSP) += sev-dev-tsm.o sev-dev-tio.o
|
| H A D | sev-dev-tio.h | 60 struct sev_device *sev; member
|
| /linux/tools/testing/selftests/timers/ |
| H A D | posix_timers.c | 276 struct sigevent sev; in check_sig_ign() 299 memset(&sev, 0, sizeof(sev)); in check_sig_ign() 300 sev.sigev_notify = SIGEV_SIGNAL; in check_sig_ign() 301 sev.sigev_signo = SIGUSR1; in check_sig_ign() 302 sev.sigev_value.sival_ptr = &tsig; in check_sig_ign() 304 sev.sigev_notify = SIGEV_THREAD_ID; in check_sig_ign() 305 sev._sigev_un._tid = tid; in check_sig_ign() 308 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid)) in check_sig_ign() 361 struct sigevent sev; in check_rearm() 264 struct sigevent sev; check_sig_ign() local 349 struct sigevent sev; check_rearm() local 405 struct sigevent sev; check_delete() local 461 struct sigevent sev; check_sigev_none() local 499 struct sigevent sev; check_gettime() local 554 struct sigevent sev; check_overrun() local [all...] |
| /linux/arch/x86/kvm/svm/ |
| H A D | sev.c | 16 #include <linux/psp-sev.h> 22 #include <uapi/linux/sev-guest.h> 31 #include <asm/sev.h> 57 module_param_named(sev, sev_enabled, bool, 0444); 204 struct kvm_sev_info *sev = to_kvm_sev_info(vcpu->kvm); in sev_vcpu_has_debug_swap() local 206 return sev->vmsa_features & SVM_SEV_FEAT_DEBUG_SWAP; in sev_vcpu_has_debug_swap() 211 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in snp_is_secure_tsc_enabled() local 213 return (sev->vmsa_features & SVM_SEV_FEAT_SECURE_TSC) && in snp_is_secure_tsc_enabled() 231 static int sev_misc_cg_try_charge(struct kvm_sev_info *sev) in sev_misc_cg_try_charge() argument 233 enum misc_res_type type = sev in sev_misc_cg_try_charge() 237 sev_misc_cg_uncharge(struct kvm_sev_info * sev) sev_misc_cg_uncharge() argument 265 sev_asid_new(struct kvm_sev_info * sev,unsigned long vm_type) sev_asid_new() argument 323 sev_asid_free(struct kvm_sev_info * sev) sev_asid_free() argument 458 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_guest_req_init() local 479 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_guest_req_cleanup() local 491 sev_alloc_have_run_cpus(struct kvm_sev_info * sev) sev_alloc_have_run_cpus() argument 499 sev_free_have_run_cpus(struct kvm_sev_info * sev) sev_free_have_run_cpus() argument 509 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); __sev_guest_init() local 661 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); sev_issue_cmd() local 668 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); sev_launch_start() local 984 struct kvm_sev_info *sev = to_kvm_sev_info(vcpu->kvm); sev_es_sync_vmsa() local 1822 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); sev_receive_start() local 2285 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_bind_asid() local 2295 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_launch_start() local 2370 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); sev_gmem_post_populate() local 2439 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_launch_update() local 2523 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_launch_update_vmsa() local 2577 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_launch_finish() local 2774 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); sev_mem_enc_register_region() local 2826 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); find_enc_region() local 2944 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_decommission_context() local 2991 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); sev_vm_destroy() local 4161 struct kvm_sev_info *sev = to_kvm_sev_info(svm->vcpu.kvm); sev_snp_ap_creation() local 4239 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); snp_handle_guest_req() local 4329 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; snp_handle_ext_guest_req() local 4370 struct kvm_sev_info *sev = to_kvm_sev_info(vcpu->kvm); sev_handle_vmgexit_msr_protocol() local 4643 struct kvm_sev_info *sev = to_kvm_sev_info(vcpu->kvm); sev_handle_vmgexit() local 4789 struct kvm_sev_info *sev = to_kvm_sev_info(svm->vcpu.kvm); sev_es_init_vmcb() local 5172 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); sev_gmem_make_private() local 5337 struct kvm_sev_info *sev; sev_decrypt_vmsa() local [all...] |
| H A D | svm.h | 23 #include <asm/sev-common.h> 409 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in ____sev_es_guest() 411 return sev->es_active && !WARN_ON_ONCE(!sev->active); in ____sev_es_guest() 416 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in ____sev_snp_guest() 418 return (sev->vmsa_features & SVM_SEV_FEAT_SNP_ACTIVE) && in ____sev_snp_guest() 984 /* sev.c */ 408 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); ____sev_es_guest() local 415 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); ____sev_snp_guest() local
|
| /linux/Documentation/virt/coco/ |
| H A D | sev-guest.rst | 40 The guest ioctl should be issued on a file descriptor of the /dev/sev-guest 60 /* bits[63:32]: VMM error code, bits[31:0] firmware error code (see psp-sev.h) */ 70 The host ioctls are issued to a file descriptor of the /dev/sev device. 82 /* Firmware error code on failure (see psp-sev.h) */ 90 :Technology: sev-snp 105 :Technology: sev-snp 124 :Technology: sev-snp 146 :Technology: sev-snp 157 :Technology: sev-snp 168 :Technology: sev-snp [all …]
|
| /linux/include/media/ |
| H A D | v4l2-event.h | 33 struct v4l2_subscribed_event *sev; member 47 int (*add)(struct v4l2_subscribed_event *sev, unsigned int elems); 48 void (*del)(struct v4l2_subscribed_event *sev);
|
| /linux/sound/core/seq/ |
| H A D | seq_queue.c | 572 struct snd_seq_event sev; in queue_broadcast_event() local 574 sev = *ev; in queue_broadcast_event() 576 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event() 577 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event() 578 sev.queue = q->queue; in queue_broadcast_event() 579 sev.data.queue.queue = q->queue; in queue_broadcast_event() 582 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event() 583 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event() 584 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event() 585 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
|
| /linux/drivers/acpi/apei/ |
| H A D | ghes.c | 532 int sev, bool sync) in ghes_handle_memory_failure() argument 545 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure() 555 int sev, bool sync) in ghes_handle_arm_hw_error() argument 575 if (sev != GHES_SEV_RECOVERABLE || sec_sev != GHES_SEV_RECOVERABLE) in ghes_handle_arm_hw_error() 729 int sev) in ghes_defer_non_standard_event() 742 entry->error_severity = sev; in ghes_defer_non_standard_event() 900 static void ghes_log_hwerr(int sev, guid_t *sec_type) in ghes_log_hwerr() 902 if (sev != GHES_SEV_RECOVERABLE) in ghes_log_hwerr() 959 int sev, sec_sev; in ghes_do_proc() 967 sev in ghes_do_proc() 727 ghes_defer_non_standard_event(struct acpi_hest_generic_data * gdata,int sev) ghes_defer_non_standard_event() argument 892 ghes_log_hwerr(int sev,guid_t * sec_type) ghes_log_hwerr() argument 929 int sev, sec_sev; ghes_do_proc() local 1358 int sev, rc; ghes_in_nmi_queue_one_entry() local [all...] |
| /linux/arch/arm64/kernel/ |
| H A D | smp_spin_table.c | 100 sev(); in smp_spin_table_cpu_prepare() 117 sev(); in smp_spin_table_cpu_boot()
|
| /linux/arch/um/os-Linux/ |
| H A D | time.c | 48 struct sigevent sev = { in os_timer_create() local 55 if (timer_create(CLOCK_MONOTONIC, &sev, t) == -1) in os_timer_create()
|
| /linux/Documentation/security/secrets/ |
| H A D | coco.rst | 37 ``KVM_SEV_LAUNCH_SECRET`` command (see [sev]_). The structure of the injected 99 See [sev-api-spec]_ for more info regarding SEV ``LAUNCH_SECRET`` operation. 101 .. [sev] Documentation/virt/kvm/x86/amd-memory-encryption.rst citation in References 103 .. [sev-api-spec] https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf
|
| /linux/arch/arm/common/ |
| H A D | vlock.S | 39 sev 99 sev
|
| H A D | mcpm_entry.c | 52 sev(); in __mcpm_cpu_down() 68 sev(); in __mcpm_outbound_leave_critical()
|
| /linux/drivers/pci/pcie/ |
| H A D | aer.c | 281 u32 status, sev; in pci_aer_clear_nonfatal_status() local 288 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_nonfatal_status() 289 status &= ~sev; in pci_aer_clear_nonfatal_status() 300 u32 status, sev; in pci_aer_clear_fatal_status() local 307 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_fatal_status() 308 status &= sev; in pci_aer_clear_fatal_status() 1036 const char *bus_type, *sev; in __pci_print_aer() local 1048 sev = "cor"; in __pci_print_aer() 1052 sev = "uncor"; in __pci_print_aer() 1076 sev, statu in __pci_print_aer() [all...] |
| /linux/Documentation/translations/zh_CN/security/secrets/ |
| H A D | coco.rst | 91 请参见 [sev-api-spec_CN]_ 以获取有关SEV ``LAUNCH_SECRET`` 操作的更多信息。 95 .. [sev-api-spec_CN] https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf
|
| /linux/drivers/virt/coco/sev-guest/ |
| H A D | Makefile | 2 obj-$(CONFIG_SEV_GUEST) += sev-guest.o
|
| /linux/arch/arm/mach-bcm/ |
| H A D | platsmp.c | 196 sev(); in kona_boot_secondary() 310 sev(); in bcm2836_boot_secondary()
|
| /linux/arch/x86/coco/ |
| H A D | Makefile | 9 obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev/
|
| /linux/include/acpi/ |
| H A D | apei.h | 54 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
|
| /linux/arch/x86/boot/compressed/ |
| H A D | Makefile | 47 # sev-decode-insn.c indirectly includes inat-table.c which is generated during 99 vmlinux-objs-$(CONFIG_AMD_MEM_ENCRYPT) += $(obj)/sev.o $(obj)/sev-handle-vc.o
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_cmds.c | 405 char *sev = KERN_WARNING; in beiscsi_process_async_sli() local 440 sev = KERN_INFO; in beiscsi_process_async_sli() 443 sev = KERN_ERR; in beiscsi_process_async_sli() 447 __beiscsi_log(phba, sev, "BC_%d : Port %c: %s%s\n", in beiscsi_process_async_sli() 456 char *sev = KERN_INFO; in beiscsi_process_async_event() local 469 sev = KERN_ERR; in beiscsi_process_async_event() 476 sev = KERN_ERR; in beiscsi_process_async_event() 479 beiscsi_log(phba, sev, BEISCSI_LOG_CONFIG | BEISCSI_LOG_MBOX, in beiscsi_process_async_event()
|