/arch/x86/kvm/vmx/ |
D | vmx_ops.h | 13 asmlinkage void vmread_error(unsigned long field, bool fault); 14 __attribute__((regparm(0))) void vmread_error_trampoline(unsigned long field, 16 void vmwrite_error(unsigned long field, unsigned long value); 22 static __always_inline void vmcs_check16(unsigned long field) in vmcs_check16() argument 24 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check16() 26 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check16() 28 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check16() 30 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check16() 34 static __always_inline void vmcs_check32(unsigned long field) in vmcs_check32() argument 36 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check32() [all …]
|
D | evmcs.h | 78 static __always_inline int get_evmcs_offset(unsigned long field, in get_evmcs_offset() argument 81 unsigned int index = ROL16(field, 6); in get_evmcs_offset() 86 field); in get_evmcs_offset() 98 static inline void evmcs_write64(unsigned long field, u64 value) in evmcs_write64() argument 101 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write64() 111 static inline void evmcs_write32(unsigned long field, u32 value) in evmcs_write32() argument 114 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write32() 123 static inline void evmcs_write16(unsigned long field, u16 value) in evmcs_write16() argument 126 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write16() 135 static inline u64 evmcs_read64(unsigned long field) in evmcs_read64() argument [all …]
|
D | vmcs.h | 167 static inline int vmcs_field_width(unsigned long field) in vmcs_field_width() argument 169 if (0x1 & field) /* the *_HIGH fields are all 32 bit */ in vmcs_field_width() 171 return (field >> 13) & 0x3; in vmcs_field_width() 174 static inline int vmcs_field_readonly(unsigned long field) in vmcs_field_readonly() argument 176 return (((field >> 10) & 0x3) == 1); in vmcs_field_readonly() 182 static inline unsigned int vmcs_field_index(unsigned long field) in vmcs_field_index() argument 184 return (field & VMCS_FIELD_INDEX_MASK) >> VMCS_FIELD_INDEX_SHIFT; in vmcs_field_index()
|
D | vmcs12.h | 211 #define CHECK_OFFSET(field, loc) \ argument 212 BUILD_BUG_ON_MSG(offsetof(struct vmcs12, field) != (loc), \ 213 "Offset of " #field " in struct vmcs12 has changed.") 367 static inline short vmcs_field_to_offset(unsigned long field) in vmcs_field_to_offset() argument 372 if (field >> 15) in vmcs_field_to_offset() 375 index = ROL16(field, 6); in vmcs_field_to_offset() 386 static inline u64 vmcs12_read_any(struct vmcs12 *vmcs12, unsigned long field, in vmcs12_read_any() argument 391 switch (vmcs_field_width(field)) { in vmcs12_read_any() 406 static inline void vmcs12_write_any(struct vmcs12 *vmcs12, unsigned long field, in vmcs12_write_any() argument 411 switch (vmcs_field_width(field)) { in vmcs12_write_any()
|
/arch/mips/mm/ |
D | fault.c | 44 const int field = sizeof(unsigned long) * 2; in __do_page_fault() local 53 current->comm, current->pid, field, address, write, in __do_page_fault() 54 field, regs->cp0_epc); in __do_page_fault() 130 field, address, write, in __do_page_fault() 131 field, regs->cp0_epc); in __do_page_fault() 141 field, address, write, in __do_page_fault() 142 field, regs->cp0_epc); in __do_page_fault() 209 field, address); in __do_page_fault() 210 pr_info("epc = %0*lx in", field, in __do_page_fault() 214 pr_info("ra = %0*lx in", field, in __do_page_fault() [all …]
|
/arch/x86/tools/ |
D | objdump_reformat.awk | 25 if (split($0, field, "\t") < 3) { 27 prev_hex = prev_hex field[2] 39 prev_addr = field[1] 40 prev_hex = field[2] 41 prev_mnemonic = field[3]
|
D | insn_decoder_test.c | 60 struct insn_field *field) in dump_field() argument 64 indent, field->value, field->bytes[0], field->bytes[1], in dump_field() 65 field->bytes[2], field->bytes[3]); in dump_field() 67 field->got, field->nbytes); in dump_field()
|
D | insn_sanity.c | 53 struct insn_field *field) in dump_field() argument 57 indent, field->value, field->bytes[0], field->bytes[1], in dump_field() 58 field->bytes[2], field->bytes[3]); in dump_field() 60 field->got, field->nbytes); in dump_field()
|
/arch/mips/include/uapi/asm/ |
D | bitfield.h | 16 #define __BITFIELD_FIELD(field, more) \ argument 17 field; \ 22 #define __BITFIELD_FIELD(field, more) \ argument 24 field;
|
/arch/arm64/include/asm/ |
D | cpufeature.h | 521 cpuid_feature_extract_signed_field_width(u64 features, int field, int width) in cpuid_feature_extract_signed_field_width() argument 523 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_signed_field_width() 527 cpuid_feature_extract_signed_field(u64 features, int field) in cpuid_feature_extract_signed_field() argument 529 return cpuid_feature_extract_signed_field_width(features, field, 4); in cpuid_feature_extract_signed_field() 533 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) in cpuid_feature_extract_unsigned_field_width() argument 535 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width() 539 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument 541 return cpuid_feature_extract_unsigned_field_width(features, field, 4); in cpuid_feature_extract_unsigned_field() 550 cpuid_feature_cap_perfmon_field(u64 features, int field, u64 cap) in cpuid_feature_cap_perfmon_field() argument 552 u64 val = cpuid_feature_extract_unsigned_field(features, field); in cpuid_feature_cap_perfmon_field() [all …]
|
D | image.h | 25 #define arm64_image_flag_field(flags, field) \ argument 26 (((flags) >> field##_SHIFT) & field##_MASK)
|
/arch/x86/include/asm/ |
D | svm.h | 399 #define GHCB_BITMAP_IDX(field) \ argument 400 (offsetof(struct vmcb_save_area, field) / sizeof(u64)) 402 #define DEFINE_GHCB_ACCESSORS(field) \ argument 403 static inline bool ghcb_##field##_is_valid(const struct ghcb *ghcb) \ 405 return test_bit(GHCB_BITMAP_IDX(field), \ 409 static inline u64 ghcb_get_##field(struct ghcb *ghcb) \ 411 return ghcb->save.field; \ 414 static inline u64 ghcb_get_##field##_if_valid(struct ghcb *ghcb) \ 416 return ghcb_##field##_is_valid(ghcb) ? ghcb->save.field : 0; \ 419 static inline void ghcb_set_##field(struct ghcb *ghcb, u64 value) \ [all …]
|
/arch/mips/lib/ |
D | dump_tlb.c | 19 const int field = 2 * sizeof(unsigned long); in dump_tlb_regs() local 25 pr_info("EntryHi : %0*lx\n", field, read_c0_entryhi()); in dump_tlb_regs() 26 pr_info("EntryLo0 : %0*lx\n", field, read_c0_entrylo0()); in dump_tlb_regs() 27 pr_info("EntryLo1 : %0*lx\n", field, read_c0_entrylo1()); in dump_tlb_regs() 40 pr_info("PWField : %0*lx\n", field, read_c0_pwfield()); in dump_tlb_regs() 41 pr_info("PWSize : %0*lx\n", field, read_c0_pwsize()); in dump_tlb_regs()
|
/arch/riscv/include/asm/ |
D | image.h | 21 #define __HEAD_FLAG(field) (__HEAD_FLAG_##field << \ argument 22 RISCV_IMAGE_FLAG_##field##_SHIFT)
|
/arch/arm64/kernel/ |
D | image.h | 41 #define __HEAD_FLAG(field) (__HEAD_FLAG_##field << \ argument 42 ARM64_IMAGE_FLAG_##field##_SHIFT)
|
/arch/mips/cavium-octeon/executive/ |
D | cvmx-l2c.c | 51 uint32_t field; in cvmx_l2c_get_core_way_partition() local 64 field = (core & 0x3) * 8; in cvmx_l2c_get_core_way_partition() 73 return (cvmx_read_csr(CVMX_L2C_SPAR0) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 75 return (cvmx_read_csr(CVMX_L2C_SPAR1) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 77 return (cvmx_read_csr(CVMX_L2C_SPAR2) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 79 return (cvmx_read_csr(CVMX_L2C_SPAR3) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition() 86 uint32_t field; in cvmx_l2c_set_core_way_partition() local 110 field = (core & 0x3) * 8; in cvmx_l2c_set_core_way_partition() 120 (cvmx_read_csr(CVMX_L2C_SPAR0) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition() 121 mask << field); in cvmx_l2c_set_core_way_partition() [all …]
|
/arch/arm64/kvm/ |
D | hyp_events.c | 202 struct trace_event_fields *field; in hyp_event_format_show() local 210 field = &evt->call->class->fields_array[0]; in hyp_event_format_show() 211 while (field->name) { in hyp_event_format_show() 213 field->type, field->name, offset, field->size, in hyp_event_format_show() 214 !!field->is_signed); in hyp_event_format_show() 215 offset += field->size; in hyp_event_format_show() 216 field++; in hyp_event_format_show() 219 if (field != &evt->call->class->fields_array[0]) in hyp_event_format_show()
|
/arch/arm/boot/dts/ |
D | xenvm-4.2.dts | 20 /* this field is going to be adjusted by the hypervisor */ 50 /* this field is going to be adjusted by the hypervisor */ 73 /* this field is going to be adjusted by the hypervisor */ 75 /* this field is going to be adjusted by the hypervisor */
|
/arch/sh/drivers/dma/ |
D | dma-sysfs.c | 109 #define dma_ro_attr(field, fmt) \ argument 110 static ssize_t dma_show_##field(struct device *dev, \ 114 return sprintf(buf, fmt, channel->field); \ 116 static DEVICE_ATTR(field, S_IRUGO, dma_show_##field, NULL);
|
/arch/mips/sgi-ip22/ |
D | ip22-berr.c | 91 const int field = 2 * sizeof(unsigned long); in ip22_be_interrupt() local 98 field, regs->cp0_epc, field, regs->regs[31]); in ip22_be_interrupt()
|
/arch/arm/include/asm/ |
D | cputype.h | 332 int field) in cpuid_feature_extract_field() argument 334 int feature = (features >> field) & 15; in cpuid_feature_extract_field() 343 #define cpuid_feature_extract(reg, field) \ argument 344 cpuid_feature_extract_field(read_cpuid_ext(reg), field)
|
/arch/powerpc/platforms/pseries/ |
D | vphn.c | 29 const __be16 *field = (const __be16 *) be_packed; in vphn_unpack_associativity() local 42 u16 new = be16_to_cpup(field++); in vphn_unpack_associativity()
|
/arch/mips/kernel/ |
D | traps.c | 173 const int field = 2 * sizeof(unsigned long); in show_stacktrace() local 181 if (i && ((i % (64 / field)) == 0)) { in show_stacktrace() 195 pr_cont(" %0*lx", field, stackdata); in show_stacktrace() 259 const int field = 2 * sizeof(unsigned long); in __show_regs() local 273 pr_cont(" %0*lx", field, 0UL); in __show_regs() 275 pr_cont(" %*s", field, ""); in __show_regs() 277 pr_cont(" %0*lx", field, regs->regs[i]); in __show_regs() 285 printk("Acx : %0*lx\n", field, regs->acx); in __show_regs() 288 printk("Hi : %0*lx\n", field, regs->hi); in __show_regs() 289 printk("Lo : %0*lx\n", field, regs->lo); in __show_regs() [all …]
|
/arch/mips/sgi-ip32/ |
D | crime.c | 29 const int field = 2 * sizeof(unsigned long); in crime_init() local 39 id, rev, field, (unsigned long) CRIME_BASE); in crime_init()
|
/arch/arm64/kvm/vgic/ |
D | vgic-mmio-v3.c | 395 u64 vgic_sanitise_shareability(u64 field) in vgic_sanitise_shareability() argument 397 switch (field) { in vgic_sanitise_shareability() 401 return field; in vgic_sanitise_shareability() 406 u64 vgic_sanitise_inner_cacheability(u64 field) in vgic_sanitise_inner_cacheability() argument 408 switch (field) { in vgic_sanitise_inner_cacheability() 413 return field; in vgic_sanitise_inner_cacheability() 418 u64 vgic_sanitise_outer_cacheability(u64 field) in vgic_sanitise_outer_cacheability() argument 420 switch (field) { in vgic_sanitise_outer_cacheability() 423 return field; in vgic_sanitise_outer_cacheability() 432 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field() local [all …]
|