| /freebsd-14.2/sys/arm/annapurna/alpine/ |
| H A D | alpine_machdep_mp.c | 80 static int alpine_get_cpu_resume_base(u_long *pbase, u_long *psize); 81 static int alpine_get_nb_base(u_long *pbase, u_long *psize); 125 alpine_get_cpu_resume_base(u_long *pbase, u_long *psize) in alpine_get_cpu_resume_base() argument 131 if (pbase == NULL || psize == NULL) in alpine_get_cpu_resume_base() 144 *pbase = base; in alpine_get_cpu_resume_base() 151 alpine_get_nb_base(u_long *pbase, u_long *psize) in alpine_get_nb_base() argument 157 if (pbase == NULL || psize == NULL) in alpine_get_nb_base() 170 *pbase = base; in alpine_get_nb_base()
|
| H A D | alpine_machdep.c | 82 alpine_get_wdt_base(uint32_t *pbase, uint32_t *psize) in alpine_get_wdt_base() argument 88 if (pbase == NULL || psize == NULL) in alpine_get_wdt_base() 104 *pbase = base; in alpine_get_wdt_base()
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | utils.c | 307 struct kinfo_proc *pbase = NULL; in find_pid() local 317 pbase = kvm_getprocs(kd, KERN_PROC_PID, pid, &nproc); in find_pid() 318 if (pbase == NULL) { in find_pid() 322 if ((nproc == 1) && (pbase->ki_pid == pid)) { in find_pid()
|
| H A D | machine.c | 79 #define PCTCPU(pp) (pcpu[pp - pbase]) 159 static struct kinfo_proc *pbase; variable 323 pbase = NULL; in machine_init() 781 memcpy(previous_procs, pbase, nproc * sizeof(*previous_procs)); in get_process_info() 790 pbase = kvm_getprocs(kd, sel->thread ? KERN_PROC_ALL : KERN_PROC_PROC, in get_process_info() 811 if (pref == NULL || pbase == NULL || pcpu == NULL) { in get_process_info() 826 for (pp = pbase, i = 0; i < nproc; pp++, i++) { in get_process_info()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/src/ |
| H A D | strstream.cpp | 103 int strstreambuf::pcount() const { return static_cast<int>(pptr() - pbase()); } in pcount() 128 ptrdiff_t nout = pptr() - pbase(); in overflow() 218 setp(min(pbase(), newpos), epptr()); in seekoff() 219 __pbump((epptr() - pbase()) - __off); in seekoff() 244 setp(min(pbase(), newpos), epptr()); in seekpos() 245 __pbump((epptr() - pbase()) - temp); in seekpos()
|
| H A D | std_stream.h | 319 char_type* pbase = &__1buf; in overflow() local 320 char_type* pptr = pbase + 1; in overflow() 323 __r = __cv_->out(*__st_, pbase, pptr, __e, __extbuf, __extbuf + sizeof(__extbuf), __extbe); in overflow() 324 if (__e == pbase) in overflow() 327 if (fwrite(pbase, 1, 1, __file_) != 1) in overflow() 334 pbase = const_cast<char_type*>(__e); in overflow()
|
| /freebsd-14.2/sys/dev/fdt/ |
| H A D | fdt_common.c | 78 u_long bus_addr, par_bus_addr, pbase, psize; in fdt_get_range_by_busaddr() local 131 &pbase, &psize); in fdt_get_range_by_busaddr() 135 *base = pbase; in fdt_get_range_by_busaddr() 152 u_long par_bus_addr, pbase, psize; in fdt_get_range() local 193 &pbase, &psize); in fdt_get_range() 195 *base += pbase; in fdt_get_range()
|
| /freebsd-14.2/contrib/kyua/utils/process/ |
| H A D | systembuf.cpp | 144 ssize_t cnt = pptr() - pbase(); in sync() 147 ok = ::write(_pimpl->_fd, pbase(), cnt) == cnt; in sync()
|
| /freebsd-14.2/sys/arm/freescale/imx/ |
| H A D | imx51_ipuv3.c | 79 bus_addr_t pbase; member 207 sc->pbase = vtophys(sc->vbase); in ipu3_fb_malloc() 240 ((sc->pbase >> 3) | ((sc->pbase >> 3) << 29)) & 0xffffffff); in ipu3_fb_init() 243 ((sc->pbase >> 3) >> 3) & 0xffffffff); in ipu3_fb_init() 246 va_sc->fb_paddr = (intptr_t)sc->pbase; in ipu3_fb_init()
|
| /freebsd-14.2/sys/geom/part/ |
| H A D | g_part_bsd64.c | 304 uint64_t blkmask, pbase; in g_part_bsd64_create() local 328 pbase = ressize + ((BOOTSIZE + blkmask) & ~blkmask); in g_part_bsd64_create() 329 pbase = (pbase + PALIGN_MASK) & ~PALIGN_MASK; in g_part_bsd64_create() 336 pbase += DALIGN_SIZE - pp->stripeoffset % DALIGN_SIZE; in g_part_bsd64_create() 344 basetable->gpt_first = pbase / pp->sectorsize; in g_part_bsd64_create()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | fstream | 366 if (__rhs.pbase()) { 367 if (__rhs.pbase() == __rhs.__intbuf_) 371 this->__pbump(__rhs.pptr() - __rhs.pbase()); 472 ptrdiff_t __n = this->pptr() - this->pbase(); 473 ptrdiff_t __e = this->epptr() - this->pbase(); 483 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase(); 484 ptrdiff_t __e = __rhs.epptr() - __rhs.pbase(); 788 char_type* __pb_save = this->pbase(); 796 if (this->pptr() != this->pbase()) { 810 if (__e == this->pbase()) [all …]
|
| H A D | sstream | 465 if (__rhs.pbase() != nullptr) { 466 __bout = __rhs.pbase() - __p; 502 if (__rhs.pbase() != nullptr) { 503 __bout = __rhs.pbase() - __p; 549 if (__rhs.pbase() != nullptr) { 550 __rbout = __rhs.pbase() - __p; 567 if (this->pbase() != nullptr) { 568 __lbout = this->pbase() - __p; 714 __hm_ = this->pbase() + __hm; 750 __noff = this->pptr() - this->pbase(); [all …]
|
| H A D | syncstream | 373 if (this->pptr() != this->pbase()) { 374 …_LIBCPP_ASSERT_INTERNAL(this->pbase() && this->pptr() && this->epptr(), "all put area pointers sho… 378 __result &= (__wrapped_->sputn(this->pbase(), this->pptr() - this->pbase()) != -1); 381 this->setp(this->pbase(), this->epptr()); 394 this->pbump(__other.pptr() - __other.pbase());
|
| H A D | streambuf | 74 char_type* pbase() const; 242 _LIBCPP_HIDE_FROM_ABI char_type* pbase() const { return __bout_; }
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fs_tree.c | 2363 struct fs_base *pbase; in mlx5_get_match_criteria_enable() local 2367 WARN_ON(!pbase); in mlx5_get_match_criteria_enable() 2368 pbase = pbase->parent; in mlx5_get_match_criteria_enable() 2369 WARN_ON(!pbase); in mlx5_get_match_criteria_enable() 2371 fs_get_obj(fg, pbase); in mlx5_get_match_criteria_enable() 2378 struct fs_base *pbase; in mlx5_get_match_value() local 2382 WARN_ON(!pbase); in mlx5_get_match_value() 2391 struct fs_base *pbase; in mlx5_get_match_criteria() local 2395 WARN_ON(!pbase); in mlx5_get_match_criteria() 2396 pbase = pbase->parent; in mlx5_get_match_criteria() [all …]
|
| /freebsd-14.2/sys/arm/nvidia/drm2/ |
| H A D | tegra_drm.h | 34 vm_paddr_t pbase; member
|
| H A D | tegra_bo.c | 137 bo->pbase = VM_PAGE_TO_PHYS(bo->m[0]); in tegra_bo_init_pager()
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_cpuset.c | 1187 struct cpuset *pbase; in cpuset_setproc_newbase() local 1190 pbase = cpuset_getbase(td->td_cpuset); in cpuset_setproc_newbase() 1193 CPU_AND(&nmask, &pbase->cs_mask, &nroot->cs_mask); in cpuset_setproc_newbase() 1195 domainset_copy(pbase->cs_domain, &ndomain); in cpuset_setproc_newbase() 1208 pbase = LIST_FIRST(cpusets); in cpuset_setproc_newbase() 1209 LIST_REMOVE(pbase, cs_link); in cpuset_setproc_newbase() 1210 error = cpuset_create(&pbase, set, &nmask); in cpuset_setproc_newbase() 1212 LIST_INSERT_HEAD(cpusets, pbase, cs_link); in cpuset_setproc_newbase() 1217 pbase->cs_domain = domainset_shadow(set->cs_domain, &ndomain, in cpuset_setproc_newbase() 1219 *nsetp = pbase; in cpuset_setproc_newbase()
|
| /freebsd-14.2/sys/dev/pci/ |
| H A D | pci_user.c | 857 vm_paddr_t pbase; in pci_bar_mmap() local 884 pbase = trunc_page(membase); in pci_bar_mmap() 886 pbase; in pci_bar_mmap() 892 error = sglist_append_phys(sg, pbase, plen); in pci_bar_mmap() 917 pbm->pbm_bar_off = membase - pbase; in pci_bar_mmap()
|
| /freebsd-14.2/sys/dev/pms/RefTisa/sallsdk/spc/ |
| H A D | sahw.c | 1907 bit8 * pbase; in siHDAMode_V() local 1966 pbase = saRoot->memoryAllocated.agMemory[save].virtPtr; in siHDAMode_V() 1972 pbase in siHDAMode_V() 2004 si_memset(pbase, 0, biggest); in siHDAMode_V() 2008 si_memcpy(pbase,userFwImg->ilaImg, userFwImg->ilaLen ); in siHDAMode_V() 2339 si_memset(pbase, 0, biggest); in siHDAMode_V() 2343 si_memcpy(pbase,userFwImg->aap1Img, userFwImg->aap1Len ); in siHDAMode_V() 2408 si_memset(pbase, 0, biggest); in siHDAMode_V() 2412 si_memcpy(pbase,userFwImg->iopImg, userFwImg->iopLen ); in siHDAMode_V()
|
| /freebsd-14.2/sys/dev/ntb/ntb_hw/ |
| H A D | ntb_hw_intel.c | 142 vm_paddr_t pbase; member 863 bar->pbase, bar->size, 0)) { in intel_ntb_map_pci_bars() 929 (uintmax_t)bar->pbase, (uintmax_t)(bar->pbase + bar->size - 1), in print_map_success() 987 bar->pci_resource, bar->pbase, in map_memory_window_bar() 988 bar->pbase + (1ul << bar_size_bits) - 1); in map_memory_window_bar() 1017 (uintmax_t)bar->pbase, in map_memory_window_bar() 1018 (uintmax_t)(bar->pbase + bar->size - 1), in map_memory_window_bar() 1026 (uintmax_t)bar->pbase, in map_memory_window_bar() 1027 (uintmax_t)(bar->pbase + bar->size - 1), in map_memory_window_bar() 3187 *base = bar->pbase + bar_b2b_off; in intel_ntb_mw_get_range() [all …]
|
| H A D | ntb_hw_amd.h | 125 vm_paddr_t pbase; member
|
| H A D | ntb_hw_amd.c | 356 *base = bar_info->pbase; in amd_ntb_mw_get_range() 1115 (char *)bar->vbase + bar->size - 1, (uintmax_t)bar->pbase, in print_map_success() 1116 (uintmax_t)(bar->pbase + bar->size - 1), (uintmax_t)bar->size, kind); in print_map_success() 1124 bar->pbase = rman_get_start(bar->pci_resource); in save_bar_parameters()
|
| /freebsd-14.2/contrib/ntp/sntp/libevent/test/ |
| H A D | regress_rpc.c | 137 rpc_setup(struct evhttp **phttp, ev_uint16_t *pport, struct evrpc_base **pbase) in rpc_setup() argument 151 *pbase = base; in rpc_setup()
|
| /freebsd-14.2/contrib/libevent/test/ |
| H A D | regress_rpc.c | 137 rpc_setup(struct evhttp **phttp, ev_uint16_t *pport, struct evrpc_base **pbase) in rpc_setup() argument 151 *pbase = base; in rpc_setup()
|