Home
last modified time | relevance | path

Searched refs:val_ptr (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_util.c63 Dwarf_Small * val_ptr, int v_length_size) in _dwarf_get_size_of_val() argument
90 return (*(Dwarf_Small *) val_ptr + 1); in _dwarf_get_size_of_val()
94 val_ptr, sizeof(Dwarf_Half)); in _dwarf_get_size_of_val()
99 val_ptr, sizeof(Dwarf_ufixed)); in _dwarf_get_size_of_val()
116 return (strlen((char *) val_ptr) + 1); in _dwarf_get_size_of_val()
120 length = _dwarf_decode_u_leb128(val_ptr, &leb128_length); in _dwarf_get_size_of_val()
133 length = _dwarf_decode_u_leb128(val_ptr, &leb128_length); in _dwarf_get_size_of_val()
140 form_indirect = _dwarf_decode_u_leb128(val_ptr, &indir_len); in _dwarf_get_size_of_val()
150 val_ptr + indir_len, in _dwarf_get_size_of_val()
167 _dwarf_decode_s_leb128(val_ptr, &leb128_length); in _dwarf_get_size_of_val()
[all …]
H A Ddwarf_util.h258 Dwarf_Small * val_ptr,
/titanic_41/usr/src/lib/libprtdiag/common/
H A Dlibdevinfo_sun4u.c308 temp->name.val_ptr = (void *)di_name; in dump_di_node()
309 temp->name.opp.oprom_array = temp->name.val_ptr; in dump_di_node()
312 temp->value.val_ptr = (void *)di_data; in dump_di_node()
319 temp->value.opp.oprom_array = temp->value.val_ptr; in dump_di_node()
377 temp->name.val_ptr = (void *)p_name; in dump_di_node()
378 temp->name.opp.oprom_array = temp->name.val_ptr; in dump_di_node()
381 temp->value.val_ptr = (void *)p_data; in dump_di_node()
389 temp->value.opp.oprom_array = temp->value.val_ptr; in dump_di_node()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c406 return ((void *)(prop->value.val_ptr)); in get_prop_val()
428 if (prop->name.val_ptr == NULL) in find_prop()
431 while ((prop != NULL) && (strcmp((char *)(prop->name.val_ptr), name))) { in find_prop()
453 if (strcmp("name", (char *)prop->name.val_ptr) == 0) in get_node_name()
454 return (prop->value.val_ptr); in get_node_name()
476 if (strcmp("device_type", (char *)prop->name.val_ptr) == 0) in get_node_type()
477 return (prop->value.val_ptr); in get_node_type()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Dworkfile.c153 if (strcmp("name", (char *)prop->name.val_ptr) == 0) in get_node_name()
154 return (prop->value.val_ptr); in get_node_name()
175 if (strcmp("device_type", (char *)prop->name.val_ptr) == 0) in get_node_type()
176 return (prop->value.val_ptr); in get_node_type()
243 if (prop->name.val_ptr == NULL) in find_prop()
246 while ((prop != NULL) && (strcmp((char *)(prop->name.val_ptr), name))) { in find_prop()
269 return ((void *)(prop->value.val_ptr)); in get_prop_val()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c542 return ((void *)(prop->value.val_ptr)); in get_prop_val()
564 if (prop->name.val_ptr == NULL) in find_prop()
567 while ((prop != NULL) && (strcmp((char *)(prop->name.val_ptr), name))) { in find_prop()
589 if (strcmp("name", (char *)prop->name.val_ptr) == 0) in get_node_name()
590 return (prop->value.val_ptr); in get_node_name()
612 if (strcmp("device_type", (char *)prop->name.val_ptr) == 0) in get_node_type()
613 return (prop->value.val_ptr); in get_node_type()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/starcat/common/
H A Dstarcat.c1100 return ((void *)(prop->value.val_ptr)); in get_prop_val()
1116 if (prop->name.val_ptr != NULL && in find_prop()
1117 strcmp((char *)(prop->name.val_ptr), name) == 0) in find_prop()
1140 if (strcmp("name", (char *)prop->name.val_ptr) == 0) in get_node_name()
1141 return (prop->value.val_ptr); in get_node_name()
1163 if (strcmp("device_type", (char *)prop->name.val_ptr) == 0) in get_node_type()
1164 return (prop->value.val_ptr); in get_node_type()
/titanic_41/usr/src/lib/libprtdiag/inc/
H A Dpdevinfo.h50 void *val_ptr; member
110 char *val_ptr; member
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_ndd.c732 uint32_t *val_ptr, *old_val_ptr; in hxge_param_set_vlan_ids() local
772 val_ptr = (uint32_t *)(uint32_t)pa->value; in hxge_param_set_vlan_ids()
775 val_ptr = (uint32_t *)pa->value; in hxge_param_set_vlan_ids()
781 old_map = (hxge_param_map_t *)&val_ptr[i]; in hxge_param_set_vlan_ids()
804 if (val_ptr[cfg_position] != cfg_value) { in hxge_param_set_vlan_ids()
805 old_val_ptr[cfg_position] = val_ptr[cfg_position]; in hxge_param_set_vlan_ids()
806 val_ptr[cfg_position] = cfg_value; in hxge_param_set_vlan_ids()
841 uint32_t *val_ptr; in hxge_param_get_vlan_ids() local
869 val_ptr = (uint32_t *)(uint32_t)pa->value; in hxge_param_get_vlan_ids()
871 val_ptr = (uint32_t *)pa->value; in hxge_param_get_vlan_ids()
[all …]
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c1344 uint32_t *val_ptr, *old_val_ptr; in nxge_param_set_mac_rdcgrp() local
1370 val_ptr = (uint32_t *)(uint32_t)pa->value; in nxge_param_set_mac_rdcgrp()
1372 val_ptr = (uint32_t *)pa->value; in nxge_param_set_mac_rdcgrp()
1379 if (val_ptr[mac_map->param_id] != cfg_value) { in nxge_param_set_mac_rdcgrp()
1381 val_ptr[mac_map->param_id]; in nxge_param_set_mac_rdcgrp()
1382 val_ptr[mac_map->param_id] = cfg_value; in nxge_param_set_mac_rdcgrp()
1416 uint32_t *val_ptr, *old_val_ptr; in nxge_param_set_vlan_rdcgrp() local
1455 val_ptr = (uint32_t *)(uint32_t)pa->value; in nxge_param_set_vlan_rdcgrp()
1457 val_ptr = (uint32_t *)pa->value; in nxge_param_set_vlan_rdcgrp()
1467 old_map = (nxge_param_map_t *)&val_ptr[i]; in nxge_param_set_vlan_rdcgrp()
[all …]
H A Dnxge_fflp.c2001 uint64_t *val_ptr; in nxge_fflp_update_hw() local
2035 val_ptr = (uint64_t *)(uint32_t)pa->value; in nxge_fflp_update_hw()
2037 val_ptr = (uint64_t *)pa->value; in nxge_fflp_update_hw()
2043 p_map = (nxge_param_map_t *)&val_ptr[i]; in nxge_fflp_update_hw()
2059 val_ptr = (uint64_t *)(uint32_t)pa->value; in nxge_fflp_update_hw()
2061 val_ptr = (uint64_t *)pa->value; in nxge_fflp_update_hw()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl.c798 return ((void *)(prop->value.val_ptr)); in get_prop_val()
829 if (prop->name.val_ptr != NULL && in find_prop()
830 strcmp((char *)(prop->name.val_ptr), name) == 0) in find_prop()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c1938 return ((void *)(prop->value.val_ptr)); in get_prop_val()
1967 (strcmp((char *)(prop->name.val_ptr), name))) in find_prop()
1994 if (strcmp("name", (char *)prop->name.val_ptr) == 0) in get_node_name()
1995 return ((char *)prop->value.val_ptr); in get_node_name()
2022 if (strcmp("device_type", (char *)prop->name.val_ptr) in get_node_type()
2024 return ((char *)prop->value.val_ptr); in get_node_type()