Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c227 size_t psize; in vdev_read_phys() local
234 psize = BP_GET_PSIZE(bp); in vdev_read_phys()
236 psize = size; in vdev_read_phys()
239 rc = vdev->v_phys_read(vdev, vdev->v_priv, offset, buf, psize); in vdev_read_phys()
1561 vdev_label_offset(uint64_t psize, int l, uint64_t offset) in vdev_label_offset() argument
1568 label_offset = psize - VDEV_LABELS * sizeof (vdev_label_t); in vdev_label_offset()
3582 zfs_dnode_readlink(const spa_t *spa, dnode_phys_t *dn, char *path, size_t psize) in zfs_dnode_readlink() argument
3616 memcpy(path, p, psize); in zfs_dnode_readlink()
3624 if (psize + sizeof (znode_phys_t) <= dn->dn_bonuslen && in zfs_dnode_readlink()
3626 memcpy(path, &dn->dn_bonus[sizeof (znode_phys_t)], psize); in zfs_dnode_readlink()
[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()
H A Dzfssubr.c975 size_t psize; in vdev_raidz_matrix_reconstruct() local
978 psize = sizeof (invlog[0][0]) * n * nmissing; in vdev_raidz_matrix_reconstruct()
979 p = malloc(psize); in vdev_raidz_matrix_reconstruct()
1051 size_t psize; in vdev_raidz_reconstruct_general() local
1098 psize = (sizeof (rows[0][0]) + sizeof (invrows[0][0])) * in vdev_raidz_reconstruct_general()
1100 p = malloc(psize); in vdev_raidz_reconstruct_general()
/illumos-gate/usr/src/cmd/bnu/
H A Dpk.h151 short psize; member
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c1245 alloc_pkt_entry(size_t psize, boolean_t isv6) in alloc_pkt_entry() argument
1250 (plp->pkt = malloc(psize)) == NULL) { in alloc_pkt_entry()
1254 plp->len = psize; in alloc_pkt_entry()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c9992 if (psize != 1 && psize != 2 && psize != 4 && psize != 8) { in print_overlay_value()
9996 if (psize == 1) in print_overlay_value()
9998 if (psize == 2) in print_overlay_value()
10001 if (psize == 4) in print_overlay_value()
10004 if (psize == 8) in print_overlay_value()
10009 if (psize != 1 && psize != 2 && psize != 4 && psize != 8) { in print_overlay_value()
10013 if (psize == 1) in print_overlay_value()
10016 if (psize == 2) in print_overlay_value()
10019 if (psize == 4) in print_overlay_value()
10022 if (psize == 8) in print_overlay_value()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c929 int psize; local
950 psize = ipl->ipl_dsize;
951 if (psize > blen)
955 fwrite(buf, psize, 1, binarylog);
961 print_ipflog(log, buf, psize);
965 print_natlog(log, buf, psize);
969 print_statelog(log, buf, psize);
972 blen -= psize;
973 buf += psize;
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3210 char psize[MDB_NICENUM_BUFLEN], asize[MDB_NICENUM_BUFLEN]; in zfs_blkstats() local
3255 mdb_nicenum(zb->zb_psize, psize); in zfs_blkstats()
3265 csize, lsize, psize, asize, avg, comp, pct); in zfs_blkstats()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c603 size_t psize; in cb_lpm() local
616 psize = pinfo.piclinfo.size; in cb_lpm()
617 bufp = alloca(psize); in cb_lpm()
619 err = ptree_get_propval(proph, bufp, psize); in cb_lpm()
623 temp_lpm_tbl = parse_lpm_ranges(bufp, psize); in cb_lpm()
2678 size_t psize; in cb_cpu() local
2708 psize = pinfo.piclinfo.size; in cb_cpu()
2709 pmdevp->pmdev_name = malloc(psize); in cb_cpu()
2713 err = ptree_get_propval(proph, pmdevp->pmdev_name, psize); in cb_cpu()
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c362 char psize[6], prssize[6], pmem[6], pcpu[6], ptime[12]; in list_print() local
482 Format_size(psize, id->id_size, 6); in list_print()
491 id->id_nproc, psize, prssize, pmem, ptime, in list_print()
495 id->id_nproc, psize, prssize, pmem, ptime, in list_print()
499 id->id_nproc, psize, prssize, pmem, ptime, in list_print()
503 psize, prssize, pmem, ptime, pcpu); in list_print()
518 Format_size(psize, lwp->li_info.pr_size, 6); in list_print()
548 psize, prssize, pstate, in list_print()
554 psize, prssize, pstate, ppri, pnice, in list_print()
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c81 static unsigned psize; /* size of array */ variable
211 psize = 0; in main()
657 if (nps + 1 >= psize) { in add_proc()
658 psize += CHUNK_SIZE; in add_proc()
659 ps = xreallocarray(ps, psize, sizeof (ps_t)); in add_proc()
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_page.c557 __ham_reputpair(p, psize, ndx, key, data) in __ham_reputpair() argument
559 u_int32_t psize, ndx;
567 (ndx == 0 ? psize : p->inp[H_DATAINDEX(ndx - 1)]) - HOFFSET(p);
585 (ndx == 0 ? psize : p->inp[H_DATAINDEX(ndx - 1)]) - key->size;
/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/cmd/sendmail/src/
H A Dmap.c3569 int psize = 0; local
3750 rpool, &p, &plen, &psize, NULL);
/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/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/sgs/rtld/common/
H A Dutil.c2692 size_t ssize = 0, psize = 0; in doprf() local
2716 psize = 2; in doprf()
2719 psize = 1; in doprf()
2724 psize = MSG_STR_NEGATE_SIZE; in doprf()
2755 _n = (int)(width - ssize - psize); in doprf()
2775 _n = (int)(width - ssize - psize); in doprf()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c3200 uint64_t psize, ashift, l2cache; in dump_label() local
3255 psize = statbuf.st_size; in dump_label()
3256 psize = P2ALIGN(psize, (uint64_t)sizeof (vdev_label_t)); in dump_label()
4789 sizeof (psize)); in dump_block_stats()
6089 psize = size; in zdb_read_block()
6105 BP_SET_PSIZE(bp, psize); in zdb_read_block()
6154 VERIFY0(abd_iterate_func(pabd, psize, SPA_MAXBLOCKSIZE - psize, in zdb_read_block()
6158 SPA_MAXBLOCKSIZE - psize)); in zdb_read_block()
6164 lbuf, psize, lsize) == 0 && in zdb_read_block()
6178 if (lsize <= psize) { in zdb_read_block()
[all …]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3591 size_t psize, newsize; in ztest_vdev_LUN_growth() local
3628 psize = vd->vdev_psize; in ztest_vdev_LUN_growth()
3635 psize == 0 || psize >= 4 * ztest_opts.zo_vdev_size) { in ztest_vdev_LUN_growth()
3641 ASSERT(psize > 0); in ztest_vdev_LUN_growth()
3642 newsize = psize + MAX(psize / 8, SPA_MAXBLOCKSIZE); in ztest_vdev_LUN_growth()
3643 ASSERT3U(newsize, >, psize); in ztest_vdev_LUN_growth()
5911 uint64_t object, blocksize, txg, pattern, psize; in ztest_ddt_repair() local
5995 psize = BP_GET_PSIZE(&blk); in ztest_ddt_repair()
5996 abd = abd_alloc_linear(psize, B_TRUE); in ztest_ddt_repair()
5997 ztest_pattern_set(abd_to_buf(abd), psize, ~pattern); in ztest_ddt_repair()
[all …]
/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()
/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/lib/gss_mechs/mech_krb5/include/
H A Ddb.h124 u_int psize; /* page size */ member
153 u_int psize; /* page size */ member
/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/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c53 btinfo.psize = 4096; in osa_adb_create_db()
155 db->btinfo.psize = 4096; in osa_adb_init_db()
H A Dkdb_db2.c252 bti.psize = 4096; in k5db2_dbopen()

1234