Home
last modified time | relevance | path

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

12345678910>>...55

/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.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 …]
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_credentials.csv1 expected,description, -section,val, -ref,val, -secret,val, -cert,val, -key,val, -keypass,val, -extr…
3 1,valid secret - wrong cert/key ignored, -section,, -ref,_PBM_REF, -secret,_PBM_SECRET, -cert,root.…
4 0,secret missing arg, -section,,BLANK,, -secret,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,
5 0,wrong secret without ref, -section,,BLANK,, -secret,pass:wrong,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,…
6 0,wrong secret - correct cert, -section,,BLANK,, -secret,pass:wrong, -cert,signer.crt, -key,signer.…
8 0,ref missing arg, -section,, -ref,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,
9 1,empty ref but correct cert, -section,, -ref,"""",BLANK,, -cert,signer.crt, -key,signer.p12, -keyp…
10 1,wrong ref but correct cert, -section,, -ref,wrong,BLANK,, -cert,signer.crt, -key,signer.p12, -key…
12 1,valid cert and key and keypass, -section,,BLANK,,-secret,"""", -cert,signer.crt, -key,signer.p12,…
13 0,cert missing arg, -section,,BLANK,,BLANK,, -cert,, -key,signer.p12, -keypass,pass:12345,BLANK,,BL…
[all …]
H A Dtest_verification.csv1 expected,description, -section,val, -recipient,val, -expect_sender,val, -srvcert,val, -trusted,val,…
4 1,default test, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unp…
6 0,recipient missing arg, -section,, -recipient,,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -…
7 1,unknown attribute in recipient name, -section,, -recipient,_CA_DN/ABC=123,BLANK,,BLANK,, -trusted…
8 0,wrong syntax in recipient name: trailing double '/' after value, -section,, -recipient,_CA_DN//,B…
9 0,wrong syntax in recipient name: missing '=', -section,, -recipient,/CDE,BLANK,,BLANK,, -trusted,t…
10 0,wrong syntax in recipient name: C too long, -section,, -recipient,/CN=ECC Issuing CA v10/OU=For t…
12 1,config default with expected sender, -section,, -recipient,_CA_DN, -expect_sender,_SERVER_DN,BLAN…
13 0,expected sender missing arg, -section,, -recipient,_CA_DN, -expect_sender,,BLANK,, -trusted,trust…
14 0,wrong expected sender, -section,, -recipient,_CA_DN, -expect_sender,/CN=Sample Cert/OU=R&D/O=Comp…
[all …]
H A Dtest_enrollment.csv1 expected,description, -section,val, -cmd,val, -newkey,val,val, -newkeypass,val, -subject,val, -issu…
4 1,newkey, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK,,BLA…
5 0,newkey missing arg, -section,, -cmd,ir, -newkey,,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK…
6 0,newkey is directory, -section,, -cmd,ir, -newkey,dir/,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,…
7 0,newkey too many parameters, -section,, -cmd,ir, -newkey,abc,def, -newkeypass,pass:,,,BLANK,,BLANK…
8 0,newkey is an RSA key, -section,, -cmd,ir, -newkey,test.RSA2048.pem,, -newkeypass,pass:,,,BLANK,,B…
10 1,newkeypass, -section,, -cmd,ir, -newkey,new_pass_12345.key,, -newkeypass,pass:12345,,,BLANK,,BLAN…
11 1,read newkeypass from file, -section,, -cmd,ir, -newkey,new_pass_12345.key,, -newkeypass,file:1234…
12 1,newkeypass no prefix, -section,, -cmd,ir, -newkey,new_pass_12345.key,, -newkeypass,12345,,,BLANK,…
13 0,no newkeypass, -section,, -cmd,ir, -newkey,new_pass_12345.key,,BLANK,,,,BLANK,,BLANK,,BLANK,,BLAN…
[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/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.c78 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
88 if (section != ns_s_qd) { in ns_skiprr()
138 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
143 tmp = section; in ns_parserr()
144 if (tmp < 0 || section >= ns_s_max) in ns_parserr()
146 if (section != handle->_sect) in ns_parserr()
147 setsection(handle, section); in ns_parserr()
152 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
155 setsection(handle, section); in ns_parserr()
157 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
[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/compiler-rt/lib/profile/
H A DInstrProfilingPlatformWindows.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/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()
50 section, name, value); in X509V3_EXT_nconf_int()
309 int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_add_nconf_sk() argument
317 if ((nval = NCONF_get_section(conf, section)) == NULL) in X509V3_EXT_add_nconf_sk()
321 if ((ext = X509V3_EXT_nconf_int(conf, ctx, val->section, in X509V3_EXT_add_nconf_sk()
341 int X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, in X509V3_EXT_add_nconf() argument
347 return X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_add_nconf()
[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 …]

12345678910>>...55