/linux-master/arch/x86/kvm/vmx/ |
H A D | pmu_intel.c | 25 * to encode the "type" of counter to read, i.e. this is not a "base". And to 27 * "fast" reads, whereas the "type" is an explicit value. 61 unsigned int type = idx & INTEL_RDPMC_TYPE_MASK; local 70 * PMUs, bits 31:16 specify the PMC type and bits 15:0 specify the PMC 84 * but the type itself is still valid, i.e. let RDPMC fail due to 88 switch (type) { 228 .type = PERF_TYPE_RAW, 568 pmu->gp_counters[i].type = KVM_PMC_GP; 575 pmu->fixed_counters[i].type = KVM_PMC_FIXED;
|
/linux-master/arch/x86/kvm/svm/ |
H A D | svm.c | 377 * the type of exit and the #VC handler in the guest. 670 * If TSC_AUX virtualization is supported, TSC_AUX becomes a swap type 1132 static void init_sys_seg(struct vmcb_seg *seg, uint32_t type) argument 1135 seg->attrib = SVM_SELECTOR_P_MASK | type; 1719 var->type = s->attrib & SVM_SELECTOR_TYPE_MASK; 1749 var->type |= 0x2; 1763 var->type |= 0x1; 1947 s->attrib = (var->type & SVM_SELECTOR_TYPE_MASK); 2497 uint32_t type = local 2518 switch (type) { 3217 unsigned long type; local 3612 u32 type; local 3974 svm_complete_soft_interrupt(struct kvm_vcpu *vcpu, u8 vector, int type) argument 4010 int type; local [all...] |
H A D | sev.c | 135 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; local 136 return misc_cg_try_charge(type, sev->misc_cg, 1); 141 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; local 142 misc_cg_uncharge(type, sev->misc_cg, 1); 2842 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_SEV_TERM; 3136 * Manually save type-B state, i.e. state that is loaded by VMEXIT but
|
/linux-master/arch/x86/kvm/ |
H A D | pmu.c | 176 static int pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, u64 config, argument 183 .type = type,
|
H A D | cpuid.c | 968 * Read entries until the cache type in the previous entry is 1353 unsigned int type) 1355 if (type == KVM_GET_EMULATED_CPUID) 1364 unsigned int type) 1373 r = do_cpuid_func(array, func, type); 1379 r = do_cpuid_func(array, func, type); 1416 unsigned int type) 1432 if (sanity_check_entries(entries, cpuid->nent, type)) 1442 r = get_cpuid_func(&array, funcs[i], type); 1352 do_cpuid_func(struct kvm_cpuid_array *array, u32 func, unsigned int type) argument 1363 get_cpuid_func(struct kvm_cpuid_array *array, u32 func, unsigned int type) argument 1414 kvm_dev_ioctl_get_cpuid(struct kvm_cpuid2 *cpuid, struct kvm_cpuid_entry2 __user *entries, unsigned int type) argument
|
H A D | cpuid.h | 22 unsigned int type);
|
/linux-master/arch/x86/include/asm/ |
H A D | kvm_host.h | 500 enum pmc_type type; member in struct:kvm_pmc
|
/linux-master/arch/x86/events/intel/ |
H A D | lbr.c | 858 int type = 0; local 861 type = (info & LBR_INFO_BR_TYPE) >> LBR_INFO_BR_TYPE_OFFSET; 863 return type; 921 e->type = get_lbr_br_type(info); 1122 * Enable the branch type by default for the Arch LBR. 1204 int i, j, type, to_plm; local 1216 type = cpuc->lbr_entries[i].type; 1219 * Parse the branch type recorded in LBR_x_INFO MSR. 1221 * OTHER_BRANCH branch type stil [all...] |
/linux-master/arch/x86/entry/ |
H A D | entry_fred.c | 29 pr_emerg("PANIC: invalid or fatal FRED event; event type %u " 31 regs->fred_ss.type, regs->fred_ss.vector, error_code, 39 pr_alert("BUG: invalid or fatal FRED event; event type %u " 41 regs->fred_ss.type, regs->fred_ss.vector, error_code, 229 switch (regs->fred_ss.type) { 261 switch (regs->fred_ss.type) { 285 switch (regs->fred_ss.type) {
|
/linux-master/arch/powerpc/kernel/ |
H A D | iommu.c | 1312 .type = IOMMU_DOMAIN_PLATFORM, 1340 .type = IOMMU_DOMAIN_BLOCKED,
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | proc.c | 22 const char *type, size_t len) 27 if (!strncmp(ns->header_name, type, cmp)) 35 const char *type, const size_t len) 39 ret = lookup_type(ns, type, len); 47 ret->header_name = strndup(type, len); 70 struct netstat *type = lookup_get_column(*dest, line); local 80 *dest = type; 81 type->counters = reallocarray(type->counters, 82 type 21 lookup_type(struct netstat *ns, const char *type, size_t len) argument 34 lookup_get(struct netstat *ns, const char *type, const size_t len) argument 121 struct netstat *type = lookup_get(*dest, snmp6_name, strlen(snmp6_name)); local [all...] |
/linux-master/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 24 __uint(type, BPF_MAP_TYPE_STACK_TRACE); 32 __uint(type, BPF_MAP_TYPE_HASH); 40 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 48 __uint(type, BPF_MAP_TYPE_HASH); 55 __uint(type, BPF_MAP_TYPE_HASH); 62 __uint(type, BPF_MAP_TYPE_HASH); 69 __uint(type, BPF_MAP_TYPE_HASH); 76 __uint(type, BPF_MAP_TYPE_HASH); 83 __uint(type, BPF_MAP_TYPE_HASH); 90 __uint(type, BPF_MAP_TYPE_HAS [all...] |
/linux-master/tools/perf/util/ |
H A D | annotate.c | 108 /* Data type collection debug statistics */ 1004 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); 1696 * The ops.raw part will be parsed further according to type of the instruction. 3508 unsigned int type = (unsigned int) -1; local 3512 type = PERCENT_PERIOD_LOCAL; 3514 type = PERCENT_PERIOD_GLOBAL; 3519 type = PERCENT_HITS_LOCAL; 3521 type = PERCENT_HITS_GLOBAL; 3524 return type; 3530 unsigned int type; local [all...] |
/linux-master/tools/include/uapi/sound/ |
H A D | asound.h | 59 unsigned char db1_ct_cc; /* coding type and channel count */ 356 #define SNDRV_PCM_HW_PARAM_ACCESS 0 /* Access type */ 449 unsigned int tstamp_type; /* timestamp type (req. proto >= 2.0.12) */ 1045 int pad; /* reserved for future (was type) */ 1057 #define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((__force snd_ctl_elem_type_t) 1) /* boolean type */ 1058 #define SNDRV_CTL_ELEM_TYPE_INTEGER ((__force snd_ctl_elem_type_t) 2) /* integer type */ 1059 #define SNDRV_CTL_ELEM_TYPE_ENUMERATED ((__force snd_ctl_elem_type_t) 3) /* enumerated type */ 1062 #define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((__force snd_ctl_elem_type_t) 6) /* 64-bit integer type */ 1121 snd_ctl_elem_type_t type; /* R: value type member in struct:snd_ctl_elem_info 1224 int type; /* event type - SNDRV_CTL_EVENT_* */ member in struct:snd_ctl_event [all...] |
/linux-master/tools/include/uapi/linux/ |
H A D | kvm.h | 97 __u32 type; member in struct:kvm_hyperv_exit 126 __u32 type; member in struct:kvm_xen_exit 309 * that is used for the KVM_INTERNAL_ERROR_EMULATION sub-type of 365 __u32 type; member in struct:kvm_run::__anon162::__anon184 623 /* machine type bits, to be used as argument to KVM_CREATE_VM */ 638 * On arm64, machine type can be used to request the physical 966 __u32 type; member in struct:kvm_irq_routing_entry 1098 __u32 type; /* in: KVM_DEV_TYPE_xxx */ member in struct:kvm_create_device 1496 * @flags: Annotations of the stats, like type, unit, etc. 1499 * Every data item is of type __u6 [all...] |
/linux-master/tools/include/uapi/drm/ |
H A D | i915_drm.h | 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration 936 * This is a fixed-size type for 32/64 compatibility. 952 * This is a fixed-size type for 32/64 compatibility. 972 * This is a fixed-size type for 32/64 compatibility. 992 * This is a fixed-size type for 32/64 compatibility. 1015 * This is a fixed-size type for 32/64 compatibility. 1031 * type. On devices without local memory, this caching mode is invalid. 2893 __u32 type; member in struct:drm_i915_perf_record_header 2901 * Samples are the work horse record type whose contents are extensible 3441 * here, also note that no current region type wil [all...] |
/linux-master/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 130 __u8 type; member in struct:kvm_segment 565 __u16 type; member in struct:kvm_xen_hvm_attr 578 __u32 type; /* EVTCHNSTAT_ipi / EVTCHNSTAT_interdomain */ member in struct:kvm_xen_hvm_attr::__anon140::__anon142 620 __u16 type; member in struct:kvm_xen_vcpu_attr
|
/linux-master/tools/arch/s390/include/uapi/asm/ |
H A D | kvm.h | 65 __u32 op; /* type of operation */ 101 /* valid values for type in kvm_s390_interrupt */ 127 __u32 type; member in struct:kvm_s390_interrupt 193 __u64 type; member in struct:kvm_s390_irq 378 __u8 type; member in struct:kvm_s390_io_adapter_req 530 __u8 type; member in struct:kvm_debug_exit_arch 538 __u8 type; member in struct:kvm_hw_breakpoint
|
/linux-master/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 285 * These are used as "type" in KVM_SET_GUEST_DEBUG ioctl and "status" 311 __u32 type; member in struct:kvm_guest_debug_arch::__anon117
|
/linux-master/sound/pci/hda/ |
H A D | tas2781_hda_i2c.c | 173 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 230 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; 244 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
|
H A D | patch_realtek.c | 616 static void alc_auto_init_amp(struct hda_codec *codec, int type) argument 620 switch (type) { 1268 .type = HDA_FIXUP_FUNC, 1272 .type = HDA_FIXUP_FUNC, 1276 .type = HDA_FIXUP_VERBS, 1286 .type = HDA_FIXUP_PINS, 1296 .type = HDA_FIXUP_PINS, 1304 .type = HDA_FIXUP_PINS, 1314 .type = HDA_FIXUP_VERBS, 1323 .type [all...] |
/linux-master/sound/core/seq/ |
H A D | seq_ump_convert.c | 72 #define make_raw_ump(port, type) \ 73 ump_compose(type, get_ump_group(port), 0, 0) 141 ev->type = midi1_msg_encoders[status].seq_type; 191 ev->type = system_msg_encoders[status].seq_type; 193 if (ev->type == SNDRV_SEQ_EVENT_NONE) 212 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && 246 ev->type = SNDRV_SEQ_EVENT_CONTROL14; 251 ev->type = SNDRV_SEQ_EVENT_PGMCHANGE; 308 ev->type = midi2_msg_encoders[status].seq_type; 309 if (ev->type 466 cvt_ump_to_any(struct snd_seq_client *dest, struct snd_seq_client_port *dest_port, struct snd_seq_event *event, unsigned char type, int atomic, int hop) argument 551 unsigned char type; local 1040 find_ump_encoder(int type) argument [all...] |
/linux-master/net/unix/ |
H A D | af_unix.c | 147 int addr_len, int type) 154 hash ^= type; 731 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) 817 if (sock->type == SOCK_DGRAM || s_state == TCP_ESTABLISHED) 952 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern, int type) argument 964 if (type == SOCK_STREAM) 1013 switch (sock->type) { 1022 sock->type = SOCK_DGRAM; 1034 sk = unix_create1(net, sock, kern, sock->type); 146 unix_abstract_hash(struct sockaddr_un *sunaddr, int addr_len, int type) argument 1055 unix_find_bsd(struct sockaddr_un *sunaddr, int addr_len, int type) argument 1099 unix_find_abstract(struct net *net, struct sockaddr_un *sunaddr, int addr_len, int type) argument 1118 unix_find_other(struct net *net, struct sockaddr_un *sunaddr, int addr_len, int type) argument [all...] |
/linux-master/net/sched/ |
H A D | sch_generic.c | 1162 else if(dev->type == ARPHRD_CAN)
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo.c | 321 * http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.212.4592&rep=rep1&type=pdf 510 * @gfp: the type of memory to allocate (see kmalloc). 2126 WARN_ON_ONCE(iter->type != NFT_ITER_READ && 2127 iter->type != NFT_ITER_UPDATE); 2130 if (iter->type == NFT_ITER_READ)
|