Lines Matching full:features

38  * dasd_devmap_t is used to store the features and the relation
51 unsigned short features; member
180 * Read colon separated list of dasd features.
184 int features, len, rc; in dasd_feature_list() local
186 features = 0; in dasd_feature_list()
196 features |= DASD_FEATURE_READONLY; in dasd_feature_list()
198 features |= DASD_FEATURE_USEDIAG; in dasd_feature_list()
200 features |= DASD_FEATURE_USERAW; in dasd_feature_list()
202 features |= DASD_FEATURE_ERPLOG; in dasd_feature_list()
204 features |= DASD_FEATURE_FAILFAST; in dasd_feature_list()
216 return rc ? : features; in dasd_feature_list()
277 * 0.0.1234-0.0.5678(ro:erplog) -> from: 0.0.1234 to: 0.0.5678 features: ro:erplog
278 * 0.0.8765(raw) -> from: 0.0.8765 to: null features: raw
279 * 0x4321 -> from: 0x4321 to: null features: null
314 int features; in dasd_parse_range() local
351 features = dasd_feature_list(features_str); in dasd_parse_range()
352 if (features < 0) { in dasd_parse_range()
357 features |= DASD_FEATURE_INITIAL_ONLINE; in dasd_parse_range()
360 devmap = dasd_add_busid(bus_id, features); in dasd_parse_range()
410 dasd_add_busid(const char *bus_id, int features) in dasd_add_busid() argument
430 new->features = features; in dasd_add_busid()
561 device->features = devmap->features; in dasd_create_device()
723 ff_flag = (devmap->features & DASD_FEATURE_FAILFAST) != 0; in dasd_ff_show()
759 ro_flag = !!(devmap->features & DASD_FEATURE_READONLY); in dasd_ro_show()
826 erplog = (devmap->features & DASD_FEATURE_ERPLOG) != 0; in dasd_erplog_show()
861 use_diag = (devmap->features & DASD_FEATURE_USEDIAG) != 0; in dasd_use_diag_show()
885 if (!devmap->device && !(devmap->features & DASD_FEATURE_USERAW)) { in dasd_use_diag_store()
887 devmap->features |= DASD_FEATURE_USEDIAG; in dasd_use_diag_store()
889 devmap->features &= ~DASD_FEATURE_USEDIAG; in dasd_use_diag_store()
910 use_raw = (devmap->features & DASD_FEATURE_USERAW) != 0; in dasd_use_raw_show()
934 if (!devmap->device && !(devmap->features & DASD_FEATURE_USEDIAG)) { in dasd_use_raw_store()
936 devmap->features |= DASD_FEATURE_USERAW; in dasd_use_raw_store()
938 devmap->features &= ~DASD_FEATURE_USERAW; in dasd_use_raw_store()
1414 if (devmap->features & DASD_FEATURE_FAILONSLCK) in dasd_reservation_policy_show()
1569 flag = (devmap->features & DASD_FEATURE_PATH_AUTODISABLE) != 0; in dasd_path_autodisable_show()
1752 return ((devmap->features & feature) != 0); in dasd_get_feature()
1770 devmap->features |= feature; in dasd_set_feature()
1772 devmap->features &= ~feature; in dasd_set_feature()
1774 devmap->device->features = devmap->features; in dasd_set_feature()