Home
last modified time | relevance | path

Searched refs:valuep (Results 1 – 25 of 85) sorted by relevance

1234

/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c168 int try, struct evalue *valuep) in eval_cat() argument
191 valuep->t = STRING; in eval_cat()
192 valuep->v = (uintptr_t)stable(s); in eval_cat()
196 arrowp, try, valuep)) in eval_cat()
198 if (check_expr_args(valuep, NULL, STRING, np)) in eval_cat()
213 struct config *croot, struct arrow *arrowp, int try, struct evalue *valuep) in eval_func() argument
226 valuep->t = UINT64; in eval_func()
227 valuep->v = 1; in eval_func()
237 valuep->t = UNDEFINED; in eval_func()
241 valuep->t = UINT64; in eval_func()
[all …]
H A Dplatform.c1305 struct arrow *arrowp, struct evalue *valuep) in platform_call() argument
1381 valuep->t = STRING; in platform_call()
1382 valuep->v = (uintptr_t)stable(outbuf); in platform_call()
1407 struct arrow *arrowp, struct evalue *valuep) in platform_confcall() argument
1513 platform_payloadprop(struct node *np, struct evalue *valuep) in platform_payloadprop() argument
1605 } else if (valuep == NULL) { in platform_payloadprop()
1613 valuep->t = UNDEFINED; in platform_payloadprop()
1622 valuep->t = NODEPTR; in platform_payloadprop()
1623 valuep->v = (uintptr_t)hc_fmri_nodeize(embnvp); in platform_payloadprop()
1632 valuep->t = UINT64; in platform_payloadprop()
[all …]
H A Dconfig.h76 struct evalue *valuep);
78 struct evalue *valuep);
79 int config_is_on(struct node *np, struct config *croot, struct evalue *valuep);
81 struct evalue *valuep);
H A Dplatform.h59 struct arrow *arrowp, struct evalue *valuep);
61 struct config *croot, struct arrow *arrowp, struct evalue *valuep);
62 int platform_payloadprop(struct node *np, struct evalue *valuep);
H A Deval.h54 int try, struct evalue *valuep);
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_values.c73 nwam_value_t *valuep) in nwam_value_create() argument
83 *valuep = NULL; in nwam_value_create()
151 *valuep = newvalue; in nwam_value_create()
183 nwam_value_t *valuep) in nwam_value_create_boolean_array() argument
186 valuep)); in nwam_value_create_boolean_array()
190 nwam_value_create_boolean(boolean_t value, nwam_value_t *valuep) in nwam_value_create_boolean() argument
192 return (nwam_value_create_boolean_array(&value, 1, valuep)); in nwam_value_create_boolean()
197 nwam_value_t *valuep) in nwam_value_create_int64_array() argument
200 valuep)); in nwam_value_create_int64_array()
204 nwam_value_create_int64(int64_t value, nwam_value_t *valuep) in nwam_value_create_int64() argument
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetsubopt.c42 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument
48 *valuep = NULL; in getsubopt()
61 *valuep = NULL; in getsubopt()
64 *valuep = ++p; in getsubopt()
72 *valuep = s; in getsubopt()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_msi.c329 int *valuep = NULL; in px_msi_get_props() local
344 DDI_PROP_DONTPASS, "msi-ranges", (caddr_t)&valuep, &length) in px_msi_get_props()
348 msi_state_p->msi_1st_msinum = ((px_msi_ranges_t *)valuep)->msi_no; in px_msi_get_props()
349 kmem_free(valuep, (size_t)length); in px_msi_get_props()
380 DDI_PROP_DONTPASS, "msi-address-ranges", (caddr_t)&valuep, &length) in px_msi_get_props()
384 msi_addr_hi = ((px_msi_address_ranges_t *)valuep)->msi_addr32_hi; in px_msi_get_props()
385 msi_addr_lo = ((px_msi_address_ranges_t *)valuep)->msi_addr32_lo; in px_msi_get_props()
388 ((px_msi_address_ranges_t *)valuep)->msi_addr32_len; in px_msi_get_props()
390 msi_addr_hi = ((px_msi_address_ranges_t *)valuep)->msi_addr64_hi; in px_msi_get_props()
391 msi_addr_lo = ((px_msi_address_ranges_t *)valuep)->msi_addr64_lo; in px_msi_get_props()
[all …]
H A Dpx_msiq.c399 char *valuep = NULL; in px_msiq_get_props() local
422 DDI_PROP_DONTPASS, "msi-eq-to-devino", (caddr_t)&valuep, &length); in px_msiq_get_props()
433 (caddr_t)&valuep, &length); in px_msiq_get_props()
441 ((px_msi_eq_to_devino_t *)valuep)->msi_eq_no; in px_msiq_get_props()
443 ((px_msi_eq_to_devino_t *)valuep)->devino_no; in px_msiq_get_props()
451 kmem_free(valuep, (size_t)length); in px_msiq_get_props()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvd.c794 char *tok, *valuep, *strend; in process_env_conf_file() local
848 valuep = tok + toklen + 1; in process_env_conf_file()
849 if (valuep > buf+len) in process_env_conf_file()
850 valuep = buf + len; in process_env_conf_file()
862 val = strtol(valuep, &valuep, 0); in process_env_conf_file()
865 if (errno != 0 || strtok(valuep, tokdel)) { in process_env_conf_file()
899 valuep += strspn(valuep, tokdel); in process_env_conf_file()
900 strend = parse_string_val(valuep); in process_env_conf_file()
902 if (strend == NULL || *valuep != '"' || in process_env_conf_file()
904 (strend-valuep) > tunep->size) { in process_env_conf_file()
[all …]
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c554 const char *valuep; in inittab_encode_e() local
604 for (valuep = value; valuep++ != NULL; n_entries++) in inittab_encode_e()
605 valuep = strchr(valuep, ' '); in inittab_encode_e()
647 valuep = value; in inittab_encode_e()
648 while (*valuep != '\0') { in inittab_encode_e()
656 if (isascii(*valuep) && isspace(*valuep)) { in inittab_encode_e()
657 valuep++; in inittab_encode_e()
663 while ((inchr = *valuep) != '\0') { in inittab_encode_e()
664 valuep++; in inittab_encode_e()
742 while (isascii(*valuep) && isspace(*valuep)) in inittab_encode_e()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpinfo/
H A Ddhcpinfo.c59 char *value, *valuep; in main() local
224 for (i = 0, valuep = value; i < opt_len; i++) in main()
225 valuep += sprintf(valuep, "0x%02X ", valptr[i]); in main()
227 valuep[-1] = '\0'; in main()
/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c342 const char *namep, *valuep; in find_property_value() local
362 valuep = strchr(cmd, '='); in find_property_value()
363 if (valuep == NULL) in find_property_value()
365 name_len = valuep - namep; in find_property_value()
366 valuep++; in find_property_value()
370 if (valuep[value_len] == '\0') in find_property_value()
375 (valuep[0] == '\'' || valuep[0] == '"')) { in find_property_value()
376 quoted = valuep[0]; in find_property_value()
385 if (valuep[value_len] == quoted) in find_property_value()
391 if (valuep[value_len] == ',' || in find_property_value()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsubr.c225 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument
231 *valuep = NULL; in getsubopt()
244 *valuep = NULL; in getsubopt()
247 *valuep = ++p; in getsubopt()
255 *valuep = s; in getsubopt()
H A Dddi.c291 drv_getparm(unsigned int parm, void *valuep) in drv_getparm() argument
298 *(proc_t **)valuep = p; in drv_getparm()
302 *(pid_t *)valuep = p->p_pgrp; in drv_getparm()
306 *(clock_t *)valuep = ddi_get_lbolt(); in drv_getparm()
314 *(time_t *)valuep = ts.tv_sec; in drv_getparm()
316 *(time_t *)valuep = now; in drv_getparm()
320 *(pid_t *)valuep = p->p_pid; in drv_getparm()
324 *(pid_t *)valuep = p->p_sessp->s_sid; in drv_getparm()
328 *(cred_t **)valuep = CRED(); in drv_getparm()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_devctl.c55 int flags, char *name, caddr_t valuep, int *lengthp);
326 int flags, char *name, caddr_t valuep, int *lengthp) in pci_prop_op() argument
331 prop_op, flags, name, valuep, lengthp)); in pci_prop_op()
333 return (ddi_prop_op(dev, dip, prop_op, flags, name, valuep, lengthp)); in pci_prop_op()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtsd.c234 thr_getspecific(thread_key_t key, void **valuep) in thr_getspecific() argument
249 *valuep = curthread->ul_ftsd[key]; in thr_getspecific()
251 *valuep = stsd->tsd_data[key]; in thr_getspecific()
253 *valuep = NULL; in thr_getspecific()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_prop.h82 uint64_t *valuep, char *setpoint);
88 uint64_t *valuep);
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c494 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument
500 *valuep = NULL; in getsubopt()
513 *valuep = NULL; in getsubopt()
516 *valuep = ++p; in getsubopt()
524 *valuep = s; in getsubopt()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c427 NODE *valuep = stringnode(_null, FSTATIC, 0); in dobegin() local
437 valuep->n_strlen = wcslen(value); in dobegin()
438 valuep->n_string = value; in dobegin()
440 valuep->n_strlen = 0; in dobegin()
441 valuep->n_string = _null; in dobegin()
444 (void) assign(ENVsubname, valuep); in dobegin()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c1354 int field, int *valuep) in dladm_bridge_get_port_cfg() argument
1366 *valuep = portcfg.admin_port_path_cost; in dladm_bridge_get_port_cfg()
1369 *valuep = portcfg.port_priority; in dladm_bridge_get_port_cfg()
1372 *valuep = portcfg.admin_point2point; in dladm_bridge_get_port_cfg()
1375 *valuep = portcfg.admin_edge; in dladm_bridge_get_port_cfg()
1378 *valuep = !portcfg.admin_non_stp; in dladm_bridge_get_port_cfg()
1381 *valuep = (portcfg.field_mask & PT_CFG_MCHECK) ? 1 : 0; in dladm_bridge_get_port_cfg()
1399 uint_t *valuep) in dladm_bridge_get_forwarding() argument
1407 *valuep = twoints[0]; in dladm_bridge_get_forwarding()
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dsecdb.c281 strip_spaces(char **valuep) in strip_spaces() argument
286 for (p = *valuep; *p != '\0' && isspace((unsigned char)*p); p++) in strip_spaces()
289 *valuep = start = p; in strip_spaces()
/illumos-gate/usr/src/uts/common/sys/
H A Desunddi.h105 caddr_t valuep, int *lengthp);
109 caddr_t valuep, int *lengthp);
H A Dsunddi.h797 char *name, caddr_t valuep, int *lengthp);
817 char *name, caddr_t valuep, int *lengthp);
822 int mod_flags, char *name, caddr_t valuep, int *lengthp,
828 int mod_flags, char *name, caddr_t valuep, int *lengthp,
834 int mod_flags, char *name, caddr_t valuep, int *lengthp,
840 int mod_flags, char *name, caddr_t valuep, int *lengthp,
873 char *name, caddr_t valuep, int *lengthp);
901 char *name, caddr_t valuep, int *lengthp);
1002 char *name, caddr_t valuep, int *lengthp);
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c124 ipmp_readtlv(int fd, ipmp_infotype_t *typep, size_t *lenp, void **valuep, in ipmp_readtlv() argument
159 *valuep = value; in ipmp_readtlv()

1234