Home
last modified time | relevance | path

Searched refs:psize (Results 1 – 25 of 88) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/inet/
H A Dtunables.c109 bzero(pval, psize); in mod_get_boolean()
118 if (nbytes >= psize) in mod_get_boolean()
198 bzero(pval, psize); in mod_get_uint32()
208 if (nbytes >= psize) in mod_get_uint32()
297 bzero(pval, psize); in mod_get_allprop()
298 size = psize; in mod_get_allprop()
479 bzero(pval, psize); in mod_get_extra_privports()
480 size = psize; in mod_get_extra_privports()
519 if (psize == size) in mod_get_extra_privports()
526 if (tbytes >= psize) in mod_get_extra_privports()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c128 if (b.psize &&
129 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 ||
156 b.psize = 0;
242 M_32_SWAP(m.psize);
249 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 ||
254 b.psize = m.psize;
263 if (b.psize == 0) {
264 b.psize = sb.st_blksize;
265 if (b.psize < MINPSIZE)
266 b.psize = MINPSIZE;
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c95 int psize; in decode_embedded_bp_compressed() local
102 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp_compressed()
108 for (int i = 0; i < psize; i++) { in decode_embedded_bp_compressed()
130 int lsize, psize; in decode_embedded_bp() local
135 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp()
145 dstbuf, buf, psize, buflen)); in decode_embedded_bp()
147 ASSERT3U(lsize, ==, psize); in decode_embedded_bp()
H A Dzio.c1361 uint64_t psize = in zio_read_bp_init() local
1370 psize, psize, zio_decompress); in zio_read_bp_init()
1377 psize, psize, zio_decrypt); in zio_read_bp_init()
1529 if (psize == 0 || psize == lsize) { in zio_write_compress()
1566 abd_zero_off(cdata, psize, rounded - psize); in zio_write_compress()
1592 if (psize == 0) in zio_write_compress()
3820 psize); in zio_encrypt()
3823 zio_push_transform(zio, babd, psize, psize, NULL); in zio_encrypt()
3903 zio_push_transform(zio, eabd, psize, psize, NULL); in zio_encrypt()
3913 zio_push_transform(zio, eabd, psize, psize, NULL); in zio_encrypt()
[all …]
H A Dvdev_missing.c48 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_missing_open() argument
57 *psize = 0; in vdev_missing_open()
H A Darc.c3610 psize_s = psize; in l2arc_hdr_arcstats_update()
3614 psize_s = -psize; in l2arc_hdr_arcstats_update()
8391 if (psize != asize) in l2arc_apply_transforms()
8392 abd_zero_off(to_write, psize, asize - psize); in l2arc_apply_transforms()
8412 if (psize < asize) in l2arc_apply_transforms()
8413 bzero((char *)tmp + psize, asize - psize); in l2arc_apply_transforms()
8443 if (psize != asize) in l2arc_apply_transforms()
8444 abd_zero_off(eabd, psize, asize - psize); in l2arc_apply_transforms()
8587 psize); in l2arc_write_buffers()
9844 ASSERT(psize != 0); in l2arc_log_blk_commit()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dbp_map.c281 size_t psize; in bp_copy_common() local
355 } else if (offset < psize) { in bp_copy_common()
362 addr += psize - offset; in bp_copy_common()
364 addr += psize; in bp_copy_common()
374 psize -= offset; in bp_copy_common()
385 } else if (offset >= psize) { in bp_copy_common()
386 offset -= psize; in bp_copy_common()
399 psize); in bp_copy_common()
402 size -= psize; in bp_copy_common()
403 voff += psize; in bp_copy_common()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h247 #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) argument
301 #define LEN_HKEYDATA(pg, psize, indx) \ argument
302 (((indx) == 0 ? psize : pg->inp[indx - 1]) - \
330 #define H_PAIRSIZE(pg, psize, pindx) \ argument
331 (LEN_HITEM(pg, psize, H_KEYINDEX(pindx)) + \
332 LEN_HITEM(pg, psize, H_DATAINDEX(pindx)))
333 #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) argument
334 #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx)) argument
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tunables.c73 const char *ifname, void *val, uint_t psize, uint_t flags) in tcp_listener_conf_get() argument
82 bzero(pval, psize); in tcp_listener_conf_get()
83 size = psize; in tcp_listener_conf_get()
91 if (psize == size) in tcp_listener_conf_get()
100 if (tbytes >= psize) { in tcp_listener_conf_get()
203 void *val, uint_t psize, uint_t flags) in tcp_get_buf_prop() argument
206 pinfo, ifname, val, psize, flags)); in tcp_get_buf_prop()
293 tcp_copy_ccname_t cd = { pval, psize, 0 }; in tcp_get_cc_algorithm()
296 nbytes = snprintf(pval, psize, "%u", MOD_PROP_PERM_RW); in tcp_get_cc_algorithm()
300 nbytes = snprintf(pval, psize, "%s", in tcp_get_cc_algorithm()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_012_pos.ksh54 psize=$(zpool list -H -o allocated $poolname)
55 if [[ $psize == *[mM] ]]
57 returnvalue=$(echo $psize | sed -e 's/m//g' -e 's/M//g')
60 returnvalue=$(echo $psize | sed -e 's/k//g' -e 's/K//g')
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_tunables.c184 void *pval, uint_t psize, uint_t flags) in ip_get_debug() argument
191 bzero(pval, psize); in ip_get_debug()
195 nbytes = snprintf(pval, psize, "%u-%u", in ip_get_debug()
200 nbytes = snprintf(pval, psize, "%u", ip_debug); in ip_get_debug()
201 if (nbytes >= psize) in ip_get_debug()
271 void *pval, uint_t psize, uint_t flags) in ip_get_mtu() argument
305 nbytes = snprintf(pval, psize, "%u", def_mtu); in ip_get_mtu()
315 if (nbytes >= psize) in ip_get_mtu()
452 void *pval, uint_t psize, uint_t flags) in ip_get_hostmodel() argument
458 if (psize < sizeof (hostmodel)) in ip_get_hostmodel()
[all …]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dblkptr.c49 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()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_pool.c41 char blocks[6], lsize[6], psize[6], dsize[6]; in dump_ddt_stat() local
54 zfs_nicebytes(dds->dds_psize, psize, sizeof (psize)); in dump_ddt_stat()
63 blocks, lsize, psize, dsize, in dump_ddt_stat()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c47 const char *ifname, void *val, uint_t psize, uint_t flags) in sctp_listener_conf_get() argument
56 bzero(pval, psize); in sctp_listener_conf_get()
57 size = psize; in sctp_listener_conf_get()
65 if (psize == size) in sctp_listener_conf_get()
74 if (tbytes >= psize) { in sctp_listener_conf_get()
177 void *val, uint_t psize, uint_t flags) in sctp_get_buf_prop() argument
180 stack, pinfo, ifname, val, psize, flags)); in sctp_get_buf_prop()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_vxvm.c299 int psize; in load_vxvm() local
319 psize = (vxdl_libvxvm_get_conf)(VXVM_PATH_SIZE); in load_vxvm()
321 if (nsize == -1 || psize == -1) { in load_vxvm()
332 pathp = (vm_path_t *)calloc(MAX_DISKS_DG, psize); in load_vxvm()
384 ppp += psize; in load_vxvm()
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c2714 uint32_t psize; in rootnex_need_bounce_seg() local
2773 size -= psize; in rootnex_need_bounce_seg()
2818 size -= psize; in rootnex_need_bounce_seg()
2842 uint32_t psize; in rootnex_get_sgl() local
2979 size -= psize; in rootnex_get_sgl()
3087 size -= psize; in rootnex_get_sgl()
3129 ssize -= psize; in rootnex_dvma_get_sgl()
3135 size -= psize; in rootnex_dvma_get_sgl()
3180 size -= psize; in rootnex_dvma_get_sgl()
4285 uint_t psize; in rootnex_coredma_sync() local
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dstr_conv.c155 size_t nsize, psize; local
163 psize = (positive) ? strlen(positive) : 0;
172 else if (psize && !strncasecmp(positive, string, psize)) {
173 cpos += (int) psize;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c207 vdev_label_start(uint64_t psize, int l) in vdev_label_start() argument
360 int i, psize; in zio_read_data() local
362 psize = BP_GET_PSIZE(bp); in zio_read_data()
400 int psize, i; in decode_embedded_bp_compressed() local
405 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp_compressed()
411 for (i = 0; i < psize; i++) { in decode_embedded_bp_compressed()
433 int lsize, psize; in decode_embedded_bp() local
438 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp()
470 int lsize, psize, comp; in zio_read() local
484 psize = BP_GET_PSIZE(bp); in zio_read()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Darc.h208 uint64_t psize, uint64_t lsize, enum zio_compress compression_type);
211 const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
214 arc_buf_t *arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize,
218 dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
/illumos-gate/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c820 size_t psize; in xsvc_devmap() local
861 psize = P2ROUNDUP(off + len, PAGESIZE) - off_align; in xsvc_devmap()
869 npages = btop(psize); in xsvc_devmap()
871 kva = vmem_alloc(heap_arena, psize, VM_SLEEP); in xsvc_devmap()
897 err = xsvc_umem_cookie_alloc(kva, psize, KM_SLEEP, &cookie); in xsvc_devmap()
903 cookie, 0, psize, PROT_ALL, 0, &xsvc_device_attr)) < 0) { in xsvc_devmap()
906 *maplen = psize; in xsvc_devmap()
914 off_align, psize, PROT_ALL, 0, &xsvc_device_attr)) < 0) { in xsvc_devmap()
917 *maplen = psize; in xsvc_devmap()
932 vmem_free(heap_arena, kva, psize); in xsvc_devmap()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Di86_mmu.c244 int64_t psize; in hat_kern_alloc() local
255 psize = pmem->ml_size; in hat_kern_alloc()
256 while (psize >= MMU_PAGESIZE) { in hat_kern_alloc()
260 psize > LEVEL_SIZE(l)) in hat_kern_alloc()
275 psize -= LEVEL_SIZE(l); in hat_kern_alloc()
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c161 size_t psize; /* profile histogram size */ in profile_open() local
280 psize = (size_t)PRF_ROUNDUP((msize / PRF_BARSIZE), sizeof (long)); in profile_open()
282 Fsize = (hsize + psize + csize); in profile_open()
352 Hptr->hd_psize = (unsigned int)psize; in profile_open()
361 Cptr = (L_cgarc *)(addr + hsize + psize); in profile_open()
368 psize, (unsigned long)lpc, (unsigned int) PRF_SCALE); in profile_open()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmailcompat.c250 size_t psize = strlen(s) + 1; local
252 p = malloc(psize);
258 strlcpy(p, s, psize);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dpassutils.c64 pkcs11_get_pass(char *token_name, char **pdata, size_t *psize, size_t min_psize, in pkcs11_get_pass() argument
126 *psize = strlen(databuf); in pkcs11_get_pass()
/illumos-gate/usr/src/common/crypto/rsa/
H A Drsa_impl.c108 RSA_key_init(RSAkey *key, int psize, int qsize) in RSA_key_init() argument
114 plen = BITLEN2BIGNUMLEN(psize); in RSA_key_init()
117 key->size = psize + qsize; in RSA_key_init()
187 generate_rsa_key(RSAkey *key, int psize, int qsize, BIGNUM *pubexp, in generate_rsa_key() argument
197 size = psize + qsize; in generate_rsa_key()
246 if ((brv = big_random(&a, psize, rf)) != BIG_OK) { in generate_rsa_key()
352 rv = generate_rsa_key(key, psize, qsize, pubexp, rf); in generate_rsa_key()

1234