/titanic_41/usr/src/uts/common/io/ |
H A D | openprom.c | 362 int valsize; in opromioctl_cb() local 393 valsize = prom_asr_list_keys_len(); in opromioctl_cb() 396 opp->oprom_size = valsize; in opromioctl_cb() 402 valsize = prom_asr_list_keys_len(); in opromioctl_cb() 405 if (valsize > userbufsize) in opromioctl_cb() 407 valbuf = (char *)kmem_zalloc(valsize + 1, KM_SLEEP); in opromioctl_cb() 409 kmem_free(valbuf, valsize + 1); in opromioctl_cb() 413 valsize + sizeof (uint_t) + 1, KM_SLEEP); in opromioctl_cb() 414 opp->oprom_size = valsize; in opromioctl_cb() 415 bcopy(valbuf, opp->oprom_array, valsize); in opromioctl_cb() [all …]
|
/titanic_41/usr/src/common/exacct/ |
H A D | exacct_core.c | 234 const void *value, size_t valsize) in ea_set_item() argument 276 if ((item->ei_object = ea_alloc(valsize)) == NULL) { in ea_set_item() 280 bcopy(value, item->ei_object, valsize); in ea_set_item() 281 item->ei_size = valsize; in ea_set_item() 284 if ((item->ei_raw = ea_alloc(valsize)) == NULL) { in ea_set_item() 288 bcopy(value, item->ei_raw, valsize); in ea_set_item() 289 item->ei_size = valsize; in ea_set_item()
|
/titanic_41/usr/src/lib/libpicl/ |
H A D | picl.c | 813 void *pval, size_t valsize, picl_nodehdl_t *retnodeh) in picl_find_node() argument 821 req = alloca(sizeof (picl_reqfindnode_t) + valsize); in picl_find_node() 828 req->valsize = (uint32_t)valsize; in picl_find_node() 829 if ((size_t)req->valsize != valsize) in picl_find_node() 831 (void) memcpy(req->valbuf, pval, valsize); in picl_find_node() 833 err = trysend_req(&darg, req, sizeof (picl_reqfindnode_t) + valsize, in picl_find_node()
|
H A D | picl.h | 161 picl_prop_type_t ptype, void *pval, size_t valsize,
|
H A D | picl2door.h | 320 uint32_t valsize; /* size of prop value */ member
|
/titanic_41/usr/src/lib/libidmap/common/ |
H A D | utils.c | 118 void *arg, uchar_t **list, size_t valsize, in _iter_get_next_list() argument 130 if ((*list = malloc(valsize)) == NULL) { in _iter_get_next_list() 135 (void) memset(*list, 0, valsize); in _iter_get_next_list()
|
/titanic_41/usr/src/lib/libsasl/include/ |
H A D | prop.h | 53 unsigned valsize; /* total size in characters of all value strings */ member
|
/titanic_41/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 1565 uint_t valsize; in print_one() local 1578 &valsize)) { in print_one() 1582 valsize--; /* take out null added by driver */ in print_one() 1589 if (valsize > MAXVALSIZE) { in print_one() 1602 if (print_composite_string(var, value, valsize)) { in print_one() 1606 if (!unprintable(value, valsize)) { in print_one() 1621 endswap = (valsize % 4) == 0; in print_one() 1623 for (i = 0; i < valsize; i++) { in print_one()
|
/titanic_41/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 142 ssize_t valsize, numvals; in fill_prop() local 222 if ((valsize = scf_value_get_astring(val, NULL, 0)) == in fill_prop() 225 if ((vallist[numvals].pv_str = malloc(valsize+1)) == in fill_prop() 231 vallist[numvals].pv_str, valsize+1) == -1) { in fill_prop() 246 if ((valsize = scf_value_get_ustring(val, NULL, 0)) == in fill_prop() 249 if ((vallist[numvals].pv_str = malloc(valsize+1)) == in fill_prop() 255 vallist[numvals].pv_str, valsize+1) == -1) { in fill_prop() 263 if ((valsize = scf_value_get_opaque(val, NULL, 0)) == in fill_prop() 267 malloc(valsize)) == NULL) { in fill_prop() 271 vallist[numvals].pv_opaque.o_size = valsize; in fill_prop() [all …]
|
/titanic_41/usr/src/lib/libpicltree/ |
H A D | picltree.h | 134 picl_prop_type_t ptype, void *pval, size_t valsize,
|
H A D | llib-lpicltree | 83 picl_prop_type_t ptype, void *pval, size_t valsize,
|
H A D | picltree.c | 3108 void *pval, size_t valsize) in compare_propval() argument 3127 if (valsize > propinfo.piclinfo.size) in compare_propval() 3135 if (memcmp(vbuf, pval, valsize) == 0) in compare_propval() 3149 void *pval, size_t valsize, picl_nodehdl_t *retnodeh) in ptree_find_node() argument 3160 if (compare_propval(chdh, pname, ptype, pval, valsize)) { in ptree_find_node() 3166 err = ptree_find_node(chdh, pname, ptype, pval, valsize, in ptree_find_node()
|
/titanic_41/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 1304 uint_t valsize, iocsize; in i_ipadm_set_prop() local 1318 valsize = strlen(pval); in i_ipadm_set_prop() 1319 iocsize = sizeof (mod_ioc_prop_t) + valsize - 1; in i_ipadm_set_prop() 1321 valsize = 0; in i_ipadm_set_prop() 1337 mip->mpr_valsize = valsize; in i_ipadm_set_prop() 1339 bcopy(pval, mip->mpr_val, valsize); in i_ipadm_set_prop()
|
/titanic_41/usr/src/uts/common/io/mac/ |
H A D | mac.c | 2996 mac_prop_check_size(mac_prop_id_t id, uint_t valsize, boolean_t is_range) in mac_prop_check_size() argument 3001 return (valsize >= sizeof (mac_propval_range_t)); in mac_prop_check_size() 3008 if (valsize != 0) in mac_prop_check_size() 3153 return (valsize >= minsize); in mac_prop_check_size() 3173 uint_t valsize) in mac_set_prop() argument 3185 ASSERT(valsize >= sizeof (mac_resource_props_t)); in mac_set_prop() 3194 ASSERT(valsize >= sizeof (uint16_t)); in mac_set_prop() 3203 ASSERT(valsize >= sizeof (uint32_t)); in mac_set_prop() 3213 if (valsize < sizeof (learnval) || in mac_set_prop() 3231 name, id, valsize, val); in mac_set_prop() [all …]
|
/titanic_41/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 494 val->valsize = 0; in prop_erase() 682 cur->valsize += (size - 1); in prop_set() 744 cur->valsize += (size - 1); in prop_set()
|
/titanic_41/usr/src/uts/common/io/softmac/ |
H A D | softmac_main.c | 1458 uint_t valsize, const void *val) in softmac_m_setprop() argument 1475 uint_t valsize, void *val) in softmac_m_getprop() argument 1497 return (strlcpy(val, fpstr, valsize) >= valsize ? EINVAL : 0); in softmac_m_getprop()
|
/titanic_41/usr/src/uts/common/io/efe/ |
H A D | efe.c | 841 uint_t valsize, const void *val) in efe_m_setprop() argument 845 return (mii_m_setprop(efep->efe_miih, name, id, valsize, val)); in efe_m_setprop() 850 uint_t valsize, void *val) in efe_m_getprop() argument 854 return (mii_m_getprop(efep->efe_miih, name, id, valsize, val)); in efe_m_getprop()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 3747 i_dladm_buf_alloc_impl(size_t valsize, datalink_id_t linkid, in i_dladm_buf_alloc_impl() argument 3755 dsize = MAC_PROP_BUFSIZE(valsize); in i_dladm_buf_alloc_impl() 3762 dip->pr_valsize = valsize; in i_dladm_buf_alloc_impl() 3771 i_dladm_buf_alloc_by_name(size_t valsize, datalink_id_t linkid, in i_dladm_buf_alloc_by_name() argument 3777 valsize = MAX(p->pp_valsize, valsize); in i_dladm_buf_alloc_by_name() 3778 return (i_dladm_buf_alloc_impl(valsize, linkid, prop_name, p->pp_id, in i_dladm_buf_alloc_by_name() 3783 i_dladm_buf_alloc_by_id(size_t valsize, datalink_id_t linkid, in i_dladm_buf_alloc_by_id() argument 3789 valsize = MAX(p->pp_valsize, valsize); in i_dladm_buf_alloc_by_id() 3790 return (i_dladm_buf_alloc_impl(valsize, linkid, p->pp_name, propid, in i_dladm_buf_alloc_by_id()
|
/titanic_41/usr/src/common/dis/i386/ |
H A D | dis_tables.c | 2490 int valsize; in dtrace_imm_opnd() local 2497 valsize = 1; in dtrace_imm_opnd() 2501 valsize = 2; in dtrace_imm_opnd() 2503 valsize = 4; in dtrace_imm_opnd() 2505 valsize = 8; in dtrace_imm_opnd() 2514 valsize = size; in dtrace_imm_opnd() 2517 valsize = 2; in dtrace_imm_opnd() 2520 if (valsize < size) in dtrace_imm_opnd() 2521 valsize = size; in dtrace_imm_opnd() 2543 x->d86_opnd[opindex].d86_value_size = valsize; in dtrace_imm_opnd()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 2213 uint32_t valsize; in dt_consume_cpu() local 2223 valsize = valrec->dtrd_size; in dt_consume_cpu() 2231 if (valsize > sizeof (uint64_t)) { in dt_consume_cpu()
|
/titanic_41/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 730 int ncol, uchar_t **list, size_t valsize) in validate_list_cb_data() argument 745 nsize = (cb_data->len + SIZE_INCR) * valsize; in validate_list_cb_data() 752 (void) memset(*list + (cb_data->len * valsize), 0, in validate_list_cb_data() 753 SIZE_INCR * valsize); in validate_list_cb_data()
|
/titanic_41/usr/src/cmd/picl/picld/ |
H A D | picld.c | 704 in->req_findnode.valsize, &ret.rnodeh); in picld_find_node()
|