| /freebsd-13.1/sys/fs/cuse/ |
| H A D | cuse.c | 252 mtx_lock(&pcs->mtx); in cuse_server_lock() 330 *ppcs = pcs; in cuse_server_get() 720 free(pcs, M_CUSE); in cuse_server_unref() 763 pcs = malloc(sizeof(*pcs), M_CUSE, M_WAITOK | M_ZERO); in cuse_server_open() 782 knlist_init_mtx(&pcs->selinfo.si_note, &pcs->mtx); in cuse_server_open() 785 pcs->refs++; in cuse_server_open() 1060 error = cv_wait_sig(&pcs->cv, &pcs->mtx); in cuse_server_ioctl() 1382 pcs = pcc->server; in cuse_client_free() 1425 pcs->refs++; in cuse_client_open() 1426 if (pcs->refs < 0 || pcs->pid == curproc->p_pid) { in cuse_client_open() [all …]
|
| /freebsd-13.1/sys/dev/isp/ |
| H A D | isp_pci.c | 461 pcs->regs = pcs->regs2 = NULL; in isp_pci_attach() 462 pcs->rgd = pcs->rtp = 0; in isp_pci_attach() 506 pcs->regs = bus_alloc_resource_any(dev, pcs->rtp, &pcs->rgd, in isp_pci_attach() 510 pcs->regs1 = bus_alloc_resource_any(dev, pcs->rtp1, &pcs->rgd1, in isp_pci_attach() 514 pcs->regs2 = bus_alloc_resource_any(dev, pcs->rtp2, &pcs->rgd2, in isp_pci_attach() 519 pcs->regs = bus_alloc_resource_any(dev, pcs->rtp, &pcs->rgd, in isp_pci_attach() 645 (void) bus_release_resource(dev, pcs->rtp, pcs->rgd, pcs->regs); in isp_pci_attach() 647 (void) bus_release_resource(dev, pcs->rtp1, pcs->rgd1, pcs->regs1); in isp_pci_attach() 649 (void) bus_release_resource(dev, pcs->rtp2, pcs->rgd2, pcs->regs2); in isp_pci_attach() 682 (void) bus_release_resource(dev, pcs->rtp, pcs->rgd, pcs->regs); in isp_pci_detach() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_coverage_libcdep_new.cpp | 48 const uptr* pcs, uptr len) { in WriteModuleCoverage() argument 52 WriteToFile(fd, pcs, len * sizeof(*pcs)); in WriteModuleCoverage() 62 uptr* pcs = static_cast<uptr*>(InternalAlloc(len * sizeof(uptr))); in SanitizerDumpCoverage() local 64 internal_memcpy(pcs, unsorted_pcs, len * sizeof(uptr)); in SanitizerDumpCoverage() 65 Sort(pcs, len); in SanitizerDumpCoverage() 72 const uptr pc = pcs[i]; in SanitizerDumpCoverage() 79 uptr module_base = pc - pcs[i]; in SanitizerDumpCoverage() 91 &pcs[i]); in SanitizerDumpCoverage() 96 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 102 InternalFree(pcs); in SanitizerDumpCoverage() [all …]
|
| H A D | sanitizer_stacktrace.cpp | 58 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init() argument 61 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
|
| H A D | sanitizer_interface_internal.h | 54 const __sanitizer::uptr *pcs, const __sanitizer::uptr len);
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_stack.c | 75 st->pcs[st->depth++] = pc; in stack_put() 106 printf("#%d %p at %s+%#lx\n", i, (void *)st->pcs[i], in stack_print() 122 if (stack_symbol(st->pcs[i], namebuf, sizeof(namebuf), in stack_print_short() 126 printf("%p", (void *)st->pcs[i]); in stack_print_short() 140 stack_symbol_ddb(st->pcs[i], &name, &offset); in stack_print_ddb() 141 printf("#%d %p at %s+%#lx\n", i, (void *)st->pcs[i], in stack_print_ddb() 161 printf("%p", (void *)st->pcs[i]); in stack_print_short_ddb() 189 (void *)st->pcs[i], namebuf, offset); in stack_sbuf_print_flags() 219 (void)stack_symbol_ddb(st->pcs[i], &name, &offset); in stack_sbuf_print_ddb() 242 (void)stack_symbol_ddb(st->pcs[i], &name, &offset); in stack_ktr() [all …]
|
| H A D | subr_epoch.c | 165 if (a->se_stack.pcs[i] > b->se_stack.pcs[i]) in stackentry_compare() 167 if (a->se_stack.pcs[i] < b->se_stack.pcs[i]) in stackentry_compare()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | HistoryThread.cpp | 28 std::vector<lldb::addr_t> pcs, in HistoryThread() argument 31 m_pcs(pcs), m_extended_unwind_token(LLDB_INVALID_ADDRESS), m_queue_name(), in HistoryThread() 35 std::make_unique<HistoryUnwind>(*this, pcs, pcs_are_call_addresses); in HistoryThread()
|
| H A D | HistoryUnwind.cpp | 26 HistoryUnwind::HistoryUnwind(Thread &thread, std::vector<lldb::addr_t> pcs, in HistoryUnwind() argument 28 : Unwind(thread), m_pcs(pcs), in HistoryUnwind()
|
| H A D | HistoryUnwind.h | 21 HistoryUnwind(Thread &thread, std::vector<lldb::addr_t> pcs,
|
| H A D | HistoryThread.h | 36 std::vector<lldb::addr_t> pcs,
|
| /freebsd-13.1/usr.bin/indent/tests/ |
| H A D | Makefile | 31 ${PACKAGE}FILES+= pcs.0 32 ${PACKAGE}FILES+= pcs.0.stdout 33 ${PACKAGE}FILES+= pcs.0.pro
|
| H A D | pcs.0.pro | 2 -pcs
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_checkpoint.c | 164 spa_checkpoint_get_stats(spa_t *spa, pool_checkpoint_stat_t *pcs) in spa_checkpoint_get_stats() argument 169 bzero(pcs, sizeof (pool_checkpoint_stat_t)); in spa_checkpoint_get_stats() 176 pcs->pcs_state = CS_CHECKPOINT_DISCARDING; in spa_checkpoint_get_stats() 178 pcs->pcs_state = CS_CHECKPOINT_EXISTS; in spa_checkpoint_get_stats() 180 pcs->pcs_space = spa->spa_checkpoint_info.sci_dspace; in spa_checkpoint_get_stats() 181 pcs->pcs_start_time = spa->spa_checkpoint_info.sci_timestamp; in spa_checkpoint_get_stats()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/locale/ |
| H A D | t_wctomb.c | 105 const char *pcs; in h_wctomb() local 133 pcs = t->data; in h_wctomb() 134 sz = mbsrtowcs(wcs, &pcs, t->wclen + 2, NULL); in h_wctomb()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_stack_trace.cpp | 38 void VarSizeStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init() argument 40 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init()
|
| H A D | tsan_stack_trace.h | 27 void Init(const uptr *pcs, uptr cnt, uptr extra_top_pc = 0);
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/MemoryHistory/asan/ |
| H A D | MemoryHistoryASan.cpp | 128 std::vector<lldb::addr_t> pcs; in CreateHistoryThreadFromValueObject() local 133 pcs.push_back(pc); in CreateHistoryThreadFromValueObject() 141 new HistoryThread(*process_sp, tid, pcs, pcs_are_call_addresses); in CreateHistoryThreadFromValueObject()
|
| /freebsd-13.1/sys/dev/sound/pci/ |
| H A D | ds1.c | 796 u_int32_t *ci, r, pcs, rcs, ecs, ws, memsz, cb; in ds_init() local 822 pcs = 0; in ds_init() 824 pcs = ds_rd(sc, YDSXGR_PLAYCTRLSIZE, 4) << 2; in ds_init() 825 if (pcs == sizeof(struct pbank)) in ds_init() 829 if (pcs != sizeof(struct pbank)) { in ds_init() 830 device_printf(sc->dev, "preposterous playctrlsize (%d)\n", pcs); in ds_init() 837 memsz = 64 * 2 * pcs + 2 * 2 * rcs + 5 * 2 * ecs + ws; in ds_init() 851 pcs, rcs, ecs, ws, memsz); in ds_init() 873 sc->pbanksize = pcs; in ds_init() 878 cb += pcs; in ds_init() [all …]
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | ntp_control.c | 1361 struct refclockstat *pcs in ctlclkstatus() argument 1364 return CTL_PEER_STATUS(0, pcs->lastevent, pcs->currentstatus); in ctlclkstatus() 2911 struct refclockstat *pcs, in ctl_putclock() argument 2931 pcs->p_lastcode, in ctl_putclock() 2932 (unsigned)pcs->lencode); in ctl_putclock() 2941 pcs->noresponse); in ctl_putclock() 2946 pcs->badformat); in ctl_putclock() 2951 pcs->baddata); in ctl_putclock() 2957 pcs->fudgetime1 * 1e3); in ctl_putclock() 2969 pcs->fudgeval1); in ctl_putclock() [all …]
|
| /freebsd-13.1/sys/sys/ |
| H A D | _stack.h | 38 vm_offset_t pcs[STACK_MAX]; member
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| H A D | coverage_interface.h | 29 void __sanitizer_dump_coverage(const uintptr_t *pcs, uintptr_t len);
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCRuntime.cpp | 586 std::vector<lldb::addr_t> pcs; in GetBacktraceThreadFromException() local 591 pcs.push_back(pc); in GetBacktraceThreadFromException() 594 if (pcs.empty()) in GetBacktraceThreadFromException() 597 ThreadSP new_thread_sp(new HistoryThread(*m_process, 0, pcs)); in GetBacktraceThreadFromException()
|
| /freebsd-13.1/sys/dev/ata/chipsets/ |
| H A D | ata-intel.c | 414 uint16_t pcs; in ata_intel_reset() local 437 pcs = (pci_read_config(parent, 0x92, 2) >> pshift) & mask; in ata_intel_reset() 438 if ((pcs == mask) && (ATA_IDX_INB(ch, ATA_STATUS) != 0xff)) in ata_intel_reset() 444 device_printf(dev, "SATA reset: ports status=0x%02x\n", pcs); in ata_intel_reset() 452 devs = (pcs & (1 << smap[0])) ? ATA_ATA_MASTER : 0; in ata_intel_reset() 454 devs |= (pcs & (1 << smap[1])) ? in ata_intel_reset()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
| H A D | InstrumentationRuntimeTSan.cpp | 1021 std::vector<lldb::addr_t> pcs; in AddThreadsForPath() local 1023 [&pcs](StructuredData::Object *pc) -> bool { in AddThreadsForPath() 1024 pcs.push_back(pc->GetAsInteger()->GetValue()); in AddThreadsForPath() 1028 if (pcs.size() == 0) in AddThreadsForPath() 1036 new HistoryThread(*process_sp, tid, pcs); in AddThreadsForPath()
|