Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 259) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c97 lpsched_printer_defaults(papi_attribute_t ***attributes) in lpsched_printer_defaults() argument
99 if (attributes == NULL) in lpsched_printer_defaults()
102 papiAttributeListAddBoolean(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
104 papiAttributeListAddString(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
107 papiAttributeListAddString(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
109 papiAttributeListAddInteger(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
111 papiAttributeListAddInteger(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
113 papiAttributeListAddRange(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
115 papiAttributeListAddInteger(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
117 papiAttributeListAddBoolean(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
[all …]
H A Dlpsched-jobs.c43 papi_attribute_t **attributes) in job_attributes_to_lpsched_request() argument
74 if (attributes == NULL) in job_attributes_to_lpsched_request()
78 papiAttributeListGetLPString(attributes, in job_attributes_to_lpsched_request()
83 papiAttributeListGetInteger(attributes, NULL, "copies", &i); in job_attributes_to_lpsched_request()
92 if (papiAttributeListGetInteger(attributes, NULL, "job-priority", &i) in job_attributes_to_lpsched_request()
103 papiAttributeListGetLPString(attributes, "form", &r->form); in job_attributes_to_lpsched_request()
107 tmp[0] = papiAttributeListFind(attributes, "page-ranges"); in job_attributes_to_lpsched_request()
121 papiAttributeListGetString(attributes, NULL, "document-format", &s); in job_attributes_to_lpsched_request()
139 papiAttributeListGetString(attributes, NULL, in job_attributes_to_lpsched_request()
141 papiAttributeListGetString(attributes, NULL, in job_attributes_to_lpsched_request()
[all …]
H A Dservice.c63 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate()
85 papiAttributeListFree(svc->attributes); in papiServiceDestroy()
130 return (papiAttributeListAddString(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetUserName()
142 return (papiAttributeListAddString(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetPassword()
155 return (papiAttributeListAddInteger(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetEncryption()
193 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetServiceName()
206 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetUserName()
219 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetPassword()
232 papiAttributeListGetInteger(svc->attributes, NULL, in papiServiceGetEncryption()
257 lpsched_service_information(&svc->attributes); in papiServiceGetAttributeList()
[all …]
H A Dpapi_impl.h54 papi_attribute_t **attributes; member
63 papi_attribute_t **attributes; /* job attributes */ member
67 papi_attribute_t **attributes; /* queue attributes */ member
89 extern void papiAttributeListGetLPString(papi_attribute_t **attributes,
91 extern void papiAttributeListGetLPStrings(papi_attribute_t **attributes,
110 REQUEST *r, papi_attribute_t **attributes);
126 papi_attribute_t **attributes, int type);
128 papi_attribute_t **attributes);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DTgtFCHBAPort.cc248 HBA_PORTATTRIBUTES attributes; in getPortAttributes() local
253 memset(&attributes, 0, sizeof (attributes)); in getPortAttributes()
279 attributes.PortFcId = attrs.PortFcId; in getPortAttributes()
280 attributes.PortType = attrs.PortType; in getPortAttributes()
281 attributes.PortState = attrs.PortState; in getPortAttributes()
282 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService; in getPortAttributes()
283 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed; in getPortAttributes()
284 attributes.PortSpeed = attrs.PortSpeed; in getPortAttributes()
285 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize; in getPortAttributes()
286 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts; in getPortAttributes()
[all …]
H A DFCHBA.cc170 HBA_ADAPTERATTRIBUTES attributes; in getHBAAttributes() local
198 attributes.NumberOfPorts = attrs.NumberOfPorts; in getHBAAttributes()
199 attributes.VendorSpecificID = attrs.VendorSpecificID; in getHBAAttributes()
200 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); in getHBAAttributes()
201 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64); in getHBAAttributes()
202 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
203 memcpy(attributes.ModelDescription, attrs.ModelDescription, 256); in getHBAAttributes()
204 memcpy(attributes.NodeSymbolicName, attrs.NodeSymbolicName, 256); in getHBAAttributes()
205 memcpy(attributes.HardwareVersion, attrs.HardwareVersion, 256); in getHBAAttributes()
206 memcpy(attributes.DriverVersion, attrs.DriverVersion, 256); in getHBAAttributes()
[all …]
H A DFCHBAPort.cc557 HBA_PORTNPIVATTRIBUTES attributes; in getPortNPIVAttributes() local
562 memset(&attributes, 0, sizeof(attributes)); in getPortNPIVAttributes()
572 attributes.npivflag = attrs.npivflag; in getPortNPIVAttributes()
573 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getPortNPIVAttributes()
574 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getPortNPIVAttributes()
575 attributes.MaxNumberOfNPIVPorts = attrs.MaxNumberOfNPIVPorts; in getPortNPIVAttributes()
576 attributes.NumberOfNPIVPorts = attrs.NumberOfNPIVPorts; in getPortNPIVAttributes()
578 return (attributes); in getPortNPIVAttributes()
584 HBA_PORTATTRIBUTES attributes; in getPortAttributes() local
589 memset(&attributes, 0, sizeof (attributes)); in getPortAttributes()
[all …]
H A DTgtFCHBA.cc92 HBA_ADAPTERATTRIBUTES attributes; in getHBAAttributes() local
147 attributes.NumberOfPorts = attrs.NumberOfPorts; in getHBAAttributes()
148 attributes.VendorSpecificID = attrs.VendorSpecificID; in getHBAAttributes()
149 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); in getHBAAttributes()
150 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64); in getHBAAttributes()
151 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
152 memcpy(attributes.ModelDescription, attrs.ModelDescription, 256); in getHBAAttributes()
153 memcpy(attributes.NodeSymbolicName, attrs.NodeSymbolicName, 256); in getHBAAttributes()
154 memcpy(attributes.HardwareVersion, attrs.HardwareVersion, 256); in getHBAAttributes()
155 memcpy(attributes.DriverVersion, attrs.DriverVersion, 256); in getHBAAttributes()
[all …]
H A DHandlePort.cc127 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes( in getDiscoveredAttributes() local
130 return (attributes); in getDiscoveredAttributes()
144 HBA_PORTATTRIBUTES attributes = port->getPortAttributes(newState); in getPortAttributes() local
146 return (attributes); in getPortAttributes()
162 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes( in getDiscoveredAttributes() local
165 return (attributes); in getDiscoveredAttributes()
171 HBA_PORTNPIVATTRIBUTES attributes = port->getPortNPIVAttributes(newState); in getPortNPIVAttributes() local
173 return (attributes); in getPortNPIVAttributes()
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c1283 char **attributes) in get_attribute_list() argument
1293 attributes[n_attrs++] = YP_CONFIG_DN; in get_attribute_list()
1295 attributes[n_attrs++] = YP_CONFIG_SERVER_LIST; in get_attribute_list()
1298 attributes[n_attrs++] = YP_CONFIG_AUTH_METHOD; in get_attribute_list()
1301 attributes[n_attrs++] = YP_CONFIG_TLS_OPTION; in get_attribute_list()
1303 attributes[n_attrs++] = YP_CONFIG_PROXY_USER; in get_attribute_list()
1305 attributes[n_attrs++] = YP_CONFIG_PROXY_PASSWD; in get_attribute_list()
1307 attributes[n_attrs++] = YP_CONFIG_TLS_CERT_DB; in get_attribute_list()
1310 attributes[n_attrs++] = CONFIG_DN; in get_attribute_list()
1312 attributes[n_attrs++] = CONFIG_SERVER_LIST; in get_attribute_list()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Djob.c46 papiJobSubmit(papi_service_t handle, char *name, papi_attribute_t **attributes, in papiJobSubmit() argument
75 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in papiJobSubmit()
79 (void) lpd_job_add_attributes(svc, attributes, &metadata, in papiJobSubmit()
80 &j->attributes); in papiJobSubmit()
82 if ((status = lpd_job_add_files(svc, attributes, files, &metadata, in papiJobSubmit()
83 &j->attributes)) != PAPI_OK) { in papiJobSubmit()
88 status = lpd_submit_job(svc, metadata, &j->attributes, NULL); in papiJobSubmit()
107 papi_attribute_t **attributes, in papiJobStreamOpen() argument
132 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in papiJobStreamOpen()
136 lpd_job_add_attributes(svc, attributes, &metadata, &s->job->attributes); in papiJobStreamOpen()
[all …]
H A Dlpd-job.c154 lpd_add_rfc1179_attributes(service_t *svc, papi_attribute_t **attributes, in lpd_add_rfc1179_attributes() argument
171 if (attributes == NULL) in lpd_add_rfc1179_attributes()
175 if (papiAttributeListGetString(attributes, NULL, in lpd_add_rfc1179_attributes()
177 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in lpd_add_rfc1179_attributes()
187 papiAttributeListGetString(svc->attributes, NULL, "username", in lpd_add_rfc1179_attributes()
195 papiAttributeListGetString(attributes, NULL, "rfc-1179-class", &s); in lpd_add_rfc1179_attributes()
204 papiAttributeListGetString(attributes, NULL, "job-sheets", &s); in lpd_add_rfc1179_attributes()
213 papiAttributeListGetString(attributes, NULL, "job-name", &s); in lpd_add_rfc1179_attributes()
222 papiAttributeListGetBoolean(attributes, NULL, "rfc-1179-mail", &bool); in lpd_add_rfc1179_attributes()
231 papiAttributeListGetString(attributes, NULL, "pr-title", &s); in lpd_add_rfc1179_attributes()
[all …]
H A Dlpd-query.c153 papi_attribute_t **attributes = NULL; in parse_lpd_job() local
179 papiAttributeListAddString(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
184 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in parse_lpd_job()
186 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in parse_lpd_job()
191 papiAttributeListAddInteger(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
197 papiAttributeListAddInteger(&attributes, in parse_lpd_job()
210 papiAttributeListAddString(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
215 papiAttributeListAddInteger(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
220 papiAttributeListAddInteger(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
225 papiAttributeListAddString(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
[all …]
H A Dservice.c86 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate()
112 if (svc->attributes != NULL) in papiServiceDestroy()
113 papiAttributeListFree(svc->attributes); in papiServiceDestroy()
126 return (papiAttributeListAddString(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetUserName()
138 return (papiAttributeListAddString(&svc->attributes, in papiServiceSetPassword()
151 return (papiAttributeListAddInteger(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetEncryption()
189 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetServiceName()
202 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetUserName()
216 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetPassword()
229 papiAttributeListGetInteger(svc->attributes, NULL, in papiServiceGetEncryption()
[all …]
H A Dlpd-cancel.c96 papi_attribute_t **attributes = NULL; in lpd_purge_jobs() local
101 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in lpd_purge_jobs()
104 papiAttributeListAddInteger(&attributes, PAPI_ATTR_EXCL, in lpd_purge_jobs()
106 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in lpd_purge_jobs()
111 job->attributes = attributes; in lpd_purge_jobs()
114 papiAttributeListFree(attributes); in lpd_purge_jobs()
H A Dpapi_impl.h45 papi_attribute_t **attributes; member
49 papi_attribute_t **attributes; member
67 papi_attribute_t **attributes; /* extra info */ member
90 papi_attribute_t ***attributes, int *fd);
92 papi_attribute_t **attributes,
96 papi_attribute_t **attributes, char **files,
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dcommon.c66 get_printer_id(papi_attribute_t **attributes, char **printer, int *id) in get_printer_id() argument
81 result = papiAttributeListGetString(attributes, NULL, "job-uri", &job); in get_printer_id()
83 result = papiAttributeListGetString(attributes, NULL, in get_printer_id()
86 papiAttributeListGetInteger(attributes, NULL, in get_printer_id()
98 get_string_list(papi_attribute_t **attributes, char *name, char ***values) in get_string_list() argument
105 for (result = papiAttributeListGetString(attributes, &iterator, in get_string_list()
108 result = papiAttributeListGetString(attributes, &iterator, in get_string_list()
114 add_default_attributes(papi_attribute_t ***attributes) in add_default_attributes() argument
117 (void) papiAttributeListAddString(attributes, PAPI_ATTR_APPEND, in add_default_attributes()
119 (void) papiAttributeListAddString(attributes, PAPI_ATTR_APPEND, in add_default_attributes()
[all …]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c35 find_attribute(CK_ATTRIBUTE_TYPE attrtype, generic_attr_t *attributes,
47 slot_object_t *slot_object, generic_attr_t **attributes, in get_master_attributes_by_object() argument
94 attributes, num_attributes); in get_master_attributes_by_object()
110 generic_attr_t **attributes, size_t *num_attributes) in get_master_attributes_by_template() argument
151 attributes, num_attributes)); in get_master_attributes_by_template()
163 generic_attr_t **attributes, size_t *num_attributes) in get_master_template_by_type() argument
368 *attributes = master_template; in get_master_template_by_type()
384 generic_attr_t **attributes, size_t *num_attributes) in get_master_attributes_by_type() argument
431 *attributes = new_attributes; in get_master_attributes_by_type()
516 dealloc_attributes(generic_attr_t *attributes, size_t num_attributes) in dealloc_attributes() argument
[all …]
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetPortAttributesByWWN.c37 HBA_WWN domainPortWWN, PSMHBA_PORTATTRIBUTES attributes) in Sun_sasGetPortAttributesByWWN() argument
46 if (attributes == NULL) { in Sun_sasGetPortAttributesByWWN()
120 attributes->PortType = in Sun_sasGetPortAttributesByWWN()
122 attributes->PortState = in Sun_sasGetPortAttributesByWWN()
124 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN()
126 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN()
127 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetPortAttributesByWWN()
147 attributes->PortType = in Sun_sasGetPortAttributesByWWN()
150 attributes->PortState = in Sun_sasGetPortAttributesByWWN()
153 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN()
[all …]
H A DSun_sasGetAdapterPortAttributes.c36 PSMHBA_PORTATTRIBUTES attributes) in Sun_sasGetAdapterPortAttributes() argument
45 if ((attributes == NULL) || in Sun_sasGetAdapterPortAttributes()
46 (attributes->PortSpecificAttribute.SASPort == NULL)) { in Sun_sasGetAdapterPortAttributes()
99 attributes->PortType = hba_port_ptr->port_attributes.PortType; in Sun_sasGetAdapterPortAttributes()
100 attributes->PortState = hba_port_ptr->port_attributes.PortState; in Sun_sasGetAdapterPortAttributes()
101 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetAdapterPortAttributes()
103 sizeof (attributes->OSDeviceName)); in Sun_sasGetAdapterPortAttributes()
104 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetAdapterPortAttributes()
H A DSun_sasGetDiscoveredPortAttributes.c38 SMHBA_PORTATTRIBUTES *attributes) in Sun_sasGetDiscoveredPortAttributes() argument
48 if (attributes == NULL) { in Sun_sasGetDiscoveredPortAttributes()
122 attributes->PortType = in Sun_sasGetDiscoveredPortAttributes()
124 attributes->PortState = in Sun_sasGetDiscoveredPortAttributes()
126 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetDiscoveredPortAttributes()
128 sizeof (attributes->OSDeviceName)); in Sun_sasGetDiscoveredPortAttributes()
129 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetDiscoveredPortAttributes()
/illumos-gate/usr/src/cmd/passwd/
H A Dpasswd.c204 static int ckarg(int argc, char **argv, attrlist **attributes);
235 attrlist *attributes = NULL; in main() local
270 flag = ckarg(argc, argv, &attributes); in main()
327 &attributes); in main()
328 (void) display_attr(namelist[i], attributes); in main()
330 (void) free_attr(attributes); in main()
336 if (get_attr(usrname, &repository, &attributes) == in main()
338 (void) display_attr(usrname, attributes); in main()
339 (void) free_attr(attributes); in main()
454 attrlist_add(&attributes, ATTR_SHELL, input); in main()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dprinter.c46 if (tmp->attributes != NULL) in papiPrinterFree()
47 papiAttributeListFree(tmp->attributes); in papiPrinterFree()
125 papiAttributeListGetString(p->attributes, NULL, in printer_from_service()
127 papiAttributeListGetString(p->attributes, NULL, "printer-name", &uri); in printer_from_service()
128 papiAttributeListGetString(p->attributes, NULL, "printer-uri-supported", in printer_from_service()
141 papi_attribute_t **attributes; in printer_from_service() local
143 attributes = papiPrinterGetAttributeList(printer); in printer_from_service()
144 copy_attributes(&p->attributes, attributes); in printer_from_service()
187 p->attributes = attrs; in printers_from_name_service()
200 if (contained(requested_attrs, p->attributes) == 0) in printers_from_name_service()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c166 if ((entry->attributes & NAME_ATTR_CONFLICT) != 0) { in smb_netbios_cache_lookup()
253 entry->attributes |= in smb_netbios_cache_insert()
254 name_addr->attributes & NAME_ATTR_LOCAL; in smb_netbios_cache_insert()
273 entry->attributes |= addr->attributes; in smb_netbios_cache_insert()
292 entry->attributes |= entry->addr_list.attributes; in smb_netbios_cache_insert()
340 name->attributes, in smb_netbios_cache_insert_list()
341 addr->attributes, in smb_netbios_cache_insert_list()
363 if (IS_UNIQUE(entry->attributes)) { in smb_netbios_cache_update_entry()
419 if (IS_LOCAL(name->attributes) && in smb_netbios_cache_status()
423 *scan++ = (PUBLIC_BITS(name->attributes) >> 8) & 0xff; in smb_netbios_cache_status()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_dt.d30 #pragma D attributes Private/Private/Common provider nfsmapid provider
31 #pragma D attributes Private/Private/Common provider nfsmapid module
32 #pragma D attributes Private/Private/Common provider nfsmapid function
33 #pragma D attributes Private/Private/Common provider nfsmapid name
34 #pragma D attributes Private/Private/Common provider nfsmapid args

1234567891011