Searched defs:attrs (Results 51 - 75 of 200) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/tnf/prex/
H A Dexpr.c67 static boolean_t matchattrs(expr_t * expr_p, const char *attrs);
197 const char *attrs)
202 if (matchattrs(expr_p, attrs))
223 const char *attrs)
231 (char *) attrs, matchvals, (void *) &args);
196 expr_match(expr_t * list_p, const char *attrs) argument
222 matchattrs(expr_t * expr_p, const char *attrs) argument
H A Dprbk.c82 tnfctl_trace_attrs_t attrs; local
84 if (check_kernelmode(&attrs))
86 if (attrs.trace_buf_state == TNFCTL_BUF_NONE) {
90 attrs.trace_buf_size);
91 if (attrs.trace_buf_state == TNFCTL_BUF_BROKEN) {
107 tnfctl_trace_attrs_t attrs; local
109 if (check_kernelmode(&attrs))
112 if (attrs.trace_buf_state != TNFCTL_BUF_NONE) {
117 if (size < attrs.trace_min_size) {
121 size, attrs
298 tnfctl_trace_attrs_t attrs; local
336 tnfctl_trace_attrs_t attrs; local
381 tnfctl_trace_attrs_t attrs; local
[all...]
H A Dspec.c203 char *attrs,
224 refptr = strdup(attrs);
225 escptr = strdup(attrs);
202 spec_attrtrav(spec_t * spec_p, char *attrs, spec_attr_fun_t fun, void *calldatap) argument
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_keys.c41 crypto_mechanism_t *mech, crypto_object_attribute_t *attrs, uint_t count,
62 mech, attrs, count, handle, KCF_SWFP_RHNDL(crq));
66 mech, attrs, count, handle, NULL, 0, NULL, NULL, NULL, 0);
160 crypto_object_attribute_t *attrs, uint_t count, crypto_object_id_t *key,
181 unwrapping_key, wrapped_key, wrapped_key_len, attrs,
186 attrs, count, key, NULL, 0, NULL, unwrapping_key,
200 crypto_object_attribute_t *attrs, uint_t count,
221 attrs, count, new_key, KCF_SWFP_RHNDL(crq));
225 attrs, count, new_key, NULL, 0, NULL, base_key, NULL, NULL);
40 crypto_key_generate(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_object_attribute_t *attrs, uint_t count, crypto_object_id_t *handle, crypto_call_req_t *crq) argument
157 crypto_key_unwrap(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *unwrapping_key, uchar_t *wrapped_key, size_t *wrapped_key_len, crypto_object_attribute_t *attrs, uint_t count, crypto_object_id_t *key, crypto_call_req_t *crq) argument
198 crypto_key_derive(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *base_key, crypto_object_attribute_t *attrs, uint_t count, crypto_object_id_t *new_key, crypto_call_req_t *crq) argument
/illumos-gate/usr/src/lib/sun_fc/common/
H A DTgtFCHBA.cc65 HBA_ADAPTERATTRIBUTES attrs = getHBAAttributes(); local
66 name = attrs.Manufacturer;
68 name += attrs.Model;
94 fc_tgt_hba_adapter_attributes_t attrs; local
125 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
127 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
147 attributes.NumberOfPorts = attrs.NumberOfPorts;
148 attributes.VendorSpecificID = attrs.VendorSpecificID;
149 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64);
150 memcpy(attributes.SerialNumber, attrs
[all...]
H A DTgtFCHBAPort.cc232 HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp); local
233 memcpy(&tmp, &attrs.PortWWN, 8);
235 memcpy(&tmp, &attrs.NodeWWN, 8);
250 fc_tgt_hba_port_attributes_t attrs; local
272 fctio.fctio_olen = (uint32_t)(sizeof (attrs));
273 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs;
277 stateChange = attrs.lastChange;
279 attributes.PortFcId = attrs.PortFcId;
280 attributes.PortType = attrs.PortType;
281 attributes.PortState = attrs
304 fc_tgt_hba_port_attributes_t attrs; local
360 fc_tgt_hba_port_attributes_t attrs; local
415 HBA_PORTATTRIBUTES attrs; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c235 fca_port_attrs_t *attrs = &port_info->pi_attrs; local
244 attrs = &port_info->pi_attrs;
247 (void) snprintf(attrs->manufacturer, FCHBA_MANUFACTURER_LEN,
249 (void) snprintf(attrs->driver_name, FCHBA_DRIVER_NAME_LEN,
251 (void) snprintf(attrs->driver_version, FCHBA_DRIVER_VERSION_LEN,
255 attrs->serial_number, FCHBA_SERIAL_NUMBER_LEN)) == -1) {
256 attrs->serial_number[0] = '\0';
258 attrs->hardware_version[0] = '\0';
261 (void) snprintf(attrs->firmware_version, FCHBA_FIRMWARE_VERSION_LEN,
271 int8_t *orv = &*attrs
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_cq.c267 ibt_cq_handler_id_t hid, ibt_cq_handler_attr_t *attrs)
270 hca_hdl, hid, attrs);
273 IBTL_HCA2CIHCA(hca_hdl), hid, attrs));
266 ibt_query_cq_handler_id(ibt_hca_hdl_t hca_hdl, ibt_cq_handler_id_t hid, ibt_cq_handler_attr_t *attrs) argument
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregcoll.c53 Dt_t* attrs; member in struct:Local_s
85 if (!(local.attrs = dtopen(&local.dtdisc, Dttree)))
94 dtclose(local.attrs);
103 dtinsert(local.attrs, w);
177 if (!local.attrs && initialize())
214 if (a = (Ucs_map_t*)dtmatch(local.attrs, b))
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c38 lpsched_printer_status_to_attributes(papi_attribute_t ***attrs, argument
41 if (attrs == NULL)
48 papiAttributeListAddInteger(attrs,
53 papiAttributeListAddInteger(attrs,
57 papiAttributeListAddString(attrs, PAPI_ATTR_REPLACE,
60 papiAttributeListAddInteger(attrs, PAPI_ATTR_REPLACE,
62 papiAttributeListAddString(attrs, PAPI_ATTR_REPLACE,
65 papiAttributeListAddInteger(attrs, PAPI_ATTR_REPLACE,
67 papiAttributeListAddString(attrs, PAPI_ATTR_REPLACE,
71 papiAttributeListAddInteger(attrs, PAPI_ATTR_REPLAC
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_nvpair.c56 * @param attrs
73 nvlist_t *attrs,
79 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT16, NULL);
93 * @param attrs
113 nvlist_t *attrs,
119 if ((error = nvlist_add_uint16(attrs, which, val)) != 0) {
130 * @param attrs
147 nvlist_t *attrs,
153 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT32, NULL);
167 * @param attrs
72 get_uint16( nvlist_t *attrs, char *which, uint16_t *val) argument
112 set_uint16( nvlist_t *attrs, char *which, uint16_t val) argument
146 get_uint32( nvlist_t *attrs, char *which, uint32_t *val) argument
186 set_uint32( nvlist_t *attrs, char *which, uint32_t val) argument
220 get_uint64( nvlist_t *attrs, char *which, uint64_t *val) argument
260 set_uint64( nvlist_t *attrs, char *which, uint64_t val) argument
297 set_boolean( nvlist_t *attrs, char *which, boolean_t val) argument
328 get_boolean( nvlist_t *attrs, char *which, boolean_t *boolval) argument
366 get_string( nvlist_t *attrs, char *which, char **str) argument
406 set_string( nvlist_t *attrs, char *which, char *val) argument
443 get_uint16_array( nvlist_t *attrs, char *which, uint16_t **val, uint_t *nelem) argument
487 set_uint16_array( nvlist_t *attrs, char *which, uint16_t *val, uint_t nelem) argument
527 get_uint64_array( nvlist_t *attrs, char *which, uint64_t **val, uint_t *nelem) argument
571 set_uint64_array( nvlist_t *attrs, char *which, uint64_t *val, uint_t nelem) argument
611 get_string_array( nvlist_t *attrs, char *which, char ***val, uint_t *nelem) argument
655 set_string_array( nvlist_t *attrs, char *which, char **val, uint_t nelem) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dldap_common.h123 const char **attrs; member in struct:ldap_backend
139 char *tablename, const char **attrs, fnf ldapobj2str);
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Djob.c302 papi_attribute_t **attrs = getprinterbyname(destination, NULL); local
304 papiAttributeListGetString(attrs, NULL,
307 papiAttributeListFree(attrs);
H A Dprinter.c176 papi_attribute_t **attrs; local
183 while ((attrs = getprinterentry(NULL)) != NULL) {
189 p->attributes = attrs;
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs,
71 return (ldap_add_ext(ld, dn, attrs,
77 char *dn, LDAPMod **attrs,
82 return (ldap_add_ext_s(ld, dn, attrs, serverctrls, clientctrls));
87 char *dn, LDAPMod **attrs)
91 return (ldap_add(ld, dn, attrs));
96 char *dn, LDAPMod **attrs)
100 return (ldap_add_s(ld, dn, attrs));
317 char **attrs, int attrsonly, LDAPControl **serverctrls,
324 attrs, attrsonl
65 _ns_ldap_add_ext(char *service, int flags, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp) argument
76 _ns_ldap_add_ext_s(char *service, int flags, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls) argument
86 _ns_ldap_add(char *service, int flags, char *dn, LDAPMod **attrs) argument
95 _ns_ldap_add_s(char *service, int flags, char *dn, LDAPMod **attrs) argument
315 _ns_ldap_search_ext(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp) argument
329 _ns_ldap_search_ext_s(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res) argument
343 _ns_ldap_search(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly) argument
353 _ns_ldap_search_s(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPMessage **res) argument
364 _ns_ldap_search_st(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res) argument
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPHeaderV1.java765 parseAttributeVectorOut(Vector attrs, argument
769 Enumeration en = attrs.elements();
836 Vector attrs)
847 return new SLPV1SDAAdvert(this, xid, timestamp, url, scopes, attrs);
832 getDAAdvert(short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c79 inuse_fs(char *slice, nvlist_t *attrs, int *errp) argument
108 libdiskmgt_add_str(attrs, DM_USED_BY, DM_USE_FS, errp);
109 libdiskmgt_add_str(attrs, DM_USED_NAME, hp->type, errp);
141 libdiskmgt_add_str(attrs, DM_USED_BY, DM_USE_VFSTAB, errp);
142 libdiskmgt_add_str(attrs, DM_USED_NAME, mountp, errp);
H A Dinuse_mnt.c75 inuse_mnt(char *slice, nvlist_t *attrs, int *errp) argument
108 libdiskmgt_add_str(attrs, DM_USED_BY, DM_USE_MOUNT, errp);
109 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->mountp, errp);
H A Dinuse_vxvm.c82 inuse_vxvm(char *slice, nvlist_t *attrs, int *errp) argument
126 libdiskmgt_add_str(attrs, DM_USED_BY,
128 libdiskmgt_add_str(attrs, DM_USED_NAME,
H A Dmedia.c49 static int get_attrs(disk_t *dp, int fd, nvlist_t *attrs);
122 nvlist_t *attrs = NULL; local
130 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) {
137 if ((*errp = get_attrs(dp->p.disk, fd, attrs)) != 0) {
138 nvlist_free(attrs);
139 attrs = NULL;
146 return (attrs);
370 get_attrs(disk_t *dp, int fd, nvlist_t *attrs) argument
387 if (nvlist_add_boolean(attrs, DM_FDISK) != 0) {
393 if (nvlist_add_boolean(attrs, DM_REMOVABL
[all...]
H A Dpartition.c62 nvlist_t *attrs);
230 nvlist_t *attrs = NULL; local
242 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) {
247 if ((*errp = get_attrs(dp, iparts, attrs)) != 0) {
248 nvlist_free(attrs);
249 attrs = NULL;
252 return (attrs);
420 get_attrs(descriptor_t *dp, struct ipart *iparts, nvlist_t *attrs) argument
449 if (nvlist_add_uint32(attrs, DM_PARTITION_TYPE,
454 if (nvlist_add_uint32(attrs, DM_PARTITION_TYP
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsearch.c49 const char *filter, char **attrs, int attrsonly,
63 const char *filter, char **attrs, int attrsonly,
77 * attrs list of attribute types to return for matches
81 * char *attrs[] = { "mail", "title", 0 };
83 * attrs, attrsonly );
92 char **attrs,
100 if ( ldap_search_ext( ld, base, scope, filter, attrs, attrsonly, NULL,
120 char **attrs,
140 return( nsldapi_search( ld, base, scope, filter, attrs, attrsonly,
156 char **attrs,
87 ldap_search( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly ) argument
115 ldap_search_ext( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp ) argument
151 nsldapi_search( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, int timelimit, int sizelimit, int *msgidp ) argument
269 nsldapi_build_search_req( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, int timelimit, int sizelimit, int msgid, BerElement **berp ) argument
908 ldap_search_st( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res ) argument
925 ldap_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPMessage **res ) argument
940 ldap_search_ext_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res ) argument
961 nsldapi_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *localtimeoutp, int timelimit, int sizelimit, LDAPMessage **res ) argument
[all...]
H A Dsort.c288 char *attrs[2]; local
290 attrs[0] = attr;
291 attrs[1] = NULL;
292 return( ldap_multisort_entries( ld, chain, attr ? attrs : NULL, cmp ) );
H A Dufn.c48 char *prefix, char **attrs, int attrsonly,
54 char *filter, int scope, char **attrs, int aonly, int *err );
64 * attrs list of attribute types to return for matches
75 * char *attrs[] = { "mail", "title", 0 };
78 * error = ldap_ufn_search_ctx( ld, ufncomp, 3, NULL, attrs, attrsonly,
89 char **attrs,
212 phase == 3 ? attrs : objattrs,
255 ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs, int attrsonly, argument
281 err = ldap_ufn_search_ctx( ld, ufncomp, ncomp, NULL, attrs,
325 err = ldap_ufn_search_ctx( ld, ufncomp, ncomp, pbuf, attrs,
84 ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, char *prefix, char **attrs, int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char *tag1, char *tag2, char *tag3 ) argument
349 ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm ) argument
361 ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res ) argument
445 ldap_ufn_expand( LDAP *ld, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns, char *filter, int scope, char **attrs, int aonly, int *err ) argument
[all...]
H A Durl.c185 char *urlcopy, *attrs, *scope, *extensions = NULL, *p, *q; local
278 attrs = NULL;
280 ( attrs = strchr( ludp->lud_dn, '?' )) != NULL ) {
281 /* terminate dn; point to start of attrs. */
282 *attrs++ = '\0';
284 /* scan for '?' that marks end of attrs and begin. of scope */
285 if (( p = strchr( attrs, '?' )) != NULL ) {
287 * terminate attrs; point to start of scope and scan for
335 * if attrs list was included, turn it into a null-terminated array
337 if ( attrs !
564 ldap_dns_to_url( LDAP *ld, char *dns_name, char *attrs, char *scope, char *filter ) argument
805 char *attrs[2] = {"labeledURI", 0}; local
[all...]

Completed in 95 milliseconds

12345678