/dragonfly/lib/libc/db/btree/ |
H A D | bt_open.c | 122 if (b.psize && in __bt_open() 123 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || in __bt_open() 150 b.psize = 0; in __bt_open() 234 M_32_SWAP(m.psize); in __bt_open() 241 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 || in __bt_open() 246 b.psize = m.psize; in __bt_open() 259 if (b.psize == 0) { in __bt_open() 260 b.psize = NOMPSIZE; in __bt_open() 261 if (b.psize < MINPSIZE) in __bt_open() 262 b.psize = MINPSIZE; in __bt_open() [all …]
|
/dragonfly/sbin/hammer2/ |
H A D | cmd_recover.c | 559 if (flen > psize) in check_filename() 586 if (pread(vfd, &data, psize, poff) != (ssize_t)psize) in check_filename() 740 size_t psize; in enter_inode() local 788 if (psize == 0) in enter_inode() 959 size_t psize; in dump_tree() local 969 if (psize == 0) in dump_tree() 1234 size_t psize; in dump_dir_data() local 1263 psize = 0; in dump_dir_data() 1414 if (pread(vol->fd, &data, psize, poff) != (ssize_t)psize) { in dump_file_data() 1440 psize = nsize; in dump_file_data() [all …]
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_io.c | 114 int psize; in hammer2_io_alloc() local 116 psize = HAMMER2_PBUFSIZE; in hammer2_io_alloc() 152 dio->psize = psize; in hammer2_io_alloc() 266 dio->psize == lsize) { in _hammer2_io_getblk() 271 dev_pbase, dio->psize, in _hammer2_io_getblk() 292 dio->psize, bflags, in _hammer2_io_getblk() 293 dio->psize, in _hammer2_io_getblk() 298 dio->psize, bflags, in _hammer2_io_getblk() 322 dio->psize, bflags, in _hammer2_io_getblk() 405 int psize; in _hammer2_io_putblk() local [all …]
|
H A D | hammer2_freemap.c | 708 size_t psize = HAMMER2_PBUFSIZE; in hammer2_bmap_alloc() local 709 hammer2_off_t pmask = (hammer2_off_t)psize - 1; in hammer2_bmap_alloc() 714 int pradix = hammer2_getradix(psize); in hammer2_bmap_alloc() 725 pbmmask, bmmask, size, psize); in hammer2_bmap_alloc() 733 pradix, psize, &dio); in hammer2_bmap_alloc()
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_io.c | 111 int psize; in hammer2_io_alloc() local 113 psize = HAMMER2_PBUFSIZE; in hammer2_io_alloc() 149 dio->psize = psize; in hammer2_io_alloc() 263 dio->psize == lsize) { in _hammer2_io_getblk() 268 dev_pbase, dio->psize, in _hammer2_io_getblk() 288 dio->psize, bflags, in _hammer2_io_getblk() 289 dio->psize, in _hammer2_io_getblk() 294 dio->psize, bflags, in _hammer2_io_getblk() 314 dio->psize, bflags, in _hammer2_io_getblk() 394 int psize; in _hammer2_io_putblk() local [all …]
|
H A D | hammer2_freemap.c | 704 size_t psize = HAMMER2_PBUFSIZE; in hammer2_bmap_alloc() local 705 hammer2_off_t pmask = (hammer2_off_t)psize - 1; in hammer2_bmap_alloc() 710 int pradix = hammer2_getradix(psize); in hammer2_bmap_alloc() 721 pbmmask, bmmask, size, psize); in hammer2_bmap_alloc() 729 pradix, psize, &dio); in hammer2_bmap_alloc()
|
/dragonfly/lib/libc/db/test/ |
H A D | run.test | 157 for psize in 512 16384 65536; do 158 echo " page size $psize" 168 $PROG -i psize=$psize -o $TMP3 $type $TMP2 171 echo "test3: $type: page size $psize: failed" 183 for psize in 512 16384 65536; do 184 echo " page size $psize" 185 $PROG -i psize=$psize -o $TMP3 recno $TMP2 188 echo "test3: recno: page size $psize: failed" 547 $PROG -i psize=512 -o $TMP3 $type $TMP2
|
/dragonfly/lib/libc/gen/ |
H A D | disklabel.c | 60 char p, max, psize[3], pbsize[3], in getdiskbyname() local 100 strcpy(psize, "px"); in getdiskbyname() 109 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname() 110 if (cgetnum(buf, psize, &l) == -1) in getdiskbyname() 132 strcpy(psize, "dx"); in getdiskbyname() 135 psize[1] = p; in getdiskbyname() 136 getnumdflt(*dx, psize, 0); in getdiskbyname()
|
H A D | disktab.c | 94 char p, max, psize[3], pbsize[3], in getdisktabbyname() local 136 strcpy(psize, "px"); in getdisktabbyname() 145 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdisktabbyname() 146 if (cgetnum(buf, psize, &l) == -1) { in getdisktabbyname() 177 strcpy(psize, "dx"); in getdisktabbyname() 180 psize[1] = p; in getdisktabbyname() 181 getnumdflt(*dx, psize, 0); in getdisktabbyname()
|
/dragonfly/lib/libexecinfo/ |
H A D | backtrace.c | 179 size_t psize, offs; in backtrace_symbols_fmt() local 192 psize = len * slen; in backtrace_symbols_fmt() 199 x = format_address(st, &ptr, &psize, offs, fmt, trace[i]); in backtrace_symbols_fmt() 207 assert(offs < psize); in backtrace_symbols_fmt()
|
/dragonfly/sys/bus/firewire/ |
H A D | fwdev.c | 107 b->psize = roundup2(b->psize, sizeof(u_int32_t)); in fwdev_allocbuf() 109 b->psize, b->nchunk * b->npacket, BUS_DMA_WAITOK); in fwdev_allocbuf() 118 q->psize = (b->psize + 3) & ~3; in fwdev_allocbuf() 149 q->psize = 0; in fwdev_freebuf() 339 if (uio->uio_resid >= ir->psize) { in fw_read() 512 ibufreq->rx.psize = ir->psize; in fw_ioctl() 518 ibufreq->tx.psize = it->psize; in fw_ioctl()
|
/dragonfly/contrib/binutils-2.27/gold/ |
H A D | fileread.cc | 481 section_size_type psize = File_read::pages(size + (start - poff)); in make_view() local 483 if (poff + static_cast<off_t>(psize) >= this->size_) in make_view() 485 psize = this->size_ - poff; in make_view() 486 gold_assert(psize >= size); in make_view() 493 p = malloc(psize + byteshift); in make_view() 497 this->do_read(poff, psize, static_cast<unsigned char*>(p) + byteshift); in make_view() 503 p = ::mmap(NULL, psize, PROT_READ, MAP_PRIVATE, this->descriptor_, poff); in make_view() 507 this->mapped_bytes_ += psize; in make_view() 511 p = malloc(psize); in make_view() 514 this->do_read(poff, psize, p); in make_view() [all …]
|
/dragonfly/contrib/binutils-2.34/gold/ |
H A D | fileread.cc | 481 section_size_type psize = File_read::pages(size + (start - poff)); in make_view() local 483 if (poff + static_cast<off_t>(psize) >= this->size_) in make_view() 485 psize = this->size_ - poff; in make_view() 486 gold_assert(psize >= size); in make_view() 493 p = malloc(psize + byteshift); in make_view() 497 this->do_read(poff, psize, static_cast<unsigned char*>(p) + byteshift); in make_view() 503 p = ::mmap(NULL, psize, PROT_READ, MAP_PRIVATE, this->descriptor_, poff); in make_view() 507 this->mapped_bytes_ += psize; in make_view() 511 p = malloc(psize); in make_view() 514 this->do_read(poff, psize, p); in make_view() [all …]
|
/dragonfly/contrib/nvi2/common/ |
H A D | exf.c | 122 size_t psize; in file_init() local 198 psize = 1024; in file_init() 210 psize = ((sb.st_size / 15) + 1023) / 1024; in file_init() 211 if (psize > 16) in file_init() 212 psize = 16; in file_init() 213 if (psize == 0) in file_init() 214 psize = 1; in file_init() 215 psize = p2roundup(psize) << 10; in file_init() 230 oinfo.psize = psize; in file_init()
|
/dragonfly/sys/sys/ |
H A D | mbuf.h | 584 m_getl(int len, int how, int type, int flags, int *psize) in m_getl() argument 599 if (psize != NULL) in m_getl() 600 *psize = size; in m_getl() 605 m_getlj(int len, int how, int type, int flags, int *psize) in m_getlj() argument 611 if (psize != NULL) in m_getlj() 612 *psize = MJUMPAGESIZE; in m_getlj() 615 return m_getl(len, how, type, flags, psize); in m_getlj()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tree-object-size.c | 175 int object_size_type, unsigned HOST_WIDE_INT *psize) in addr_object_size() argument 183 *psize = unknown[object_size_type]; in addr_object_size() 395 *psize = tree_to_uhwi (bytes); in addr_object_size() 496 unsigned HOST_WIDE_INT *psize) in compute_builtin_object_size() argument 502 *psize = unknown[object_size_type]; in compute_builtin_object_size() 508 return addr_object_size (NULL, ptr, object_size_type, psize); in compute_builtin_object_size() 532 && compute_builtin_object_size (ptr, object_size_type, psize)) in compute_builtin_object_size() 536 *psize = off < *psize ? *psize - off : 0; in compute_builtin_object_size() 658 *psize = object_sizes[object_size_type][SSA_NAME_VERSION (ptr)]; in compute_builtin_object_size() 659 return *psize != unknown[object_size_type]; in compute_builtin_object_size()
|
H A D | tree-dfa.c | 381 poly_int64_pod *psize, in get_ref_base_and_extent() argument 606 if (!bitsize.to_shwi (psize) || maybe_lt (*psize, 0)) in get_ref_base_and_extent() 609 *psize = -1; in get_ref_base_and_extent() 670 if (!endpoint_representable_p (*poffset, *psize)) in get_ref_base_and_extent() 673 *psize = -1; in get_ref_base_and_extent() 688 HOST_WIDE_INT *psize, bool *preverse) in get_ref_base_and_extent_hwi() argument 703 *psize = const_size; in get_ref_base_and_extent_hwi()
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | nexus.c | 437 u_int64_t psize; in nexus_activate_resource() local 441 psize = rman_get_size(r); in nexus_activate_resource() 444 vaddr = (caddr_t) pmap_mapdev(paddr-poffs, psize+poffs) + poffs; in nexus_activate_resource() 462 u_int32_t psize; in nexus_deactivate_resource() local 464 psize = rman_get_size(r); in nexus_deactivate_resource() 465 pmap_unmapdev((vm_offset_t)rman_get_virtual(r), psize); in nexus_deactivate_resource()
|
/dragonfly/usr.sbin/fwcontrol/ |
H A D | fwdv.c | 113 bufreq.rx.psize = PSIZE; in dvrecv() 116 bufreq.tx.psize = 0; in dvrecv() 271 bufreq.rx.psize = 0; in dvsend() 274 bufreq.tx.psize = PSIZE; in dvsend()
|
/dragonfly/include/ |
H A D | db.h | 122 unsigned int psize; /* page size */ member 151 unsigned int psize; /* page size */ member
|
/dragonfly/lib/libc/db/recno/ |
H A D | rec_open.c | 76 btopeninfo.psize = openinfo->psize; in __rec_open()
|
/dragonfly/usr.bin/sort/ |
H A D | sort.c | 287 long pages, psize; in set_hw_params() local 289 pages = psize = 0; in set_hw_params() 300 psize = sysconf(_SC_PAGESIZE); in set_hw_params() 301 if (psize < 1) { in set_hw_params() 303 psize = 4096; in set_hw_params() 315 free_memory = (unsigned long long) pages * (unsigned long long) psize; in set_hw_params()
|
/dragonfly/sys/vfs/udf/ |
H A D | udf_vfsops.c | 632 int ptype, psize, error; in udf_find_partmaps() local 638 psize = pmap->data[1]; in udf_find_partmaps() 640 ((psize != UDF_PMAP_SIZE) && (psize != 6))) { in udf_find_partmaps()
|
/dragonfly/contrib/gcc-4.7/gcc/c-family/ |
H A D | c-cppbuiltin.c | 581 unsigned int psize; in cpp_atomic_builtins() local 680 psize = POINTER_SIZE / BITS_PER_UNIT; in cpp_atomic_builtins() 681 if (psize >= SWAP_LIMIT) in cpp_atomic_builtins() 682 psize = 0; in cpp_atomic_builtins() 684 (have_swap[psize]? 2 : 1)); in cpp_atomic_builtins()
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | d-demangle.c | 721 long psize = len; in dlang_identifier() local 732 if (psize == 0) in dlang_identifier() 734 psize = len; in dlang_identifier() 750 if (mangled && (mangled - pend) == psize) in dlang_identifier() 753 psize /= 10; in dlang_identifier()
|