| /freebsd-13.1/tools/tools/vimage/ |
| H A D | vimage.c | 328 int psize = 0; in getjail() local 333 jailparam_init(¶ms[psize], "lastjid"); in getjail() 336 jailparam_init(¶ms[psize], "vnet"); in getjail() 339 jailparam_init(¶ms[psize], "name"); in getjail() 345 jailparam_init(¶ms[psize], "path"); in getjail() 356 jailparam_init(¶ms[psize], "children.cur"); in getjail() 367 jailparam_init(¶ms[psize], "cpuset.id"); in getjail() 371 jailparam_init(¶ms[psize], "parent"); in getjail() 383 jailparam_init(¶ms[psize], "allow.mount"); in getjail() 387 vs->jid = jailparam_get(params, psize, 0); in getjail() [all …]
|
| /freebsd-13.1/lib/libc/db/btree/ |
| H A D | bt_open.c | 126 if (b.psize && in __bt_open() 127 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || in __bt_open() 154 b.psize = 0; in __bt_open() 235 M_32_SWAP(m.psize); in __bt_open() 242 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 || in __bt_open() 247 b.psize = m.psize; in __bt_open() 256 if (b.psize == 0) { in __bt_open() 257 b.psize = sb.st_blksize; in __bt_open() 258 if (b.psize < MINPSIZE) in __bt_open() 259 b.psize = MINPSIZE; in __bt_open() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
| H A D | zdb_decompress.ksh | 101 psize=$(echo $size_str |awk '{split($0,array,"/")} END{print array[2]}') 109 output=$(zdb -R $TESTPOOL $vdev:$offset:$psize:dr 2> /dev/null) 112 psize_orig=$psize 113 psize=${psize%?} 114 psize=$((16#$psize)) 115 (( $result < $psize)) && log_fail \ 117 (length ${#output} < $psize)"
|
| H A D | zdb_decompress_zstd.ksh | 83 psize=$(echo $size_str |awk '{split($0,array,"/")} END{print array[2]}') 84 psize_orig=$psize 85 psize=${psize%?}
|
| /freebsd-13.1/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
| H A D | zpool_import_corrupt_001_pos.ksh | 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.1/sys/contrib/openzfs/module/zfs/ |
| H A D | blkptr.c | 96 int psize; in decode_embedded_bp_compressed() local 103 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp_compressed() 109 for (int i = 0; i < psize; i++) { in decode_embedded_bp_compressed() 131 int lsize, psize; in decode_embedded_bp() local 136 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp() 146 dstbuf, buf, psize, buflen, NULL)); in decode_embedded_bp() 148 ASSERT3U(lsize, ==, psize); in decode_embedded_bp()
|
| H A D | zio.c | 1551 psize, psize, zio_decompress); in zio_read_bp_init() 1558 psize, psize, zio_decrypt); in zio_read_bp_init() 1711 if (psize == 0 || psize >= lsize) { in zio_write_compress() 1748 abd_zero_off(cdata, psize, rounded - psize); in zio_write_compress() 1774 if (psize == 0 || psize >= lsize) in zio_write_compress() 1788 abd_zero_off(cdata, psize, rounded - psize); in zio_write_compress() 4158 psize); in zio_encrypt() 4161 zio_push_transform(zio, babd, psize, psize, NULL); in zio_encrypt() 4241 zio_push_transform(zio, eabd, psize, psize, NULL); in zio_encrypt() 4251 zio_push_transform(zio, eabd, psize, psize, NULL); in zio_encrypt() [all …]
|
| H A D | vdev_missing.c | 46 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_missing_open() argument 56 *psize = 0; in vdev_missing_open()
|
| /freebsd-13.1/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) in alpine_get_cpu_resume_base() argument 132 if (pbase == NULL || psize == NULL) in alpine_get_cpu_resume_base() 146 *psize = size; in alpine_get_cpu_resume_base() 152 alpine_get_nb_base(u_long *pbase, u_long *psize) in alpine_get_nb_base() argument 158 if (pbase == NULL || psize == NULL) in alpine_get_nb_base() 172 *psize = size; in alpine_get_nb_base()
|
| H A D | alpine_machdep.c | 84 alpine_get_wdt_base(uint32_t *pbase, uint32_t *psize) in alpine_get_wdt_base() argument 90 if (pbase == NULL || psize == NULL) in alpine_get_wdt_base() 107 *psize = size; in alpine_get_wdt_base()
|
| /freebsd-13.1/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
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | disklabel.c | 70 char p, max, psize[3], pbsize[3], in getdiskbyname() local 121 strcpy(psize, "px"); in getdiskbyname() 130 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname() 131 if (cgetnum(buf, psize, &l) == -1) in getdiskbyname() 156 (void)strcpy(psize, "dx"); in getdiskbyname() 159 psize[1] = p; in getdiskbyname() 160 getnumdflt(*dx, psize, 0); in getdiskbyname()
|
| /freebsd-13.1/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" 302 for psize in 512 16384 65536; do 303 echo "checking page size: $psize" 982 for psize in 512 1024 2048 4096 8192; do 983 echo " page size $psize" 985 psize = '$psize'; hsize = int(psize/2); 1013 "$(prog_db)" -i psize=$psize btree in 1124 "$(prog_db)" -i psize=4096 btree in 1165 "$(prog_db)" -i psize=512 btree in1 [all …]
|
| /freebsd-13.1/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.1/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.1/sys/cddl/boot/zfs/ |
| H A D | blkptr.c | 49 int psize; in decode_embedded_bp_compressed() local 56 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp_compressed() 62 for (int i = 0; i < psize; i++) { in decode_embedded_bp_compressed()
|
| /freebsd-13.1/lib/geom/journal/ |
| H A D | geom_journal_ufs.c | 70 off_t psize, fssize; in g_journal_ufs_using_last_sector() local 76 psize = g_get_mediasize(prov) / DEV_BSIZE; in g_journal_ufs_using_last_sector() 79 return (psize <= fssize); in g_journal_ufs_using_last_sector()
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | nexus.c | 346 bus_size_t psize; in nexus_activate_resource() local 357 psize = (bus_size_t)rman_get_size(r); in nexus_activate_resource() 359 err = bus_space_map(fdtbus_bs_tag, paddr, psize, 0, &vaddr); in nexus_activate_resource() 367 (vm_size_t)psize); in nexus_activate_resource() 391 bus_size_t psize; in nexus_deactivate_resource() local 395 psize = (bus_size_t)rman_get_size(r); in nexus_deactivate_resource() 400 bus_space_unmap(fdtbus_bs_tag, vaddr, psize); in nexus_deactivate_resource() 402 pmap_unmapdev((vm_offset_t)vaddr, (vm_size_t)psize); in nexus_deactivate_resource()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_pool.c | 38 char blocks[6], lsize[6], psize[6], dsize[6]; in dump_ddt_stat() local 51 zfs_nicebytes(dds->dds_psize, psize, sizeof (psize)); in dump_ddt_stat() 60 blocks, lsize, psize, dsize, in dump_ddt_stat()
|
| /freebsd-13.1/contrib/processor-trace/libipt/src/ |
| H A D | pt_section.c | 367 uint64_t *psize) in pt_section_bcache_memsize() argument 371 if (!section || !psize) in pt_section_bcache_memsize() 376 *psize = 0ull; in pt_section_bcache_memsize() 380 *psize = sizeof(*bcache) + in pt_section_bcache_memsize() 387 uint64_t *psize) in pt_section_memsize_locked() argument 393 if (!section || !psize) in pt_section_memsize_locked() 401 *psize = 0ull; in pt_section_memsize_locked() 413 *psize = msize + bcsize; in pt_section_memsize_locked()
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lmem.c | 79 void *luaM_growaux_ (lua_State *L, void *block, int nelems, int *psize, in luaM_growaux_() argument 82 int size = *psize; in luaM_growaux_() 97 newblock = luaM_saferealloc_(L, block, cast_sizet(*psize) * size_elems, in luaM_growaux_() 99 *psize = size; /* update only when everything else is OK */ in luaM_growaux_()
|
| /freebsd-13.1/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) in pt_section_mk_status() argument 63 if (!pstatus || !psize) in pt_section_mk_status() 91 *psize = (uint64_t) size; in pt_section_mk_status()
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | vdev.h | 79 size_t psize, uint64_t phys_birth); 81 size_t psize, uint64_t phys_birth); 122 extern void vdev_stat_update(zio_t *zio, uint64_t psize); 134 extern uint64_t vdev_psize_to_asize(vdev_t *vd, uint64_t psize); 200 extern uint64_t vdev_label_offset(uint64_t psize, int l, uint64_t offset);
|
| /freebsd-13.1/sys/dev/ofw/ |
| H A D | ofw_subr.c | 80 bus_size_t *psize, pcell_t *ppci_hi) in ofw_reg_to_paddr() argument 99 if (paddr == NULL || psize == NULL) in ofw_reg_to_paddr() 182 *psize = size; in ofw_reg_to_paddr()
|
| /freebsd-13.1/contrib/libexecinfo/ |
| H A D | backtrace.c | 193 size_t psize = len * slen; in backtrace_symbols_fmt() local 200 x = format_address(st, &ptr, &psize, offs, fmt, trace[i]); in backtrace_symbols_fmt() 208 assert(offs < psize); in backtrace_symbols_fmt()
|