/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | prop.h | 53 unsigned valsize; /* total size in characters of all value strings */ member in struct:propval
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | utils.c | 118 void *arg, uchar_t **list, size_t valsize, 130 if ((*list = malloc(valsize)) == NULL) { 135 (void) memset(*list, 0, valsize); 117 _iter_get_next_list(int type, idmap_iter_t *iter, void *arg, uchar_t **list, size_t valsize, xdrproc_t xdr_arg_proc, xdrproc_t xdr_res_proc) argument
|
/illumos-gate/usr/src/common/exacct/ |
H A D | exacct_core.c | 234 const void *value, size_t valsize) 276 if ((item->ei_object = ea_alloc(valsize)) == NULL) { 280 bcopy(value, item->ei_object, valsize); 281 item->ei_size = valsize; 284 if ((item->ei_raw = ea_alloc(valsize)) == NULL) { 288 bcopy(value, item->ei_raw, valsize); 289 item->ei_size = valsize; 233 ea_set_item(ea_object_t *obj, ea_catalog_t tag, const void *value, size_t valsize) argument
|
/illumos-gate/usr/src/lib/libpicl/ |
H A D | picl.c | 813 void *pval, size_t valsize, picl_nodehdl_t *retnodeh) 821 req = alloca(sizeof (picl_reqfindnode_t) + valsize); 828 req->valsize = (uint32_t)valsize; 829 if ((size_t)req->valsize != valsize) 831 (void) memcpy(req->valbuf, pval, valsize); 833 err = trysend_req(&darg, req, sizeof (picl_reqfindnode_t) + valsize, 812 picl_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, void *pval, size_t valsize, picl_nodehdl_t *retnodeh) argument
|
H A D | picl2door.h | 320 uint32_t valsize; /* size of prop value */ member in struct:__anon3748
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | openprom.c | 362 int valsize; local 393 valsize = prom_asr_list_keys_len(); 396 opp->oprom_size = valsize; 402 valsize = prom_asr_list_keys_len(); 405 if (valsize > userbufsize) 407 valbuf = (char *)kmem_zalloc(valsize + 1, KM_SLEEP); 409 kmem_free(valbuf, valsize + 1); 413 valsize + sizeof (uint_t) + 1, KM_SLEEP); 414 opp->oprom_size = valsize; 415 bcopy(valbuf, opp->oprom_array, valsize); [all...] |
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_main.c | 1458 uint_t valsize, const void *val) 1475 uint_t valsize, void *val) 1497 return (strlcpy(val, fpstr, valsize) >= valsize ? EINVAL : 0); 1457 softmac_m_setprop(void *arg, const char *name, mac_prop_id_t id, uint_t valsize, const void *val) argument 1474 softmac_m_getprop(void *arg, const char *name, mac_prop_id_t id, uint_t valsize, void *val) argument
|
/illumos-gate/usr/src/uts/common/io/efe/ |
H A D | efe.c | 841 uint_t valsize, const void *val) 845 return (mii_m_setprop(efep->efe_miih, name, id, valsize, val)); 850 uint_t valsize, void *val) 854 return (mii_m_getprop(efep->efe_miih, name, id, valsize, val)); 840 efe_m_setprop(void *arg, const char *name, mac_prop_id_t id, uint_t valsize, const void *val) argument 849 efe_m_getprop(void *arg, const char *name, mac_prop_id_t id, uint_t valsize, void *val) argument
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 1304 uint_t valsize, iocsize; local 1318 valsize = strlen(pval); 1319 iocsize = sizeof (mod_ioc_prop_t) + valsize - 1; 1321 valsize = 0; 1337 mip->mpr_valsize = valsize; 1339 bcopy(pval, mip->mpr_val, valsize);
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 142 ssize_t valsize, numvals; local 222 if ((valsize = scf_value_get_astring(val, NULL, 0)) == 225 if ((vallist[numvals].pv_str = malloc(valsize+1)) == 231 vallist[numvals].pv_str, valsize+1) == -1) { 246 if ((valsize = scf_value_get_ustring(val, NULL, 0)) == 249 if ((vallist[numvals].pv_str = malloc(valsize+1)) == 255 vallist[numvals].pv_str, valsize+1) == -1) { 263 if ((valsize = scf_value_get_opaque(val, NULL, 0)) == 267 malloc(valsize)) == NULL) { 271 vallist[numvals].pv_opaque.o_size = valsize; [all...] |
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 1565 uint_t valsize; local 1578 &valsize)) { 1582 valsize--; /* take out null added by driver */ 1585 * Do not print valsize > MAXVALSIZE, to be compatible 1589 if (valsize > MAXVALSIZE) { 1602 if (print_composite_string(var, value, valsize)) { 1606 if (!unprintable(value, valsize)) { 1621 endswap = (valsize % 4) == 0; 1623 for (i = 0; i < valsize; i++) {
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 730 int ncol, uchar_t **list, size_t valsize) 745 nsize = (cb_data->len + SIZE_INCR) * valsize; 752 (void) memset(*list + (cb_data->len * valsize), 0, 753 SIZE_INCR * valsize); 729 validate_list_cb_data(list_cb_data_t *cb_data, int argc, char **argv, int ncol, uchar_t **list, size_t valsize) argument
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 2213 uint32_t valsize; local 2223 valsize = valrec->dtrd_size; 2231 if (valsize > sizeof (uint64_t)) {
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.c | 3108 void *pval, size_t valsize) 3127 if (valsize > propinfo.piclinfo.size) 3135 if (memcmp(vbuf, pval, valsize) == 0) 3149 void *pval, size_t valsize, picl_nodehdl_t *retnodeh) 3160 if (compare_propval(chdh, pname, ptype, pval, valsize)) { 3166 err = ptree_find_node(chdh, pname, ptype, pval, valsize, 3107 compare_propval(picl_nodehdl_t nodeh, char *pname, picl_prop_type_t ptype, void *pval, size_t valsize) argument 3148 ptree_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, void *pval, size_t valsize, picl_nodehdl_t *retnodeh) argument
|
/illumos-gate/usr/src/common/dis/i386/ |
H A D | dis_tables.c | 2507 int valsize; local 2514 valsize = 1; 2518 valsize = 2; 2520 valsize = 4; 2522 valsize = 8; 2531 valsize = size; 2534 valsize = 2; 2537 if (valsize < size) 2538 valsize = size; 2560 x->d86_opnd[opindex].d86_value_size = valsize; [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 3697 i_dladm_buf_alloc_impl(size_t valsize, datalink_id_t linkid, argument 3705 dsize = MAC_PROP_BUFSIZE(valsize); 3712 dip->pr_valsize = valsize; 3721 i_dladm_buf_alloc_by_name(size_t valsize, datalink_id_t linkid, argument 3727 valsize = MAX(p->pp_valsize, valsize); 3728 return (i_dladm_buf_alloc_impl(valsize, linkid, prop_name, p->pp_id, 3733 i_dladm_buf_alloc_by_id(size_t valsize, datalink_id_t linkid, argument 3739 valsize = MAX(p->pp_valsize, valsize); [all...] |
/illumos-gate/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) argument 3001 return (valsize >= sizeof (mac_propval_range_t)); 3008 if (valsize != 0) 3149 return (valsize >= minsize); 3169 uint_t valsize) 3181 ASSERT(valsize >= sizeof (mac_resource_props_t)); 3190 ASSERT(valsize >= sizeof (uint16_t)); 3199 ASSERT(valsize >= sizeof (uint32_t)); 3209 if (valsize < sizeof (learnval) || 3227 name, id, valsize, va 3168 mac_set_prop(mac_handle_t mh, mac_prop_id_t id, char *name, void *val, uint_t valsize) argument 3242 mac_get_prop(mac_handle_t mh, mac_prop_id_t id, char *name, void *val, uint_t valsize) argument [all...] |