Lines Matching refs:pv_ptr
2537 * 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 = pv_ptr_node;
2642 pv_ptr_node->pv_ptr = malloc(sizeof (boolean_t));
2643 if (pv_ptr_node->pv_ptr == NULL) {
2647 *(boolean_t *)pv_ptr_node->pv_ptr =
2652 pv_ptr_node->pv_ptr = malloc(sizeof (uint64_t));
2653 if (pv_ptr_node->pv_ptr == NULL) {
2657 ret = scf_value_get_count(piv, pv_ptr_node->pv_ptr);
2660 pv_ptr_node->pv_ptr = malloc(sizeof (int64_t));
2661 if (pv_ptr_node->pv_ptr == NULL) {
2665 ret = scf_value_get_integer(piv, pv_ptr_node->pv_ptr);
2668 pv_ptr_node->pv_ptr = malloc(sizeof (scf_time_t));
2669 if (pv_ptr_node->pv_ptr == NULL) {
2674 &((scf_time_t *)pv_ptr_node->pv_ptr)->t_seconds,
2675 &((scf_time_t *)pv_ptr_node->pv_ptr)->t_ns);
2686 pv_ptr_node->pv_ptr = malloc(sizeof (scf_opaque_t));
2687 if (pv_ptr_node->pv_ptr == NULL) {
2691 opaque = pv_ptr_node->pv_ptr;
2714 if ((pv_ptr_node->pv_ptr = malloc(++size)) == NULL) {
2719 pv_ptr_node->pv_ptr, size);
2761 * The list itself and each of the pv_ptr entries holding the actual values are
2790 prop->pv_ptr = NULL;
2792 ((scf_opaque_t *)prop->pv_ptr)->so_addr = NULL;
2794 *((char **)prop->pv_ptr) = NULL;
2854 uint64_t *bits = prop->pv_ptr;
2858 boolean_t *bool = prop->pv_ptr;
2864 ret = scf_value_get_count(v, prop->pv_ptr);
2867 ret = scf_value_get_integer(v, prop->pv_ptr);
2870 scf_time_t *time = prop->pv_ptr;
2877 scf_opaque_t *opaque = prop->pv_ptr;
2911 *(char **)prop->pv_ptr = s;
2956 scf_propvec_mval_t *pv_ptr_node = prop->pv_ptr;
2968 *(boolean_t *)pv_ptr_node->pv_ptr ? 1 : 0);
2972 *(uint64_t *)pv_ptr_node->pv_ptr);
2976 *(int64_t *)pv_ptr_node->pv_ptr);
2980 ((scf_time_t *)pv_ptr_node->pv_ptr)->t_seconds,
2981 ((scf_time_t *)pv_ptr_node->pv_ptr)->t_ns);
2986 ((scf_opaque_t *)pv_ptr_node->pv_ptr)->so_addr,
2987 ((scf_opaque_t *)pv_ptr_node->pv_ptr)->so_size);
2992 (const char *)pv_ptr_node->pv_ptr);
2996 (const char *)pv_ptr_node->pv_ptr);
3014 * scf_read_propvec function is that for string types, pv_ptr is a
3092 (*(uint64_t *)prop->pv_ptr & prop->pv_aux) != 0 :
3093 *(boolean_t *)prop->pv_ptr;
3099 scf_value_set_count(v, *(uint64_t *)prop->pv_ptr);
3102 scf_value_set_integer(v, *(int64_t *)prop->pv_ptr);
3105 scf_time_t *time = prop->pv_ptr;
3112 scf_opaque_t *opaque = prop->pv_ptr;
3120 (const char *)prop->pv_ptr);
3124 (const char *)prop->pv_ptr);