| /freebsd/contrib/processor-trace/libipt/src/ |
| H A D | pt_section_file.c | 38 static int fmap_init(struct pt_sec_file_mapping *mapping) in fmap_init() argument 40 if (!mapping) in fmap_init() 43 memset(mapping, 0, sizeof(*mapping)); in fmap_init() 49 errcode = mtx_init(&mapping->lock, mtx_plain); in fmap_init() 58 static void fmap_fini(struct pt_sec_file_mapping *mapping) in fmap_fini() argument 60 if (!mapping) in fmap_fini() 63 fclose(mapping->file); in fmap_fini() 67 mtx_destroy(&mapping->lock); in fmap_fini() 72 static int fmap_lock(struct pt_sec_file_mapping *mapping) in fmap_lock() argument 74 if (!mapping) in fmap_lock() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeDeserializer.h | 32 Mapping(Reader) {} in MappingInfo() 36 TypeRecordMapping Mapping; member 45 if (auto EC = I.Mapping.visitTypeBegin(CVT)) in deserializeAs() 47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record)) in deserializeAs() 49 if (auto EC = I.Mapping.visitTypeEnd(CVT)) in deserializeAs() 68 assert(!Mapping && "Already in a type mapping!"); in visitTypeBegin() 69 Mapping = std::make_unique<MappingInfo>(Record.content()); in visitTypeBegin() 70 return Mapping->Mapping in visitTypeBegin() 99 std::unique_ptr<MappingInfo> Mapping; global() variable 108 TypeRecordMapping Mapping; global() member 159 MappingInfo Mapping; global() variable [all...] |
| H A D | SymbolDeserializer.h | 28 Mapping(Reader, Container) {} in MappingInfo() 32 SymbolRecordMapping Mapping; member 64 assert(!Mapping && "Already in a symbol mapping!"); in visitSymbolBegin() 65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container); in visitSymbolBegin() 66 return Mapping->Mapping.visitSymbolBegin(Record); in visitSymbolBegin() 69 assert(Mapping && "Not in a symbol mapping!"); in visitSymbolEnd() 70 auto EC = Mapping in visitSymbolEnd() 94 std::unique_ptr<MappingInfo> Mapping; global() variable [all...] |
| /freebsd/contrib/processor-trace/libipt/src/posix/ |
| H A D | pt_section_posix.c | 101 struct pt_sec_posix_mapping *mapping; in pt_sec_posix_map() local 139 mapping = malloc(sizeof(*mapping)); in pt_sec_posix_map() 140 if (!mapping) { in pt_sec_posix_map() 145 mapping->base = base; in pt_sec_posix_map() 146 mapping->size = size; in pt_sec_posix_map() 147 mapping->begin = base + adjustment; in pt_sec_posix_map() 148 mapping->end = base + size; in pt_sec_posix_map() 150 section->mapping = mapping; in pt_sec_posix_map() 187 * We still want to return the error so we release our mapping. in pt_sec_posix_map_success() 214 if (section->mapping) in pt_section_map() [all …]
|
| /freebsd/contrib/processor-trace/libipt/src/windows/ |
| H A D | pt_section_windows.c | 127 struct pt_sec_windows_mapping *mapping; in pt_sec_windows_map() local 168 mapping = malloc(sizeof(*mapping)); in pt_sec_windows_map() 169 if (!mapping) { in pt_sec_windows_map() 174 mapping->fd = fd; in pt_sec_windows_map() 175 mapping->mh = mh; in pt_sec_windows_map() 176 mapping->base = base; in pt_sec_windows_map() 177 mapping->begin = base + adjustment; in pt_sec_windows_map() 178 mapping->end = base + size; in pt_sec_windows_map() 180 section->mapping = mapping; in pt_sec_windows_map() 220 * We still want to return the error so we release our mapping. in pt_sec_windows_map_success() [all …]
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | io-mapping.h | 51 io_mapping_init_wc(struct io_mapping *mapping, resource_size_t base, in io_mapping_init_wc() argument 55 mapping->base = base; in io_mapping_init_wc() 56 mapping->size = size; in io_mapping_init_wc() 58 mapping->mem = ioremap_wc(base, size); in io_mapping_init_wc() 59 mapping->attr = VM_MEMATTR_WRITE_COMBINING; in io_mapping_init_wc() 61 mapping->mem = ioremap_nocache(base, size); in io_mapping_init_wc() 62 mapping->attr = VM_MEMATTR_UNCACHEABLE; in io_mapping_init_wc() 64 return (mapping); in io_mapping_init_wc() 68 io_mapping_fini(struct io_mapping *mapping) in io_mapping_fini() argument 71 iounmap(mapping->mem); in io_mapping_fini() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DarwinSDKInfo.h | 47 /// Returns the os-environment mapping pair that's used to represent the 48 /// macOS -> Mac Catalyst version mapping. 54 /// Returns the os-environment mapping pair that's used to represent the 55 /// Mac Catalyst -> macOS version mapping. 61 /// Returns the os-environment mapping pair that's used to represent the 62 /// iOS -> watchOS version mapping. 68 /// Returns the os-environment mapping pair that's used to represent the 69 /// iOS -> tvOS version mapping. 81 /// Represents a version mapping that maps from a version of one target to a 91 llvm::DenseMap<VersionTuple, VersionTuple> Mapping) in RelatedTargetVersionMapping() argument [all …]
|
| /freebsd/share/man/man9/ |
| H A D | pmap_enter.9 | 45 function creates a mapping in the physical map 53 Any previous mapping at the virtual address 68 The mapping should be marked as wired. 70 This function may not sleep during creation of the mapping. 71 If the mapping cannot be created without sleeping, an appropriate 76 flag is not specified, this function must create the requested mapping 79 In order to create the requested mapping, this function may destroy 80 any non-wired mapping in any pmap. 84 parameter specifies the page size that should be used by the mapping. 92 function destroys or updates a managed mapping, including an existing [all …]
|
| H A D | bus_dma.9 | 80 .Nd Bus and Machine Independent DMA Mapping Interface 205 A mapping structure 207 represents a mapping of a memory region for DMA. 209 the mapping structure tracks any I/O MMU entries used by a request. 211 the mapping tracks the bounce pages used. 214 a mapping must be bound to a memory region by calling one of the 217 These functions configure the mapping which can include programming entries 223 When a mapping is no longer needed, 224 the mapping must be unloaded via 231 If a mapping uses bounce pages, [all …]
|
| H A D | vm_map_find.9 | 51 creates a mapping of 64 when creating the mapping, if and only if a free region is found. 76 it specifies an upper bound on the mapping. 77 The mapping will only succeed if a free region can be found that resides 94 The mapping will only succeed if there is a free region of the requested 98 The mapping will succeed as long as there is a free region. 100 The mapping will succeed as long as there is a free region that begins on 107 then the mapping will require a free region that aligns relative to the 110 The mapping will succeed as long as there is a free region. 119 The mapping will succeed as long as there is a free region that aligns on [all …]
|
| H A D | bus_map_resource.9 | 51 These functions create or destroy a mapping of a previously activated 67 A set of optional properties to apply when creating a mapping. 70 to request a mapping of the entire resource with the default properties. 72 The resource mapping to create or destroy. 84 members that can be used for CPU access to the mapping. 87 member which contains the virtual address of the mapping if one exists. 96 a pointer to a mapping object can be passed as the first argument to 103 .Ss Optional Mapping Properties 108 can be used to specify optional properties of a mapping. 115 By default a mapping is created for the entire resource. [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | mdspan | 27 // [mdspan.layout], layout mapping 97 class layout_left::mapping { 106 constexpr mapping() noexcept = default; 107 constexpr mapping(const mapping&) noexcept = default; 108 constexpr mapping(const extents_type&) noexcept; 111 mapping(const mapping<OtherExtents>&) noexcept; 114 mapping(const layout_right::mapping<OtherExtents>&) noexcept; 117 mapping(const layout_stride::mapping<OtherExtents>&) noexcept; 119 constexpr mapping& operator=(const mapping&) noexcept = default; 140 friend constexpr bool operator==(const mapping&, const mapping<OtherExtents>&) noexcept; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__mdspan/ |
| H A D | layout_left.h | 44 class layout_left::mapping { 47 "layout_left::mapping template argument must be a specialization of extents."); 70 … "layout_left::mapping product of static extents must be representable as index_type."); 74 _LIBCPP_HIDE_FROM_ABI constexpr mapping() noexcept = default; 75 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const mapping&) noexcept = default; 76 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const extents_type& __ext) noexcept : __extents_(__ext) { in mapping() function 78 // mapping<dextents<char, 2>> map(dextents<char, 2>(40,40)); map(10, 3) == -126 in mapping() 81 … "layout_left::mapping extents ctor: product of extents must be representable as index_type."); in mapping() 87 mapping(const mapping<_OtherExtents>& __other) noexcept in requires() 90 …// mapping<dextents<char, 2>> map(mapping<dextents<int, 2>>(dextents<int, 2>(40,40))); map(10, 3) … in requires() [all …]
|
| H A D | layout_right.h | 44 class layout_right::mapping { 47 "layout_right::mapping template argument must be a specialization of extents."); 70 … "layout_right::mapping product of static extents must be representable as index_type."); 74 _LIBCPP_HIDE_FROM_ABI constexpr mapping() noexcept = default; 75 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const mapping&) noexcept = default; 76 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const extents_type& __ext) noexcept : __extents_(__ext) { in mapping() function 78 // mapping<dextents<char, 2>> map(dextents<char, 2>(40,40)); map(3, 10) == -126 in mapping() 81 … "layout_right::mapping extents ctor: product of extents must be representable as index_type."); in mapping() 87 mapping(const mapping<_OtherExtents>& __other) noexcept in requires() 90 …// mapping<dextents<char, 2>> map(mapping<dextents<int, 2>>(dextents<int, 2>(40,40))); map(3, 10) … in requires() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 83 void MappingTraits<MachOYAML::FileHeader>::mapping( in mapping() function in llvm::yaml::MappingTraits::FileHeader 97 void MappingTraits<MachOYAML::Object>::mapping(IO &IO, in mapping() function in llvm::yaml::MappingTraits::Object 126 void MappingTraits<MachOYAML::FatHeader>::mapping( in mapping() function in llvm::yaml::MappingTraits::FatHeader 132 void MappingTraits<MachOYAML::FatArch>::mapping(IO &IO, in mapping() function in llvm::yaml::MappingTraits::FatArch 143 void MappingTraits<MachOYAML::UniversalBinary>::mapping( in mapping() function in llvm::yaml::MappingTraits::UniversalBinary 157 void MappingTraits<MachOYAML::LinkEditData>::mapping( in mapping() function in llvm::yaml::MappingTraits::LinkEditData 173 void MappingTraits<MachOYAML::RebaseOpcode>::mapping( in mapping() function in llvm::yaml::MappingTraits::RebaseOpcode 180 void MappingTraits<MachOYAML::BindOpcode>::mapping( in mapping() function in llvm::yaml::MappingTraits::BindOpcode 189 void MappingTraits<MachOYAML::ExportEntry>::mapping( in mapping() function in llvm::yaml::MappingTraits::ExportEntry 201 void MappingTraits<MachOYAML::NListEntry>::mapping( in mapping() function in llvm::yaml::MappingTraits::NListEntry [all …]
|
| H A D | ObjectYAML.cpp | 22 void MappingTraits<YamlObjectFile>::mapping(IO &IO, in mapping() function in MappingTraits 26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping() 28 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping() 30 MappingTraits<GOFFYAML::Object>::mapping(IO, *ObjectFile.Goff); in mapping() 32 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping() 34 MappingTraits<MachOYAML::UniversalBinary>::mapping(IO, in mapping() 40 MappingTraits<ArchYAML::Archive>::mapping(IO, *ObjectFile.Arch); in mapping() 47 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping() 50 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping() 53 MappingTraits<GOFFYAML::Object>::mapping(I in mapping() [all...] |
| H A D | DWARFYAML.cpp | 91 void MappingTraits<DWARFYAML::Data>::mapping(IO &IO, DWARFYAML::Data &DWARF) { in mapping() function in llvm::yaml::MappingTraits::Data 114 void MappingTraits<DWARFYAML::AbbrevTable>::mapping( in mapping() function in llvm::yaml::MappingTraits::AbbrevTable 120 void MappingTraits<DWARFYAML::Abbrev>::mapping(IO &IO, in mapping() function in llvm::yaml::MappingTraits::Abbrev 128 void MappingTraits<DWARFYAML::IdxForm>::mapping(IO &IO, in mapping() function in llvm::yaml::MappingTraits::IdxForm 134 void MappingTraits<DWARFYAML::DebugNameAbbreviation>::mapping( in mapping() function in llvm::yaml::MappingTraits::DebugNameAbbreviation 141 void MappingTraits<DWARFYAML::DebugNameEntry>::mapping( in mapping() function in llvm::yaml::MappingTraits::DebugNameEntry 148 void MappingTraits<DWARFYAML::DebugNamesSection>::mapping( in mapping() function in llvm::yaml::MappingTraits::DebugNamesSection 154 void MappingTraits<DWARFYAML::AttributeAbbrev>::mapping( in mapping() function in llvm::yaml::MappingTraits::AttributeAbbrev 162 void MappingTraits<DWARFYAML::ARangeDescriptor>::mapping( in mapping() function in llvm::yaml::MappingTraits::ARangeDescriptor 168 void MappingTraits<DWARFYAML::ARange>::mapping(IO &IO, in mapping() function in llvm::yaml::MappingTraits::ARange [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StandardLibrary.cpp | 27 // A Mapping per language. 84 SymbolHeaderMapping *Mapping = new SymbolHeaderMapping(); in initialize() local 85 LanguageMappings[static_cast<unsigned>(Language)] = Mapping; in initialize() 88 Mapping->SymbolCount = SymCount; in initialize() 89 Mapping->SymbolNames = in initialize() 90 new std::remove_reference_t<decltype(*Mapping->SymbolNames)>[SymCount]; in initialize() 91 Mapping->SymbolHeaderIDs = new std::remove_reference_t< in initialize() 92 decltype(*Mapping->SymbolHeaderIDs)>[SymCount]; in initialize() 93 Mapping->NamespaceSymbols = in initialize() 94 new std::remove_reference_t<decltype(*Mapping->NamespaceSymbols)>; in initialize() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | RegisterBankInfo.h | 45 /// value this partial mapping covers. 50 /// Number of bits at which this partial mapping starts in the 55 /// Length of this mapping in bits. This is how many bits this 56 /// partial mapping covers in the original value: 71 /// significant bit that this partial mapping covers. 74 /// Print this partial mapping on dbgs() stream. 77 /// Print this partial mapping on \p OS; 82 /// there is no way this mapping is valid. 94 /// (mappings with more than one partial mapping), but when we do, 97 /// mapping (i.e., PartialMapping **BreakDown) and duplicate the [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_platform.h | 29 // Mapping app memory and back does not produce the same address, 33 // Mapping is non-linear for linear user range. 60 C/C++ on netbsd/amd64 can reuse the same mapping: 851 template <typename Mapping> 855 return Mapping::kLoAppMemBeg; in Apply() 857 return Mapping::kLoAppMemEnd; in Apply() 859 return Mapping::kMidAppMemBeg; in Apply() 861 return Mapping::kMidAppMemEnd; in Apply() 863 return Mapping::kHiAppMemBeg; in Apply() 865 return Mapping::kHiAppMemEnd; in Apply() [all …]
|
| /freebsd/lib/libc/gen/ |
| H A D | strtofflags.c | 45 } const mapping[] = { variable 90 #define nmappings (sizeof(mapping) / sizeof(mapping[0])) 112 if (setflags & mapping[i].flag) { in fflagstostr() 115 for (sp = mapping[i].invert ? mapping[i].name : in fflagstostr() 116 mapping[i].name + 2; *sp; *dp++ = *sp++) ; in fflagstostr() 117 setflags &= ~mapping[i].flag; in fflagstostr() 146 if (strcmp(p, mapping[i].name + 2) == 0) { in strtofflags() 147 if (mapping[i].invert) { in strtofflags() 149 *clrp |= mapping[i].flag; in strtofflags() 152 *setp |= mapping[i].flag; in strtofflags() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_indirect_mapping.c | 91 * The length (in bytes) of the mapping object array in memory and 106 * Compare an offset with an indirect mapping entry; there are three 109 * 1. The offset is "less than" the mapping entry; meaning the 110 * offset is less than the source offset of the mapping entry. In 112 * mapping entry and -1 will be returned. 114 * 2. The offset is "greater than" the mapping entry; meaning the 115 * offset is greater than the mapping entry's source offset plus 117 * the offset and the mapping entry and 1 will be returned. 126 * within the mapping entry's range. If this is the case, the 127 * offset is considered to be "equal to" the mapping entry and [all …]
|
| /freebsd/lib/libproc/ |
| H A D | proc_sym.c | 236 open_object(struct map_info *mapping) in open_object() argument 250 if (mapping->map.pr_mapname[0] == '\0') in open_object() 252 if (mapping->file->elf != NULL) in open_object() 255 file = mapping->file; in open_object() 256 map = &mapping->map; in open_object() 425 struct map_info *mapping; in _proc_addr2map() local 432 mapping = &p->mappings[i]; in _proc_addr2map() 433 if (addr >= mapping->map.pr_vaddr && in _proc_addr2map() 434 addr < mapping->map.pr_vaddr + mapping->map.pr_size) in _proc_addr2map() 435 return (mapping); in _proc_addr2map() [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | pkru2.sh | 21 static volatile char *mapping; 33 mapping = mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, 35 if (mapping == MAP_FAILED) 37 error = x86_pkru_protect_range((void *)mapping, 39 error = x86_pkru_protect_range((void *)mapping, 46 if (munmap((void *)mapping, getpagesize()) == -1) 71 static volatile char *mapping; 83 mapping = mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, 85 if (mapping == MAP_FAILED) 87 error = x86_pkru_protect_range((void *)mapping, [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/sound/ |
| H A D | qcom,wcd937x-sdw.yaml | 24 qcom,tx-port-mapping: 26 Specifies static port mapping between device and host tx ports. 42 qcom,rx-port-mapping: 44 Specifies static port mapping between device and host rx ports. 61 qcom,tx-channel-mapping: 63 Specifies static channel mapping between slave and master tx port 78 qcom,rx-channel-mapping: 80 Specifies static channels mapping between slave and master rx port 110 qcom,rx-port-mapping = <1 2 3 4 5>; 111 qcom,rx-channel-mapping = /bits/ 8 <1 2 1 1 2 1 1 2>; [all …]
|