Home
last modified time | relevance | path

Searched full:section (Results 1 – 25 of 3059) sorted by relevance

12345678910>>...123

/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_section.c43 struct pt_section *section; in pt_mk_section() local
80 section = malloc(sizeof(*section)); in pt_mk_section()
81 if (!section) { in pt_mk_section()
86 memset(section, 0, sizeof(*section)); in pt_mk_section()
88 section->filename = fname; in pt_mk_section()
89 section->status = status; in pt_mk_section()
90 section->offset = offset; in pt_mk_section()
91 section->size = size; in pt_mk_section()
92 section->ucount = 1; in pt_mk_section()
96 errcode = mtx_init(&section->lock, mtx_plain); in pt_mk_section()
[all …]
H A Dpt_image_section_cache.c175 const struct pt_section *section; in pt_iscache_find_locked() local
184 section = entry->section; in pt_iscache_find_locked()
185 sec_filename = pt_section_filename(section); in pt_iscache_find_locked()
186 sec_offset = pt_section_offset(section); in pt_iscache_find_locked()
187 sec_size = pt_section_size(section); in pt_iscache_find_locked()
198 /* We should not have a section without a filename. */ in pt_iscache_find_locked()
220 errcode = pt_section_unmap(trash->section); in pt_iscache_lru_free()
261 /* Add @section to the front of @iscache->lru.
268 struct pt_section *section) in pt_isache_lru_new() argument
277 errcode = pt_section_memsize(section, &memsize); in pt_isache_lru_new()
[all …]
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-image_section_cache.c65 /* A lock protecting this section. */
75 extern int pt_section_get(struct pt_section *section);
76 extern int pt_section_put(struct pt_section *section);
77 extern int pt_section_attach(struct pt_section *section,
79 extern int pt_section_detach(struct pt_section *section,
82 extern int pt_section_map(struct pt_section *section);
83 extern int pt_section_map_share(struct pt_section *section);
84 extern int pt_section_unmap(struct pt_section *section);
85 extern int pt_section_request_bcache(struct pt_section *section);
87 extern const char *pt_section_filename(const struct pt_section *section);
[all …]
H A Dptunit-section.c47 struct pt_section *section);
49 struct pt_section *section, uint64_t size);
52 struct pt_section *section) in pt_iscache_notify_map() argument
63 return pt_section_map_share(section); in pt_iscache_notify_map()
67 struct pt_section *section, uint64_t size) in pt_iscache_notify_resize() argument
81 errcode = pt_section_memsize(section, &memsize); in pt_iscache_notify_resize()
88 return pt_section_map_share(section); in pt_iscache_notify_resize()
115 /* A test fixture providing a temporary file and an initially NULL section. */
126 /* The section. */
127 struct pt_section *section; member
[all …]
H A Dptunit-msec_cache.c36 int pt_section_get(struct pt_section *section) in pt_section_get() argument
40 if (!section) in pt_section_get()
43 ucount = section->ucount + 1; in pt_section_get()
47 section->ucount = ucount; in pt_section_get()
51 int pt_section_put(struct pt_section *section) in pt_section_put() argument
55 if (!section) in pt_section_put()
58 ucount = section->ucount; in pt_section_put()
62 section->ucount = ucount - 1; in pt_section_put()
66 int pt_section_map(struct pt_section *section) in pt_section_map() argument
70 if (!section) in pt_section_map()
[all …]
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_section.h44 /* A section of contiguous memory loaded from a file. */
60 * left in the section until the section is destroyed. This field
61 * is owned by the OS-specific mmap-based section implementation.
66 * the section is currently not mapped.
76 * section is unmapped.
78 * We read this field without locking and only lock the section in order
81 * We rely on guaranteed atomic operations as specified in section 8.1.1
87 /* A pointer to the iscache attached to this section.
91 * section at any time.
94 * to the section, which it needs to drop again after detaching.
[all …]
H A Dpt_image_section_cache.h41 /* An image section cache entry. */
43 /* The section object.
45 * We hold a reference to the section - put it when the section is
48 struct pt_section *section; member
50 /* The base address at which @section has been loaded. */
54 /* An image section cache least recently used cache entry. */
59 /* The section mapped by the image section cache. */
60 struct pt_section *section; member
62 /* The amount of memory used by mapping @section in bytes. */
68 * We combine the section with its load address to reduce the amount of
[all …]
H A Dpt_mapped_section.h38 /* A section mapped into memory. */
40 /* The section that is mapped. */
41 struct pt_section *section; member
43 /* The address space into which the section is mapped. */
46 /* The virtual address at which the section is mapped. */
49 /* The offset into the section.
51 * This is normally zero but when @section is split, @offset is added to
52 * the section/file offset when accessing @section.
56 /* The size of the section.
58 * This is normally @section->size but when @section is split, this is
[all …]
/freebsd/share/man/man5/
H A Delf.542 followed by a program header table or a section header table, or both.
45 table and the section header table's offset in the file are defined in the
346 This member holds the section header table's file offset in bytes.
348 file has no section header table this member holds zero.
369 member of the section header at index
380 A section header is one
381 entry in the section header table; all entries are the same size.
383 This member holds the number of entries in the section header table.
384 If the file is using extended section numbering, then the
386 member will be zero and the actual section number will be stored in the
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp26 Section::~Section() = default;
46 static void commonSectionMapping(IO &IO, WasmYAML::Section &Section) { in commonSectionMapping() argument
47 IO.mapRequired("Type", Section.Type); in commonSectionMapping()
48 IO.mapOptional("Relocations", Section.Relocations); in commonSectionMapping()
49 IO.mapOptional("HeaderSecSizeEncodingLen", Section.HeaderSecSizeEncodingLen); in commonSectionMapping()
52 static void sectionMapping(IO &IO, WasmYAML::DylinkSection &Section) { in sectionMapping() argument
53 commonSectionMapping(IO, Section); in sectionMapping()
54 IO.mapRequired("Name", Section.Name); in sectionMapping()
55 IO.mapRequired("MemorySize", Section.MemorySize); in sectionMapping()
56 IO.mapRequired("MemoryAlignment", Section.MemoryAlignment); in sectionMapping()
[all …]
H A DWasmEmitter.cpp33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec,
38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
39 void writeSectionContent(raw_ostream &OS, WasmYAML::TypeSection &Section);
40 void writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section);
41 void writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section);
42 void writeSectionContent(raw_ostream &OS, WasmYAML::TableSection &Section);
43 void writeSectionContent(raw_ostream &OS, WasmYAML::MemorySection &Section);
44 void writeSectionContent(raw_ostream &OS, WasmYAML::TagSection &Section);
45 void writeSectionContent(raw_ostream &OS, WasmYAML::GlobalSection &Section);
46 void writeSectionContent(raw_ostream &OS, WasmYAML::ExportSection &Section);
[all …]
H A DELFEmitter.cpp143 // Used to keep track of section and symbol names, so that in the YAML file
166 assert(false && "Expected section not found in index"); in get()
189 /// The future symbol table string section.
192 /// The future section header string table section, if a unique string table
197 /// The future dynamic symbol string section.
200 /// The name of the section header string table section. If it is .strtab or
201 /// .dynstr, the section header strings will be written to the same string
203 /// section will be created with that name.
229 StringRef SecName, ELFYAML::Section *YAMLSec);
234 ELFYAML::Section *YAMLSec);
[all …]
/freebsd/contrib/processor-trace/libipt/src/posix/
H A Dpt_section_posix.c73 static int check_file_status(struct pt_section *section, int fd) in check_file_status() argument
79 if (!section) in check_file_status()
86 status = section->status; in check_file_status()
99 int pt_sec_posix_map(struct pt_section *section, int fd) in pt_sec_posix_map() argument
107 if (!section) in pt_sec_posix_map()
110 offset = section->offset; in pt_sec_posix_map()
111 size = section->size; in pt_sec_posix_map()
122 /* The section is supposed to fit into the file so we shouldn't in pt_sec_posix_map()
125 if (size < section->size) in pt_sec_posix_map()
150 section->mapping = mapping; in pt_sec_posix_map()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDebugLineSectionEmitter.h23 /// This class emits specified line table into the .debug_line section.
36 // Get descriptor for output .debug_line section. in emit()
101 SectionDescriptor &Section) { in emitLineTablePrologue() argument
103 Section.emitIntVal(P.getVersion(), 2); in emitLineTablePrologue()
106 Section.emitIntVal(P.getAddressSize(), 1); in emitLineTablePrologue()
109 Section.emitIntVal(P.SegSelectorSize, 1); in emitLineTablePrologue()
113 Section.emitOffset(0xBADDEF); in emitLineTablePrologue()
115 uint64_t OffsetAfterPrologueLength = Section.OS.tell(); in emitLineTablePrologue()
116 emitLineTableProloguePayload(P, Section); in emitLineTablePrologue()
117 uint64_t OffsetAfterPrologueEnd = Section.OS.tell(); in emitLineTablePrologue()
[all …]
/freebsd/contrib/elftoolchain/elfcopy/
H A Delfcopy.140 .Op Fl R Ar sectionname | Fl -remove-section= Ns Ar sectionname
47 .Op Fl j Ar sectionname | Fl -only-section= Ns Ar sectionname
52 .Op Fl -add-section Ar sectionname Ns = Ns Ar filename
54 .Fl -adjust-section-vma Ar section Ns {+|-|=} Ns Ar val |
55 .Fl -change-section-address Ar section Ns {+|-|=} Ns Ar val
66 .Op Fl -change-section-lma Ar section Ns {+|-|=} Ns Ar val
67 .Op Fl -change-section-vma Ar section Ns {+|-|=} Ns Ar val
80 .Op Fl -rename-section Ar oldname Ns = Ns Ar newname Ns Op Ar ,flags
81 .Op Fl -set-section-flags Ar sectionname Ns = Ns Ar flags
133 .It Fl R Ar sectionname | Fl -remove-section= Ns Ar sectionname
[all …]
/freebsd/contrib/processor-trace/libipt/src/windows/
H A Dpt_section_windows.c90 static int check_file_status(struct pt_section *section, int fd) in check_file_status() argument
96 if (!section) in check_file_status()
103 status = section->status; in check_file_status()
125 int pt_sec_windows_map(struct pt_section *section, int fd) in pt_sec_windows_map() argument
134 if (!section) in pt_sec_windows_map()
137 offset = section->offset; in pt_sec_windows_map()
138 size = section->size; in pt_sec_windows_map()
145 /* The section is supposed to fit into the file so we shouldn't in pt_sec_windows_map()
148 if (size < section->size) in pt_sec_windows_map()
180 section->mapping = mapping; in pt_sec_windows_map()
[all …]
/freebsd/crypto/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_commands.csv1 expected,description, -section,val, -cmd,val,val2, -cacertsout,val,val2, -infotype,val,, -oldcert,v…
4 1,minimum options, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK,
6 0,no cmd, -section,,BLANK,,,BLANK,,,BLANK,,,BLANK,,BLANK,
7 0,cmd missing arg, -section,, -cmd,,,BLANK,,,BLANK,,,BLANK,,BLANK,
8 0,cmd undefined , -section,, -cmd,abc,,BLANK,,,BLANK,,,BLANK,,BLANK,
9 0,cmd incomplete, -section,, -cmd,i,,BLANK,,,BLANK,,,BLANK,,BLANK,
11 1,no cacertsout, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK,
12 1,cacertsout given, -section,, -cmd,ir,, -cacertsout,_RESULT_DIR/test.cacerts.pem,,BLANK,,,BLANK,,B…
13 0,cacertsout missing arg, -section,, -cmd,ir,, -cacertsout,,,BLANK,,,BLANK,,BLANK,
15 1, --- get certificate for revocation ----, -section,, -cmd,cr,,BLANK,,,BLANK,,,BLANK,,BLANK,
[all …]
H A Dtest_connection.csv1 expected,description, -section,val, -server,val, -proxy,val, -no_proxy,val, -tls_used,noarg, -path,…
4 1,default config, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
5 TBD,Domain name, -section,, -server,_SERVER_CN:_SERVER_PORT,,,,,,,,,,,,,,
6 TBD,IP address, -section,, -server,_SERVER_IP:_SERVER_PORT,,,,,,,,,,,,,,
8 0,wrong server, -section,, -server,xn--rksmrgs-5wao1o.example.com:_SERVER_PORT,,,,,BLANK,,,, -msg_t…
9 0,wrong server port, -section,, -server,_SERVER_HOST:99,,,,,BLANK,,,, -msg_timeout,1,BLANK,,BLANK,
10 0,server default port, -section,, -server,_SERVER_HOST,,,,,BLANK,,,, -msg_timeout,1,BLANK,,BLANK,
11 0,server port out of range, -section,, -server,_SERVER_HOST:65536,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
12 0,server port negative, -section,, -server,_SERVER_HOST:-10,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
13 0,server missing argument, -section,, -server,,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp46 const MCSection *Section) { in isDwarfSection() argument
49 if (!Section || Section->isText()) in isDwarfSection()
51 return Section == FI->getDwarfAbbrevSection() || in isDwarfSection()
52 Section == FI->getDwarfInfoSection() || in isDwarfSection()
53 Section == FI->getDwarfMacinfoSection() || in isDwarfSection()
54 Section == FI->getDwarfFrameSection() || in isDwarfSection()
55 Section == FI->getDwarfAddrSection() || in isDwarfSection()
56 Section == FI->getDwarfRangesSection() || in isDwarfSection()
57 Section == FI->getDwarfARangesSection() || in isDwarfSection()
58 Section == FI->getDwarfLocSection() || in isDwarfSection()
[all …]
/freebsd/usr.bin/clang/llvm-readobj/
H A Dllvm-readobj.160 an alias for \fI\%\-\-section\-headers\fP in \fBllvm\-readobj\fP\&.
66 aliases for \fI\%\-\-section\-relocations\fP, \fI\%\-\-section\-data\fP,
67 \fI\%\-\-section\-symbols\fP and \fI\%\-\-dyn\-symbols\fP respectively.
110 .B \-\-hex\-dump=<section[,section,...]>, \-x
111 Display the specified section(s) as hexadecimal bytes. \fBsection\fP may be a
112 section index or section name.
126 .B \-\-sections, \-\-section\-headers, \-S
131 .B \-\-section\-data, \-\-sd
132 When used with \fI\%\-\-sections\fP, display section data for each section
137 .B \-\-section\-relocations, \-\-sr
[all …]
H A Dllvm-readelf.158 Display architecture\-specific information, e.g. the ARM attributes section on ARM.
63 Display the contents of the basic block address map section(s), which contain the
74 Display the dependent libraries section.
94 Display the callgraph profile section.
104 Display the linker options section.
116 .B \-\-section\-groups, \-g
117 Display section groups.
158 .B \-\-hex\-dump=<section[,section,...]>, \-x
159 Display the specified section(s) as hexadecimal bytes. \fBsection\fP may be a
160 section index or section name.
[all …]
/freebsd/crypto/openssl/crypto/ts/
H A Dts_conf.c123 const char *TS_CONF_get_tsa_section(CONF *conf, const char *section) in TS_CONF_get_tsa_section() argument
125 if (!section) { in TS_CONF_get_tsa_section()
126 section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_TSA); in TS_CONF_get_tsa_section()
127 if (!section) in TS_CONF_get_tsa_section()
130 return section; in TS_CONF_get_tsa_section()
133 int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb, in TS_CONF_set_serial() argument
137 char *serial = NCONF_get_string(conf, section, ENV_SERIAL); in TS_CONF_set_serial()
139 ts_CONF_lookup_fail(section, ENV_SERIAL); in TS_CONF_set_serial()
151 int TS_CONF_set_crypto_device(CONF *conf, const char *section, in TS_CONF_set_crypto_device() argument
157 device = NCONF_get_string(conf, section, ENV_CRYPTO_DEVICE); in TS_CONF_set_crypto_device()
[all …]
/freebsd/contrib/elftoolchain/libelf/
H A Delf_getdata.333 .Nd iterate through or allocate section data
46 associated with section descriptors.
52 will return the next data descriptor associated with section descriptor
58 associated with section
63 section descriptor
67 will return a pointer to the next data descriptor for the section,
68 or NULL when the end of the section's descriptor list is reached.
73 descriptors associated with section descriptor
98 Section
107 after the existing content of the section, honoring the file alignment
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DOpts.td17 def all : FF<"all", "Equivalent to setting: --file-header, --program-headers, --section-headers, "
19 "--section-groups and --histogram">;
21 def bb_addr_map : FF<"bb-addr-map", "Display the BB address map section">;
23 def cg_profile : FF<"cg-profile", "Display call graph profile section">;
24 def decompress : FF<"decompress", "Dump decompressed section content when used with -x or -p">;
26 def dependent_libraries : FF<"dependent-libraries", "Display the dependent libraries section">;
32 def headers : FF<"headers", "Equivalent to setting: --file-header, --program-headers, --section-hea…
33 defm hex_dump : Eq<"hex-dump", "Display the specified section(s) as hexadecimal bytes">, MetaVarNam…
36 def section_data : FF<"section-data", "Display section data for each section shown. This option has…
37 def section_details : FF<"section-details", "Display the section details">;
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DSection.h1 //===-- Section.h -----------------------------------------------*- C++ -*-===//
32 class Section; variable
55 size_t FindSectionIndex(const Section *sect);
110 class Section : public std::enable_shared_from_this<Section>,
115 // Create a root section (one that has no parent)
116 Section(const lldb::ModuleSP &module_sp, ObjectFile *obj_file,
123 // Create a section that is a child of parent_section_sp
124 Section(const lldb::SectionSP &parent_section_sp, // NULL for top level
134 ~Section();
136 static int Compare(const Section &a, const Section &b);
[all …]

12345678910>>...123