Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 495) sorted by relevance

12345678910>>...20

/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c134 object_from_path(const char *dataset, uint64_t object, zinject_record_t *record) in object_from_path() argument
141 record->zi_objset = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in object_from_path()
142 record->zi_object = object; in object_from_path()
154 zinject_record_t *record) in initialize_range() argument
165 record->zi_start = 0; in initialize_range()
166 record->zi_end = -1ULL; in initialize_range()
171 record->zi_start = strtoull(range, &end, 10); in initialize_range()
175 record->zi_end = record->zi_start + 1; in initialize_range()
177 record->zi_end = strtoull(end + 1, &end, 10); in initialize_range()
207 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range()
[all …]
H A Dzinject.c439 print_data_handler(int id, const char *pool, zinject_record_t *record, in print_data_handler() argument
444 if (record->zi_guid != 0 || record->zi_func[0] != '\0' || in print_data_handler()
445 record->zi_duration != 0) { in print_data_handler()
461 if (record->zi_start == 0 && record->zi_end == -1ULL) in print_data_handler()
465 (u_longlong_t)record->zi_start, in print_data_handler()
466 (u_longlong_t)record->zi_end); in print_data_handler()
471 (u_longlong_t)record->zi_objset, in print_data_handler()
472 (u_longlong_t)record->zi_object, type_to_name(record->zi_type), in print_data_handler()
473 record->zi_level, record->zi_dvas, rangebuf, in print_data_handler()
474 record->zi_match_count, record->zi_inject_count); in print_data_handler()
[all …]
/freebsd/contrib/wpa/src/wps/
H A Dndef.c36 struct ndef_record *record) in ndef_parse_record() argument
42 record->type_length = *pos++; in ndef_parse_record()
46 record->payload_length = *pos++; in ndef_parse_record()
55 record->payload_length = len; in ndef_parse_record()
62 record->id_length = *pos++; in ndef_parse_record()
64 record->id_length = 0; in ndef_parse_record()
66 if (record->type_length > data + size - pos) in ndef_parse_record()
68 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record()
69 pos += record->type_length; in ndef_parse_record()
71 if (record->id_length > data + size - pos) in ndef_parse_record()
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_epoch.c151 _ck_epoch_delref(struct ck_epoch_record *record, in CK_STACK_CONTAINER()
157 current = &record->local.bucket[i]; in CK_STACK_CONTAINER()
172 other = &record->local.bucket[(i + 1) & CK_EPOCH_SENSE_MASK]; in CK_STACK_CONTAINER()
179 ck_pr_store_uint(&record->epoch, other->epoch); in CK_STACK_CONTAINER()
186 _ck_epoch_addref(struct ck_epoch_record *record, in _ck_epoch_addref() argument
189 struct ck_epoch *global = record->global; in _ck_epoch_addref()
195 ref = &record->local.bucket[i]; in _ck_epoch_addref()
211 previous = &record->local.bucket[(i + 1) & in _ck_epoch_addref()
242 struct ck_epoch_record *record; in ck_epoch_recycle() local
250 record = ck_epoch_record_container(cursor); in ck_epoch_recycle()
[all …]
H A Dck_hp.c96 struct ck_hp_record *record; in ck_hp_recycle() local
104 record = ck_hp_record_container(entry); in ck_hp_recycle()
106 if (ck_pr_load_int(&record->state) == CK_HP_FREE) { in ck_hp_recycle()
108 state = ck_pr_fas_int(&record->state, CK_HP_USED); in ck_hp_recycle()
111 return record; in ck_hp_recycle()
167 struct ck_hp_record *record; in ck_hp_member_scan() local
172 record = ck_hp_record_container(entry); in ck_hp_member_scan()
173 if (ck_pr_load_int(&record->state) == CK_HP_FREE) in ck_hp_member_scan()
176 if (ck_pr_load_ptr(&record->pointers) == NULL) in ck_hp_member_scan()
180 hazard = ck_pr_load_ptr(&record->pointers[i]); in ck_hp_member_scan()
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_epoch.h116 ck_epoch_record_ct(const ck_epoch_record_t *record) in ck_epoch_record_ct() argument
119 return ck_pr_load_ptr(&record->ct); in ck_epoch_record_ct()
126 ck_epoch_begin(ck_epoch_record_t *record, ck_epoch_section_t *section) in ck_epoch_begin() argument
128 struct ck_epoch *epoch = record->global; in ck_epoch_begin()
134 if (record->active == 0) { in ck_epoch_begin()
143 ck_pr_fas_uint(&record->active, 1); in ck_epoch_begin()
146 ck_pr_store_uint(&record->active, 1); in ck_epoch_begin()
158 ck_pr_store_uint(&record->epoch, g_epoch); in ck_epoch_begin()
160 ck_pr_store_uint(&record->active, record->active + 1); in ck_epoch_begin()
164 _ck_epoch_addref(record, section); in ck_epoch_begin()
[all …]
H A Dck_hp.h78 ck_hp_set(struct ck_hp_record *record, unsigned int i, void *pointer) in ck_hp_set() argument
81 ck_pr_store_ptr(&record->pointers[i], pointer); in ck_hp_set()
86 ck_hp_set_fence(struct ck_hp_record *record, unsigned int i, void *pointer) in ck_hp_set_fence() argument
90 ck_pr_fas_ptr(&record->pointers[i], pointer); in ck_hp_set_fence()
92 ck_pr_store_ptr(&record->pointers[i], pointer); in ck_hp_set_fence()
100 ck_hp_clear(struct ck_hp_record *record) in ck_hp_clear() argument
102 void **pointers = record->pointers; in ck_hp_clear()
105 for (i = 0; i < record->global->degree; i++) in ck_hp_clear()
/freebsd/crypto/openssl/test/recipes/
H A D70-test_sslrecords.t364 my $record;
366 $record = TLSProxy::Record->new_dtls(
380 $record = TLSProxy::Record->new(
392 push @{$records}, $record;
423 my $record = TLSProxy::Record->new(
434 push @{$records}, $record;
438 $record = TLSProxy::Record->new(
449 push @{$records}, $record;
456 my $record;
470 $record = TLSProxy::Record->new(
[all …]
H A D70-test_sslvertol.t68 my $record = pop @{$proxy->record_list};
69 ok((note("Record version received: ".$record->version()),
71 && $record->version() == $previous_version,
86 my $record = pop @{$proxy->record_list};
87 ok((note("Record version received: ".$record->version()),
89 && $record->version() == $previous_version,
100 my $record = pop @{$proxy->record_list};
102 (defined $record ? $record->version() : "none")),
/freebsd/lib/libc/gen/
H A Dgetcap.c189 char *record, *cbuf; in getent() local
204 if ((record = malloc (topreclen + BFRAG)) == NULL) { in getent()
208 (void)strcpy(record, toprec); in getent()
211 rp = record + topreclen + 1; in getent()
218 if ((record = malloc(BFRAG)) == NULL) { in getent()
222 r_end = record + BFRAG; in getent()
242 free(record); in getent()
243 retval = cdbget(capdbp, &record, name); in getent()
250 cbuf = strdup(record); in getent()
293 rp = record; in getent()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp214 auto record = LineRecord::parse(*It); in ParseCompileUnitAtIndex() local
215 if (record && record->FileNum < m_files->size()) in ParseCompileUnitAtIndex()
216 spec = (*m_files)[record->FileNum]; in ParseCompileUnitAtIndex()
248 if (auto record = FuncRecord::parse(*It)) { in GetOrCreateFunction() local
250 func_name.SetValue(ConstString(record->Name)); in GetOrCreateFunction()
251 addr_t address = record->Address + base; in GetOrCreateFunction()
255 section_sp, address - section_sp->GetFileAddress(), record->Size); in GetOrCreateFunction()
314 if (auto record = InlineRecord::parse(*It)) { in ParseBlocksRecursive() local
315 if (record->InlineNestLevel == 0 || in ParseBlocksRecursive()
316 record->InlineNestLevel <= last_added_nest_level + 1) { in ParseBlocksRecursive()
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dgetcap.c239 char *record; in getent() local
254 if ((record = malloc (len)) == NULL) { in getent()
258 (void)strlcpy(record, toprec, len); in getent()
260 rp = record + topreclen + 1; in getent()
267 if ((record = malloc(BFRAG)) == NULL) { in getent()
271 r_end = record + BFRAG; in getent()
297 free(record); in getent()
298 retval = cdbget(capdbp, &record, name); in getent()
305 clen = strlen(record); in getent()
309 memmove(cbuf, record, clen + 1); in getent()
[all …]
/freebsd/crypto/krb5/src/lib/krad/
H A Dt_remote.c38 } record; variable
50 evt = &record.events[record.count++]; in callback()
151 insist(record.count == EVENT_COUNT); in main()
152 insist(record.events[0].error == FALSE); in main()
153 insist(record.events[0].result.code == KRAD_CODE_ACCESS_ACCEPT); in main()
154 insist(record.events[1].error == FALSE); in main()
155 insist(record.events[1].result.code == KRAD_CODE_ACCESS_REJECT); in main()
156 insist(record.events[2].error == TRUE); in main()
157 insist(record.events[2].result.retval == ECANCELED); in main()
158 insist(record.events[3].error == TRUE); in main()
[all …]
H A Dt_client.c38 } record; variable
48 evt = &record.events[record.count++]; in callback()
107 insist(record.count == EVENT_COUNT); in main()
108 insist(record.events[0].error == FALSE); in main()
109 insist(record.events[0].result.code == KRAD_CODE_ACCESS_ACCEPT); in main()
110 insist(record.events[1].error == FALSE); in main()
111 insist(record.events[1].result.code == KRAD_CODE_ACCESS_REJECT); in main()
112 insist(record.events[2].error == TRUE); in main()
113 insist(record.events[2].result.retval == ETIMEDOUT); in main()
114 insist(record.events[3].error == TRUE); in main()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.h93 WrappedRecord(llvm::Record *record = nullptr) : Record(record) {} in Record() argument
147 HasProperties(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument
160 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument
183 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument
205 TypeNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument
227 StmtNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument
250 PropertyType(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument
334 TypeKindRule(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument
364 TypeCase(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument
384 Property(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_rcu.c133 struct linux_epoch_record *record; in linux_rcu_runtime_init() local
135 record = &DPCPU_ID_GET(i, linux_epoch_record[j]); in linux_rcu_runtime_init()
137 record->cpuid = i; in linux_rcu_runtime_init()
138 record->type = j; in linux_rcu_runtime_init()
140 &record->epoch_record, NULL); in linux_rcu_runtime_init()
141 TAILQ_INIT(&record->ts_head); in linux_rcu_runtime_init()
183 struct linux_epoch_record *record; in linux_rcu_read_lock() local
205 record = &DPCPU_GET(linux_epoch_record[type]); in linux_rcu_read_lock()
212 ck_epoch_begin(&record->epoch_record, in linux_rcu_read_lock()
214 TAILQ_INSERT_TAIL(&record->ts_head, ts, rcu_entry[type]); in linux_rcu_read_lock()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dread_termcap.c263 #define DOALLOC(size) typeRealloc(char, size, record)
278 char *record = NULL; in _nc_getent() local
294 if ((record = DOALLOC(topreclen + BFRAG)) == NULL) { in _nc_getent()
298 _nc_STRCPY(record, toprec, topreclen + BFRAG); in _nc_getent()
299 rp = record + topreclen + 1; in _nc_getent()
308 if ((record = DOALLOC(BFRAG)) == NULL) { in _nc_getent()
312 rp = r_end = record + BFRAG; in _nc_getent()
331 free(record); in _nc_getent()
363 rp = record; in _nc_getent()
373 free(record); in _nc_getent()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRExecutionUnit.cpp472 for (AllocationRecord &record : m_records) { in GetRunnableInfo()
473 if (record.m_process_address != LLDB_INVALID_ADDRESS) { in GetRunnableInfo()
474 record.dump(log); in GetRunnableInfo()
476 DataBufferHeap my_buffer(record.m_size, 0); in GetRunnableInfo()
478 ReadMemory(my_buffer.GetBytes(), record.m_process_address, in GetRunnableInfo()
479 record.m_size, err); in GetRunnableInfo()
486 record.m_process_address, 16, in GetRunnableInfo()
490 record.dump(log); in GetRunnableInfo()
492 DataExtractor my_extractor((const void *)record.m_host_address, in GetRunnableInfo()
493 record.m_size, lldb::eByteOrderBig, 8); in GetRunnableInfo()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzio_inject.c131 zinject_record_t *record, int error) in zio_match_handler() argument
140 record->zi_objset == DMU_META_OBJSET && in zio_match_handler()
141 record->zi_object == DMU_META_DNODE_OBJECT) { in zio_match_handler()
142 if (record->zi_type == DMU_OT_NONE || in zio_match_handler()
143 type == record->zi_type) in zio_match_handler()
151 if (zb->zb_objset == record->zi_objset && in zio_match_handler()
152 zb->zb_object == record->zi_object && in zio_match_handler()
153 zb->zb_level == record->zi_level && in zio_match_handler()
154 zb->zb_blkid >= record->zi_start && in zio_match_handler()
155 zb->zb_blkid <= record->zi_end && in zio_match_handler()
[all …]
H A Ddmu_redact.c107 struct redact_record *record; member
258 struct redact_record *record; in redact_cb() local
286 record = kmem_zalloc(sizeof (struct redact_record), in redact_cb()
289 record->eos_marker = B_FALSE; in redact_cb()
290 record->start_object = record->end_object = in redact_cb()
292 record->start_blkid = 0; in redact_cb()
293 record->end_blkid = UINT64_MAX; in redact_cb()
295 &rta->current_record, record); in redact_cb()
318 record = kmem_zalloc(sizeof (struct redact_record), KM_SLEEP); in redact_cb()
319 record->eos_marker = B_FALSE; in redact_cb()
[all …]
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Drecord-layer.md4 This document covers the design of an abstract record layer for use in (D)TLS.
5 The QUIC record layer is handled separately.
7 A record within this document refers to a packet of data. It will typically
9 cryptographically protected. A record may or may not have a one-to-one
11 an individual record layer.
13 The term record comes directly from the TLS and DTLS specifications.
15 Libssl supports a number of different types of record layer, and record layer
18 - Standard TLS record layer
19 - Standard DTLS record layer
20 - Kernel TLS record layer
[all …]
/freebsd/crypto/openssl/util/perl/TLSProxy/
H A DMessage.pm183 my $record = shift;
195 if ($record->content_type == TLSProxy::Record::RT_CCS) {
207 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
208 if ($record->len == 0 || $record->len_real == 0) {
217 push @message_rec_list, $record;
224 if (length($payload) + $record->decrypt_len >= $messlen) {
227 $payload .= substr($record->decrypt_data, 0, $recoffset);
242 $payload .= $record->decrypt_data;
243 $recoffset = $record->decrypt_len;
244 push @message_frag_lens, $record->decrypt_len;
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/
H A Dtst.OffsetofUnion.d40 union record { union
48 printf("offsetof(record, x) = %d\n", offsetof(union D`record, x));
49 printf("offsetof(record, y) = %d\n", offsetof(union D`record, y));
50 printf("offsetof(record, c) = %d\n", offsetof(union D`record, c));
55 /(0 != offsetof(union D`record, y)) && (0 != offsetof(union D`record, x)) &&
56 (0 != offsetof(union D`record, c))/
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dvendstat.c125 } record[18]; member
206 cs->record[i].address = htonl(cs->record[i].address); in do_config_space_records()
207 cs->record[i].data = htonl(cs->record[i].data); in do_config_space_records()
208 cs->record[i].mask = htonl(cs->record[i].mask); in do_config_space_records()
220 ntohl(cs->record[i].address), in do_config_space_records()
221 ntohl(cs->record[i].data & cs->record[i].mask)); in do_config_space_records()
318 &read_cs.record[read_cs_records].address, in process_opt()
319 &read_cs.record[read_cs_records].mask); in process_opt()
323 read_cs.record[read_cs_records].mask = 0xffffffff; in process_opt()
330 &write_cs.record[write_cs_records].address, in process_opt()
[all …]
/freebsd/contrib/ntp/libntp/
H A Daudio.c325 /* Grab the device and record masks */ in audio_init()
362 info.record.buffer_size = bufsiz; in audio_init()
466 info.record.encoding = AUDIO_ENCODING_ULAW; in audio_gain()
467 info.record.error = 0; in audio_gain()
468 info.record.gain = gain; in audio_gain()
472 o_port = info.record.port = port; in audio_gain()
478 rval = info.record.error; in audio_gain()
509 info.record.sample_rate, info.record.channels, in audio_show()
510 info.record in audio_show()
[all...]

12345678910>>...20