Lines Matching defs:type

96  * Object type structure containing function pointers;
136 uint32_t type;
425 ret_val = dgettext(TEXT_DOMAIN, "Illegal type of device.\n");
635 raid_obj_type_id_t type;
653 type = raid_obj_get_type(&raid_tab_sys, obj_id);
660 switch (type) {
675 dst->type = src->type;
685 if (src->type == HSP_TYPE_LOCAL) {
817 raidcfg_list_head(int handle, raid_obj_type_id_t type)
831 obj_id = obj_get_comp(&raid_tab_sys, obj_id, type);
873 raid_obj_type_id_t type;
885 type = raid_obj_get_type(&raid_tab_sys, obj_id);
886 if (raid_obj_op_sys[type].set_attr == NULL) {
891 ret = raid_obj_op_sys[type].set_attr(&raid_tab_sys,
1345 raid_handle_sys.handles[i].type = OBJ_TYPE_ALL;
1351 raid_handle_sys.handles[0].type = OBJ_TYPE_SYSTEM;
1368 if ((raid_handle_sys.handles[i].type == OBJ_TYPE_CONTROLLER) &&
1385 raid_handle_new(raid_obj_type_id_t type)
1400 raid_handle_sys.handles[ret].type = type;
1426 raid_handle_sys.handles[i].type = OBJ_TYPE_ALL;
1443 (raid_handle_sys.handles[j].type !=
1460 switch (handle_attr->type) {
1516 raid_obj_type_id_t type;
1545 type = raid_obj_get_type(raid_tab, obj_id);
1546 handle = raid_handle_new(type);
1548 raid_handle_sys.handles[handle].type = type;
1550 switch (type) {
1650 while (raid_handle_sys.handles[handle].type != OBJ_TYPE_CONTROLLER ||
1673 while (raid_handle_sys.handles[handle].type != OBJ_TYPE_CONTROLLER ||
1696 while (raid_handle_sys.handles[handle].type != OBJ_TYPE_CONTROLLER ||
1718 while (raid_handle_sys.handles[handle].type != OBJ_TYPE_CONTROLLER ||
1737 raid_obj_type_id_t type;
1748 type = raid_obj_get_type(raid_tab, obj_id);
1749 /* type less than OBJ_TYPE_SYSTEM means error */
1750 if (type < OBJ_TYPE_SYSTEM)
1755 if (raid_obj_op_sys[type].compnum != NULL)
1756 comp_num = raid_obj_op_sys[type].compnum(
1785 if (raid_obj_op_sys[type].complist != NULL)
1786 raid_obj_op_sys[type].complist(raid_tab,
1818 raid_obj_type_id_t type;
1839 type = raid_obj_get_type(raid_tab, id);
1840 if (type < OBJ_TYPE_SYSTEM)
1841 return (type);
1843 if (type == obj_type)
1851 type = raid_obj_get_type(raid_tab, id);
1852 if (type < OBJ_TYPE_SYSTEM)
1853 return (type);
1855 if (type == obj_type)
1866 raid_obj_type_id_t type, obj_type;
1878 type = raid_obj_get_type(raid_tab, id);
1879 if (type < OBJ_TYPE_SYSTEM)
1880 return (type);
1881 } while ((type != obj_type) && (id != OBJ_NONE));
1889 raid_obj_type_id_t type;
1898 type = raid_obj_get_type(raid_tab, obj_id);
1899 if (type < OBJ_TYPE_SYSTEM)
1900 return (type);
1903 if (raid_obj_op_sys[type].get_attr == NULL)
1907 ret = raid_obj_op_sys[type].get_attr(raid_tab, obj_id);
1913 if (attr == NULL && type != OBJ_TYPE_SYSTEM)
3011 attr->type = HSP_TYPE_GLOBAL;
3013 attr->type = HSP_TYPE_LOCAL;
3717 if (((hsp_attr->type == HSP_TYPE_GLOBAL) &&
3719 ((hsp_attr->type == HSP_TYPE_LOCAL) &&
3824 if (hsp_attr->type == HSP_TYPE_GLOBAL) {
3835 hsp_attr->type == HSP_TYPE_GLOBAL)
3840 } else if (hsp_attr->type != HSP_TYPE_GLOBAL) {
4045 raid_obj_type_id_t type)
4053 if ((type < OBJ_TYPE_SYSTEM) || (type >= OBJ_TYPE_ALL))
4056 obj->obj_type_id = type;