Lines Matching defs:oid

97  * Validate the oid.
137 * Check if an oid is ZERO_OID or not.
145 static int is_zero_oid(MP_OID oid)
148 if ((oid.objectType != MP_OBJECT_TYPE_UNKNOWN) || (oid.ownerId != 0) ||
149 (oid.objectSequenceNumber != 0)) {
444 * @param oid
459 * Returned if oid does not specify any valid object type.
462 * Returned if oid has an owner that is not currently known to
512 * @param oid
528 * Returned if oid does not specify a plugin that is currently known to
532 * Returned if 'oid' specifies an object not owned by a plugin or
537 * Returned if 'oid' specifies an object with an invalid type.
568 * @param oid
574 * On successful return this will contain the object type of oid.
580 * Returned if oid has an owner that is not currently known to
584 * Returned if oid does not specify any valid object type.
592 MP_OID oid,
600 if ((status = validate_object(oid, 0, MP_OBJECT_TYPE_ANY))
605 *pObjectType = oid.objectType;
615 * @param oid
635 * Returned if oid does not specify any valid object type.
638 * Returned when the plugin for the specified oid is not found.
649 MP_OID oid,
659 if ((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
666 index = oid.ownerId - 1;
687 * Gets the device product properties of the specified plugin oid.
689 * @param oid
709 * Returned if oid does not specify any valid object type.
712 * Returned when the plugin for the specified oid is not found.
723 MP_OID oid,
733 if ((status = validate_object(oid, MP_OBJECT_TYPE_DEVICE_PRODUCT,
740 index = oid.ownerId - 1;
747 status = PassFunc(oid, pProps);
765 * @param oid
785 * Returned if oid does not specify any valid object type.
788 * Returned when the plugin for the specified oid is not found.
799 MP_OID oid,
809 if ((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
816 index = oid.ownerId - 1;
839 * @param oid
845 * will contain the properties of the port specified by oid.
858 * Returned if oid does not specify any valid object type.
861 * Returned if oid has an owner that is not currently known to
867 MP_OID oid,
877 if ((status = validate_object(oid, MP_OBJECT_TYPE_INITIATOR_PORT,
884 index = oid.ownerId - 1;
891 status = PassFunc(oid, pProps);
908 * @param oid
928 * Returned if oid does not specify any valid object type.
931 * Returned when the plugin for the specified oid is not found.
942 MP_OID oid,
951 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
953 ((status = validate_object(oid, MP_OBJECT_TYPE_DEVICE_PRODUCT,
960 index = oid.ownerId - 1;
962 if (oid.objectType == MP_OBJECT_TYPE_PLUGIN) {
973 } else if (oid.objectType == MP_OBJECT_TYPE_DEVICE_PRODUCT) {
980 status = PassFunc(oid, ppList);
999 * @param oid
1005 * will contain the properties of the port specified by oid.
1018 * Returned if oid does not specify any valid object type.
1021 * Returned if oid has an owner that is not currently known to
1027 MP_OID oid,
1037 if ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
1044 index = oid.ownerId - 1;
1051 status = PassFunc(oid, pProps);
1069 * @param oid
1090 * Returned if oid does not specify any valid object type.
1093 * Returned when the plugin for the specified oid is not found.
1099 * Returned if oid has an owner that is not currently known to
1105 MP_OID oid,
1115 if (((status = validate_object(oid, MP_OBJECT_TYPE_INITIATOR_PORT,
1117 ((status = validate_object(oid, MP_OBJECT_TYPE_TARGET_PORT,
1119 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
1126 index = oid.ownerId - 1;
1133 status = PassFunc(oid, ppList);
1150 * @param oid
1156 * will contain the properties of the port specified by oid.
1169 * Returned if oid does not specify any valid object type.
1172 * Returned if oid has an owner that is not currently known to
1178 MP_OID oid,
1188 if ((status = validate_object(oid, MP_OBJECT_TYPE_PATH_LU,
1195 index = oid.ownerId - 1;
1202 status = PassFunc(oid, pProps);
1220 * @param oid
1240 * Returned if oid does not specify any valid object type.
1243 * Returned when the plugin for the specified oid is not found.
1252 MP_OID oid,
1262 if ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
1269 index = oid.ownerId - 1;
1276 status = PassFunc(oid, ppList);
1293 * @param oid
1299 * will contain the properties of the port specified by oid.
1312 * Returned if oid does not specify any valid object type.
1315 * Returned if oid has an owner that is not currently known to
1321 MP_OID oid,
1331 if ((status = validate_object(oid, MP_OBJECT_TYPE_TARGET_PORT_GROUP,
1338 index = oid.ownerId - 1;
1345 status = PassFunc(oid, pProps);
1363 * @param oid
1383 * Returned if oid does not specify any valid object type.
1386 * Returned when the plugin for the specified oid is not found.
1394 MP_OID oid,
1404 if ((status = validate_object(oid, MP_OBJECT_TYPE_TARGET_PORT_GROUP,
1411 index = oid.ownerId - 1;
1418 status = PassFunc(oid, ppList);
1436 * @param oid
1453 * the proprietary load balance oid list is found to be invalid.
1456 * Returned if oid does not specify any valid object type.
1459 * Returned when the plugin for the specified oid is not found.
1470 MP_OID oid,
1480 if ((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
1487 index = oid.ownerId - 1;
1511 * @param oid
1518 * specified by oid.
1531 * Returned if oid does not specify any valid object type.
1534 * Returned if oid has an owner that is not currently known to
1540 MP_OID oid,
1550 if ((status = validate_object(oid, MP_OBJECT_TYPE_PROPRIETARY_LOAD_BALANCE,
1557 index = oid.ownerId - 1;
1564 status = PassFunc(oid, pProps);
1582 * @param oid
1602 * Returned if oid does not specify any valid object type.
1605 * Returned when the plugin for the specified oid is not found.
1613 MP_OID oid,
1623 if ((status = validate_object(oid, MP_OBJECT_TYPE_TARGET_PORT_GROUP,
1630 index = oid.ownerId - 1;
1637 status = PassFunc(oid, ppList);
1654 * @param oid
1660 * will contain the properties of the port specified by oid.
1673 * Returned if oid does not specify any valid object type.
1676 * Returned if oid has an owner that is not currently known to
1682 MP_OID oid,
1692 if ((status = validate_object(oid, MP_OBJECT_TYPE_TARGET_PORT,
1699 index = oid.ownerId - 1;
1706 status = PassFunc(oid, pProps);
1725 * An MP_TARGET_PORT_GROUP oid. The target port group currently in
1730 * An MP_MULTIPATH_LOGICAL_UNIT oid.
1742 * Returned if oid does not specify any valid object type.
1745 * Returned if oid has an owner that is not currently known to
1812 * Returned if the oid of the object is not valid
1818 * Returned if oid does not specify any valid object type.
1869 * An MP_MULTIPATH_LOGICAL_UNIT oid.
1881 * Returned if oid does not specify any valid object type.
1884 * Returned if oid has an owner that is not currently known to
1927 * @param oid
1928 * The oid of the plugin.
1937 * Returned if oid is NULL or specifies a memory area that is not
1938 * a valid plugin oid.
1941 * Returned if oid does not specify any valid object type.
1946 MP_OID oid)
1951 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
1953 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
1960 index = oid.ownerId - 1;
1962 if (oid.objectType == MP_OBJECT_TYPE_PLUGIN) {
1973 } else if (oid.objectType == MP_OBJECT_TYPE_MULTIPATH_LU) {
1980 status = PassFunc(oid);
1998 * @param oid
1999 * The oid of the plugin or the multipath logical unit.
2008 * Returned if oid is NULL or specifies a memory area that is not
2009 * a valid plugin oid.
2012 * Returned if oid does not specify any valid object type.
2017 MP_OID oid)
2022 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
2024 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
2031 index = oid.ownerId - 1;
2033 if (oid.objectType == MP_OBJECT_TYPE_PLUGIN) {
2044 } else if (oid.objectType == MP_OBJECT_TYPE_MULTIPATH_LU) {
2051 status = PassFunc(oid);
2069 * @param oid
2070 * The oid of the plugin.
2079 * Returned if oid is NULL or specifies a memory area that is not
2080 * a valid plugin oid.
2083 * Returned if oid does not specify any valid object type.
2088 MP_OID oid)
2093 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
2095 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
2102 index = oid.ownerId - 1;
2104 if (oid.objectType == MP_OBJECT_TYPE_PLUGIN) {
2115 } else if (oid.objectType == MP_OBJECT_TYPE_MULTIPATH_LU) {
2122 status = PassFunc(oid);
2140 * @param oid
2141 * The oid of the plugin or the multipath logical unit.
2150 * Returned if oid is NULL or specifies a memory area that is not
2151 * a valid plugin oid.
2154 * Returned if oid does not specify any valid object type.
2159 MP_OID oid)
2164 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
2166 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
2173 index = oid.ownerId - 1;
2175 if (oid.objectType == MP_OBJECT_TYPE_PLUGIN) {
2186 } else if (oid.objectType == MP_OBJECT_TYPE_MULTIPATH_LU) {
2193 status = PassFunc(oid);
2212 * @param oid
2213 * The oid of the path.
2222 * Returned if oid is NULL or specifies a memory area that is not
2223 * a valid path oid.
2226 * Returned if oid does not specify any valid object type.
2231 MP_OID oid)
2237 if ((status = validate_object(oid, MP_OBJECT_TYPE_PATH_LU,
2244 index = oid.ownerId - 1;
2251 status = PassFunc(oid);
2269 * @param oid
2270 * The oid of the path.
2279 * Returned if oid is NULL or specifies a memory area that is not
2280 * a valid path oid.
2283 * Returned if oid does not specify any valid object type.
2288 MP_OID oid)
2294 if ((status = validate_object(oid, MP_OBJECT_TYPE_PATH_LU,
2301 index = oid.ownerId - 1;
2308 status = PassFunc(oid);
2347 * Returned if oid does not specify any valid object type.
2411 * Returned if oid does not specify any valid object type.
2464 * @param oid
2477 * Returned when the the plugin specified by @ref oid could not be
2481 * Returned if the oid of the object is not valid.
2487 * Returned if oid does not specify any valid object type.
2496 MP_OID oid,
2503 if ((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
2510 index = oid.ownerId - 1;
2548 * Returned when the the plugin specified by @ref oid could not be
2559 * Returned if oid does not specify any valid object type.
2564 MP_OID oid,
2570 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
2572 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
2579 index = oid.ownerId - 1;
2581 if (oid.objectType == MP_OBJECT_TYPE_PLUGIN) {
2592 } else if (oid.objectType == MP_OBJECT_TYPE_MULTIPATH_LU) {
2599 status = PassFunc(oid, pollingRate);
2631 * Returned when the the plugin specified by @ref oid could not be
2642 * Returned if oid does not specify any valid object type.
2647 MP_OID oid,
2653 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
2655 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
2662 index = oid.ownerId - 1;
2664 if (oid.objectType == MP_OBJECT_TYPE_PLUGIN) {
2675 } else if (oid.objectType == MP_OBJECT_TYPE_MULTIPATH_LU) {
2682 status = PassFunc(oid, pollingRate);
2718 * Returned when the the plugin specified by @ref oid could not be
2729 * Returned if oid does not specify any valid object type.
2734 MP_OID oid,
2742 if (((status = validate_object(oid, MP_OBJECT_TYPE_PLUGIN,
2744 ((status = validate_object(oid, MP_OBJECT_TYPE_MULTIPATH_LU,
2746 ((status = validate_object(oid, MP_OBJECT_TYPE_PROPRIETARY_LOAD_BALANCE,
2753 index = oid.ownerId - 1;
2760 status = PassFunc(oid, count, pPropertyList);
2797 * oid could not be found.
2807 * Returned if oid does not specify any valid object type.
2891 * Returned if oid does not specify any valid object type.
2986 * Returned if oid does not specify any valid object type.