Home
last modified time | relevance | path

Searched refs:access_type (Results 1 – 25 of 54) sorted by relevance

123

/linux/kernel/kcsan/
H A Dreport.c32 int access_type; member
433 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
437 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), in print_report()
446 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
459 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
463 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
638 int access_type, unsigned long ip) in prepare_access_info() argument
643 .access_type = access_type, in prepare_access_info()
647 .ip = (access_type & KCSAN_ACCESS_SCOPED) ? ip : 0, in prepare_access_info()
654 const struct access_info ai = prepare_access_info(ptr, size, access_type, ip); in kcsan_report_set_info()
[all …]
H A Dkcsan.h123 void kcsan_report_set_info(const volatile void *ptr, size_t size, int access_type,
131 void kcsan_report_known_origin(const volatile void *ptr, size_t size, int access_type,
139 void kcsan_report_unknown_origin(const volatile void *ptr, size_t size, int access_type,
H A Dselftest.c125 #define __KCSAN_CHECK_BARRIER(access_type, barrier, name) \ in test_barrier() argument
127 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier()
131 pr_err("improperly instrumented type=(" #access_type "): " name "\n"); \ in test_barrier()
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dsdk.c125 void *buf, enum mlx5_fpga_access_type access_type) in mlx5_fpga_mem_read() argument
129 switch (access_type) { in mlx5_fpga_mem_read()
137 access_type); in mlx5_fpga_mem_read()
146 void *buf, enum mlx5_fpga_access_type access_type) in mlx5_fpga_mem_write() argument
150 switch (access_type) { in mlx5_fpga_mem_write()
158 access_type); in mlx5_fpga_mem_write()
H A Dsdk.h179 void *buf, enum mlx5_fpga_access_type access_type);
197 void *buf, enum mlx5_fpga_access_type access_type);
/linux/tools/testing/selftests/powerpc/mm/
H A Dstack_expansion_ldst.c31 enum access_type { enum
42 int consume_stack(unsigned long target_sp, unsigned long stack_high, int delta, enum access_type ty… in consume_stack()
114 int child(unsigned int stack_used, int delta, enum access_type type) in child()
129 static int test_one(unsigned int stack_used, int delta, enum access_type type) in test_one()
157 static void test_one_type(enum access_type type, unsigned long page_size, unsigned long rlim_cur) in test_one_type()
/linux/sound/soc/sof/
H A Ddebug.c70 dfse->access_type == SOF_DEBUGFS_ACCESS_ALWAYS) { in sof_dfsentry_read()
80 dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) { in sof_dfsentry_read()
117 enum sof_debugfs_access_type access_type) in snd_sof_debugfs_io_item() argument
132 dfse->access_type = access_type; in snd_sof_debugfs_io_item()
139 if (access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) { in snd_sof_debugfs_io_item()
158 enum sof_debugfs_access_type access_type) in snd_sof_debugfs_add_region_item_iomem() argument
166 access_type); in snd_sof_debugfs_add_region_item_iomem()
368 map->name, map->access_type); in snd_sof_dbg_init()
H A Dsof-priv.h327 enum sof_debugfs_access_type access_type); /* optional */
388 enum sof_debugfs_access_type access_type; member
410 enum sof_debugfs_access_type access_type; member
789 const char *name, enum sof_debugfs_access_type access_type);
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_pagefault.c30 u8 access_type; member
39 enum access_type { enum
58 u8 access_type; member
63 static bool access_is_atomic(enum access_type access_type) in access_is_atomic() argument
65 return access_type == ACCESS_TYPE_ATOMIC; in access_is_atomic()
139 atomic = access_is_atomic(pf->access_type); in handle_vma_pagefault()
257 pf->fault_type, pf->access_type, pf->fault_level, in print_pagefault()
282 pf->access_type = FIELD_GET(PFD_ACCESS_TYPE, desc->dw2); in get_pagefault()
517 acc->access_type ? "AC_NTFY_VAL" : "AC_TRIG_VAL", in print_acc()
542 if (acc->access_type != ACC_TRIGGER) in handle_acc()
[all …]
/linux/arch/mips/pci/
H A Dops-lantiq.c26 static int ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus, in ltq_pci_config_access() argument
46 if (access_type == PCI_ACCESS_WRITE) { in ltq_pci_config_access()
65 if (((*data) == 0xffffffff) && (access_type == PCI_ACCESS_READ)) in ltq_pci_config_access()
H A Dops-loongson2.c32 static int loongson_pcibios_config_access(unsigned char access_type, in loongson_pcibios_config_access() argument
58 switch (access_type) { in loongson_pcibios_config_access()
92 if (access_type == PCI_ACCESS_WRITE) in loongson_pcibios_config_access()
H A Dops-gt64xxx_pci0.c30 static int gt64xxx_pci0_pcibios_config_access(unsigned char access_type, in gt64xxx_pci0_pcibios_config_access() argument
50 if (access_type == PCI_ACCESS_WRITE) { in gt64xxx_pci0_pcibios_config_access()
H A Dops-msc.c33 static int msc_pcibios_config_access(unsigned char access_type, in msc_pcibios_config_access() argument
50 if (access_type == PCI_ACCESS_WRITE) in msc_pcibios_config_access()
H A Dops-bonito64.c24 static int bonito64_pcibios_config_access(unsigned char access_type, in bonito64_pcibios_config_access() argument
60 if (access_type == PCI_ACCESS_WRITE) { in bonito64_pcibios_config_access()
H A Dops-rc32434.c46 static inline int config_access(unsigned char access_type, in config_access() argument
57 if (access_type == PCI_ACCESS_WRITE) in config_access()
H A Dpci-alchemy.c99 static int config_access(unsigned char access_type, struct pci_bus *bus, in config_access() argument
154 if (access_type == PCI_ACCESS_WRITE) in config_access()
161 access_type, bus->number, device, where, *data, offset); in config_access()
169 access_type, bus->number, device); in config_access()
/linux/tools/testing/selftests/bpf/progs/
H A Ddev_cgroup.c15 short type = ctx->access_type & 0xFFFF; in bpf_prog1()
17 short access = ctx->access_type >> 16; in bpf_prog1()
/linux/arch/x86/events/intel/
H A Duncore_discovery.h74 access_type : 2; member
100 access_type : 2; member
126 enum uncore_access_type access_type; member
H A Duncore_discovery.c83 if (unit->access_type >= UNCORE_ACCESS_MAX) { in add_uncore_discovery_type()
84 pr_warn("Unsupported access type %d\n", unit->access_type); in add_uncore_discovery_type()
94 type->access_type = unit->access_type; in add_uncore_discovery_type()
95 num_discovered_types[type->access_type]++; in add_uncore_discovery_type()
330 if (unit.access_type >= UNCORE_ACCESS_MAX) in parse_discovery_table()
710 if (type->access_type != type_id) in intel_uncore_generic_init_uncores()
/linux/arch/sh/drivers/pci/
H A Dops-sh7786.c19 static int sh7786_pcie_config_access(unsigned char access_type, in sh7786_pcie_config_access() argument
50 if (access_type == PCI_ACCESS_READ) in sh7786_pcie_config_access()
78 if (access_type == PCI_ACCESS_READ) in sh7786_pcie_config_access()
/linux/drivers/platform/x86/intel/pmt/
H A Dtelemetry.c78 header->access_type = TELEM_ACCESS(readl(disc_table)); in pmt_telem_header_decode()
90 if (header->size == 0 || header->access_type == 0xF) in pmt_telem_header_decode()
108 ep->header.access_type = entry->header.access_type; in pmt_telem_add_endpoint()
H A Dclass.c193 switch (header->access_type) { in intel_pmt_populate_entry()
198 bir, header->access_type); in intel_pmt_populate_entry()
249 header->access_type); in intel_pmt_populate_entry()
H A Dtelemetry.h13 u8 access_type; member
/linux/drivers/platform/chrome/
H A Dcros_ec_lpc_mec.c79 enum cros_ec_lpc_mec_emi_access_mode access_type) in cros_ec_lpc_mec_emi_write_address() argument
81 outb((addr & 0xfc) | access_type, MEC_EMI_EC_ADDRESS_B0(mec_emi_base)); in cros_ec_lpc_mec_emi_write_address()
/linux/tools/testing/selftests/kvm/
H A Daccess_tracking_perf_test.c257 enum access_type { enum
283 enum access_type access, const char *description) in access_memory()

123