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

1234

/illumos-gate/usr/src/boot/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++) {
/illumos-gate/usr/src/uts/common/inet/
H A Dtunables.c102 void *pval, uint_t psize, uint_t flags)
109 bzero(pval, psize);
111 nbytes = snprintf(pval, psize, "%u", prop_perm2const(pinfo));
113 nbytes = snprintf(pval, psize, "%u,%u", B_FALSE, B_TRUE);
115 nbytes = snprintf(pval, psize, "%u", pinfo->prop_def_bval);
117 nbytes = snprintf(pval, psize, "%u", pinfo->prop_cur_bval);
118 if (nbytes >= psize)
191 void *pval, uint_t psize, uint_t flags)
198 bzero(pval, psize);
200 nbytes = snprintf(pval, psize, "
101 mod_get_boolean(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
190 mod_get_uint32(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
268 mod_get_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
289 mod_get_allprop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *val, uint_t psize, uint_t flags) argument
464 mod_get_extra_privports(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *val, uint_t psize, uint_t flags) argument
[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 ||
130 b.psize & (sizeof(indx_t) - 1)))
156 b.psize = 0;
242 M_32_SWAP(m.psize);
249 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 ||
250 m.psize & (sizeof(indx_t) - 1))
254 b.psize
[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/fs/zfs/
H A Dblkptr.c95 int psize; local
102 psize = BPE_GET_PSIZE(bp);
108 for (int i = 0; i < psize; i++) {
130 int lsize, psize; local
135 psize = BPE_GET_PSIZE(bp);
145 dstbuf, buf, psize, buflen));
147 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;
H A Dzio.c688 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done,
695 IMPLY(type != ZIO_TYPE_TRIM, psize <= SPA_MAXBLOCKSIZE);
696 ASSERT(P2PHASE(psize, SPA_MINBLOCKSIZE) == 0);
703 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW_COMPRESS) != 0);
748 zio->io_orig_size = zio->io_size = psize;
943 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp,
960 zio = zio_create(pio, spa, txg, bp, data, lsize, psize, done, private,
1355 uint64_t psize = local
1363 zio_push_transform(zio, abd_alloc_sametype(zio->io_abd, psize),
1364 psize, psiz
687 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, void *private, zio_type_t type, zio_priority_t priority, enum zio_flag flags, vdev_t *vd, uint64_t offset, const zbookmark_phys_t *zb, enum zio_stage stage, enum zio_stage pipeline) argument
942 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, zio_done_func_t *ready, zio_done_func_t *children_ready, zio_done_func_t *physdone, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument
1375 int psize = BPE_GET_PSIZE(bp); local
1466 uint64_t psize = zio->io_size; local
2760 uint64_t psize; local
3738 uint64_t psize = BP_GET_PSIZE(bp); local
4132 uint64_t psize = zio->io_size; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dbp_map.c282 size_t psize; local
328 psize = MIN(PAGESIZE - poff, size);
356 } else if (offset < psize) {
363 addr += psize - offset;
365 addr += psize;
374 if ((offset > 0) && (offset < psize)) {
375 psize -= offset;
383 * anymore. psize will normally be PAGESIZE now unless we are
386 } else if (offset >= psize) {
387 offset -= psize;
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h247 #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD)
301 #define LEN_HKEYDATA(pg, psize, indx) \
302 (((indx) == 0 ? psize : pg->inp[indx - 1]) - \
330 #define H_PAIRSIZE(pg, psize, pindx) \
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))
334 #define LEN_HKEY(p, psize, pind
[all...]
/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, argument
126 *psize = strlen(databuf);
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tunables.c73 const char *ifname, void *val, uint_t psize, uint_t flags)
82 bzero(pval, psize);
83 size = psize;
91 if (psize == size)
100 if (tbytes >= psize) {
203 void *val, uint_t psize, uint_t flags)
206 pinfo, ifname, val, psize, flags));
288 const char *ifname, void *pval, uint_t psize, uint_t flags)
293 tcp_copy_ccname_t cd = { pval, psize, 0 };
296 nbytes = snprintf(pval, psize, "
72 tcp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *val, uint_t psize, uint_t flags) argument
202 tcp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *val, uint_t psize, uint_t flags) argument
287 tcp_get_cc_algorithm(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c47 const char *ifname, void *val, uint_t psize, uint_t flags)
56 bzero(pval, psize);
57 size = psize;
65 if (psize == size)
74 if (tbytes >= psize) {
177 void *val, uint_t psize, uint_t flags)
180 stack, pinfo, ifname, val, psize, flags));
46 sctp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *val, uint_t psize, uint_t flags) argument
176 sctp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *val, uint_t psize, uint_t flags) argument
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_tunables.c184 void *pval, uint_t psize, uint_t flags)
191 bzero(pval, psize);
193 nbytes = snprintf(pval, psize, "%u", MOD_PROP_PERM_RW);
195 nbytes = snprintf(pval, psize, "%u-%u",
198 nbytes = snprintf(pval, psize, "%u", pinfo->prop_def_uval);
200 nbytes = snprintf(pval, psize, "%u", ip_debug);
201 if (nbytes >= psize)
271 void *pval, uint_t psize, uint_t flags)
305 nbytes = snprintf(pval, psize, "%u", def_mtu);
310 nbytes = snprintf(pval, psize, "
183 ip_get_debug(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
270 ip_get_mtu(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
451 ip_get_hostmodel(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
[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/lib/libdiskmgt/common/
H A Dinuse_vxvm.c299 int psize; local
319 psize = (vxdl_libvxvm_get_conf)(VXVM_PATH_SIZE);
321 if (nsize == -1 || psize == -1) {
332 pathp = (vm_path_t *)calloc(MAX_DISKS_DG, psize);
384 ppp += psize;
/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/gss_mechs/mech_krb5/include/
H A Ddb.h124 u_int psize; /* page size */ member in struct:__anon2630
153 u_int psize; /* page size */ member in struct:__anon2632
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_tunables.c43 void *val, uint_t psize, uint_t flags)
46 pinfo, ifname, val, psize, flags));
42 udp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *val, uint_t psize, uint_t flags) argument
/illumos-gate/usr/src/cmd/bnu/
H A Dpk.h65 char p_lpsize; /* log(psize/32) */
154 short psize; member in struct:piocb
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Darc.h198 uint64_t psize, uint64_t lsize, enum zio_compress compression_type);
201 const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
204 arc_buf_t *arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize,
208 dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
H A Dvdev.h104 extern void vdev_stat_update(zio_t *zio, uint64_t psize);
116 extern uint64_t vdev_psize_to_asize(vdev_t *vd, uint64_t psize);
172 extern uint64_t vdev_label_offset(uint64_t psize, int l, uint64_t offset);
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c161 size_t psize; /* profile histogram size */ local
280 psize = (size_t)PRF_ROUNDUP((msize / PRF_BARSIZE), sizeof (long));
282 Fsize = (hsize + psize + csize);
352 Hptr->hd_psize = (unsigned int)psize;
361 Cptr = (L_cgarc *)(addr + hsize + psize);
368 psize, (unsigned long)lpc, (unsigned int) PRF_SCALE);
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c2750 uint32_t psize; local
2777 psize = MIN(size, (MMU_PAGESIZE - offset));
2788 psize = MIN(size, (MMU_PAGESIZE - offset));
2798 psize = MIN(size, (MMU_PAGESIZE - offset));
2799 vaddr += psize;
2804 if ((raddr + psize) > sglinfo->si_segmask) {
2809 size -= psize;
2817 psize = MIN(size, MMU_PAGESIZE);
2833 vaddr += psize;
2838 if ((raddr + psize) > sglinf
2878 uint32_t psize; local
3161 uint32_t psize, ssize; local
4525 uint_t psize; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c206 vdev_label_start(uint64_t psize, int l) argument
209 0 : psize - VDEV_LABELS * sizeof (vdev_label_t)));
359 int i, psize; local
361 psize = BP_GET_PSIZE(bp);
378 if (devread(sector, 0, psize, buf) == 0)
383 if (zio_checksum_verify(bp, buf, psize) == 0) {
399 int psize, i; local
404 psize = BPE_GET_PSIZE(bp);
410 for (i = 0; i < psize; i++) {
432 int lsize, psize; local
469 int lsize, psize, comp; local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c445 char blocks[6], lsize[6], psize[6], dsize[6]; local
458 zfs_nicenum(dds->dds_psize, psize, sizeof (psize));
467 blocks, lsize, psize, dsize,

Completed in 417 milliseconds

1234