Searched defs:attributes (Results 1 - 25 of 98) 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.c36 PSMHBA_ADAPTERATTRIBUTES attributes)
42 if (attributes == NULL) {
43 log(LOG_DEBUG, ROUTINE, "NULL attributes pointer");
58 (void) memcpy(attributes, &hba_ptr->adapter_attributes,
35 Sun_sasGetAdapterAttributes(HBA_HANDLE handle, PSMHBA_ADAPTERATTRIBUTES attributes) argument
H A DSun_sasGetAdapterPortAttributes.c32 * Retrieves the attributes for a specified port of an adapter
36 PSMHBA_PORTATTRIBUTES attributes)
45 if ((attributes == NULL) ||
46 (attributes->PortSpecificAttribute.SASPort == NULL)) {
47 log(LOG_DEBUG, ROUTINE, "NULL attributes");
99 attributes->PortType = hba_port_ptr->port_attributes.PortType;
100 attributes->PortState = hba_port_ptr->port_attributes.PortState;
101 (void) strlcpy(attributes->OSDeviceName,
103 sizeof (attributes->OSDeviceName));
104 (void) memcpy(attributes
35 Sun_sasGetAdapterPortAttributes(HBA_HANDLE handle, HBA_UINT32 port, PSMHBA_PORTATTRIBUTES attributes) argument
[all...]
H A DSun_sasGetDiscoveredPortAttributes.c33 * Retrieves the attributes for a specified port discovered in the network
38 SMHBA_PORTATTRIBUTES *attributes)
48 if (attributes == NULL) {
50 "NULL attributes argument. Handle %08lx, port %d, "
122 attributes->PortType =
124 attributes->PortState =
126 (void) strlcpy(attributes->OSDeviceName,
128 sizeof (attributes->OSDeviceName));
129 (void) memcpy(attributes->PortSpecificAttribute.SASPort,
36 Sun_sasGetDiscoveredPortAttributes(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 discoveredport, SMHBA_PORTATTRIBUTES *attributes) argument
H A DSun_sasGetPortAttributesByWWN.c33 * Retrieves the attributes for a specific discovered port by WWN
37 HBA_WWN domainPortWWN, PSMHBA_PORTATTRIBUTES attributes)
46 if (attributes == NULL) {
47 log(LOG_DEBUG, ROUTINE, "NULL port attributes");
120 attributes->PortType =
122 attributes->PortState =
124 (void) strlcpy(attributes->OSDeviceName,
126 sizeof (attributes->OSDeviceName));
127 (void) memcpy(attributes->PortSpecificAttribute.SASPort,
147 attributes
36 Sun_sasGetPortAttributesByWWN(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN domainPortWWN, PSMHBA_PORTATTRIBUTES attributes) argument
[all...]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dpapi_impl.h56 papi_attribute_t **attributes; member in struct:__anon841
65 papi_attribute_t **attributes; /* job attributes */ member in struct:job
69 papi_attribute_t **attributes; /* queue attributes */ member in struct:__anon842
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.c30 * file into a set of PAPI attributes that applications can use to build
84 PPDFileToAttributesList(papi_attribute_t ***attributes, char *filename) argument
137 status = papiAttributeListAddString(attributes,
141 status = papiAttributeListAddString(attributes,
145 status = papiAttributeListAddString(attributes,
149 status = papiAttributeListAddString(attributes,
153 status = papiAttributeListAddString(attributes,
/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:__anon4581
51 papi_attribute_t **attributes; member in struct:job
69 papi_attribute_t **attributes; /* extra info */ member in struct:__anon4583
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.c46 * ns_kvp_t **attributes)
54 * ks_kvp_t **attributes
63 ns_kvp_t **attributes)
71 printer->attributes = (ns_kvp_t **)attributes;
62 ns_printer_create(char *name, char **aliases, char *source, ns_kvp_t **attributes) argument
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dpapi_impl.h54 papi_attribute_t **attributes; member in struct:__anon4572
75 papi_attribute_t **attributes; member in struct:__anon4573
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dpapi_impl.h61 papi_attribute_t **attributes; member in struct:__anon4576
75 papi_attribute_t **attributes; member in struct:job
79 papi_attribute_t **attributes; member in struct:__anon4577
/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 254 milliseconds

1234