| /illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
| H A D | PropertyWalk.java | 30 package com.sun.solaris.service.pools; 46 * @param val The value representing the current element. 51 public int walk(Element elem, Value val, Object user) argument
|
| H A D | Element.java | 27 package com.sun.solaris.service.pools; 180 Value val = getProperty(name); 182 if (val != null) { 183 String ret = val.getString(); 184 val.close(); 202 Value val = getProperty(name); 204 if (val != null) { 205 long ret = val.getLong(); 206 val.close(); 224 Value val 265 walk(Element elem, Value val, Object user) argument [all...] |
| H A D | PoolInternal.java | 29 package com.sun.solaris.service.pools; 122 String name, long val); 124 String name, long val); 139 final static native void pool_value_set_uint64(long pv, long val); argument 140 final static native void pool_value_set_int64(long pv, long val); argument 141 final static native void pool_value_set_double(long pv, double val); argument 142 final static native void pool_value_set_bool(long pv, short val); argument 143 final static native int pool_value_set_string(long pv, String val); argument 145 final static native int pool_value_set_name(long pv, String val); argument 121 pool_get_property(long conf, long elem, String name, long val) argument 123 pool_put_property(long conf, long elem, String name, long val) argument
|
| /illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | svc.c | 28 * the service schema. The official version of a svc FMRI has the form: 30 * svc://[scope@][system-fqn]/service[:instance][@contract-id] 32 * Where 'service' is a slash-delimited list of names. Of these fields, the 43 * state (present, unusable, service state, and replaced). 182 * svc:/service[:instance] 426 char *service; local 457 * Get the service name. 459 if (nvlist_lookup_string(nvl, FM_FMRI_SVC_NAME, &service) != 0) 477 if (*service == '\0') 480 topo_fmristr_build(&size, buf, buflen, service, "/", NUL 520 char *str, *loc, val; local 708 scf_value_t *val = NULL; local [all...] |
| /illumos-gate/usr/src/lib/libshare/autofs/ |
| H A D | libshare_autofs.c | 296 * service_in_state(service, chkstate) 298 * Want to know if the specified service is in the desired state 303 service_in_state(char *service, const char *chkstate) argument 308 state = smf_get_state(service); 318 restart_service(char *service) argument 323 * Only attempt to restart the service if it is 328 if (service_in_state(service, SCF_STATE_STRING_ONLINE)) { 329 ret = smf_restart_instance(service); 333 * the service into maintenance if there wasn't an 347 if (service_in_state(service, 475 int val; local [all...] |
| /illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
| H A D | cfga_conf.c | 93 static ib_svc_rec_t *ibcfg_vppa_head; /* VPPA service recs */ 94 static ib_svc_rec_t *ibcfg_port_head; /* PORT service recs */ 95 static ib_svc_rec_t *ibcfg_hca_head; /* HCA service recs */ 97 extern char *service_name; /* service name */ 98 extern ib_service_type_t service_type; /* service type */ 135 * val - value just read 144 ib_lex(char *val, char **errmsg) argument 147 char *cp = val; 207 cp = val; 412 * service 422 ib_service_record_add(char *service, ib_service_type_t type) argument [all...] |
| /illumos-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs4_client_secinfo.c | 60 * to return the rpcsec_gss mechanism and service information to nfsstat and 61 * perhaps have nfsstat print out the mech and service seperately... 67 * to rpcsec_gss data (mech, service, default-qop). Now, V4 can return the 87 secinfo4 *val; local 92 val = kmem_alloc( 96 val[0].flavor = AUTH_SYS; 97 val[0].flavor_info.oid.sec_oid4_len = 0; 98 val[0].flavor_info.oid.sec_oid4_val = NULL; 99 val[0].flavor_info.service 155 secinfo2nfsflavor(sec_oid4 *mech_oid, rpc_gss_svc_t service) argument 214 secinfo4 *val = &value[i]; local [all...] |
| /illumos-gate/usr/src/cmd/mdb/common/modules/ipc/ |
| H A D | ipc.c | 250 char *iv_service; /* service pointer */ 392 ipc_service_t service; local 403 if (mdb_vread(&service, sizeof (ipc_service_t), svcptr) == -1) { 408 index = (uint_t)id & (service.ipcs_tabsz - 1); 409 slotptr = (uintptr_t)(service.ipcs_table + index); 455 ipc_service_t service; local 463 if (mdb_vread(&service, sizeof (ipc_service_t), svcptr) == -1) { 484 uintmax_t val; local 492 val = argv[0].a_un.a_val; 494 val [all...] |
| /illumos-gate/usr/src/cmd/svc/svccfg/ |
| H A D | svccfg_internal.c | 133 value_t *val = v; local 135 switch (val->sc_type) { 138 val->sc_u.sc_count ? "true" : "false"); 141 (void) printf(" value = %llu\n", val->sc_u.sc_count); 144 (void) printf(" value = %lld\n", val->sc_u.sc_integer); 157 val->sc_u.sc_string ? val->sc_u.sc_string : "(nil)"); 160 uu_die(gettext("unknown value type (%d)\n"), val->sc_type); 217 (void) printf("service name = %s\n", s->sc_name); 262 entity_t *service; local 530 value_t *val; local 740 internal_attach_value(property_t *prop, value_t *val) argument [all...] |
| H A D | svccfg_xml.c | 34 * so lxml_get_service() fetches a service from the XML file into the 157 "service", /* SC_SERVICE */ 277 if (xmlStrcmp(type, (const xmlChar *)"service") == 0) 382 xmlChar *val; local 386 val = xmlGetProp(n, (xmlChar *)attr); 387 if (val == NULL) 390 if ((xmlStrcmp(val, (xmlChar *)"0") == 0) || 391 (xmlStrcmp(val, (xmlChar *)"false") == 0)) { 393 } else if ((xmlStrcmp(val, (xmlChar *)"1") == 0) || 394 (xmlStrcmp(val, (xmlCha 414 xmlChar *val; local 433 xmlChar *val; local 520 lxml_free_str(value_t *val) argument 665 xmlChar *type, *val, *override; local 965 value_t *val; local 1666 lxml_get_loctext(entity_t *service, pgroup_t *pg, xmlNodePtr loctext, const char *pn_format, const char *source) argument 1671 xmlChar *val; local 1747 lxml_get_all_loctext(entity_t *service, pgroup_t *pg, xmlNodePtr container, const char *pn_format, const char *source) argument 1789 lxml_get_cardinality_attribute(entity_t *service, xmlNodePtr cursor, const char *attr_name, const char *prop_name, uint64_t *value, property_t **propp) argument 1795 xmlChar *val; local 1847 lxml_get_tm_cardinality(entity_t *service, pgroup_t *pg, xmlNodePtr cursor) argument 1909 lxml_get_tm_common_name(entity_t *service, xmlNodePtr common_name) argument 1931 lxml_get_tm_description(entity_t *service, xmlNodePtr description) argument 2050 lxml_get_tm_internal_seps(entity_t *service, pgroup_t *pg, xmlNodePtr seps) argument 2079 lxml_get_tm_manpage(entity_t *service, xmlNodePtr manpage) argument 2141 lxml_get_tm_doclink(entity_t *service, xmlNodePtr doc_link) argument 2177 lxml_get_tm_documentation(entity_t *service, xmlNodePtr documentation) argument 2221 lxml_get_tm_include_values(entity_t *service, pgroup_t *pg, xmlNodePtr include_values, const char *prop_name) argument 2261 verify_range(entity_t *service, xmlNodePtr range, char *min, char *max) argument 2331 lxml_get_tm_range(entity_t *service, pgroup_t *pg, xmlNodePtr range, const char *prop_name) argument 2429 lxml_get_tm_value_element(entity_t *service, pgroup_t *pg, xmlNodePtr value, char **name_value) argument 2519 lxml_get_tm_choices(entity_t *service, pgroup_t *pg, xmlNodePtr choices) argument 2579 lxml_get_tm_constraints(entity_t *service, pgroup_t *pg, xmlNodePtr constraints) argument 2638 lxml_get_tm_values(entity_t *service, pgroup_t *pg, xmlNodePtr values) argument 2696 lxml_get_tm_prop_pattern(entity_t *service, xmlNodePtr prop_pattern, const char *pgpat_name) argument 2959 lxml_get_tm_pg_pattern(entity_t *service, xmlNodePtr pg_pattern) argument 3117 lxml_get_template(entity_t *service, xmlNodePtr templ) argument 3151 lxml_get_default_instance(entity_t *service, xmlNodePtr definst) argument 3207 lxml_get_instance(entity_t *service, xmlNodePtr inst, bundle_type_t bt, svccfg_op_t op) argument 3361 lxml_check_upgrade(const char *service) argument [all...] |
| /illumos-gate/usr/src/uts/common/io/zyd/ |
| H A D | zyd.c | 48 static int zyd_m_stat(void *arg, uint_t stat, uint64_t *val); 291 uint8_t service; local 431 * Compute frame duration and length-extension service flag. 433 service = 0x00; 436 buf_hdr->service = service; 442 buf_hdr->service |= ZYD_TX_SERVICE_LENGTH_EXTENSION; 712 zyd_m_stat(void *arg, uint_t stat, uint64_t *val) argument 723 *val = ((ic->ic_fixed_rate == IEEE80211_FIXED_RATE_NONE) ? 729 *val [all...] |
| /illumos-gate/usr/src/lib/libdladm/common/ |
| H A D | libdlbridge.c | 79 alloc_fmri(const char *service, const char *instance_name) argument 88 (void) snprintf(fmri, max_fmri, "svc:/%s:%s", service, 98 bind_instance(const char *service, const char *instance_name, argument 114 fmri = alloc_fmri(service, instance_name); 211 scf_value_t *val; local 216 if ((val = scf_value_create(sstate->ss_handle)) == NULL) 219 if (scf_property_get_value(sstate->ss_prop, val) == 0 && 220 scf_value_get_count(val, answer) == 0) 224 scf_value_destroy(val); 231 scf_value_t *val; local [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/ |
| H A D | inetconv.c | 27 * inetconv - convert inetd.conf entries into smf(5) service manifests, 79 char *service; member in struct:inetconfent 116 " Service manifest for the %s service.\n" 125 "<service\n" 127 " type='service'\n" 135 " type='service'>\n" 150 " timeout this service, since the forked process is the one that\n" 151 " does the service's work. This is the case for most/all legacy\n" 235 "</service>\n" 316 len = strlen(iconf->service) 707 boolstr(boolean_t val) argument [all...] |
| /illumos-gate/usr/src/cmd/mdb/common/modules/nsctl/ |
| H A D | nsctl.c | 415 uintptr_t service = wsp->walk_addr; local 418 if (!service) 424 /* move on to next service */ 427 service + OFFSETOF(nsc_service_t, s_next)) == -1) { 501 uintptr_t val = wsp->walk_addr; local 504 if (!val) 510 /* move on to next val */ 513 val + OFFSETOF(nsc_val_t, sv_next)) == -1) { 1374 nsc_service_t *service; local 1394 service [all...] |
| /illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
| H A D | network.c | 157 void (*service)(struct connection *, const char *, int); 186 /* crude denial-of-service avoidance support */ 214 #define ADD(set, val, tmpptr) \ 216 ? (set.data[set.n++] = val, 1) \ 242 u_short val; 248 FOREACH_ELT (udp_port_data, i, val) 249 if (s_port == val) 260 u_short val; 266 FOREACH_ELT (tcp_port_data, i, val) 267 if (s_port == val) 156 void (*service)(struct connection *, const char *, int); member in struct:connection 240 u_short val; local 258 u_short val; local [all...] |
| /illumos-gate/usr/src/lib/libsldap/common/ |
| H A D | ns_common.c | 88 static char ** parseDN(const char *val, const char *service); 374 * service. 377 * INPUT: service 384 const char *service, 417 if (service == NULL) { 425 for (i = 0; ns_def_map[i].service != NULL; i++) { 426 if (strcasecmp(service, 427 ns_def_map[i].service) == 0) { 446 if (ns_def_map[i].service 382 __s_api_getDNs( char *** DN, const char *service, ns_ldap_error_t ** error) argument 515 __s_api_get_search_DNs_v1( char *** DN, const char *service, ns_ldap_error_t ** error) argument 554 parseDN( const char *val, const char *service) argument 884 void **val = NULL; local 1580 __s_api_get_SSD_from_SSDtoUse_service(const char *service, ns_ldap_search_desc_t ***SSDlist, ns_ldap_error_t **errorp) argument 1894 __s_api_prepend_automountmapname( const char *service, ns_ldap_search_desc_t ***SSDlist, ns_ldap_error_t **errorp) argument 1932 __s_api_prepend_automountmapname_to_dn( const char *service, char **dn, ns_ldap_error_t **errorp) argument [all...] |
| H A D | ns_reads.c | 104 * Input - service: e.g. hosts, passwd etc. 112 _cvtRDN(const char *service, const char *rdn) { argument 135 mapp = __ns_ldap_getOrigAttribute(service, type); 213 * Input - service: e.g. hosts, passwd etc. 219 _cvtDN(const char *service, const char *dn) { argument 224 if (service == NULL || dn == NULL) 240 if ((new_rdn = _cvtRDN(service, rdns[i])) != NULL) { 302 const char *service, 336 if (service != NULL && 337 (strncasecmp(service, "auto 301 __s_api_cvtEntry(LDAP *ld, const char *service, LDAPMessage *e, int flags, ns_ldap_entry_t **ret, ns_ldap_error_t **error) argument 1080 char *service, *filter, *err; local 1749 char *service; member in struct:servicesorttype 1760 get_srvsidesort_type(char *service) argument 1782 update_srvsidesort_type(char *service, ns_srvsidesort_t type) argument 2988 check_shadow(ns_ldap_cookie_t *cookie, const char *service) argument 3050 ldap_list( ns_ldap_list_batch_t *batch, const char *service, const char *filter, const char *sortattr, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int *rcp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata, ns_conn_user_t *conn_user) argument 3275 __ns_ldap_list( const char *service, const char *filter, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata) argument 3308 __ns_ldap_list_sort( const char *service, const char *filter, const char *sortattr, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata) argument 3355 __ns_ldap_list_batch_add( ns_ldap_list_batch_t *batch, const char *service, const char *filter, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, ns_ldap_result_t **rResult, ns_ldap_error_t **errorp, int *rcp, int (*callback)(const ns_ldap_entry_t *entry, const void *userdata), const void *userdata) argument 3715 firstEntry( const char *service, const char *filter, const char *sortattr, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, void **vcookie, ns_ldap_result_t **result, ns_ldap_error_t ** errorp, const void *userdata, ns_conn_user_t *conn_user) argument 3918 __ns_ldap_firstEntry( const char *service, const char *filter, const char *vlv_sort, int (*init_filter_cb)(const ns_ldap_search_desc_t *desc, char **realfilter, const void *userdata), const char * const *attribute, const ns_cred_t *auth, const int flags, void **vcookie, ns_ldap_result_t **result, ns_ldap_error_t ** errorp, const void *userdata) argument 4422 __ns_ldap_getServiceAuthMethods(const char *service, ns_auth_t ***auth, ns_ldap_error_t **errorp) argument 4531 __s_api_convert_automountmapname(const char *service, char **dn, ns_ldap_error_t **errp) argument 5110 unescape_filterval(char *val) argument 5172 adj_substring_filter(char *val) argument 5660 char service[] = "shadow"; local [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
| H A D | pppoec.c | 71 static char *service = ""; /* saved service name from command line */ variable 623 (void) poe_add_str(poep, POETT_SERVICE, service); 822 * offered services in the PADO based on the user's requested service 823 * name. If the server offered "wildcard" service, then we ask for 824 * this only if we can't find the user's requested service. 866 if (service[0] == '\0' || 867 (tlen == strlen(service) && 868 memcmp(service, POET_DATA(tagp), tlen) == 0)) { 895 if (haswild && service[ 1077 uint32_t val; local [all...] |
| /illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
| H A D | mount.c | 203 * NFS service on the server to see which responds positively. 407 char *service; local 955 convert_int(int *val, char *str) argument 966 *val = (int)lval; 973 char *saveopt, *optstr, *opts, *newopts, *val; local 1006 switch (getsubopt(&opts, optlist, &val)) { 1050 if (convert_int(&num, val) != 0) 1069 if (convert_int(&args->rsize, val) != 0) 1074 if (convert_int(&args->wsize, val) != 0) 1079 if (convert_int(&args->timeo, val) ! [all...] |
| /illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
| H A D | ldapaddent.c | 77 static int get_basedn(char *service, char **basedn); 132 in_addr_t val; local 140 val = 0; base = 10; 151 val = (val * base) + (c - '0'); 156 val = (val << 4) + (c + 10 - (islower(c) ? 'a' : 'A')); 165 *pp++ = val, cp++; 170 *pp++ = val; 174 for (val 4130 dumptable(char *service) argument 4625 get_basedn(char *service, char **basedn) argument [all...] |
| /illumos-gate/usr/src/lib/libshare/smb/ |
| H A D | libshare_smb.c | 297 * Determine if the SMF service instance is in the online state or 316 * Determine if the SMF service instance is in the disabled state or 335 * Determine if the SMF service instance auto_enabled set or not. A 360 * Determine if the SMF service instance is in the disabled state or 399 "SMB: service not supported with Trusted Extensions\n")); 448 "SMB: Unable to enable service\n")); 455 * Don't bother trying to start shares if the service isn't 535 * service up will enable the share that was just added prior 935 int val; local 936 val 955 int val; local 1318 scf_service_t *service; local 1456 char *service[] = { SMBD_DEFAULT_INSTANCE_FMRI, NULL }; local 2116 char *val = NULL; local 2382 char *name, *val; local 2429 char *val; local 2446 char *val; local [all...] |
| /illumos-gate/usr/src/lib/libshare/nfs/ |
| H A D | libshare_nfs.c | 925 uint32_t val; local 938 val = strtoul(value, NULL, 0); 943 val = pw->pw_uid; 945 val = UID_NOBODY; 949 export->ex_anon = val; 1130 uint32_t val; local 1198 val = strtoul(value, NULL, 0); 1203 val = pw->pw_uid; 1205 val = UID_NOBODY; 1209 sp->s_rootid = val; 2672 char *service; local 2872 service_in_state(char *service, const char *chkstate) argument 2900 char *service; local 2988 int val; local 3049 int val; local [all...] |
| /illumos-gate/usr/src/cmd/svc/configd/ |
| H A D | rc_node.c | 50 * Multiple threads may service client requests, so access to each 85 * Because name service lookups may take a long time and, more importantly 151 * union of its properties and its service's properties. Similarly the 171 * parent service. For snapshots they point to the child snaplevels, and for 249 * specific than one that is declared in a service PG. 318 * interprets them in a service-independent fashion. 451 PC_AUTH_SVC, /* strings specified in PG of a service. */ 1232 rc_notify_deletion(rc_notify_delete_t *ndp, const char *service, argument 1242 "svc:/%s%s%s%s%s", service, 2606 * Assuming that ent is a service o 2772 rc_node_assign(rc_node_ptr_t *out, rc_node_t *val) argument 2804 rc_node_ptr_assign(rc_node_ptr_t *out, const rc_node_ptr_t *val) argument [all...] |
| /illumos-gate/usr/src/cmd/svc/svcs/ |
| H A D | svcs.c | 29 * svcs - display attributes of service instances 37 * mechanisms available for this format are service FMRIs (selects all child 109 const char *service; member in struct:pfmri_list 141 * Used for reading the ctid and (start) pid files for an inetd service. 622 uint_t *np, scf_property_t *prop, scf_value_t *val, scf_iter_t *iter) 645 r = scf_iter_next_value(iter, val); 651 if (scf_value_get_count(val, &c) != 0) 979 * group is non-NULL, then we are dealing with a legacy service. 1659 * There's something amiss with our service 1818 s = gettext("contract ID for service (se 621 propvals_to_pids(scf_propertygroup_t *pg, const char *pname, pid_t **pidsp, uint_t *np, scf_property_t *prop, scf_value_t *val, scf_iter_t *iter) argument 2215 scf_value_t *val; local [all...] |
| /illumos-gate/usr/src/cmd/svc/startd/ |
| H A D | graph.c | 31 * The graph engine keeps a dependency graph of all service instances on the 33 * be brought up or down based on service states and dependencies and sends 40 * of object it represents: GVT_INST for service instances, GVT_SVC for 41 * service objects (since service instances may depend on another service, 42 * rather than service instance), GVT_FILE for files (which services may 50 * adds a GVT_SVC vertex for the service if one does not already exist, adds 55 * - an edge from the GVT_SVC vertex for the instance's service 73 * there are problems, or if a service i 2345 const char *scope, *service, *instance, *pg; local 3904 scf_value_t *val; local 5962 scf_value_t *val; local 6089 scf_value_t *val; local 6281 scf_value_t *val = NULL; local 6482 scf_value_t *val; local [all...] |