Home
last modified time | relevance | path

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

12345678910>>...18

/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c133 object_from_path(const char *dataset, uint64_t object, zinject_record_t *record) in object_from_path() argument
140 record->zi_objset = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in object_from_path()
141 record->zi_object = object; in object_from_path()
153 zinject_record_t *record) in initialize_range() argument
164 record->zi_start = 0; in initialize_range()
165 record->zi_end = -1ULL; in initialize_range()
170 record->zi_start = strtoull(range, &end, 10); in initialize_range()
174 record->zi_end = record->zi_start + 1; in initialize_range()
176 record->zi_end = strtoull(end + 1, &end, 10); in initialize_range()
206 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range()
[all …]
H A Dzinject.c290 "\t\tClear the particular record (if given a numeric ID), or\n" in usage()
425 print_data_handler(int id, const char *pool, zinject_record_t *record, in print_delay_handler()
430 if (record->zi_guid != 0 || record->zi_func[0] != '\0' || in print_delay_handler()
431 record->zi_duration != 0) { in print_delay_handler()
447 if (record->zi_start == 0 && record->zi_end == -1ULL) in print_panic_handler()
451 (u_longlong_t)record->zi_start, in print_panic_handler()
452 (u_longlong_t)record->zi_end); in print_panic_handler()
456 "%6llu %6llu\n", id, pool, (u_longlong_t)record in print_panic_handler()
357 print_data_handler(int id,const char * pool,zinject_record_t * record,void * data) print_data_handler() argument
392 print_device_handler(int id,const char * pool,zinject_record_t * record,void * data) print_device_handler() argument
417 print_delay_handler(int id,const char * pool,zinject_record_t * record,void * data) print_delay_handler() argument
446 print_panic_handler(int id,const char * pool,zinject_record_t * record,void * data) print_panic_handler() argument
502 cancel_one_handler(int id,const char * pool,zinject_record_t * record,void * data) cancel_one_handler() argument
558 register_handler(const char * pool,int flags,zinject_record_t * record,int quiet) register_handler() argument
618 perform_action(const char * pool,zinject_record_t * record,int cmd) perform_action() argument
753 zinject_record_t record = { 0 }; main() local
[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.t266 my $record = TLSProxy::Record->new(
277 push @{$records}, $record;
308 my $record = TLSProxy::Record->new(
319 push @{$records}, $record;
323 $record = TLSProxy::Record->new(
334 push @{$records}, $record;
341 my $record;
355 $record = TLSProxy::Record->new(
367 push @{$proxy->record_list}, $record;
394 $record = TLSProxy::Record->new(
[all …]
H A D70-test_sslvertol.t69 my $record = pop @{$proxy->record_list};
70 ok((note("Record version received: ".$record->version()),
72 && $record->version() == $previous_version,
87 my $record = pop @{$proxy->record_list};
88 ok((note("Record version received: ".$record->version()),
90 && $record->version() == $previous_version,
101 my $record = pop @{$proxy->record_list};
103 (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/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 = 0; in _nc_getent() local
294 if ((record = DOALLOC(topreclen + BFRAG)) == 0) { 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)) == 0) { 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/sys/contrib/openzfs/module/zfs/
H A Dzio_inject.c33 * fault. These are kept in a global list. Each record corresponds to a given
35 * or exported while the injection record exists.
126 * Returns true if the given record matches the I/O in progress.
130 zinject_record_t *record, int error) in zio_match_handler()
139 record->zi_objset == DMU_META_OBJSET && in zio_match_handler()
140 record->zi_object == DMU_META_DNODE_OBJECT) { in zio_match_handler()
141 if (record->zi_type == DMU_OT_NONE || in zio_match_handler()
142 type == record->zi_type) in zio_match_handler()
150 if (zb->zb_objset == record->zi_objset && in zio_match_handler()
151 zb->zb_object == record in zio_match_handler()
128 zio_match_handler(const zbookmark_phys_t * zb,uint64_t type,int dva,zinject_record_t * record,int error) zio_match_handler() argument
707 zio_calculate_range(const char * pool,zinject_record_t * record) zio_calculate_range() argument
769 zio_inject_fault(char * name,int flags,int * id,zinject_record_t * record) zio_inject_fault() argument
878 zio_inject_list_next(int * id,char * name,size_t buflen,zinject_record_t * record) zio_inject_list_next() argument
[all...]
H A Ddmu_redact.c106 struct redact_record *record; member
261 struct redact_record *record; in redact_cb() local
289 record = kmem_zalloc(sizeof (struct redact_record), in redact_cb()
292 record->eos_marker = B_FALSE; in redact_cb()
293 record->start_object = record->end_object = in redact_cb()
295 record->start_blkid = 0; in redact_cb()
296 record->end_blkid = UINT64_MAX; in redact_cb()
298 &rta->current_record, record); in redact_cb()
321 record = kmem_zalloc(sizeof (struct redact_record), KM_SLEEP); in redact_cb()
322 record->eos_marker = B_FALSE; in redact_cb()
[all …]
/freebsd/crypto/openssl/util/perl/TLSProxy/
H A DMessage.pm169 my $record = shift;
180 if ($record->content_type == TLSProxy::Record::RT_CCS) {
192 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
193 if ($record->len == 0 || $record->len_real == 0) {
202 push @message_rec_list, $record;
209 if (length($payload) + $record->decrypt_len >= $messlen) {
212 $payload .= substr($record->decrypt_data, 0, $recoffset);
221 $payload .= $record->decrypt_data;
222 $recoffset = $record->decrypt_len;
223 push @message_frag_lens, $record->decrypt_len;
[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/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/usr.bin/tcopy/
H A Dtcopy.c54 static uint64_t lastrec, record, size, tsize; variable
157 err(1, "read error, file %d, record %ju", filen, (intmax_t)record); in main()
161 fprintf(msg, "%ju records\n", (intmax_t)record); in main()
162 else if (record - lastrec > 1) in main()
164 (intmax_t)lastrec, (intmax_t)record); in main()
172 lastrec = record; in main()
185 (intmax_t)record); in main()
188 (intmax_t)record); in main()
195 record++; in main()
203 filen, (intmax_t)record, (intmax_t)size); in main()
[all …]
/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...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.cpp357 RecordT record(static_cast<SymbolRecordKind>(sym.kind())); in createRecord() local
358 cantFail(SymbolDeserializer::deserializeAs<RecordT>(sym, record)); in createRecord()
359 return record; in createRecord()
364 RecordT record = createRecord<RecordT>(sym); in GetSegmentAndOffset() local
365 return {record.Segment, record.CodeOffset}; in GetSegmentAndOffset()
370 TrampolineSym record = createRecord<TrampolineSym>(sym); in GetSegmentAndOffset() local
371 return {record.ThunkSection, record.ThunkOffset}; in GetSegmentAndOffset()
375 Thunk32Sym record = createRecord<Thunk32Sym>(sym); in GetSegmentAndOffset() local
376 return {record.Segment, record.Offset}; in GetSegmentAndOffset()
381 CoffGroupSym record = createRecord<CoffGroupSym>(sym); in GetSegmentAndOffset() local
[all …]
/freebsd/crypto/openssl/ssl/
H A Dbuild.info20 statem/statem_srvr.c statem/statem_clnt.c s3_lib.c s3_enc.c record/rec_layer_s3.c \
24 d1_lib.c record/rec_layer_d1.c d1_msg.c \
30 record/ssl3_buffer.c record/ssl3_record.c record/dtls1_bitmap.c \
31 statem/statem.c record/ssl3_record_tls13.c \
34 # needed in providers (s3_cbc.c and record/tls_pad.c) in libssl as well.
35 SHARED_SOURCE[../libssl]=record/tls_pad.c ../crypto/packet.c
43 SOURCE[../providers/libcommon.a]=record/tls_pad.c

12345678910>>...18