Home
last modified time | relevance | path

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

12345678910>>...62

/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()
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 …]
H A Dpt_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 …]
H A Dpt_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 …]
H A Dpt_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/contrib/processor-trace/libipt/test/src/
H A Dptunit-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 …]
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()
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 …]
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 …]
H A Dptunit-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 …]
H A Dptunit-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/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()
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/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()
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/contrib/processor-trace/libipt/internal/include/
H A Dpt_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/crypto/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_connection.csv
H A Dtest_commands.csv
H A Dtest_credentials.csv
H A Dtest_verification.csv
H A Dtest_enrollment.csv
/freebsd/crypto/openssl/crypto/ts/
H A Dts_conf.c135 const char *TS_CONF_get_tsa_section(CONF *conf, const char *section) in TS_CONF_get_tsa_section() argument
137 if (!section) { in TS_CONF_get_tsa_section()
138 section = NCONF_get_string(conf, BASE_SECTION, ENV_DEFAULT_TSA); in TS_CONF_get_tsa_section()
139 if (!section) in TS_CONF_get_tsa_section()
142 return section; in TS_CONF_get_tsa_section()
145 int TS_CONF_set_serial(CONF *conf, const char *section, TS_serial_cb cb, in TS_CONF_set_serial() argument
149 char *serial = NCONF_get_string(conf, section, ENV_SERIAL); in TS_CONF_set_serial()
151 ts_CONF_lookup_fail(section, ENV_SERIAL); in TS_CONF_set_serial()
163 int TS_CONF_set_crypto_device(CONF *conf, const char *section, in TS_CONF_set_crypto_device() argument
169 device = NCONF_get_string(conf, section, ENV_CRYPTO_DEVICE); in TS_CONF_set_crypto_device()
[all …]
/freebsd/crypto/openssl/crypto/conf/
H A Dconf_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()
35 const char *section) in STACK_OF()
39 v = _CONF_get_section(conf, section); in STACK_OF()
45 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument
50 ts = (STACK_OF(CONF_VALUE) *)section->value; in _CONF_add_string()
52 value->section = section->section; in _CONF_add_string()
66 char *_CONF_get_string(const CONF *conf, const char *section, in _CONF_get_string() argument
78 if (section != NULL) { in _CONF_get_string()
[all …]
/freebsd/lib/libc/nameser/
H A Dns_parse.c73 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
83 if (section != ns_s_qd) { in ns_skiprr()
133 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
138 tmp = section; in ns_parserr()
139 if (tmp < 0 || section >= ns_s_max) in ns_parserr()
141 if (section != handle->_sect) in ns_parserr()
142 setsection(handle, section); in ns_parserr()
147 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
150 setsection(handle, section); in ns_parserr()
152 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
[all …]
/freebsd/crypto/krb5/src/util/profile/
H A Dprof_set.c81 struct profile_node *section, *node; in profile_update_relation() local
103 section = profile->first_file->data->root; in profile_update_relation()
106 retval = profile_find_node(section, *cpp, 0, 1, in profile_update_relation()
107 &state, &section); in profile_update_relation()
115 retval = profile_find_node(section, *cpp, old_value, 0, &state, &node); in profile_update_relation()
138 struct profile_node *section, *node; in profile_clear_relation() local
156 section = profile->first_file->data->root; in profile_clear_relation()
159 retval = profile_find_node(section, *cpp, 0, 1, in profile_clear_relation()
160 &state, &section); in profile_clear_relation()
167 retval = profile_find_node(section, *cpp, 0, 0, &state, &node); in profile_clear_relation()
[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/lld/docs/ELF/
H A Dlinker_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/crypto/openssl/crypto/x509/
H A Dv3_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);
35 const char *section, in X509V3_EXT_nconf_int() argument
47 if (section != NULL) in X509V3_EXT_nconf_int()
49 "section=%s, name=%s, value=%s", in X509V3_EXT_nconf_int()
50 section, name, value); in X509V3_EXT_nconf_int()
116 "name=%s,section=%s", OBJ_nid2sn(ext_nid), value); in do_ext_nconf()
319 * file section to an extension STACK. Just check in case sk == NULL. in X509V3_EXT_add_nconf_sk()
322 int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_add_nconf_sk()
337 if ((nval = NCONF_get_section(conf, section)) in X509V3_EXT_add_nconf_sk()
309 X509V3_EXT_add_nconf_sk(CONF * conf,X509V3_CTX * ctx,const char * section,STACK_OF (X509_EXTENSION)** sk) X509V3_EXT_add_nconf_sk() argument
356 X509V3_EXT_add_nconf(CONF * conf,X509V3_CTX * ctx,const char * section,X509 * cert) X509V3_EXT_add_nconf() argument
369 X509V3_EXT_CRL_add_nconf(CONF * conf,X509V3_CTX * ctx,const char * section,X509_CRL * crl) X509V3_EXT_CRL_add_nconf() argument
382 X509V3_EXT_REQ_add_nconf(CONF * conf,X509V3_CTX * ctx,const char * section,X509_REQ * req) X509V3_EXT_REQ_add_nconf() argument
396 X509V3_get_string(X509V3_CTX * ctx,const char * name,const char * section) X509V3_get_string() argument
426 X509V3_section_free(X509V3_CTX * ctx,STACK_OF (CONF_VALUE)* section) X509V3_section_free() argument
434 nconf_get_string(void * db,const char * section,const char * value) nconf_get_string() argument
525 conf_lhash_get_string(void * db,const char * section,const char * value) conf_lhash_get_string() argument
553 X509V3_EXT_add_conf(LHASH_OF (CONF_VALUE)* conf,X509V3_CTX * ctx,const char * section,X509 * cert) X509V3_EXT_add_conf() argument
570 X509V3_EXT_CRL_add_conf(LHASH_OF (CONF_VALUE)* conf,X509V3_CTX * ctx,const char * section,X509_CRL * crl) X509V3_EXT_CRL_add_conf() argument
587 X509V3_EXT_REQ_add_conf(LHASH_OF (CONF_VALUE)* conf,X509V3_CTX * ctx,const char * section,X509_REQ * req) X509V3_EXT_REQ_add_conf() argument
[all...]

12345678910>>...62