Searched defs:pval (Results 1 - 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_tunables.c35 const char *ifname, const void *pval, uint_t flags)
38 cr, pinfo, ifname, pval, flags));
56 const char *ifname, const void *pval, uint_t flags)
62 if ((err = mod_uint32_value(pval, pinfo, flags, &new_value)) != 0)
74 const char *ifname, const void *pval, uint_t flags)
80 if ((err = mod_uint32_value(pval, pinfo, flags, &new_value)) != 0)
34 udp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
55 udp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
73 udp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c61 nge_nd_get_prop_val(dev_info_t *dip, char *nm, long min, long max, int *pval) argument
70 *pval = NGE_PROP_GET_INT(dip, nm);
71 if (*pval >= min && *pval <= max)
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/
H A Dpiclmemcfg.c304 int pval; local
311 err = ptree_get_propval_by_name(plfh, OBP_PROP_SIZE_CELLS, &pval,
312 sizeof (pval));
315 pval = SUPPORTED_NUM_CELL_SIZE;
322 if (pval != SUPPORTED_NUM_CELL_SIZE)
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_libpool.c111 const char *name, pool_value_t *pval, userdata_cb_t *ud)
117 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_min);
119 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_max);
123 ud->ud_result = pool_value_get_uint64(pval, &load);
126 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_size);
128 ud->ud_result = pool_value_get_int64(pval, &bag->pset_sb_sysid);
110 populate_userdata_cb(pool_conf_t *unused1, pool_elem_t *unused2, const char *name, pool_value_t *pval, userdata_cb_t *ud) argument
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c51 char *pval = val; local
56 bzero(pval, psize);
66 nbytes = snprintf(pval, size, "%d:%d", sl->sl_port,
69 nbytes = snprintf(pval, size, ",%d:%d", sl->sl_port,
72 pval += nbytes;
91 const char *ifname, const void* pval, uint_t flags)
103 if (ddi_strtol(pval, &colon, 10, &lport) != 0 || lport <= 0 ||
140 const char *ifname, const void* pval, uint_t flags)
149 if (ddi_strtol(pval, NULL, 10, &lport) != 0 || lport <= 0 ||
169 const char *ifname, const void *pval, uint_
90 sctp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
139 sctp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
168 sctp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c61 bge_nd_get_prop_val(dev_info_t *dip, char *nm, long min, long max, int *pval) argument
69 *pval = BGE_PROP_GET_INT(dip, nm);
70 if (*pval >= min && *pval <= max)
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c394 char *pval; local
402 pval = malloc(pinfo.size);
403 if (pval == NULL)
405 err = picl_get_propval(proph, pval, pinfo.size);
407 free(pval);
410 *outbuf = pval;
430 pval = malloc(pinfo.size);
431 if (pval == NULL)
434 err = picl_get_propval(rowproph, pval, pinfo.size);
436 free(pval);
[all...]
H A Dpelton.c404 char *pval; local
412 pval = malloc(pinfo.size);
413 if (pval == NULL)
415 err = picl_get_propval(proph, pval, pinfo.size);
417 free(pval);
420 *outbuf = pval;
440 pval = malloc(pinfo.size);
441 if (pval == NULL)
444 err = picl_get_propval(rowproph, pval, pinfo.size);
446 free(pval);
[all...]
H A Derie.c264 char *pval; local
272 pval = malloc(pinfo.size);
273 if (pval == NULL)
275 err = picl_get_propval(proph, pval, pinfo.size);
277 free(pval);
280 *outbuf = pval;
300 pval = malloc(pinfo.size);
301 if (pval == NULL)
304 err = picl_get_propval(rowproph, pval, pinfo.size);
306 free(pval);
[all...]
H A Dontario.c610 char *pval; local
618 pval = malloc(pinfo.size);
619 if (pval == NULL)
621 err = picl_get_propval(proph, pval, pinfo.size);
623 free(pval);
626 *outbuf = pval;
646 pval = malloc(pinfo.size);
647 if (pval == NULL)
650 err = picl_get_propval(rowproph, pval, pinfo.size);
652 free(pval);
[all...]
H A Dstpaul.c465 char *pval; local
473 pval = malloc(pinfo.size);
474 if (pval == NULL)
476 err = picl_get_propval(proph, pval, pinfo.size);
478 free(pval);
481 *outbuf = pval;
501 pval = malloc(pinfo.size);
502 if (pval == NULL)
505 err = picl_get_propval(rowproph, pval, pinfo.size);
507 free(pval);
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dio_dev_label.c33 const char *pval, picl_nodehdl_t *nodeh);
36 const char *pval);
246 const char *pval)
262 len = strlen(pval) + 1;
269 if ((err == PICL_SUCCESS) && (strcmp(pvalbuf, pval) == 0))
280 const char *pval, picl_nodehdl_t *nodeh)
292 if (compare_string_propval(childh, pname, pval)) {
245 compare_string_propval(picl_nodehdl_t nodeh, const char *pname, const char *pval) argument
279 find_node_by_string_prop(picl_nodehdl_t rooth, const char *pname, const char *pval, picl_nodehdl_t *nodeh) argument
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_ndd.c193 int pval; local
238 pval = UNM_PROP_GET_INT(dip, nm);
239 if (pval >= ndp->ndp_min && pval <= ndp->ndp_max)
240 ndp->ndp_val = pval;
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c195 int pval; local
240 pval = RGE_PROP_GET_INT(dip, nm);
241 if (pval >= ndp->ndp_min && pval <= ndp->ndp_max)
242 ndp->ndp_val = pval;
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tunables.c70 char *pval = val; local
75 bzero(pval, psize);
85 nbytes = snprintf(pval, size, "%d:%d", tl->tl_port,
88 nbytes = snprintf(pval, size, ",%d:%d", tl->tl_port,
91 pval += nbytes;
110 const char *ifname, const void* pval, uint_t flags)
122 if (ddi_strtol(pval, &colon, 10, &lport) != 0 || lport <= 0 ||
159 const char *ifname, const void* pval, uint_t flags)
168 if (ddi_strtol(pval, NULL, 10, &lport) != 0 || lport <= 0 ||
188 const char *ifname, const void *pval, uint_
109 tcp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
158 tcp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
187 tcp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
208 tcp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
226 tcp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_2xml.c110 char vbuf[INT64BUFSZ], tbuf[32], *pval = NULL, *aval = NULL; local
119 pval = vbuf;
130 pval = vbuf;
142 pval = vbuf;
154 pval = vbuf;
161 &pval, &err) != 0)
174 pval = fmri;
208 pval = aval;
217 Value, pval, NULL);
219 if (pval !
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c494 char *pval; local
502 pval = malloc(pinfo.size);
503 if (pval == NULL)
505 err = picl_get_propval(proph, pval, pinfo.size);
507 free(pval);
510 *outbuf = pval;
530 pval = malloc(pinfo.size);
531 if (pval == NULL)
534 err = picl_get_propval(rowproph, pval, pinfo.size);
536 free(pval);
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c539 char *pval; local
547 pval = malloc(pinfo.size);
548 if (pval == NULL)
550 err = picl_get_propval(proph, pval, pinfo.size);
552 free(pval);
555 *outbuf = pval;
575 pval = malloc(pinfo.size);
576 if (pval == NULL)
579 err = picl_get_propval(rowproph, pval, pinfo.size);
581 free(pval);
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c123 pool_value_t *pval; local
126 if ((pval = pool_value_alloc()) == NULL)
128 if (pool_get_property(conf, elem, "pset.min", pval) != POC_UINT) {
131 pool_value_free(pval);
134 (void) pool_value_get_uint64(pval, &min_cpus);
135 if (pool_get_property(conf, elem, "pset.sys_id", pval) != POC_INT) {
138 pool_value_free(pval);
141 (void) pool_value_get_int64(pval, &tmp);
142 pool_value_free(pval);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c337 char *pval = "0"; local
340 (void) dladm_set_linkprop(dlhandle, linkid, "stp_mcheck", &pval,
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_dup.c100 DBT dbt, pval, tmp_val; local
146 pval.flags = 0;
147 pval.data = HKEYDATA_DATA(hk);
148 pval.size = LEN_HDATA(hcp->pagep, dbp->pgsize,
151 __ham_make_dup(&pval, &tmp_val, &dbc->rdata.data,
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_tunables.c50 const char *ifname, const void* pval, uint_t flags)
62 if (ddi_strtoul(pval, &end, 10, &new_value) != 0 ||
100 void *pval, uint_t pr_size, uint_t flags)
112 nbytes = snprintf(pval, pr_size, "%d", MOD_PROP_PERM_RW);
115 nbytes = snprintf(pval, pr_size, "%d", pinfo->prop_def_bval);
124 nbytes = snprintf(pval, pr_size, "%d", pinfo->prop_cur_bval);
148 nbytes = snprintf(pval, pr_size, "%d", value);
162 const char *ifname, const void* pval, uint_t flags)
170 if ((err = mod_uint32_value(pval, pinfo, flags, &new_value)) != 0)
184 void *pval, uint_
49 ip_set_forwarding(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
99 ip_get_forwarding(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t pr_size, uint_t flags) argument
161 ip_set_debug(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
183 ip_get_debug(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
213 ip_set_cgtp_filter(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, 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
357 ip_set_src_multihoming(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
378 ip_set_hostmodel(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, 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/uts/common/inet/
H A Dtunables.c71 * Modifies the value of the property to default value or to the `pval'
77 const char *ifname, const void* pval, uint_t flags)
87 if (ddi_strtoul(pval, &end, 10, &new_value) != 0 || *end != '\0')
102 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);
124 mod_uint32_value(const void *pval, mod_prop_info_ argument
76 mod_set_boolean(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, uint_t flags) argument
101 mod_get_boolean(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize, uint_t flags) argument
150 mod_set_uint32(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags) argument
167 mod_set_aligned(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void* pval, 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
238 mod_set_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo, const char *ifname, const void *pval, 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
292 char *pval = val; local
359 const char *pval = val; local
473 char *pval = val; local
[all...]
/illumos-gate/usr/src/cmd/devctl/
H A Ddevctl.c398 char *pname, *pval, *tmp; local
418 pval = tmp + 1;
419 tmp = strchr(pval, '"');
426 strs[nstr - 1] = pval;
428 (void) printf("string[%d] = %s\n", nstr - 1, pval);
/illumos-gate/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c355 uint64_t pval; local
364 if (scf_value_get_count(val, &pval) != 0)
367 match = (ino == pval) && match;

Completed in 84 milliseconds

123