Searched refs:pv_ptr (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/libscf/common/
H A Dmidlevel.c2537 * pv_ptr entries created by scf_read_propvec_mval().
2542 scf_propvec_mval_t *pv_ptr_node = prop->pv_ptr;
2547 prop->pv_ptr = NULL;
2550 scf_opaque_t *o = pv_ptr_node->pv_ptr;
2553 free(pv_ptr_node->pv_ptr);
2579 scf_opaque_t *o = prop->pv_ptr;
2585 if (*(char **)prop->pv_ptr != NULL)
2586 free(*(char **)prop->pv_ptr);
2595 * linked list of scf_propvec_mval_t pointed by the pv_ptr in the original
2630 prop->pv_ptr
[all...]
H A Dhighlevel.c179 prop->pv_ptr = &prop64_val;
260 prop->pv_ptr = &prop64_val;
/osnet-11/usr/src/lib/libscf/inc/
H A Dlibscf_priv.h417 * pv_mval - multi valued property - if set pv_ptr points to
420 * pv_ptr - where to store the data read, or a pointer to the data to
422 * pv_aux - additional data influencing the interpretation of pv_ptr
424 * The meaning of pv_ptr and pv_aux depends on the type of property. For:
426 * boolean - if pv_aux is 0, pv_ptr is a pointer to a boolean_t
427 * if pv_aux is non-0, pv_ptr is a pointer to a uint64_t,
429 * if pv_mval is set, the pv_ptr of scf_propvec_mval_t is always
431 * count - pv_ptr is a pointer to a uint64_t; pv_aux is unused
432 * integer - pv_ptr is a pointer to an int64_t; pv_aux is unused
433 * time - pv_ptr i
449 void *pv_ptr; member in struct:__anon2485
454 void *pv_ptr; member in struct:scf_propvec_mval
[all...]
/osnet-11/usr/src/lib/libpower/common/
H A Dpm_smf.c266 err = pm_smf_validate(prop, val, &(propvec[0].pv_ptr));
275 if (propvec[0].pv_ptr != NULL) {
277 free(propvec[0].pv_ptr);
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_scf.c159 vector->pv_ptr = prop_val_ptr;
190 if (vector->pv_ptr == NULL) {
191 vector->pv_ptr = pv_ptr_node_new;
193 pv_ptr_node_last = vector->pv_ptr;
200 pv_ptr_node_new->pv_ptr = prop_val_ptr;
275 pv_ptr_node = prop_vect_ptr->pv_ptr;
297 if (stack_inbounds(prop_vect_ptr->pv_ptr) == 0) {
298 free(prop_vect_ptr->pv_ptr);

Completed in 26 milliseconds