| /freebsd-13.1/sys/contrib/openzfs/cmd/zinject/ |
| H A D | translate.c | 164 record->zi_start = 0; in initialize_range() 174 record->zi_end = record->zi_start + 1; in initialize_range() 205 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range() 206 record->zi_end = record->zi_start + sizeof (dnode_phys_t); in initialize_range() 295 record->zi_end); in translate_record() 318 (u_longlong_t *)&record->zi_object, &record->zi_level, in translate_raw() 325 record->zi_end = record->zi_start; in translate_raw() 380 record->zi_end = record->zi_start + VDEV_UBERBLOCK_RING - 1; in translate_device() 384 record->zi_end = record->zi_start + VDEV_PHYS_SIZE - 1; in translate_device() 388 record->zi_end = record->zi_start + VDEV_PAD_SIZE - 1; in translate_device() [all …]
|
| H A D | zinject.c | 361 if (record->zi_guid != 0 || record->zi_func[0] != '\0') in print_data_handler() 376 (u_longlong_t)record->zi_object, type_to_name(record->zi_type), in print_data_handler() 377 record->zi_level, record->zi_dvas); in print_data_handler() 396 if (record->zi_guid == 0 || record->zi_func[0] != '\0') in print_device_handler() 421 if (record->zi_guid == 0 || record->zi_func[0] != '\0') in print_delay_handler() 582 if (record->zi_guid) { in register_handler() 587 record->zi_func); in register_handler() 833 &record.zi_nlanes); in main() 892 record.zi_duration *= -1; in main() 1229 record.zi_dvas = dvas; in main() [all …]
|
| /freebsd-13.1/contrib/wpa/src/wps/ |
| H A D | ndef.c | 64 record->id_length = 0; in ndef_parse_record() 66 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record() 67 pos += record->type_length; in ndef_parse_record() 69 record->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record() 70 pos += record->id_length; in ndef_parse_record() 72 record->payload = record->payload_length == 0 ? NULL : pos; in ndef_parse_record() 77 record->total_length < record->payload_length) in ndef_parse_record() 86 struct ndef_record record; in ndef_parse_records() local 111 struct wpabuf *record; in ndef_build_record() local 126 if (record == NULL) { in ndef_build_record() [all …]
|
| /freebsd-13.1/sys/contrib/ck/src/ |
| H A D | ck_epoch.c | 265 return record; in ck_epoch_recycle() 281 record->active = 0; in ck_epoch_register() 282 record->epoch = 0; in ck_epoch_register() 284 record->n_peak = 0; in ck_epoch_register() 285 record->n_pending = 0; in ck_epoch_register() 286 record->ct = ct; in ck_epoch_register() 287 memset(&record->local, 0, sizeof record->local); in ck_epoch_register() 303 record->active = 0; in ck_epoch_unregister() 304 record->epoch = 0; in ck_epoch_unregister() 306 record->n_peak = 0; in ck_epoch_unregister() [all …]
|
| H A D | ck_hp.c | 96 struct ck_hp_record *record; in ck_hp_recycle() local 104 record = ck_hp_record_container(entry); 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() 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() 192 struct ck_hp_record *record; in ck_hp_member_cache() local 199 record = ck_hp_record_container(entry); in ck_hp_member_cache() 203 if (ck_pr_load_ptr(&record->pointers) == NULL) in ck_hp_member_cache() [all …]
|
| /freebsd-13.1/sys/contrib/ck/include/ |
| H A D | ck_epoch.h | 119 return ck_pr_load_ptr(&record->ct); in ck_epoch_record_ct() 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() 160 ck_pr_store_uint(&record->active, record->active + 1); in ck_epoch_begin() 164 _ck_epoch_addref(record, section); in ck_epoch_begin() 178 ck_pr_store_uint(&record->active, record->active - 1); in ck_epoch_end() 183 return record->active == 0; in ck_epoch_end() 196 ck_epoch_call(ck_epoch_record_t *record, in ck_epoch_call() argument 204 record->n_pending++; in ck_epoch_call() [all …]
|
| H A D | ck_hp.h | 78 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()
|
| H A D | ck_hp_stack.h | 55 ck_hp_stack_pop_mpmc(ck_hp_record_t *record, struct ck_stack *target) in ck_hp_stack_pop_mpmc() argument 64 ck_hp_set_fence(record, 0, entry); in ck_hp_stack_pop_mpmc() 71 ck_hp_set_fence(record, 0, entry); in ck_hp_stack_pop_mpmc() 75 ck_hp_set_fence(record, 0, update); in ck_hp_stack_pop_mpmc() 87 ck_hp_stack_trypop_mpmc(ck_hp_record_t *record, struct ck_stack *target, struct ck_stack_entry **r) in ck_hp_stack_trypop_mpmc() argument 95 ck_hp_set_fence(record, 0, entry); in ck_hp_stack_trypop_mpmc() 106 ck_hp_set(record, 0, NULL); in ck_hp_stack_trypop_mpmc()
|
| H A D | ck_hp_fifo.h | 78 ck_hp_fifo_enqueue_mpmc(ck_hp_record_t *record, in ck_hp_fifo_enqueue_mpmc() argument 91 ck_hp_set_fence(record, 0, tail); in ck_hp_fifo_enqueue_mpmc() 109 ck_hp_fifo_tryenqueue_mpmc(ck_hp_record_t *record, in ck_hp_fifo_tryenqueue_mpmc() argument 121 ck_hp_set_fence(record, 0, tail); in ck_hp_fifo_tryenqueue_mpmc() 138 ck_hp_fifo_dequeue_mpmc(ck_hp_record_t *record, in ck_hp_fifo_dequeue_mpmc() argument 148 ck_hp_set_fence(record, 0, head); in ck_hp_fifo_dequeue_mpmc() 153 ck_hp_set_fence(record, 1, next); in ck_hp_fifo_dequeue_mpmc() 172 ck_hp_fifo_trydequeue_mpmc(ck_hp_record_t *record, in ck_hp_fifo_trydequeue_mpmc() argument 181 ck_hp_set_fence(record, 0, head); in ck_hp_fifo_trydequeue_mpmc() 186 ck_hp_set_fence(record, 1, next); in ck_hp_fifo_trydequeue_mpmc()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | getcap.c | 246 free(record); in getent() 297 rp = record; in getent() 340 record = reallocf(record, newsize); in getent() 363 if (*record == '\0' || *record == '#') in getent() 382 free(record); in getent() 405 scan = record; in getent() 437 free(record); in getent() 482 record = reallocf(record, newsize); in getent() 521 if ((record = in getent() 522 reallocf(record, (size_t)(rp - record))) == NULL) { in getent() [all …]
|
| /freebsd-13.1/crypto/heimdal/lib/roken/ |
| H A D | getcap.c | 239 char *record; in getent() local 297 free(record); in getent() 355 rp = record; in getent() 365 free(record); in getent() 423 record = realloc(record, newsize); in getent() 449 if (*record == '\0' || *record == '#') in getent() 488 scan = record; in getent() 565 record = realloc(record, newsize); in getent() 604 if ((record = in getent() 605 realloc(record, (size_t)(rp - record))) == NULL) { in getent() [all …]
|
| /freebsd-13.1/contrib/cortex-strings/scripts/ |
| H A D | libplot.py | 22 def create_column_tuple(record, names): argument 23 cols = [getattr(record, name) for name in names] 58 for record in [x for x in records if x.function=='bounce']: 59 costs[(record.bytes, record.loops)] = record.elapsed 64 for record in records: 65 if record.function == 'bounce': 68 cost = costs.get((record.bytes, record.loops), None) 71 out.append(record) 74 values = list(record)
|
| /freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ASTTableGen.h | 92 WrappedRecord(llvm::Record *record = nullptr) : Record(record) {} in Record() argument 146 HasProperties(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 159 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument 182 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 204 TypeNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 226 StmtNode(llvm::Record *record = nullptr) : ASTNode(record) {} in ASTNode() argument 249 PropertyType(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 333 TypeKindRule(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument 363 TypeCase(llvm::Record *record = nullptr) : HasProperties(record) {} in HasProperties() argument 383 Property(llvm::Record *record = nullptr) : WrappedRecord(record) {} in WrappedRecord() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/ |
| H A D | SymbolFileBreakpad.cpp | 214 if (record && record->FileNum < m_files->size()) in ParseCompileUnitAtIndex() 356 add_symbol(record->Address, record->Size, record->Name); in AddSymbols() 361 add_symbol(record->Address, llvm::None, record->Name); in AddSymbols() 574 AddressRange(base + record->RVA, record->CodeSize, in ParseWinUnwindPlan() 665 if (!record) { in ParseFileRecords() 674 (*m_files)[record->Number] = FileSpec(record->Name, style); in ParseFileRecords() 731 if (!record) in ParseLineTableAndSupportFiles() 741 line_seq_up.get(), record->Address, record->LineNum, /*column=*/0, in ParseLineTableAndSupportFiles() 745 next_addr = record->Address + record->Size; in ParseLineTableAndSupportFiles() 770 base + record->Address, *record->Size, It.GetBookmark())); in ParseUnwindData() [all …]
|
| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | read_termcap.c | 278 char *record = 0; in _nc_getent() local 331 free(record); in _nc_getent() 363 rp = record; in _nc_getent() 433 if (*record == '\0' || *record == '#') in _nc_getent() 453 free(record); in _nc_getent() 477 scan = record; in _nc_getent() 509 free(record); in _nc_getent() 551 if (record == 0) { in _nc_getent() 559 rp = record + pos; in _nc_getent() 589 if ((record = DOALLOC((size_t) (rp - record))) == 0) { in _nc_getent() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | zio_inject.c | 137 type == record->zi_type) in zio_match_handler() 151 (record->zi_dvas == 0 || (record->zi_dvas & (1ULL << dva))) && in zio_match_handler() 152 error == record->zi_error) { in zio_match_handler() 735 if (record->zi_start != 0 || record->zi_end != -1ULL) { in zio_calculate_range() 739 if (record->zi_level > 0) { in zio_calculate_range() 745 if (record->zi_start != 0 || record->zi_end != 0) { in zio_calculate_range() 749 record->zi_start >>= shift; in zio_calculate_range() 750 record->zi_end >>= shift; in zio_calculate_range() 785 if (record->zi_timer == 0 || record->zi_nlanes == 0) in zio_inject_fault() 819 handler->zi_record = *record; in zio_inject_fault() [all …]
|
| H A D | dmu_redact.c | 290 record->start_object = record->end_object = in redact_cb() 321 record->start_object = record->end_object = zb->zb_object; in redact_cb() 330 record->start_object = record->start_blkid * in redact_cb() 334 record->end_object = ((record->end_blkid + in redact_cb() 341 kmem_free(record, sizeof (*record)); in redact_cb() 344 record->start_blkid = record->end_blkid = zb->zb_blkid; in redact_cb() 744 record->end_object = record->end_blkid = UINT64_MAX; in perform_thread_merge() 745 bqueue_enqueue(q, record, sizeof (*record)); in perform_thread_merge() 793 *record = *first_end->record; in perform_thread_merge() 794 record->start_object = last_start->record->start_object; in perform_thread_merge() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRExecutionUnit.cpp | 458 record.dump(log); in GetRunnableInfo() 478 my_extractor.PutToLog(log, 0, record.m_size, record.m_host_address, 16, in GetRunnableInfo() 1083 local_address < record.m_host_address + record.m_size) { in GetRemoteAddressForLocal() 1088 record.m_process_address + (local_address - record.m_host_address); in GetRemoteAddressForLocal() 1097 record.m_process_address + record.m_size); in GetRemoteAddressForLocal() 1110 local_address < record.m_host_address + record.m_size) { in GetRemoteRangeForLocal() 1114 return AddrRange(record.m_process_address, record.m_size); in GetRemoteRangeForLocal() 1155 Malloc(record.m_size, record.m_alignment, record.m_permissions, in CommitOneAllocation() 1211 WriteMemory(record.m_process_address, (uint8_t *)record.m_host_address, in WriteData() 1253 ConstString(record.m_name), record.m_sect_type, in PopulateSectionList() [all …]
|
| /freebsd-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_rcu.c | 131 struct linux_epoch_record *record; in linux_rcu_runtime_init() local 135 record->cpuid = i; in linux_rcu_runtime_init() 136 record->type = j; in linux_rcu_runtime_init() 138 &record->epoch_record, NULL); in linux_rcu_runtime_init() 139 TAILQ_INIT(&record->ts_head); in linux_rcu_runtime_init() 181 struct linux_epoch_record *record; in linux_rcu_read_lock() local 219 struct linux_epoch_record *record; in linux_rcu_read_unlock() local 242 ck_epoch_end(&record->epoch_record, in linux_rcu_read_unlock() 253 struct linux_epoch_record *record = in linux_synchronize_rcu_cb() local 269 TAILQ_FOREACH(ts, &record->ts_head, rcu_entry[record->type]) { in linux_synchronize_rcu_cb() [all …]
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/ |
| H A D | tst.OffsetofUnion.d | 40 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-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbUtil.cpp | 212 return record; in createRecord() 218 return {record.Segment, record.CodeOffset}; in GetSegmentAndOffset() 224 return {record.ThunkSection, record.ThunkOffset}; in GetSegmentAndOffset() 229 return {record.Segment, record.Offset}; in GetSegmentAndOffset() 235 return {record.Segment, record.Offset}; in GetSegmentAndOffset() 240 return {record.Segment, record.DataOffset}; in GetSegmentAndOffset() 246 return {record.Segment, record.DataOffset}; in GetSegmentAndOffset() 298 return {record.Segment, record.CodeOffset, record.CodeSize}; in GetSegmentOffsetAndLength() 305 return {record.ThunkSection, record.ThunkOffset, record.Size}; in GetSegmentOffsetAndLength() 311 return SegmentOffsetLength{record.Segment, record.Offset, record.Length}; in GetSegmentOffsetAndLength() [all …]
|
| /freebsd-13.1/usr.bin/tcopy/ |
| H A D | tcopy.c | 66 static uint64_t lastrec, record, size, tsize; variable 164 else if (record - lastrec > 1) in main() 166 (intmax_t)lastrec, (intmax_t)record); in main() 174 lastrec = record; in main() 187 (intmax_t)record); in main() 190 (intmax_t)record); in main() 197 record++; in main() 205 filen, (intmax_t)record, (intmax_t)size); in main() 209 size = record = lastrec = 0; in main() 284 if (record) { in intr() [all …]
|
| /freebsd-13.1/contrib/ofed/infiniband-diags/src/ |
| H A D | vendstat.c | 125 } 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() 319 &read_cs.record[read_cs_records].mask); in process_opt() 331 &write_cs.record[write_cs_records].data, in process_opt() 517 cs->record[i].address = in main() 534 cs->record[i].address = in main() [all …]
|
| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | audio.c | 362 info.record.buffer_size = bufsiz; in audio_init() 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.precision, info.record.encoding, in audio_show() 511 info.record.gain, info.monitor_gain, info.record.port); in audio_show() 514 info.record.samples, info.record.eof, in audio_show() 515 info.record.pause, info.record.error, in audio_show() [all …]
|
| /freebsd-13.1/contrib/hyperv/tools/ |
| H A D | hv_kvp_daemon.c | 259 record = realloc(record, alloc_unit * num_blocks); in kvp_update_mem_state() 261 if (record == NULL) { in kvp_update_mem_state() 286 struct kvp_record *record; in kvp_file_init() local 320 if (record == NULL) { in kvp_file_init() 343 record = realloc(record, alloc_unit * in kvp_file_init() 345 if (record == NULL) { in kvp_file_init() 371 struct kvp_record *record; in kvp_key_delete() local 408 strcpy(record[j].key, record[k].key); in kvp_key_delete() 409 strcpy(record[j].value, record[k].value); in kvp_key_delete() 466 record = realloc(record, sizeof(struct kvp_record) * in kvp_key_add_or_modify() [all …]
|