/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/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/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/libcxx/include/__mdspan/ |
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 …]
|
H A D | layout_left.h | 45 class layout_left::mapping { 48 "layout_left::mapping template argument must be a specialization of extents."); 71 … "layout_left::mapping product of static extents must be representable as index_type."); 75 _LIBCPP_HIDE_FROM_ABI constexpr mapping() noexcept = default; 76 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const mapping&) noexcept = default; 77 _LIBCPP_HIDE_FROM_ABI constexpr mapping(const extents_type& __ext) noexcept : __extents_(__ext) { in mapping() function 79 // mapping<dextents<char, 2>> map(dextents<char, 2>(40,40)); map(10, 3) == -126 in mapping() 82 … "layout_left::mapping extents ctor: product of extents must be representable as index_type."); in mapping() 88 mapping(const mapping<_OtherExtents>& __other) noexcept in requires() 91 …// mapping<dextents<char, 2>> map(mapping<dextents<int, 2>>(dextents<int, 2>(40,40))); map(10, 3) … in requires() [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 93 class layout_left::mapping { 102 constexpr mapping() noexcept = default; 103 constexpr mapping(const mapping&) noexcept = default; 104 constexpr mapping(const extents_type&) noexcept; 107 mapping(const mapping<OtherExtents>&) noexcept; 110 mapping(const layout_right::mapping<OtherExtents>&) noexcept; 113 mapping(const layout_stride::mapping<OtherExtents>&) noexcept; 115 constexpr mapping& operator=(const mapping&) noexcept = default; 136 friend constexpr bool operator==(const mapping&, const mapping<OtherExtents>&) noexcept; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 85 void MappingTraits<MachOYAML::FileHeader>::mapping( in mapping() 99 void MappingTraits<MachOYAML::Object>::mapping(IO &IO, in mapping() 128 void MappingTraits<MachOYAML::FatHeader>::mapping( in mapping() 134 void MappingTraits<MachOYAML::FatArch>::mapping(IO &IO, in mapping() 145 void MappingTraits<MachOYAML::UniversalBinary>::mapping( in mapping() 159 void MappingTraits<MachOYAML::LinkEditData>::mapping( in mapping() 175 void MappingTraits<MachOYAML::RebaseOpcode>::mapping( in mapping() 182 void MappingTraits<MachOYAML::BindOpcode>::mapping( in mapping() 191 void MappingTraits<MachOYAML::ExportEntry>::mapping( in mapping() 203 void MappingTraits<MachOYAML::NListEntry>::mapping( in mapping() 84 void MappingTraits<MachOYAML::FileHeader>::mapping( mapping() function in llvm::yaml::MappingTraits::FileHeader 98 void MappingTraits<MachOYAML::Object>::mapping(IO &IO, mapping() function in llvm::yaml::MappingTraits::Object 127 void MappingTraits<MachOYAML::FatHeader>::mapping( mapping() function in llvm::yaml::MappingTraits::FatHeader 133 void MappingTraits<MachOYAML::FatArch>::mapping(IO &IO, mapping() function in llvm::yaml::MappingTraits::FatArch 144 void MappingTraits<MachOYAML::UniversalBinary>::mapping( mapping() function in llvm::yaml::MappingTraits::UniversalBinary 158 void MappingTraits<MachOYAML::LinkEditData>::mapping( mapping() function in llvm::yaml::MappingTraits::LinkEditData 174 void MappingTraits<MachOYAML::RebaseOpcode>::mapping( mapping() function in llvm::yaml::MappingTraits::RebaseOpcode 181 void MappingTraits<MachOYAML::BindOpcode>::mapping( mapping() function in llvm::yaml::MappingTraits::BindOpcode 190 void MappingTraits<MachOYAML::ExportEntry>::mapping( mapping() function in llvm::yaml::MappingTraits::ExportEntry 202 void MappingTraits<MachOYAML::NListEntry>::mapping( mapping() function in llvm::yaml::MappingTraits::NListEntry 211 void MappingTraits<MachOYAML::DataInCodeEntry>::mapping( mapping() function in llvm::yaml::MappingTraits::DataInCodeEntry 281 void MappingTraits<MachOYAML::LoadCommand>::mapping( mapping() function in llvm::yaml::MappingTraits::LoadCommand 303 void MappingTraits<MachO::dyld_info_command>::mapping( mapping() function in llvm::yaml::MappingTraits::dyld_info_command 317 void MappingTraits<MachOYAML::Relocation>::mapping( mapping() function in llvm::yaml::MappingTraits::Relocation 329 void MappingTraits<MachOYAML::Section>::mapping(IO &IO, mapping() function in llvm::yaml::MappingTraits::Section 355 void MappingTraits<MachO::build_tool_version>::mapping( mapping() function in llvm::yaml::MappingTraits::build_tool_version 361 void MappingTraits<MachO::dylib>::mapping(IO &IO, MachO::dylib &DylibStruct) { mapping() function in llvm::yaml::MappingTraits::dylib 368 void MappingTraits<MachO::dylib_command>::mapping( mapping() function in llvm::yaml::MappingTraits::dylib_command 373 void MappingTraits<MachO::dylinker_command>::mapping( mapping() function in llvm::yaml::MappingTraits::dylinker_command 378 void MappingTraits<MachO::dysymtab_command>::mapping( mapping() function in llvm::yaml::MappingTraits::dysymtab_command 400 void MappingTraits<MachO::encryption_info_command>::mapping( mapping() function in llvm::yaml::MappingTraits::encryption_info_command 407 void MappingTraits<MachO::encryption_info_command_64>::mapping( mapping() function in llvm::yaml::MappingTraits::encryption_info_command_64 415 void MappingTraits<MachO::entry_point_command>::mapping( mapping() function in llvm::yaml::MappingTraits::entry_point_command 421 void MappingTraits<MachO::fvmfile_command>::mapping( mapping() function in llvm::yaml::MappingTraits::fvmfile_command 427 void MappingTraits<MachO::fvmlib>::mapping(IO &IO, MachO::fvmlib &FVMLib) { mapping() function in llvm::yaml::MappingTraits::fvmlib 433 void MappingTraits<MachO::fvmlib_command>::mapping( mapping() function in llvm::yaml::MappingTraits::fvmlib_command 438 void MappingTraits<MachO::ident_command>::mapping( mapping() function in llvm::yaml::MappingTraits::ident_command 441 void MappingTraits<MachO::linkedit_data_command>::mapping( mapping() function in llvm::yaml::MappingTraits::linkedit_data_command 447 void MappingTraits<MachO::linker_option_command>::mapping( mapping() function in llvm::yaml::MappingTraits::linker_option_command 452 void MappingTraits<MachO::prebind_cksum_command>::mapping( mapping() function in llvm::yaml::MappingTraits::prebind_cksum_command 457 void MappingTraits<MachO::load_command>::mapping( mapping() function in llvm::yaml::MappingTraits::load_command 460 void MappingTraits<MachO::prebound_dylib_command>::mapping( mapping() function in llvm::yaml::MappingTraits::prebound_dylib_command 467 void MappingTraits<MachO::routines_command>::mapping( mapping() function in llvm::yaml::MappingTraits::routines_command 479 void MappingTraits<MachO::routines_command_64>::mapping( mapping() function in llvm::yaml::MappingTraits::routines_command_64 491 void MappingTraits<MachO::rpath_command>::mapping( mapping() function in llvm::yaml::MappingTraits::rpath_command 496 void MappingTraits<MachO::section>::mapping(IO &IO, MachO::section &Section) { mapping() function in llvm::yaml::MappingTraits::section 510 void MappingTraits<MachO::section_64>::mapping(IO &IO, mapping() function in llvm::yaml::MappingTraits::section_64 526 void MappingTraits<MachO::segment_command>::mapping( mapping() function in llvm::yaml::MappingTraits::segment_command 539 void MappingTraits<MachO::segment_command_64>::mapping( mapping() function in llvm::yaml::MappingTraits::segment_command_64 552 void MappingTraits<MachO::source_version_command>::mapping( mapping() function in llvm::yaml::MappingTraits::source_version_command 557 void MappingTraits<MachO::sub_client_command>::mapping( mapping() function in llvm::yaml::MappingTraits::sub_client_command 562 void MappingTraits<MachO::sub_framework_command>::mapping( mapping() function in llvm::yaml::MappingTraits::sub_framework_command 567 void MappingTraits<MachO::sub_library_command>::mapping( mapping() function in llvm::yaml::MappingTraits::sub_library_command 572 void MappingTraits<MachO::sub_umbrella_command>::mapping( mapping() function in llvm::yaml::MappingTraits::sub_umbrella_command 577 void MappingTraits<MachO::symseg_command>::mapping( mapping() function in llvm::yaml::MappingTraits::symseg_command 583 void MappingTraits<MachO::symtab_command>::mapping( mapping() function in llvm::yaml::MappingTraits::symtab_command 591 void MappingTraits<MachO::thread_command>::mapping( mapping() function in llvm::yaml::MappingTraits::thread_command 594 void MappingTraits<MachO::twolevel_hints_command>::mapping( mapping() function in llvm::yaml::MappingTraits::twolevel_hints_command 600 void MappingTraits<MachO::uuid_command>::mapping( mapping() function in llvm::yaml::MappingTraits::uuid_command 605 void MappingTraits<MachO::version_min_command>::mapping( mapping() function in llvm::yaml::MappingTraits::version_min_command 611 void MappingTraits<MachO::note_command>::mapping( mapping() function in llvm::yaml::MappingTraits::note_command 618 void MappingTraits<MachO::build_version_command>::mapping( mapping() function in llvm::yaml::MappingTraits::build_version_command 626 void MappingTraits<MachO::fileset_entry_command>::mapping( mapping() function in llvm::yaml::MappingTraits::fileset_entry_command [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: 821 template <typename Mapping> 825 return Mapping::kLoAppMemBeg; in Apply() 827 return Mapping::kLoAppMemEnd; in Apply() 829 return Mapping::kMidAppMemBeg; 831 return Mapping::kMidAppMemEnd; 833 return Mapping::kHiAppMemBeg; in MemToShadow() 835 return Mapping in MemToShadow() [all...] |
/freebsd/lib/libc/gen/ |
H A D | strtofflags.c | 45 } const mapping[] = { variable 85 #define nmappings (sizeof(mapping) / sizeof(mapping[0])) 107 if (setflags & mapping[i].flag) { in fflagstostr() 110 for (sp = mapping[i].invert ? mapping[i].name : in fflagstostr() 111 mapping[i].name + 2; *sp; *dp++ = *sp++) ; in fflagstostr() 112 setflags &= ~mapping[i].flag; in fflagstostr() 141 if (strcmp(p, mapping[i].name + 2) == 0) { in strtofflags() 142 if (mapping[i].invert) { in strtofflags() 144 *clrp |= mapping[i].flag; in strtofflags() 147 *setp |= mapping[i].flag; in strtofflags() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_indirect_mapping.c | 94 * The length (in bytes) of the mapping object array in memory and 109 * Compare an offset with an indirect mapping entry; there are three 112 * 1. The offset is "less than" the mapping entry; meaning the 113 * offset is less than the source offset of the mapping entry. In 115 * mapping entry and -1 will be returned. 117 * 2. The offset is "greater than" the mapping entry; meaning the 118 * offset is greater than the mapping entry's source offset plus 120 * the offset and the mapping entry and 1 will be returned. 129 * within the mapping entry's range. If this is the case, the 130 * 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/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MachOYAML.h | 191 static void mapping(IO &IO, MachOYAML::FileHeader &FileHeader); in LLVM_YAML_IS_SEQUENCE_VECTOR() 195 static void mapping(IO &IO, MachOYAML::Object &Object); in LLVM_YAML_IS_SEQUENCE_VECTOR() 199 static void mapping(IO &IO, MachOYAML::FatHeader &FatHeader); in LLVM_YAML_IS_SEQUENCE_VECTOR() 203 static void mapping(IO &IO, MachOYAML::FatArch &FatArch); in LLVM_YAML_IS_SEQUENCE_VECTOR() 207 static void mapping(IO &IO, MachOYAML::UniversalBinary &UniversalBinary); in LLVM_YAML_IS_SEQUENCE_VECTOR() 211 static void mapping(IO &IO, MachOYAML::LoadCommand &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() 215 static void mapping(IO &IO, MachOYAML::LinkEditData &LinkEditData); in LLVM_YAML_IS_SEQUENCE_VECTOR() 219 static void mapping(IO &IO, MachOYAML::RebaseOpcode &RebaseOpcode); in LLVM_YAML_IS_SEQUENCE_VECTOR() 223 static void mapping(IO &IO, MachOYAML::BindOpcode &BindOpcode); in LLVM_YAML_IS_SEQUENCE_VECTOR() 227 static void mapping(IO &IO, MachOYAML::ExportEntry &ExportEntry); in LLVM_YAML_IS_SEQUENCE_VECTOR() [all …]
|