/titanic_44/usr/src/uts/common/inet/ |
H A D | tunables.c | 102 void *pval, uint_t psize, uint_t flags) in mod_get_boolean() argument 109 bzero(pval, psize); in mod_get_boolean() 111 nbytes = snprintf(pval, psize, "%u", prop_perm2const(pinfo)); in mod_get_boolean() 113 nbytes = snprintf(pval, psize, "%u,%u", B_FALSE, B_TRUE); in mod_get_boolean() 115 nbytes = snprintf(pval, psize, "%u", pinfo->prop_def_bval); in mod_get_boolean() 117 nbytes = snprintf(pval, psize, "%u", pinfo->prop_cur_bval); in mod_get_boolean() 118 if (nbytes >= psize) in mod_get_boolean() 191 void *pval, uint_t psize, uint_t flags) in mod_get_uint32() argument 198 bzero(pval, psize); in mod_get_uint32() 200 nbytes = snprintf(pval, psize, "%u", prop_perm2const(pinfo)); in mod_get_uint32() [all …]
|
/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_open.c | 128 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 = m.psize; 263 if (b.psize == 0) { 264 b.psize = sb.st_blksize; [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | bp_map.c | 282 size_t psize; in bp_copy_common() local 328 psize = MIN(PAGESIZE - poff, size); in bp_copy_common() 356 } else if (offset < psize) { in bp_copy_common() 363 addr += psize - offset; in bp_copy_common() 365 addr += psize; in bp_copy_common() 374 if ((offset > 0) && (offset < psize)) { in bp_copy_common() 375 psize -= offset; in bp_copy_common() 386 } else if (offset >= psize) { in bp_copy_common() 387 offset -= psize; in bp_copy_common() 388 psize = MIN(PAGESIZE, size); in bp_copy_common() [all …]
|
/titanic_44/usr/src/cmd/sendmail/db/include/ |
H A D | db_page.h | 247 #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
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/xattr/ |
H A D | xattr_012_pos.ksh | 54 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')
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip_tunables.c | 184 void *pval, uint_t psize, uint_t flags) in ip_get_debug() argument 191 bzero(pval, psize); in ip_get_debug() 193 nbytes = snprintf(pval, psize, "%u", MOD_PROP_PERM_RW); in ip_get_debug() 195 nbytes = snprintf(pval, psize, "%u-%u", in ip_get_debug() 198 nbytes = snprintf(pval, psize, "%u", pinfo->prop_def_uval); 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() 310 nbytes = snprintf(pval, psize, "%u-%u", min_mtu, max_mtu); in ip_get_mtu() [all …]
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_tunables.c | 47 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()
|
/titanic_44/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_vxvm.c | 299 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()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | blkptr.c | 95 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()
|
H A D | vdev_missing.c | 47 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()
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_tunables.c | 66 const char *ifname, void *val, uint_t psize, uint_t flags) in tcp_listener_conf_get() argument 75 bzero(pval, psize); in tcp_listener_conf_get() 76 size = psize; in tcp_listener_conf_get() 84 if (psize == size) in tcp_listener_conf_get() 93 if (tbytes >= psize) { in tcp_listener_conf_get() 196 void *val, uint_t psize, uint_t flags) in tcp_get_buf_prop() argument 199 pinfo, ifname, val, psize, flags)); in tcp_get_buf_prop()
|
/titanic_44/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 2749 uint32_t psize; in rootnex_need_bounce_seg() local 2776 psize = MIN(size, (MMU_PAGESIZE - offset)); in rootnex_need_bounce_seg() 2787 psize = MIN(size, (MMU_PAGESIZE - offset)); in rootnex_need_bounce_seg() 2797 psize = MIN(size, (MMU_PAGESIZE - offset)); in rootnex_need_bounce_seg() 2798 vaddr += psize; in rootnex_need_bounce_seg() 2803 if ((raddr + psize) > sglinfo->si_segmask) { in rootnex_need_bounce_seg() 2808 size -= psize; in rootnex_need_bounce_seg() 2816 psize = MIN(size, MMU_PAGESIZE); in rootnex_need_bounce_seg() 2832 vaddr += psize; in rootnex_need_bounce_seg() 2837 if ((raddr + psize) > sglinfo->si_segmask) { in rootnex_need_bounce_seg() [all …]
|
/titanic_44/usr/src/lib/krb5/kadm5/ |
H A D | str_conv.c | 155 size_t nsize, psize; local 163 psize = (positive) ? strlen(positive) : 0; 172 else if (psize && !strncasecmp(positive, string, psize)) { 173 cpos += (int) psize;
|
/titanic_44/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 203 vdev_label_start(uint64_t psize, int l) in vdev_label_start() argument 206 0 : psize - VDEV_LABELS * sizeof (vdev_label_t))); in vdev_label_start() 356 int i, psize; in zio_read_data() local 358 psize = BP_GET_PSIZE(bp); in zio_read_data() 375 if (devread(sector, 0, psize, buf) != 0) in zio_read_data() 390 int psize, i; in decode_embedded_bp_compressed() local 395 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp_compressed() 401 for (i = 0; i < psize; i++) { in decode_embedded_bp_compressed() 423 int lsize, psize; in decode_embedded_bp() local 428 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp() [all …]
|
/titanic_44/usr/src/uts/i86pc/vm/ |
H A D | i86_mmu.c | 325 int64_t psize; in hat_kern_alloc() local 336 psize = pmem->ml_size; in hat_kern_alloc() 337 while (psize >= MMU_PAGESIZE) { in hat_kern_alloc() 341 psize > LEVEL_SIZE(l)) in hat_kern_alloc() 356 psize -= LEVEL_SIZE(l); in hat_kern_alloc()
|
/titanic_44/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 64 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()
|
/titanic_44/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 819 size_t psize; in xsvc_devmap() local 862 psize = P2ROUNDUP(off + len, PAGESIZE) - off_align; in xsvc_devmap() 870 npages = btop(psize); in xsvc_devmap() 872 kva = vmem_alloc(heap_arena, psize, VM_SLEEP); in xsvc_devmap() 898 err = xsvc_umem_cookie_alloc(kva, psize, KM_SLEEP, &cookie); in xsvc_devmap() 904 cookie, 0, psize, PROT_ALL, 0, &xsvc_device_attr)) < 0) { in xsvc_devmap() 907 *maplen = psize; in xsvc_devmap() 915 off_align, psize, PROT_ALL, 0, &xsvc_device_attr)) < 0) { in xsvc_devmap() 918 *maplen = psize; in xsvc_devmap() 933 vmem_free(heap_arena, kva, psize); in xsvc_devmap()
|
/titanic_44/usr/src/cmd/sendmail/aux/ |
H A D | mailcompat.c | 250 size_t psize = strlen(s) + 1; local 252 p = malloc(psize); 258 strlcpy(p, s, psize);
|
/titanic_44/usr/src/cmd/ptools/ptree/ |
H A D | ptree.c | 72 static unsigned psize; /* size of array */ variable 169 psize = 0; in main() 216 if (nps + 1 >= psize) { in main() 217 if ((psize *= 2) == 0) in main() 218 psize = 20; in main() 219 if ((ps = realloc(ps, psize*sizeof (ps_t *))) == NULL) { in main()
|
/titanic_44/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 161 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()
|
/titanic_44/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.c | 108 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()
|
/titanic_44/usr/src/lib/libzfs/common/ |
H A D | libzfs_status.c | 391 char blocks[6], lsize[6], psize[6], dsize[6]; in dump_ddt_stat() local 404 zfs_nicenum(dds->dds_psize, psize, sizeof (psize)); in dump_ddt_stat() 413 blocks, lsize, psize, dsize, in dump_ddt_stat()
|
/titanic_44/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev.h | 88 extern void vdev_stat_update(zio_t *zio, uint64_t psize); 97 extern uint64_t vdev_psize_to_asize(vdev_t *vd, uint64_t psize); 145 extern uint64_t vdev_label_offset(uint64_t psize, int l, uint64_t offset);
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | db.h | 124 u_int psize; /* page size */ member 153 u_int psize; /* page size */ member
|
/titanic_44/usr/src/uts/common/inet/udp/ |
H A D | udp_tunables.c | 43 void *val, uint_t psize, uint_t flags) in udp_get_buf_prop() argument 46 pinfo, ifname, val, psize, flags)); in udp_get_buf_prop()
|