Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 1225) sorted by relevance

12345678910>>...49

/freebsd-13-stable/contrib/processor-trace/libipt/src/
HDpt_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 …]
HDpt_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()
220 errcode = pt_section_unmap(trash->section); in pt_iscache_lru_free()
268 struct pt_section *section) in pt_isache_lru_new() argument
277 errcode = pt_section_memsize(section, &memsize); in pt_isache_lru_new()
288 errcode = pt_section_map_share(section); in pt_isache_lru_new()
294 (void) pt_section_unmap(section); in pt_isache_lru_new()
[all …]
HDpt_section_file.c108 int pt_sec_file_map(struct pt_section *section, FILE *file) in pt_sec_file_map() argument
115 if (!section) in pt_sec_file_map()
118 mapping = section->mapping; in pt_sec_file_map()
122 offset = section->offset; in pt_sec_file_map()
123 size = section->size; in pt_sec_file_map()
162 section->mapping = mapping; in pt_sec_file_map()
163 section->unmap = pt_sec_file_unmap; in pt_sec_file_map()
164 section->read = pt_sec_file_read; in pt_sec_file_map()
165 section->memsize = pt_sec_file_memsize; in pt_sec_file_map()
174 int pt_sec_file_unmap(struct pt_section *section) in pt_sec_file_unmap() argument
[all …]
HDpt_image.c58 static struct pt_section_list *pt_mk_section_list(struct pt_section *section, in pt_mk_section_list() argument
73 errcode = pt_section_get(section); in pt_mk_section_list()
77 pt_msec_init(&list->section, section, asid, vaddr, offset, size); in pt_mk_section_list()
92 pt_section_put(list->section.section); in pt_section_list_free()
93 pt_msec_fini(&list->section); in pt_section_list_free()
155 int pt_image_add(struct pt_image *image, struct pt_section *section, in pt_image_add() argument
162 if (!image || !section) in pt_image_add()
165 size = pt_section_size(section); in pt_image_add()
169 next = pt_mk_section_list(section, asid, begin, 0ull, size, isid); in pt_image_add()
186 msec = &current->section; in pt_image_add()
[all …]
HDpt_msec_cache.c57 struct pt_section *section; in pt_msec_cache_invalidate() local
63 section = pt_msec_section(&cache->msec); in pt_msec_cache_invalidate()
64 if (!section) in pt_msec_cache_invalidate()
67 errcode = pt_section_unmap(section); in pt_msec_cache_invalidate()
71 cache->msec.section = NULL; in pt_msec_cache_invalidate()
73 return pt_section_put(section); in pt_msec_cache_invalidate()
105 struct pt_section *section; in pt_msec_cache_fill() local
121 section = pt_msec_section(msec); in pt_msec_cache_fill()
123 errcode = pt_section_map(section); in pt_msec_cache_fill()
125 (void) pt_section_put(section); in pt_msec_cache_fill()
[all …]
/freebsd-13-stable/contrib/processor-trace/libipt/test/src/
HDptunit-image_section_cache.c75 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);
88 extern uint64_t pt_section_offset(const struct pt_section *section);
[all …]
HDptunit-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()
127 struct pt_section *section; member
169 errcode = pt_mk_section(&sfix->section, sfix->name, 0x1ull, 0x3ull); in create()
171 ptu_ptr(sfix->section); in create()
[all …]
HDptunit-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 …]
HDptunit-section-file.c100 static int pt_section_map_success(struct pt_section *section) in pt_section_map_success() argument
105 if (!section) in pt_section_map_success()
108 mcount = section->mcount + 1; in pt_section_map_success()
110 (void) pt_section_unlock(section); in pt_section_map_success()
114 section->mcount = mcount; in pt_section_map_success()
116 errcode = pt_section_unlock(section); in pt_section_map_success()
120 status = pt_section_on_map(section); in pt_section_map_success()
122 (void) pt_section_unmap(section); in pt_section_map_success()
129 int pt_section_map(struct pt_section *section) in pt_section_map() argument
138 if (!section) in pt_section_map()
[all …]
HDptunit-image.c80 struct pt_section *section[ifix_nsecs]; member
90 struct pt_section **section, uint64_t *laddr,
106 struct pt_section section[ifix_nsecs]; member
125 static void ifix_init_section(struct pt_section *section, char *filename, in ifix_init_section() argument
132 memset(section, 0, sizeof(*section)); in ifix_init_section()
134 section->filename = filename; in ifix_init_section()
135 section->status = status; in ifix_init_section()
136 section->size = mapping->size = sizeof(mapping->content); in ifix_init_section()
137 section->offset = 0x10; in ifix_init_section()
159 ifix_init_section(&ifix->section[index], filename, &ifix->status[index], in ifix_add_section()
[all …]
/freebsd-13-stable/contrib/processor-trace/libipt/src/posix/
HDpt_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()
125 if (size < section->size) in pt_sec_posix_map()
150 section->mapping = mapping; in pt_sec_posix_map()
151 section->unmap = pt_sec_posix_unmap; in pt_sec_posix_map()
[all …]
/freebsd-13-stable/contrib/processor-trace/libipt/internal/include/
HDpt_section.h121 int (*memsize)(const struct pt_section *section, uint64_t *size);
182 extern int pt_section_lock(struct pt_section *section);
191 extern int pt_section_unlock(struct pt_section *section);
202 extern int pt_section_get(struct pt_section *section);
214 extern int pt_section_put(struct pt_section *section);
226 extern int pt_section_attach(struct pt_section *section,
239 extern int pt_section_detach(struct pt_section *section,
243 extern const char *pt_section_filename(const struct pt_section *section);
246 extern uint64_t pt_section_offset(const struct pt_section *section);
249 extern uint64_t pt_section_size(const struct pt_section *section);
[all …]
/freebsd-13-stable/contrib/processor-trace/libipt/src/windows/
HDpt_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()
148 if (size < section->size) in pt_sec_windows_map()
180 section->mapping = mapping; in pt_sec_windows_map()
181 section->unmap = pt_sec_windows_unmap; in pt_sec_windows_map()
[all …]
/freebsd-13-stable/crypto/openssl/crypto/ts/
HDts_conf.c116 const char *TS_CONF_get_tsa_section(CONF *conf, const char *section) in TS_CONF_get_tsa_section() argument
118 if (!section) { in TS_CONF_get_tsa_section()
119 section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_TSA); in TS_CONF_get_tsa_section()
120 if (!section) in TS_CONF_get_tsa_section()
123 return section; in TS_CONF_get_tsa_section()
126 int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb, in TS_CONF_set_serial() argument
130 char *serial = NCONF_get_string(conf, section, ENV_SERIAL); in TS_CONF_set_serial()
132 ts_CONF_lookup_fail(section, ENV_SERIAL); in TS_CONF_set_serial()
144 int TS_CONF_set_crypto_device(CONF *conf, const char *section, in TS_CONF_set_crypto_device() argument
150 device = NCONF_get_string(conf, section, ENV_CRYPTO_DEVICE); in TS_CONF_set_crypto_device()
[all …]
/freebsd-13-stable/crypto/openssl/crypto/conf/
HDconf_api.c23 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in _CONF_get_section() argument
27 if ((conf == NULL) || (section == NULL)) in _CONF_get_section()
30 vv.section = (char *)section; in _CONF_get_section()
37 const char *section) in STACK_OF()
41 v = _CONF_get_section(conf, section); in STACK_OF()
48 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument
53 ts = (STACK_OF(CONF_VALUE) *)section->value; in _CONF_add_string()
55 value->section = section->section; in _CONF_add_string()
70 char *_CONF_get_string(const CONF *conf, const char *section, in _CONF_get_string() argument
79 if (section != NULL) { in _CONF_get_string()
[all …]
/freebsd-13-stable/lib/libc/nameser/
HDns_parse.c82 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
92 if (section != ns_s_qd) { in ns_skiprr()
142 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
147 tmp = section; in ns_parserr()
148 if (tmp < 0 || section >= ns_s_max) in ns_parserr()
150 if (section != handle->_sect) in ns_parserr()
151 setsection(handle, section); in ns_parserr()
156 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
159 setsection(handle, section); in ns_parserr()
161 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
[all …]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
HDOpts.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-13-stable/usr.sbin/ndiscvt/
HDinf.c61 static struct section
70 static void dump_paramreg (const struct section *,
101 struct section *sec; in section_add()
103 sec = malloc(sizeof(struct section)); in section_add()
104 bzero(sec, sizeof(struct section)); in section_add()
126 if (strcasecmp(assign->section->name, s) == 0) { in find_assign()
149 if (assign == NULL || assign->section != a->section) in find_next_assign()
166 struct section *
169 struct section *section; in find_section() local
171 TAILQ_FOREACH(section, &sh, link) { in find_section()
[all …]
HDinf.h7 struct section { struct
10 TAILQ_ENTRY(section) link; argument
12 TAILQ_HEAD(section_head, section);
15 struct section *section; member
25 struct section *section; member
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/profile/
HDInstrProfilingPlatformWindows.c29 #pragma section(".lprfn$A", read)
30 #pragma section(".lprfn$Z", read)
33 #pragma section(".lprfd$A", read, write)
34 #pragma section(".lprfd$Z", read, write)
35 #pragma section(".lprfc$A", read, write)
36 #pragma section(".lprfc$Z", read, write)
37 #pragma section(".lprfb$A", read, write)
38 #pragma section(".lprfb$Z", read, write)
39 #pragma section(".lorderfile$A", read, write)
40 #pragma section(".lprfnd$A", read, write)
[all …]
/freebsd-13-stable/crypto/openssl/crypto/x509v3/
HDv3_conf.c27 static char *conf_lhash_get_string(void *db, const char *section, const char *value);
28 static STACK_OF(CONF_VALUE) *conf_lhash_get_section(void *db, const char *section);
300 int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_add_nconf_sk() argument
308 if ((nval = NCONF_get_section(conf, section)) == NULL) in X509V3_EXT_add_nconf_sk()
331 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_add_nconf() argument
337 return X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_add_nconf()
342 int X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_CRL_add_nconf() argument
348 return X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_CRL_add_nconf()
353 int X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_REQ_add_nconf() argument
360 i = X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_REQ_add_nconf()
[all …]
/freebsd-13-stable/contrib/llvm-project/lld/docs/ELF/
HDlinker_script.rst47 section-command
48 section-command
52 Each section-command can be a symbol assignment, an output section description,
57 section. The insertion occurs after input sections have been mapped to output
64 - Align the first section in a ``PT_LOAD`` segment according to
73 presence of ``-z keep-text-section-prefix``.
75 Output section description
78 The description of an output section looks like:
82 section [address] [(type)] : [AT(lma)] [ALIGN(section_align)] [SUBALIGN](subsection_align)] {
83 output-section-command
[all …]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
HDconfig.c166 svn_stringbuf_t *section, in svn_config__default_add_value_fn() argument
171 svn_config_set((svn_config_t *)baton, section->data, in svn_config__default_add_value_fn()
374 cfg_section_t *section, in for_each_option() argument
400 merge_callback(void *baton, cfg_section_t *section, cfg_option_t *option) in merge_callback() argument
402 svn_config_set(baton, section->name, option->name, option->value); in merge_callback()
430 rmex_callback(void *baton, cfg_section_t *section, cfg_option_t *option) in rmex_callback() argument
492 find_option(svn_config_t *cfg, const char *section, const char *option, in find_option() argument
495 void *sec_ptr = get_hash_value(cfg->sections, cfg->tmp_key, section, in find_option()
507 && apr_strnatcasecmp(section, SVN_CONFIG__DEFAULT_SECTION) != 0) in find_option()
520 expand_option_value(svn_config_t *cfg, cfg_section_t *section,
[all …]
/freebsd-13-stable/usr.bin/nl/
HDnl.c278 int section; /* logical page section */ in filter() local
285 section = BODY; in filter()
299 section = idx; in filter()
307 switch (numbering_properties[section].type) { in filter()
327 (regexec(&numbering_properties[section].expr, in filter()
361 parse_numbering(const char *argstr, int section) in parse_numbering() argument
368 numbering_properties[section].type = number_all; in parse_numbering()
371 numbering_properties[section].type = number_none; in parse_numbering()
374 numbering_properties[section].type = number_nonempty; in parse_numbering()
378 if (numbering_properties[section].type == number_regex) in parse_numbering()
[all …]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/
HDSectionLoadList.cpp50 SectionLoadList::GetSectionLoadAddress(const lldb::SectionSP &section) const { in GetSectionLoadAddress()
53 if (section) { in GetSectionLoadAddress()
56 m_sect_to_addr.find(section.get()); in GetSectionLoadAddress()
64 bool SectionLoadList::SetSectionLoadAddress(const lldb::SectionSP &section, in SetSectionLoadAddress() argument
68 ModuleSP module_sp(section->GetModule()); in SetSectionLoadAddress()
72 section.get(), module_sp->GetFileSpec(), section->GetName(), in SetSectionLoadAddress()
75 if (section->GetByteSize() == 0) in SetSectionLoadAddress()
81 m_sect_to_addr.find(section.get()); in SetSectionLoadAddress()
88 m_sect_to_addr[section.get()] = load_addr; in SetSectionLoadAddress()
103 if (warn_multiple && section != ats_pos->second) { in SetSectionLoadAddress()
[all …]

12345678910>>...49