Home
last modified time | relevance | path

Searched refs:pbase (Results 1 – 22 of 22) sorted by relevance

/dragonfly/sys/vfs/hammer2/
H A Dhammer2_io.c106 hammer2_off_t pbase; in hammer2_io_alloc() local
120 pbase = lbase & pmask; in hammer2_io_alloc()
122 if (pbase == 0 || ((lbase + lsize - 1) & pmask) != pbase) { in hammer2_io_alloc()
124 pbase, lbase, lsize, pmask); in hammer2_io_alloc()
126 KKASSERT(pbase != 0 && ((lbase + lsize - 1) & pmask) == pbase); in hammer2_io_alloc()
148 dio->pbase = pbase; in hammer2_io_alloc()
393 off_t pbase; in _hammer2_io_putblk() local
458 pbase = dio->pbase; in _hammer2_io_putblk()
794 hv = (int)pbase + (int)(pbase >> 16); in hammer2_io_hashv()
812 if (dio->pbase == pbase) { in hammer2_io_hash_lookup()
[all …]
H A Dhammer2.h274 off_t pbase; member
1292 bbeg = (int)((data_off & ~HAMMER2_OFF_MASK_RADIX) - dio->pbase) >> in hammer2_dedup_mask()
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_io.c109 hammer2_off_t pbase; in hammer2_io_alloc() local
123 pbase = lbase & pmask; in hammer2_io_alloc()
125 if (pbase == 0 || ((lbase + lsize - 1) & pmask) != pbase) { in hammer2_io_alloc()
127 pbase, lbase, lsize, pmask); in hammer2_io_alloc()
129 KKASSERT(pbase != 0 && ((lbase + lsize - 1) & pmask) == pbase); in hammer2_io_alloc()
151 dio->pbase = pbase; in hammer2_io_alloc()
404 off_t pbase; in _hammer2_io_putblk() local
469 pbase = dio->pbase; in _hammer2_io_putblk()
813 hv = (int)pbase + (int)(pbase >> 16); in hammer2_io_hashv()
831 if (dio->pbase == pbase) { in hammer2_io_hash_lookup()
[all …]
H A Dhammer2.h313 off_t pbase; member
1346 bbeg = (int)((data_off & ~HAMMER2_OFF_MASK_RADIX) - dio->pbase) >> in hammer2_dedup_mask()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dsstream.tcc93 if ((this->epptr() - this->pbase()) < __capacity) in overflow()
97 _M_pbump(__base, __base + __capacity, this->pptr() - this->pbase()); in overflow()
134 if (this->pbase()) in overflow()
135 __tmp.assign(this->pbase(), this->epptr() - this->pbase()); in overflow()
139 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow()
179 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekoff()
206 _M_pbump(this->pbase(), this->epptr(), __newoffo); in seekoff()
222 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekpos()
236 _M_pbump(this->pbase(), this->epptr(), __pos); in seekpos()
H A Dfstream.tcc523 if (this->pbase() < this->pptr()) in overflow()
534 if (_M_convert_to_external(this->pbase(), in overflow()
535 this->pptr() - this->pbase())) in overflow()
743 const streamsize __buffill = this->pptr() - this->pbase(); in xsputn()
744 const char* __buf = reinterpret_cast<const char*>(this->pbase()); in xsputn()
838 __computed_off = this->pptr() - this->pbase(); in seekoff()
921 if (this->pbase() < this->pptr()) in _M_terminate_output()
983 if (this->pbase() < this->pptr()) in sync()
H A Dlocale_conv.h492 _Elem* const __first = this->pbase(); in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
H A Dsstream.tcc117 if (this->pbase()) in overflow()
118 __tmp.assign(this->pbase(), this->epptr() - this->pbase()); in overflow()
122 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow()
162 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekoff()
189 _M_pbump(this->pbase(), this->epptr(), __newoffo); in seekoff()
205 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekpos()
219 _M_pbump(this->pbase(), this->epptr(), __pos); in seekpos()
H A Dfstream.tcc439 if (this->pbase() < this->pptr()) in overflow()
450 if (_M_convert_to_external(this->pbase(), in overflow()
451 this->pptr() - this->pbase())) in overflow()
660 const streamsize __buffill = this->pptr() - this->pbase(); in xsputn()
661 const char* __buf = reinterpret_cast<const char*>(this->pbase()); in xsputn()
755 __computed_off = this->pptr() - this->pbase(); in seekoff()
838 if (this->pbase() < this->pptr()) in _M_terminate_output()
900 if (this->pbase() < this->pptr()) in sync()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++98/
H A Dstrstream.cc136 { return pptr() ? pptr() - pbase() : 0; } in pcount()
147 ptrdiff_t old_size = epptr() - pbase(); in overflow()
153 memcpy(buf, pbase(), old_size); in overflow()
154 char* old_buffer = pbase(); in overflow()
271 if (seeklow + off < pbase()) in seekoff()
278 setp(pbase(), epptr()); in seekoff()
279 __safe_pbump(off - (pbase() - seeklow)); in seekoff()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/src/c++98/
H A Dstrstream.cc137 { return pptr() ? pptr() - pbase() : 0; } in pcount()
148 ptrdiff_t old_size = epptr() - pbase(); in overflow()
154 memcpy(buf, pbase(), old_size); in overflow()
155 char* old_buffer = pbase(); in overflow()
272 if (seeklow + off < pbase()) in seekoff()
279 setp(pbase(), epptr()); in seekoff()
280 __safe_pbump(off - (pbase() - seeklow)); in seekoff()
/dragonfly/usr.bin/top/
H A Dm_dragonfly.c169 static struct kinfo_proc *pbase; variable
281 pbase = NULL; in machine_init()
540 pbase = kvm_getprocs(kd, KERN_PROC_ALL | kvmflags, 0, &nproc); in get_process_info()
544 if (pref == NULL || pbase == NULL) { in get_process_info()
568 for (pp = pbase, i = 0; i < nproc; pp++, i++) { in get_process_info()
665 memcpy(prev_pbase, pbase, nproc * sizeof(struct kinfo_proc)); in get_process_info()
/dragonfly/sbin/hammer2/
H A Dcmd_recover.c1562 hammer2_off_t pbase; in hammer2_cache_read() local
1581 pbase = poff & ~HAMMER2_PBUFMASK64; in hammer2_cache_read()
1607 if (sdc->vol == vol && sdc->offset == pbase) { in hammer2_cache_read()
1609 return (&sdc->buf[poff - pbase]); in hammer2_cache_read()
1623 sdc->offset = pbase; in hammer2_cache_read()
1626 if (pread(vol->fd, sdc->buf, HAMMER2_PBUFSIZE, pbase) != in hammer2_cache_read()
1633 return (&sdc->buf[poff - pbase]); in hammer2_cache_read()
/dragonfly/test/debug/
H A Dh2dio.c128 tab, tab, "", (void *)cp, dio.pbase, dio.refs, in h2dioscan()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dsstream174 __ret.assign(this->pbase(), this->pptr());
176 __ret.assign(this->pbase(), this->egptr());
315 if (__from.pbase())
317 _M_poff[0] = __from.pbase() - __str;
318 _M_poff[1] = __from.pptr() - __from.pbase();
H A Dstreambuf531 * - pbase() returns the beginning pointer for the output sequence
536 pbase() const { return _M_out_beg; }
558 * @post @a __pbeg == @c pbase(), @a __pbeg == @c pptr(), and
H A Dfstream438 * NB: epptr() - pbase() == _M_buf_size - 1, since _M_buf_size
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgimple-ssa-strength-reduction.c897 backtrace_base_for_ref (tree *pbase) in backtrace_base_for_ref() argument
899 tree base_in = *pbase; in backtrace_base_for_ref()
924 *pbase = base_cand->base_expr; in backtrace_base_for_ref()
932 *pbase = base_cand->base_expr; in backtrace_base_for_ref()
972 restructure_reference (tree *pbase, tree *poffset, widest_int *pindex, in restructure_reference() argument
975 tree base = *pbase, offset = *poffset; in restructure_reference()
1026 *pbase = t1; in restructure_reference()
H A Dasan.c1252 asan_emit_stack_protection (rtx base, rtx pbase, unsigned int alignb, in asan_emit_stack_protection() argument
1297 if (asan_frame_size > 32 && asan_frame_size <= 65536 && pbase in asan_emit_stack_protection()
1318 if (use_after_return_class == -1 && pbase) in asan_emit_stack_protection()
1319 emit_move_insn (pbase, base); in asan_emit_stack_protection()
1365 emit_move_insn (pbase, expand_binop (Pmode, add_optab, base, in asan_emit_stack_protection()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/std/
H A Dsstream129 __ret = __string_type(this->pbase(), this->pptr());
131 __ret = __string_type(this->pbase(), this->egptr());
H A Dstreambuf521 * - pbase() returns the beginning pointer for the output sequence
526 pbase() const { return _M_out_beg; }
548 * @post @a __pbeg == @c pbase(), @a __pbeg == @c pptr(), and
H A Dfstream387 * NB: epptr() - pbase() == _M_buf_size - 1, since _M_buf_size