| /netvirt/usr/src/cmd/hal/hald/ |
| property.c | 55 hal_property_free (HalProperty *prop) 58 g_free (prop->key); 60 if (prop->type == HAL_PROPERTY_TYPE_STRING) { 61 g_free (prop->v.str_value); 62 } else if (prop->type == HAL_PROPERTY_TYPE_STRLIST) { 64 for (i = prop->v.strlist_value; i != NULL; i = g_slist_next (i)) { 67 g_slist_free (prop->v.strlist_value); 70 g_free (prop); 76 HalProperty *prop; local 80 prop = g_new0 (HalProperty, 1) 103 HalProperty *prop; local 117 HalProperty *prop; local 131 HalProperty *prop; local 145 HalProperty *prop; local 378 HalProperty *prop; local [all...] |
| property.h | 48 void hal_property_free (HalProperty *prop); 62 const char *hal_property_get_key (HalProperty *prop); 63 int hal_property_get_type (HalProperty *prop); 64 char *hal_property_to_string (HalProperty *prop); 66 const char *hal_property_get_string (HalProperty *prop); 67 dbus_int32_t hal_property_get_int (HalProperty *prop); 68 dbus_uint64_t hal_property_get_uint64 (HalProperty *prop); 69 dbus_bool_t hal_property_get_bool (HalProperty *prop); 70 double hal_property_get_double (HalProperty *prop); 71 GSList *hal_property_get_strlist (HalProperty *prop); [all...] |
| device.c | 494 HalProperty *prop; local 496 prop = hal_device_property_find (device, key); 497 if (!prop) 500 return hal_property_to_string (prop); 527 HalProperty *prop; local 532 prop = hal_device_property_find (device, key); 534 if (prop != NULL) 535 return hal_property_get_type (prop); 543 HalProperty *prop; local 548 prop = hal_device_property_find (device, key) 559 HalProperty *prop; local 623 HalProperty *prop; local 639 HalProperty *prop; local 655 HalProperty *prop; local 671 HalProperty *prop; local 688 HalProperty *prop; local 724 HalProperty *prop; local 758 HalProperty *prop; local 792 HalProperty *prop; local 826 HalProperty *prop; local 894 HalProperty *prop; local 917 HalProperty *prop; local 1040 HalProperty *prop; local 1087 HalProperty *prop; local 1124 HalProperty *prop; local 1156 HalProperty *prop; local 1188 HalProperty *prop; local 1212 HalProperty *prop; local 1246 HalProperty *prop; local 1285 HalProperty *prop; local [all...] |
| /netvirt/usr/src/common/zfs/ |
| zpool_prop.c | 124 zpool_prop_to_name(zpool_prop_t prop) 126 return (zpool_prop_table[prop].pd_name); 130 zpool_prop_get_type(zpool_prop_t prop) 132 return (zpool_prop_table[prop].pd_proptype); 136 zpool_prop_readonly(zpool_prop_t prop) 138 return (zpool_prop_table[prop].pd_attr == PROP_READONLY); 142 zpool_prop_default_string(zpool_prop_t prop) 144 return (zpool_prop_table[prop].pd_strdefault); 148 zpool_prop_default_numeric(zpool_prop_t prop) 150 return (zpool_prop_table[prop].pd_numdefault) [all...] |
| zfs_prop.c | 286 zfs_prop_delegatable(zfs_prop_t prop) 288 zprop_desc_t *pd = &zfs_prop_table[prop]; 343 zfs_prop_string_to_index(zfs_prop_t prop, const char *string, uint64_t *index) 345 return (zprop_string_to_index(prop, string, index, ZFS_TYPE_DATASET)); 349 zfs_prop_index_to_string(zfs_prop_t prop, uint64_t index, const char **string) 351 return (zprop_index_to_string(prop, index, string, ZFS_TYPE_DATASET)); 358 zfs_prop_valid_for_type(int prop, zfs_type_t types) 360 return (zprop_valid_for_type(prop, types)); 364 zfs_prop_get_type(zfs_prop_t prop) 366 return (zfs_prop_table[prop].pd_proptype) [all...] |
| zprop_common.c | 70 register_impl(int prop, const char *name, zprop_type_t type, 78 pd = &prop_tbl[prop]; 83 pd->pd_propnum = prop; 97 register_string(int prop, const char *name, const char *def, 101 register_impl(prop, name, PROP_TYPE_STRING, 0, def, attr, 107 register_number(int prop, const char *name, uint64_t def, zprop_attr_t attr, 110 register_impl(prop, name, PROP_TYPE_NUMBER, def, NULL, attr, 115 register_index(int prop, const char *name, uint64_t def, zprop_attr_t attr, 119 register_impl(prop, name, PROP_TYPE_INDEX, def, NULL, attr, 124 register_hidden(int prop, const char *name, zprop_type_t type 161 int i, num_props, size, prop; local 251 int prop; local [all...] |
| /netvirt/usr/src/cmd/iscsi/iscsitgtd/ |
| mgmt_remove.c | 99 char *prop; local 105 if (tgt_find_value_str(x, XML_ELEMENT_NAME, &prop) == False) { 112 free(prop); 122 if (zfs_iscsi_perm_check(zh, prop, cred) != 0) { 124 free(prop); 134 if (strcmp(targ->x_value, prop) == 0) 137 free(prop); 146 if (tgt_find_value_str(targ, XML_ELEMENT_INAME, &prop) == 163 if (isns_dereg(prop) != 0) 166 logout_targ(prop); 177 char *prop = NULL; local 339 char *prop = NULL; local [all...] |
| mgmt_modify.c | 112 char *prop = NULL; local 169 if (tgt_find_value_str(x, XML_ELEMENT_SIZE, &prop) == True) { 170 if (prop == NULL) { 174 if (strtoll_multiplier(prop, &new_lu_size) == False) { 175 free(prop); 179 free(prop); 193 if (tgt_find_value_str(node, XML_ELEMENT_SIZE, &prop) == 198 if (strtoll_multiplier(prop, &cur_lu_size) == False) { 199 free(prop); 203 free(prop); 442 char *prop = NULL; local 518 char *prop; local 632 char *prop = NULL; local [all...] |
| mgmt_list.c | 96 char *prop = NULL; local 107 if ((tgt_find_value_str(x, XML_ELEMENT_NAME, &prop) == True) && 108 (prop == NULL)) { 131 if (prop != NULL) { 132 if (strcmp(prop, targ->x_value) == 0) { 160 free(prop); 171 char *prop = NULL; local 176 if ((tgt_find_value_str(x, XML_ELEMENT_NAME, &prop) == True) && 177 (prop == NULL)) { 186 if ((prop == NULL) | 228 char *prop = NULL; local 353 char *prop; local [all...] |
| /netvirt/usr/src/lib/smbsrv/libmlsvc/common/ |
| smb_share_util.c | 43 sa_property_t prop; local 56 prop = (sa_property_t)sa_get_property(opts, SHOPT_AD_CONTAINER); 57 if (prop != NULL) { 58 if ((val = sa_get_property_attr(prop, "value")) != NULL) { 65 prop = (sa_property_t)sa_get_property(opts, "description"); 66 if (prop != NULL) { 67 if ((val = sa_get_property_attr(prop, "value")) != NULL) {
|
| /netvirt/usr/src/lib/libzfs_jni/common/ |
| libzfs_jni_property.c | 47 zfs_prop_t prop; member in struct:custom_prop_desct 167 create_BasicProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop, 178 int result = zfs_prop_get(zhp, prop, propbuf, 186 zhp, prop, &value, &srctype, source, sizeof (source)); 199 env, zfs_prop_to_name(prop)); 201 jboolean readOnly = zfs_prop_readonly(prop) ? 239 create_BooleanProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop) 241 return (create_BasicProperty(env, zhp, prop, NULL, zjni_int_to_boolean, 246 create_LongProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop) 248 return (create_BasicProperty(env, zhp, prop, NULL, zjni_long_to_Long 547 zfs_prop_t prop; local 574 jobject prop; local 591 ((zjni_Collection_t *)proplist)->method_add, prop); local 614 ((zjni_Collection_t *)proplist)->method_add, prop); local 636 ((zjni_Collection_t *)proplist)->method_add, prop); local 660 ((zjni_Collection_t *)proplist)->method_add, prop); local [all...] |
| /netvirt/usr/src/cmd/eeprom/i386/ |
| benv_kvm.c | 35 static int getpropval(struct openpromio *opp, char *prop); 129 getpropval(struct openpromio *opp, char *prop) 133 (void) strlcpy(opp->oprom_array, prop, MAXPROPSIZE); 142 getnextprop(struct openpromio *opp, char *prop) 146 (void) strlcpy(opp->oprom_array, prop, MAXPROPSIZE); 161 prom_getprop(char *prop, int *lenp) 165 if (!getpropval(opp, prop)) 172 prom_nextprop(char *prop) 176 if (!getnextprop(opp, prop)) 223 ddi_prop_t *prop, *plist local [all...] |
| /netvirt/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
| class_id.c | 47 opp_zalloc(size_t size, const char *prop) 54 if (prop != NULL) 55 (void) strcpy(opp->oprom_array, prop); 86 return_property(int prom_fd, const char *prop) 90 struct openpromio *opp = opp_zalloc(strlen(prop) + 1, prop); 101 if (proplen > (strlen(prop) + 1)) { 103 opp = opp_zalloc(proplen, prop);
|
| /netvirt/usr/src/lib/libdevinfo/ |
| devinfo.c | 1271 di_prop_next(di_node_t node, di_prop_t prop) 1284 * Find which prop list we are at 1286 if (prop != DI_PROP_NIL) 1287 list = DI_PROP(prop)->prop_list; 1292 prop = di_prop_drv_next(node, prop); 1295 prop = di_prop_sys_next(node, prop); 1298 prop = di_prop_global_next(node, prop); 1486 di_prop_t prop = DI_PROP_NIL; local 1512 di_prop_t prop = DI_PROP_NIL; local 1538 di_prop_t prop; local 1551 di_prop_t prop; local 1564 di_prop_t prop; local 1577 di_prop_t prop; local 2054 di_path_prop_t prop = DI_PROP_NIL; local 2087 di_path_prop_t prop; local 2100 di_path_prop_t prop; local 2113 di_path_prop_t prop; local 2125 di_path_prop_t prop; local 2394 struct di_prom_prop *prop = (struct di_prom_prop *)prom_prop; local 2544 struct di_prom_prop *prop; local 2644 struct di_prom_prop *prop; local 2670 struct di_prom_prop *prop; local 2713 struct di_prom_prop *prop; local 2769 di_prop_t prop; local [all...] |
| /netvirt/usr/src/lib/libpicltree/ |
| ptree_impl.h | 117 picl_obj_t *nodep; /* prop's node or table */ 154 picl_prop_t prop; member in union:picl_obj::__anon3312 158 #define pinfo_ver u.prop.info.version 159 #define prop_type u.prop.info.piclinfo.type 160 #define prop_size u.prop.info.piclinfo.size 161 #define prop_mode u.prop.info.piclinfo.accessmode 162 #define prop_name u.prop.info.piclinfo.name 163 #define prop_val u.prop.pvalue 164 #define next_row u.prop.next_by_row 165 #define next_col u.prop.next_by_co [all...] |
| /netvirt/usr/src/psm/stand/cpr/common/ |
| support.c | 95 cprop_t *prop, *tail; local 133 for (prop_errors = 0, prop = cdef.props, tail = prop + CPR_MAXPROP; 134 prop < tail; prop++) { 137 prop->mod, prop->name, prop->value); 139 if (prop->mod != PROP_MOD) 142 len = prom_strlen(prop->value) [all...] |
| /netvirt/usr/src/lib/fm/topo/libtopo/common/ |
| topo_protocol.c | 45 nvlist_t *prop, *ap; local 48 TOPO_PROP_ASRU, priv, &prop, err) < 0) 51 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &ap) != 0 || 54 nvlist_free(prop); 58 nvlist_free(prop); 66 nvlist_t *prop, *fp; local 69 priv, &prop, err) < 0) 72 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &fp) != 0 || 75 nvlist_free(prop); 79 nvlist_free(prop); [all...] |
| /netvirt/usr/src/cmd/mdb/common/modules/usba/ |
| usba.c | 52 ddi_prop_t prop; local 55 if (mdb_vread(&prop, sizeof (prop), p) == -1) { 60 (uintptr_t)prop.prop_name) == -1) { 69 p = (uintptr_t)prop.prop_next;
|
| /netvirt/usr/src/uts/common/sys/scsi/adapters/ |
| mpapi_scsi_vhci.h | 94 void *resp; /* initiator-port prop */ 97 mp_init_port_prop_t prop; member in struct:mpapi_initiator_data 108 mp_logical_unit_prop_t prop; member in struct:mpapi_lu_data 119 mp_path_prop_t prop; member in struct:mpapi_path_data 131 mp_tpg_prop_t prop; member in struct:mpapi_tpg_data 138 void *resp; /* target port prop */ 141 mp_target_port_prop_t prop; member in struct:mpapi_tport_data
|
| /netvirt/usr/src/cmd/pools/poolcfg/ |
| poolcfg.h | 51 typedef struct prop { struct 55 struct prop *prop_next;
|
| /netvirt/usr/src/lib/libprtdiag/common/ |
| pdevinfo_funcs.c | 120 Prop *prop = NULL; /* tail of properties list */ local 126 /* get first prop by asking for null string */ 137 Prop *new; 160 if ((new = malloc(sizeof (Prop))) == NULL) { 227 else if (prop != NULL) 228 prop->next = new; 229 prop = new; 230 prop->next = NULL; 318 Prop *prop = node->props local 341 Prop *prop = node->props; local 412 Prop *prop; local 434 Prop *prop; local 616 Prop *prop; local 760 Prop *prop; local [all...] |
| /netvirt/usr/src/lib/libinetsvc/common/ |
| inetsvc.c | 151 find_prop(const inetd_prop_t *prop, const char *name, inet_type_t type) 155 while (prop[i].ip_name != NULL && strcmp(name, prop[i].ip_name) != 0) 158 if (prop[i].ip_name == NULL) 161 if (prop[i].ip_type != type) 164 return ((inetd_prop_t *)prop + i); 173 get_prop_value_int(const inetd_prop_t *prop, const char *name) 177 p = find_prop(prop, name, INET_TYPE_INTEGER); 187 get_prop_value_count(const inetd_prop_t *prop, const char *name) 191 p = find_prop(prop, name, INET_TYPE_COUNT) 1431 scf_property_t *prop = NULL; local [all...] |
| /netvirt/usr/src/lib/libscf/common/ |
| midlevel.c | 96 const char *prop) 102 if (prop == NULL) { 121 strlen(prop) + 1; 145 (void) strcat(fmri_buf, prop); 155 fill_prop(scf_property_t *prop, const char *pgname, const char *propname, 192 if (scf_property_type(prop, &ret->pr_type) == -1) 202 if (scf_iter_property_values(iter, prop) == -1) 378 scf_simple_pg *thispg, scf_property_t *prop, size_t namelen, 385 while ((propiter_ret = scf_iter_next_property(propiter, prop)) == 1) { 387 if (scf_property_get_name(prop, propname, namelen) < 0) 736 scf_property_t *prop = NULL; local 972 scf_property_t *prop = NULL; local 1206 scf_simple_prop_t *prop; local 1234 scf_simple_prop_t *prop; local 1262 scf_simple_prop_t *prop; local 1432 scf_property_t *prop = scf_property_create(simple_h->h); local 1635 scf_property_t *prop = NULL; local 1770 scf_property_t *prop = NULL; local 2211 scf_simple_prop_t *prop; local [all...] |
| /netvirt/usr/src/uts/sun4v/promif/ |
| promif_stree.c | 156 void *prop; local 167 prop = getprop(pnp, name); 168 bcopy(prop, value, len); 258 * getting next of NULL or a null string returns the first prop name 278 struct prom_prop *prop; local 290 for (prop = pnp->pn_propp; prop; prop = prop->pp_next) 291 if (prom_strcmp(prop->pp_name, name) == 0) 421 struct prom_prop *prop; local [all...] |
| /netvirt/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
| picld_pluginutil_impl.h | 109 prop_cmd_t prop; member in union:__anon1007::__anon1008 137 #define propcmd_proph u.prop.proph 138 #define propcmd_pname u.prop.pname 139 #define propcmd_type u.prop.type 140 #define propcmd_accessmode u.prop.accessmode 141 #define propcmd_size u.prop.size 142 #define propcmd_valbuf u.prop.valbuf
|