Home
last modified time | relevance | path

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

12345678910>>...225

/freebsd-src/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-src/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 …]
/freebsd-src/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-src/contrib/unbound/testdata/
H A Diter_scrub_rr_length.rpl
H A Drpz_cname_handle.rpl
H A Diter_ignore_empty.rpl
H A Diter_ghost_grandchild_delegation.rpl
H A Dttl_max_negative.rpl
H A Dcachedb_expired.crpl
H A Dttl_min_negative.rpl
H A Dsubnet_global_prefetch.crpl
H A Dcachedb_expired_reply_ttl.crpl
H A Dval_cnameqtype_qmin.rpl
H A Dsubnet_global_prefetch_expired.crpl
H A Dcachedb_expired_client_timeout.crpl
H A Dcachedb_subnet_change.crpl
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp26 Section::~Section() = default;
46 static void commonSectionMapping(IO &IO, WasmYAML::Section &Section) { in commonSectionMapping()
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()
53 commonSectionMapping(IO, Section); in sectionMapping()
54 IO.mapRequired("Name", Section in sectionMapping()
45 commonSectionMapping(IO & IO,WasmYAML::Section & Section) commonSectionMapping() argument
51 sectionMapping(IO & IO,WasmYAML::DylinkSection & Section) sectionMapping() argument
63 sectionMapping(IO & IO,WasmYAML::NameSection & Section) sectionMapping() argument
71 sectionMapping(IO & IO,WasmYAML::LinkingSection & Section) sectionMapping() argument
81 sectionMapping(IO & IO,WasmYAML::ProducersSection & Section) sectionMapping() argument
89 sectionMapping(IO & IO,WasmYAML::TargetFeaturesSection & Section) sectionMapping() argument
95 sectionMapping(IO & IO,WasmYAML::CustomSection & Section) sectionMapping() argument
101 sectionMapping(IO & IO,WasmYAML::TypeSection & Section) sectionMapping() argument
106 sectionMapping(IO & IO,WasmYAML::ImportSection & Section) sectionMapping() argument
111 sectionMapping(IO & IO,WasmYAML::FunctionSection & Section) sectionMapping() argument
116 sectionMapping(IO & IO,WasmYAML::TableSection & Section) sectionMapping() argument
121 sectionMapping(IO & IO,WasmYAML::MemorySection & Section) sectionMapping() argument
126 sectionMapping(IO & IO,WasmYAML::TagSection & Section) sectionMapping() argument
131 sectionMapping(IO & IO,WasmYAML::GlobalSection & Section) sectionMapping() argument
136 sectionMapping(IO & IO,WasmYAML::ExportSection & Section) sectionMapping() argument
141 sectionMapping(IO & IO,WasmYAML::StartSection & Section) sectionMapping() argument
146 sectionMapping(IO & IO,WasmYAML::ElemSection & Section) sectionMapping() argument
151 sectionMapping(IO & IO,WasmYAML::CodeSection & Section) sectionMapping() argument
156 sectionMapping(IO & IO,WasmYAML::DataSection & Section) sectionMapping() argument
161 sectionMapping(IO & IO,WasmYAML::DataCountSection & Section) sectionMapping() argument
167 mapping(IO & IO,std::unique_ptr<WasmYAML::Section> & Section) mapping() argument
[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 …]
/freebsd-src/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-src/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 …]

12345678910>>...225