Searched refs:psize (Results 1 - 25 of 128) sorted by relevance

123456

/freebsd-13-stable/sys/cddl/boot/zfs/
H A Dblkptr.c49 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 Dzpool_import_corrupt_001_pos.ksh68 # 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 Dvimage.c327 struct jailparam params[32]; /* Must be > max(psize). */
328 int psize = 0; local
333 jailparam_init(&params[psize], "lastjid");
334 jailparam_import_raw(&params[psize++], &lastjid, sizeof lastjid);
336 jailparam_init(&params[psize], "vnet");
337 jailparam_import_raw(&params[psize++], &vs->vnet, sizeof(vs->vnet));
339 jailparam_init(&params[psize], "name");
340 jailparam_import_raw(&params[psize++], &vs->name, sizeof(vs->name));
345 jailparam_init(&params[psize], "path");
346 jailparam_import_raw(&params[psize
[all...]
/freebsd-13-stable/lib/geom/journal/
H A Dgeom_journal_ufs.c70 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 Dzdb_decompress.ksh28 # 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 Dzdb_decompress_zstd.ksh32 # 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 Dbt_open.c126 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 Dxattr_012_pos.ksh57 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 Dxattr_012_pos.ksh64 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 Dblkptr.c96 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 Dvdev_missing.c47 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 Ddisklabel.c70 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 Dzutil_pool.c38 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 Dalpine_machdep_mp.c81 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 Dalpine_machdep.c84 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 Dptunit-section-file.c56 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 Dt_db.sh238 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 Dlmem.c79 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 Dnexus.c348 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 Drun.test157 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 Dnexus.c298 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 Dsvn_string_private.h108 #define SVN_MEMBUF__NZERO(pmembuf, psize) \
112 const apr_size_t _s_z_ = (psize); \
/freebsd-13-stable/contrib/processor-trace/libipt/src/
H A Dpt_section.c367 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 Ddb.h121 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 Dapr_mmap.h76 apr_size_t psize; member in struct:apr_mmap_t

Completed in 324 milliseconds

123456