/freebsd-current/sys/cddl/boot/zfs/ |
H A D | blkptr.c | 49 int psize; local 56 psize = BPE_GET_PSIZE(bp); 62 for (int i = 0; i < psize; i++) {
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
H A D | zpool_import_corrupt_001_pos.ksh | 66 # the same name in vdev_label.c. The rounding of psize is based on the 74 typeset -il psize=$1 79 roundsize=$(( $psize & -$VDEV_LABEL_SIZE )) 95 typeset -il psize=$(geom disk list $PROV | awk '/Mediasize/ {print $2}') 96 if [[ -z $psize ]]; then 110 log_note offset=vdev_label_offset $psize $j 111 offset=$(vdev_label_offset $psize $j)
|
/freebsd-current/tools/tools/vimage/ |
H A D | vimage.c | 325 struct jailparam params[32]; /* Must be > max(psize). */ 326 int psize = 0; local 331 jailparam_init(¶ms[psize], "lastjid"); 332 jailparam_import_raw(¶ms[psize++], &lastjid, sizeof lastjid); 334 jailparam_init(¶ms[psize], "vnet"); 335 jailparam_import_raw(¶ms[psize++], &vs->vnet, sizeof(vs->vnet)); 337 jailparam_init(¶ms[psize], "name"); 338 jailparam_import_raw(¶ms[psize++], &vs->name, sizeof(vs->name)); 343 jailparam_init(¶ms[psize], "path"); 344 jailparam_import_raw(¶ms[psize [all...] |
/freebsd-current/lib/geom/journal/ |
H A D | geom_journal_ufs.c | 67 off_t psize, fssize; local 73 psize = g_get_mediasize(prov) / DEV_BSIZE; 76 return (psize <= fssize);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_decompress.ksh | 28 # 4. Record the DVA, lsize, and psize of L0 block 0 30 # 6. Run zdb -R with :dr flags and match the lsize/psize 32 # 8. Run zdb -R with :dr flags and match the psize 97 IFS=/ read -r lsize psize _ <<< "$size_str" 103 # Specifying psize will decompress successfully , but not always to full 105 output=$(zdb -R $TESTPOOL $vdev:$offset:$psize:dr) 107 # convert psize to decimal 108 psize_orig=$psize 109 psize=${psize [all...] |
H A D | zdb_decompress_zstd.ksh | 32 # 4. Record the DVA, lsize, and psize, and ZSTD header of L0 block 0 33 # 5. Check that the ZSTD length is less than psize 77 IFS='/' read -r lsize psize _ <<<"$size_str" 79 psize_orig=$psize 81 psize=${psize%?} 83 psize_bytes=$((16#$psize))
|
/freebsd-current/lib/libc/db/btree/ |
H A D | bt_open.c | 120 if (b.psize && 121 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || 122 b.psize & (sizeof(indx_t) - 1) )) 148 b.psize = 0; 229 M_32_SWAP(m.psize); 236 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 || 237 m.psize & (sizeof(indx_t) - 1) ) 241 b.psize [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/xattr/ |
H A D | xattr_012_pos.ksh | 59 psize=$( $ZPOOL list -H -o used $poolname ) 60 if [[ $psize == *[mM] ]] 62 returnvalue=$($ECHO $psize | $SED -e 's/m//g' -e 's/M//g') 65 returnvalue=$($ECHO $psize | $SED -e 's/k//g' -e 's/K//g')
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | blkptr.c | 96 int psize; local 103 psize = BPE_GET_PSIZE(bp); 109 for (int i = 0; i < psize; i++) { 131 int lsize, psize; local 136 psize = BPE_GET_PSIZE(bp); 146 dstbuf, buf, psize, buflen, NULL)); 148 ASSERT3U(lsize, ==, psize);
|
H A D | ddt_zap.c | 111 const ddt_key_t *ddk, ddt_phys_t *phys, size_t psize) 123 ASSERT3U(csize, <=, psize + 1); 130 ddt_zap_decompress(cbuf, phys, csize, psize); 152 const ddt_phys_t *phys, size_t psize, dmu_tx_t *tx) 154 const size_t cbuf_size = psize + 1; 158 uint64_t csize = ddt_zap_compress(phys, cbuf, psize, cbuf_size); 178 ddt_phys_t *phys, size_t psize) 200 ASSERT3U(csize, <=, psize + 1); 208 ddt_zap_decompress(cbuf, phys, csize, psize); 110 ddt_zap_lookup(objset_t *os, uint64_t object, const ddt_key_t *ddk, ddt_phys_t *phys, size_t psize) argument 151 ddt_zap_update(objset_t *os, uint64_t object, const ddt_key_t *ddk, const ddt_phys_t *phys, size_t psize, dmu_tx_t *tx) argument 177 ddt_zap_walk(objset_t *os, uint64_t object, uint64_t *walk, ddt_key_t *ddk, ddt_phys_t *phys, size_t psize) argument
|
H A D | vdev_missing.c | 46 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, argument 56 *psize = 0;
|
H A D | zio.c | 888 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, 896 IMPLY(type != ZIO_TYPE_TRIM, psize <= SPA_MAXBLOCKSIZE); 897 ASSERT(P2PHASE(psize, SPA_MINBLOCKSIZE) == 0); 904 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW_COMPRESS) != 0); 951 zio->io_orig_size = zio->io_size = psize; 1263 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, 1279 zio = zio_create(pio, spa, txg, bp, data, lsize, psize, done, private, 1688 uint64_t psize = local 1696 zio_push_transform(zio, abd_alloc_sametype(zio->io_abd, psize), 1697 psize, psiz 887 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, void *private, zio_type_t type, zio_priority_t priority, zio_flag_t flags, vdev_t *vd, uint64_t offset, const zbookmark_phys_t *zb, enum zio_stage stage, enum zio_stage pipeline) argument 1262 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, zio_done_func_t *ready, zio_done_func_t *children_ready, zio_done_func_t *done, void *private, zio_priority_t priority, zio_flag_t flags, const zbookmark_phys_t *zb) argument 1708 int psize = BPE_GET_PSIZE(bp); local 1796 uint64_t psize = zio->io_size; local 3376 uint64_t psize; local 4304 uint64_t psize = BP_GET_PSIZE(bp); local 4706 const uint64_t psize = zio->io_size; local [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | disklabel.c | 66 char p, max, psize[3], pbsize[3], local 117 strcpy(psize, "px"); 126 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; 127 if (cgetnum(buf, psize, &l) == -1) 152 (void)strcpy(psize, "dx"); 155 psize[1] = p; 156 getnumdflt(*dx, psize, 0);
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | ddt_impl.h | 45 const ddt_key_t *ddk, ddt_phys_t *phys, size_t psize); 51 const ddt_key_t *ddk, const ddt_phys_t *phys, size_t psize, 56 ddt_key_t *ddk, ddt_phys_t *phys, size_t psize);
|
H A D | vdev.h | 80 size_t psize, uint64_t phys_birth); 82 size_t psize, uint64_t phys_birth); 123 extern void vdev_stat_update(zio_t *zio, uint64_t psize); 135 extern uint64_t vdev_psize_to_asize_txg(vdev_t *vd, uint64_t psize, 137 extern uint64_t vdev_psize_to_asize(vdev_t *vd, uint64_t psize); 202 extern uint64_t vdev_label_offset(uint64_t psize, int l, uint64_t offset);
|
/freebsd-current/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_pool.c | 39 char blocks[6], lsize[6], psize[6], dsize[6]; local 52 zfs_nicebytes(dds->dds_psize, psize, sizeof (psize)); 61 blocks, lsize, psize, dsize,
|
/freebsd-current/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) argument 130 if (pbase == NULL || psize == NULL) 144 *psize = size; 150 alpine_get_nb_base(u_long *pbase, u_long *psize) argument 156 if (pbase == NULL || psize == NULL) 170 *psize = size;
|
H A D | alpine_machdep.c | 81 alpine_get_wdt_base(uint32_t *pbase, uint32_t *psize) argument 87 if (pbase == NULL || psize == NULL) 104 *psize = size;
|
/freebsd-current/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-section-file.c | 56 int pt_section_mk_status(void **pstatus, uint64_t *psize, const char *filename) argument 63 if (!pstatus || !psize) 91 *psize = (uint64_t) size;
|
/freebsd-current/contrib/netbsd-tests/lib/libc/db/ |
H A D | t_db.sh | 238 for psize in 512 16384 65536; do 239 echo "checking page size: $psize" 250 cmp -s exp out || atf_fail "test failed for page size: $psize" 302 for psize in 512 16384 65536; do 303 echo "checking page size: $psize" 306 cmp -s exp out || atf_fail "test failed for page size: $psize" 763 atf_check -o file:exp "$(prog_db)" -i psize=512 btree in 982 for psize in 512 1024 2048 4096 8192; do 983 echo " page size $psize" 985 psize [all...] |
/freebsd-current/contrib/lua/src/ |
H A D | lmem.c | 97 void *luaM_growaux_ (lua_State *L, void *block, int nelems, int *psize, argument 100 int size = *psize; 115 newblock = luaM_saferealloc_(L, block, cast_sizet(*psize) * size_elems, 117 *psize = size; /* update only when everything else is OK */
|
/freebsd-current/lib/libc/db/test/ |
H A D | run.test | 154 for psize in 512 16384 65536; do 155 echo " page size $psize" 165 $PROG -i psize=$psize -o $TMP3 $type $TMP2 168 echo "test3: $type: page size $psize: failed" 180 for psize in 512 16384 65536; do 181 echo " page size $psize" 182 $PROG -i psize=$psize -o $TMP3 recno $TMP2 185 echo "test3: recno: page size $psize [all...] |
/freebsd-current/contrib/processor-trace/libipt/src/ |
H A D | pt_section.c | 367 uint64_t *psize) 371 if (!section || !psize) 376 *psize = 0ull; 380 *psize = sizeof(*bcache) + 387 uint64_t *psize) 393 if (!section || !psize) 401 *psize = 0ull; 413 *psize = msize + bcsize; 366 pt_section_bcache_memsize(const struct pt_section *section, uint64_t *psize) argument 386 pt_section_memsize_locked(const struct pt_section *section, uint64_t *psize) argument
|
/freebsd-current/include/ |
H A D | db.h | 118 unsigned int psize; /* page size */ member in struct:__anon45 147 unsigned int psize; /* page size */ member in struct:__anon47
|
/freebsd-current/usr.sbin/fwcontrol/ |
H A D | fwmpegts.c | 173 bufreq.rx.psize = PSIZE; 176 bufreq.tx.psize = 0;
|