/freebsd-13-stable/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-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
H A D | zpool_import_corrupt_001_pos.ksh | 68 # the same name in vdev_label.c. The rounding of psize is based on the 76 typeset -il psize=$1 81 roundsize=$(( $psize & -$VDEV_LABEL_SIZE )) 97 typeset -il psize=$(geom disk list $PROV | awk '/Mediasize/ {print $2}') 98 if [[ -z $psize ]]; then 112 log_note offset=vdev_label_offset $psize $j 113 offset=$(vdev_label_offset $psize $j)
|
/freebsd-13-stable/tools/tools/vimage/ |
H A D | vimage.c | 327 struct jailparam params[32]; /* Must be > max(psize). */ 328 int psize = 0; local 333 jailparam_init(¶ms[psize], "lastjid"); 334 jailparam_import_raw(¶ms[psize++], &lastjid, sizeof lastjid); 336 jailparam_init(¶ms[psize], "vnet"); 337 jailparam_import_raw(¶ms[psize++], &vs->vnet, sizeof(vs->vnet)); 339 jailparam_init(¶ms[psize], "name"); 340 jailparam_import_raw(¶ms[psize++], &vs->name, sizeof(vs->name)); 345 jailparam_init(¶ms[psize], "path"); 346 jailparam_import_raw(¶ms[psize [all...] |
/freebsd-13-stable/lib/geom/journal/ |
H A D | geom_journal_ufs.c | 70 off_t psize, fssize; local 76 psize = g_get_mediasize(prov) / DEV_BSIZE; 79 return (psize <= fssize);
|
/freebsd-13-stable/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 101 psize=$(echo $size_str |awk '{split($0,array,"/")} END{print array[2]}') 107 # Specifying psize will decompress successfully , but not always to full 109 output=$(zdb -R $TESTPOOL $vdev:$offset:$psize:dr 2> /dev/null) 111 # convert psize to decimal 112 psize_orig=$psize 113 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 83 psize=$(echo $size_str |awk '{split($0,array,"/")} END{print array[2]}') 84 psize_orig=$psize 85 psize=${psize%?} 86 psize_bytes=$((16#$psize))
|
/freebsd-13-stable/lib/libc/db/btree/ |
H A D | bt_open.c | 126 if (b.psize && 127 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || 128 b.psize & (sizeof(indx_t) - 1) )) 154 b.psize = 0; 235 M_32_SWAP(m.psize); 242 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 || 243 m.psize & (sizeof(indx_t) - 1) ) 247 b.psize [all...] |
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
H A D | xattr_012_pos.ksh | 57 psize=$(zpool list -H -o allocated $poolname) 58 if [[ $psize == *[mM] ]] 60 returnvalue=$(echo $psize | sed -e 's/m//g' -e 's/M//g') 63 returnvalue=$(echo $psize | sed -e 's/k//g' -e 's/K//g')
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/xattr/ |
H A D | xattr_012_pos.ksh | 64 psize=$( $ZPOOL list -H -o used $poolname ) 65 if [[ $psize == *[mM] ]] 67 returnvalue=$($ECHO $psize | $SED -e 's/m//g' -e 's/M//g') 70 returnvalue=$($ECHO $psize | $SED -e 's/k//g' -e 's/K//g')
|
/freebsd-13-stable/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 | vdev_missing.c | 47 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, argument 56 *psize = 0;
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | disklabel.c | 70 char p, max, psize[3], pbsize[3], local 121 strcpy(psize, "px"); 130 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; 131 if (cgetnum(buf, psize, &l) == -1) 156 (void)strcpy(psize, "dx"); 159 psize[1] = p; 160 getnumdflt(*dx, psize, 0);
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_pool.c | 38 char blocks[6], lsize[6], psize[6], dsize[6]; local 51 zfs_nicebytes(dds->dds_psize, psize, sizeof (psize)); 60 blocks, lsize, psize, dsize,
|
/freebsd-13-stable/sys/arm/annapurna/alpine/ |
H A D | alpine_machdep_mp.c | 81 static int alpine_get_cpu_resume_base(u_long *pbase, u_long *psize); 82 static int alpine_get_nb_base(u_long *pbase, u_long *psize); 126 alpine_get_cpu_resume_base(u_long *pbase, u_long *psize) argument 132 if (pbase == NULL || psize == NULL) 146 *psize = size; 152 alpine_get_nb_base(u_long *pbase, u_long *psize) argument 158 if (pbase == NULL || psize == NULL) 172 *psize = size;
|
H A D | alpine_machdep.c | 84 alpine_get_wdt_base(uint32_t *pbase, uint32_t *psize) argument 90 if (pbase == NULL || psize == NULL) 107 *psize = size;
|
/freebsd-13-stable/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-13-stable/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-13-stable/contrib/lua/src/ |
H A D | lmem.c | 79 void *luaM_growaux_ (lua_State *L, void *block, int nelems, int *psize, argument 82 int size = *psize; 97 newblock = luaM_saferealloc_(L, block, cast_sizet(*psize) * size_elems, 99 *psize = size; /* update only when everything else is OK */
|
/freebsd-13-stable/sys/arm/arm/ |
H A D | nexus.c | 348 bus_size_t psize; local 359 psize = (bus_size_t)rman_get_size(r); 361 err = bus_space_map(fdtbus_bs_tag, paddr, psize, 0, &vaddr); 369 (vm_size_t)psize); 393 bus_size_t psize; local 397 psize = (bus_size_t)rman_get_size(r); 402 bus_space_unmap(fdtbus_bs_tag, vaddr, psize); 404 pmap_unmapdev((vm_offset_t)vaddr, (vm_size_t)psize);
|
/freebsd-13-stable/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 [all...] |
/freebsd-13-stable/sys/riscv/riscv/ |
H A D | nexus.c | 298 bus_size_t psize; local 309 psize = (bus_size_t)rman_get_size(r); 310 err = bus_space_map(&memmap_bus, paddr, psize, 0, &vaddr); 354 bus_size_t psize; local 358 psize = (bus_size_t)rman_get_size(r); 362 bus_space_unmap(&memmap_bus, vaddr, psize);
|
/freebsd-13-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_string_private.h | 108 #define SVN_MEMBUF__NZERO(pmembuf, psize) \ 112 const apr_size_t _s_z_ = (psize); \
|
/freebsd-13-stable/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-13-stable/include/ |
H A D | db.h | 121 unsigned int psize; /* page size */ member in struct:__anon7323 150 unsigned int psize; /* page size */ member in struct:__anon7325
|
/freebsd-13-stable/contrib/apr/include/ |
H A D | apr_mmap.h | 76 apr_size_t psize; member in struct:apr_mmap_t
|