/freebsd/sys/arm/annapurna/alpine/ |
H A D | alpine_machdep_mp.c | 79 static int alpine_get_cpu_resume_base(u_long *pbase, u_long *psize); 80 static int alpine_get_nb_base(u_long *pbase, u_long *psize); 124 alpine_get_cpu_resume_base(u_long *pbase, u_long *psize) in alpine_get_cpu_resume_base() argument 130 if (pbase == NULL || psize == NULL) in alpine_get_cpu_resume_base() 143 *pbase = base; in alpine_get_cpu_resume_base() 150 alpine_get_nb_base(u_long *pbase, u_long *psize) in alpine_get_nb_base() argument 156 if (pbase == NULL || psize == NULL) in alpine_get_nb_base() 169 *pbase = base; in alpine_get_nb_base()
|
H A D | alpine_machdep.c | 81 alpine_get_wdt_base(uint32_t *pbase, uint32_t *psize) in alpine_get_wdt_base() argument 87 if (pbase == NULL || psize == NULL) in alpine_get_wdt_base() 103 *pbase = base; in alpine_get_wdt_base()
|
/freebsd/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/contrib/llvm-project/libcxx/src/ |
H A D | strstream.cpp | 103 int strstreambuf::pcount() const { return static_cast<int>(pptr() - pbase()); } in strstreambuf() 128 ptrdiff_t nout = pptr() - pbase(); 216 // min(pbase, newpos), newpos, epptr() in pbackfail() 218 setp(min(pbase(), newpos), epptr()); in pbackfail() 219 __pbump((epptr() - pbase()) - __off); in pbackfail() 242 // min(pbase, newpos), newpos, epptr() in seekoff() 244 setp(min(pbase(), newpos), epptr()); in seekoff() 245 __pbump((epptr() - pbase()) - temp); in seekoff()
|
H A D | std_stream.h | 319 char_type* pbase = &__1buf; in __stdoutbuf() 320 char_type* pptr = pbase + 1; in __stdoutbuf() 323 __r = __cv_->out(*__st_, pbase, pptr, __e, __extbuf, __extbuf + sizeof(__extbuf), __extbe); in __stdoutbuf() 324 if (__e == pbase) in __stdoutbuf() 327 if (fwrite(pbase, 1, 1, __file_) != 1) in __do_fputc() 334 pbase = const_cast<char_type*>(__e); in __do_fputc() 361 char_type* pbase = &__1buf; overflow() local
|
/freebsd/sys/dev/fdt/ |
H A D | fdt_common.c | 77 u_long bus_addr, par_bus_addr, pbase, psize; in fdt_get_range_by_busaddr() local 130 &pbase, &psize); in fdt_get_range_by_busaddr() 134 *base = pbase; in fdt_get_range_by_busaddr() 151 u_long par_bus_addr, pbase, psize; in fdt_get_range() local 192 &pbase, &psize); in fdt_get_range() 194 *base += pbase; in fdt_get_range()
|
/freebsd/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/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/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tree.c |
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | fstream | 447 if (__rhs.pbase()) { 448 if (__rhs.pbase() == __rhs.__intbuf_) 449 this->setp(__intbuf_, __intbuf_ + (__rhs.epptr() - __rhs.pbase())); 451 this->setp((char_type*)__extbuf_, (char_type*)__extbuf_ + (__rhs.epptr() - __rhs.pbase())); 452 this->__pbump(__rhs.pptr() - __rhs.pbase()); 552 } else if (this->pbase() == (char_type*)__rhs.__extbuf_min_) { 553 ptrdiff_t __n = this->pptr() - this->pbase(); 554 ptrdiff_t __e = this->epptr() - this->pbase(); 563 } else if (__rhs.pbase() == (char_type*)__extbuf_min_) { 564 ptrdiff_t __n = __rhs.pptr() - __rhs.pbase(); [all …]
|
H A D | syncstream | 375 if (this->pptr() != this->pbase()) { 376 …_LIBCPP_ASSERT_INTERNAL(this->pbase() && this->pptr() && this->epptr(), "all put area pointers sho… 380 __result &= (__wrapped_->sputn(this->pbase(), this->pptr() - this->pbase()) != -1); 383 this->setp(this->pbase(), this->epptr()); 396 this->pbump(__other.pptr() - __other.pbase());
|
H A D | sstream | 537 if (__rhs.pbase() != nullptr) { 538 __bout = __rhs.pbase() - __p; 574 if (__rhs.pbase() != nullptr) { 575 __bout = __rhs.pbase() - __p; 621 if (__rhs.pbase() != nullptr) { 622 __rbout = __rhs.pbase() - __p; 639 if (this->pbase() != nullptr) { 640 __lbout = this->pbase() - __p; 690 return string_type(this->pbase(), __hm_, __str_.get_allocator()); 728 return basic_string_view<_CharT, _Traits>(this->pbase(), __hm_); [all …]
|
H A D | streambuf | 74 char_type* pbase() const; 248 _LIBCPP_HIDE_FROM_ABI char_type* pbase() const { return __bout_; }
|
/freebsd/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/sys/arm/nvidia/drm2/ |
H A D | tegra_drm.h | 34 vm_paddr_t pbase; member
|
H A D | tegra_bo.c | 142 bo->pbase = VM_PAGE_TO_PHYS(bo->m[0]); in tegra_bo_init_pager()
|
H A D | tegra_fb.c | 173 info->fb_pbase = bo->pbase; in tegra_fb_probe()
|
/freebsd/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/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/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_intel.c | 142 vm_paddr_t pbase; member 904 bar->pbase, bar->size, 0)) { in intel_ntb_map_pci_bars() 979 (uintmax_t)bar->pbase, (uintmax_t)(bar->pbase + bar->size - 1), in print_map_success() 1037 bar->pci_resource, bar->pbase, in map_memory_window_bar() 1038 bar->pbase + (1ul << bar_size_bits) - 1); in map_memory_window_bar() 1067 (uintmax_t)bar->pbase, in map_memory_window_bar() 1068 (uintmax_t)(bar->pbase + bar->size - 1), in map_memory_window_bar() 1076 (uintmax_t)bar->pbase, in map_memory_window_bar() 1077 (uintmax_t)(bar->pbase + bar->size - 1), in map_memory_window_bar() 3580 *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 | 355 *base = bar_info->pbase; in amd_ntb_mw_get_range() 1114 (char *)bar->vbase + bar->size - 1, (uintmax_t)bar->pbase, in print_map_success() 1115 (uintmax_t)(bar->pbase + bar->size - 1), (uintmax_t)bar->size, kind); in print_map_success() 1123 bar->pbase = rman_get_start(bar->pci_resource); in save_bar_parameters()
|
/freebsd/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/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()
|