Searched defs:attributes (Results 1 - 25 of 100) sorted by relevance

1234

/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcGetAdapterAttributes.cc36 * @memo Retrieves the attributes for an adapter
38 * @return HBA_STATUS_OK if attributes were filled in
40 * @param attributes The user-allocated buffer
44 PHBA_ADAPTERATTRIBUTES attributes) {
47 if (attributes == NULL) {
49 "NULL attributes pointer");
55 *attributes = myHandle->getHBAAttributes();
43 Sun_fcGetAdapterAttributes(HBA_HANDLE handle, PHBA_ADAPTERATTRIBUTES attributes) argument
H A DSun_fcNPIVGetAdapterAttributes.cc35 PHBA_ADAPTERATTRIBUTES attributes) {
38 if (attributes == NULL) {
40 "NULL attributes pointer");
46 *attributes = myHandle->npivGetHBAAttributes();
34 Sun_fcNPIVGetAdapterAttributes(HBA_HANDLE handle, PHBA_ADAPTERATTRIBUTES attributes) argument
H A DSun_fcGetPortAttributesByWWN.cc36 * @memo Retrieves the attributes for a specific discovered port
38 * @return HBA_STATUS_OK if the attributes are filled in
41 * @param attributes The user-allocated attributes buffer
45 PHBA_PORTATTRIBUTES attributes) {
48 if (attributes == NULL) {
49 log.userError("NULL attributes pointer");
55 *attributes = myHandle->getPortAttributes(wwnConversion(pwwn.wwn));
44 Sun_fcGetPortAttributesByWWN(HBA_HANDLE handle, HBA_WWN pwwn, PHBA_PORTATTRIBUTES attributes) argument
H A DSun_fcGetAdapterPortAttributes.cc37 * @memo Retrieves the attributes for a specified port of an adapter
39 * @return HBA_STATUS_OK if attributes were filled in
42 * @param attributes The user-allocated buffer to store results in
46 HBA_UINT32 port, PHBA_PORTATTRIBUTES attributes) {
49 if (attributes == NULL) {
51 "NULL attributes pointer");
58 *attributes = myPort->getPortAttributes();
45 Sun_fcGetAdapterPortAttributes(HBA_HANDLE handle, HBA_UINT32 port, PHBA_PORTATTRIBUTES attributes) argument
H A DSun_fcGetDiscPortAttrs.cc37 * @memo Retrieves the attributes for a specified port discovered
39 * @return HBA_STATUS_OK if the attributes were filled in
43 * @param attributes The user-allocated buffer to store the attrs
48 PHBA_PORTATTRIBUTES attributes) {
51 if (attributes == NULL) {
53 "NULL attributes pointer");
60 *attributes = myPort->getDiscoveredAttributes(discoveredport);
46 Sun_fcGetDiscoveredPortAttributes(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 discoveredport, PHBA_PORTATTRIBUTES attributes) argument
H A DSun_fcGetPortNPIVAttributes.cc36 HBA_UINT32 port, PHBA_PORTNPIVATTRIBUTES attributes) {
39 if (attributes == NULL) {
41 "NULL attributes pointer");
48 *attributes = myPort->getPortNPIVAttributes();
35 Sun_fcGetPortNPIVAttributes(HBA_HANDLE handle, HBA_UINT32 port, PHBA_PORTNPIVATTRIBUTES attributes) argument
H A DSun_fcGetNPIVPortInfo.cc36 HBA_UINT32 vportindex, HBA_NPIVATTRIBUTES *attributes) {
43 *attributes = myNPIVPort->getPortAttributes();
35 Sun_fcGetNPIVPortInfo(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_UINT32 vportindex, HBA_NPIVATTRIBUTES *attributes) argument
H A DHandleNPIVPort.cc126 * @memo Get attributes from this port.
128 * @return The port attributes
137 HBA_NPIVATTRIBUTES attributes = vport->getPortAttributes(newState); local
139 return (attributes);
H A DFCHBANPIVPort.cc83 HBA_NPIVATTRIBUTES attributes; local
88 memset(&attributes, 0, sizeof (attributes));
96 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
97 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
99 return (attributes);
H A DSun_fcGetFcpTargetMapping.cc73 HBA_ADAPTERATTRIBUTES attributes; local
88 /* get adapter attributes for number of ports */
89 status = Sun_fcGetAdapterAttributes(handle,&attributes);
91 log.userError("Unable to get adapter attributes");
100 for(port = 0; port < attributes.NumberOfPorts; port++) {
H A DFCHBA.cc170 HBA_ADAPTERATTRIBUTES attributes; local
192 throw IOError("Unable to fetch adapter attributes");
198 attributes.NumberOfPorts = attrs.NumberOfPorts;
199 attributes.VendorSpecificID = attrs.VendorSpecificID;
200 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64);
201 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64);
202 memcpy(attributes.Model, attrs.Model, 256);
203 memcpy(attributes.ModelDescription, attrs.ModelDescription, 256);
204 memcpy(attributes.NodeSymbolicName, attrs.NodeSymbolicName, 256);
205 memcpy(attributes
279 HBA_ADAPTERATTRIBUTES attributes; local
[all...]
H A DHandlePort.cc117 * @memo Get attributes from a discovered port.
119 * @return The discovered port attributes
127 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes( local
130 return (attributes);
134 * @memo Get attributes from this port.
136 * @return The port attributes
144 HBA_PORTATTRIBUTES attributes = port->getPortAttributes(newState); local
146 return (attributes);
150 * @memo Get attributes from a discovered port.
152 * @return The discovered port attributes
162 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes( local
171 HBA_PORTNPIVATTRIBUTES attributes = port->getPortNPIVAttributes(newState); local
[all...]
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetAdapterAttributes.c33 PSMHBA_ADAPTERATTRIBUTES attributes) {
38 if (attributes == NULL) {
39 log(LOG_DEBUG, ROUTINE, "NULL attributes pointer");
55 (void) memcpy(attributes, &hba_ptr->adapter_attributes,
32 Sun_sasGetAdapterAttributes(HBA_HANDLE handle, PSMHBA_ADAPTERATTRIBUTES attributes) argument
H A DSun_sasGetAdapterPortAttributes.c30 * Retrieves the attributes for a specified port of an adapter
34 HBA_UINT32 port, PSMHBA_PORTATTRIBUTES attributes) {
42 if ((attributes == NULL) ||
43 (attributes->PortSpecificAttribute.SASPort == NULL)) {
44 log(LOG_DEBUG, ROUTINE, "NULL attributes");
98 attributes->PortType = hba_port_ptr->port_attributes.PortType;
99 attributes->PortState = hba_port_ptr->port_attributes.PortState;
100 (void) strlcpy(attributes->OSDeviceName,
102 sizeof (attributes->OSDeviceName));
103 (void) memcpy(attributes
33 Sun_sasGetAdapterPortAttributes(HBA_HANDLE handle, HBA_UINT32 port, PSMHBA_PORTATTRIBUTES attributes) argument
[all...]
H A DSun_sasGetDiscoveredPortAttributes.c30 * Retrieves the attributes for a specified port discovered in the network
35 SMHBA_PORTATTRIBUTES *attributes) {
44 if (attributes == NULL) {
46 "NULL attributes argument. Handle %08lx, port %d, "
121 attributes->PortType =
123 attributes->PortState =
125 (void) strlcpy(attributes->OSDeviceName,
127 sizeof (attributes->OSDeviceName));
128 (void) memcpy(attributes->PortSpecificAttribute.SASPort,
33 Sun_sasGetDiscoveredPortAttributes(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 discoveredport, SMHBA_PORTATTRIBUTES *attributes) argument
H A DSun_sasGetPortAttributesByWWN.c30 * Retrieves the attributes for a specific discovered port by WWN
34 HBA_WWN domainPortWWN, PSMHBA_PORTATTRIBUTES attributes)
43 if (attributes == NULL) {
44 log(LOG_DEBUG, ROUTINE, "NULL port attributes");
117 attributes->PortType =
119 attributes->PortState =
121 (void) strlcpy(attributes->OSDeviceName,
123 sizeof (attributes->OSDeviceName));
124 (void) memcpy(attributes->PortSpecificAttribute.SASPort,
144 attributes
33 Sun_sasGetPortAttributesByWWN(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN domainPortWWN, PSMHBA_PORTATTRIBUTES attributes) argument
[all...]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dipp.c39 * attribute list will contain header information attributes:
55 papi_attribute_t **attributes = NULL; local
62 /* validate the operational attributes group */
64 "operational-attributes-group", &attributes);
72 result = papiAttributeListGetString(attributes, NULL,
73 "attributes-charset", &s);
75 ipp_set_status(response, result, "attributes-charset: %s",
80 result = papiAttributeListGetString(attributes, NULL,
81 "attributes
[all...]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-cancel.c96 papi_attribute_t **attributes = NULL; local
101 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL,
104 papiAttributeListAddInteger(&attributes, PAPI_ATTR_EXCL,
106 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL,
111 job->attributes = attributes;
114 papiAttributeListFree(attributes);
H A Dpapi_impl.h47 papi_attribute_t **attributes; member in struct:__anon4334
51 papi_attribute_t **attributes; member in struct:job
69 papi_attribute_t **attributes; /* extra info */ member in struct:__anon4336
92 papi_attribute_t ***attributes, int *fd);
94 papi_attribute_t **attributes,
98 papi_attribute_t **attributes, char **files,
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns_cmn_printer.c50 * ns_kvp_t **attributes)
58 * ks_kvp_t **attributes
67 ns_kvp_t **attributes)
75 printer->attributes = (ns_kvp_t **)attributes;
66 ns_printer_create(char *name, char **aliases, char *source, ns_kvp_t **attributes) argument
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dpapi_impl.h56 papi_attribute_t **attributes; member in struct:__anon813
65 papi_attribute_t **attributes; /* job attributes */ member in struct:job
69 papi_attribute_t **attributes; /* queue attributes */ member in struct:__anon814
91 extern void papiAttributeListGetLPString(papi_attribute_t **attributes,
93 extern void papiAttributeListGetLPStrings(papi_attribute_t **attributes,
112 REQUEST *r, papi_attribute_t **attributes);
128 papi_attribute_t **attributes, int type);
130 papi_attribute_t **attributes);
[all...]
H A Dppd.c31 * file into a set of PAPI attributes that applications can use to build
85 PPDFileToAttributesList(papi_attribute_t ***attributes, char *filename) argument
140 status = papiAttributeListAddString(attributes,
144 status = papiAttributeListAddString(attributes,
148 status = papiAttributeListAddString(attributes,
152 status = papiAttributeListAddString(attributes,
156 status = papiAttributeListAddString(attributes,
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dpapi_impl.h54 papi_attribute_t **attributes; member in struct:__anon4325
75 papi_attribute_t **attributes; member in struct:__anon4326
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dpapi_impl.h61 papi_attribute_t **attributes; member in struct:__anon4329
75 papi_attribute_t **attributes; member in struct:job
79 papi_attribute_t **attributes; member in struct:__anon4330
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_cmn_setfile.c48 * - if the specified attributes have ONLY FILE_ATTRIBUTE_NORMAL set
49 * clear (0) the file's attributes.
50 * - if the specified attributes are 0 do NOT change the file's attributes.
58 uint32_t attributes; local
62 &crtime, &atime, &mtime, &ctime, &attributes) != 0)
65 if ((attributes & FILE_ATTRIBUTE_DIRECTORY) &&
87 if (attributes != 0) {
88 attr->sa_dosattr = attributes;

Completed in 110 milliseconds

1234