Lines Matching full:private
217 struct dasd_eckd_private *private = device->private; in dasd_eckd_track_from_irb() local
245 *track = cyl * private->rdc_data.trk_per_cyl + head; in dasd_eckd_track_from_irb()
252 struct dasd_eckd_private *private = device->private; in set_timestamp() local
260 if ((rc && !private->rdc_data.facilities.XRC_supported) || in set_timestamp()
281 struct dasd_eckd_private *private = device->private; in define_extent() local
304 data->attributes.operation = private->attrib.operation; in define_extent()
313 data->attributes.operation = private->attrib.operation; in define_extent()
321 data->attributes.operation = private->attrib.operation; in define_extent()
339 data->attributes.operation = private->attrib.operation; in define_extent()
344 data->attributes.operation = private->attrib.operation; in define_extent()
356 if ((private->rdc_data.cu_type == 0x2105 || in define_extent()
357 private->rdc_data.cu_type == 0x2107 || in define_extent()
358 private->rdc_data.cu_type == 0x1750) in define_extent()
359 && !(private->uses_cdl && trk < 2)) in define_extent()
362 heads = private->rdc_data.trk_per_cyl; in define_extent()
372 if (endcyl + private->attrib.nr_cyl < private->real_cyl) in define_extent()
373 endcyl += private->attrib.nr_cyl; in define_extent()
375 endcyl = (private->real_cyl - 1); in define_extent()
389 struct dasd_eckd_private *private = device->private; in locate_record_ext() local
406 switch (private->rdc_data.dev_type) { in locate_record_ext()
519 trk / private->rdc_data.trk_per_cyl, in locate_record_ext()
520 trk % private->rdc_data.trk_per_cyl); in locate_record_ext()
537 basepriv = basedev->private; in prefix_LRE()
538 startpriv = startdev->private; in prefix_LRE()
566 /* private uid is kept up to date, conf_data may be outdated */ in prefix_LRE()
606 struct dasd_eckd_private *private = device->private; in locate_record() local
622 switch (private->rdc_data.dev_type) { in locate_record()
696 trk / private->rdc_data.trk_per_cyl, in locate_record()
697 trk % private->rdc_data.trk_per_cyl); in locate_record()
737 /* create unique id from private structure. */
738 static void create_uid(struct dasd_eckd_private *private) in create_uid() argument
743 uid = &private->uid; in create_uid()
745 memcpy(uid->vendor, private->ned->HDA_manufacturer, in create_uid()
748 memcpy(uid->serial, private->ned->HDA_location, in create_uid()
751 uid->ssid = private->gneq->subsystemID; in create_uid()
752 uid->real_unit_addr = private->ned->unit_addr; in create_uid()
753 if (private->sneq) { in create_uid()
754 uid->type = private->sneq->sua_flags; in create_uid()
756 uid->base_unit_addr = private->sneq->base_unit_addr; in create_uid()
760 if (private->vdsneq) { in create_uid()
763 private->vdsneq->uit[count]); in create_uid()
773 struct dasd_eckd_private *private = device->private; in dasd_eckd_generate_uid() local
776 if (!private) in dasd_eckd_generate_uid()
778 if (!private->ned || !private->gneq) in dasd_eckd_generate_uid()
781 create_uid(private); in dasd_eckd_generate_uid()
788 struct dasd_eckd_private *private = device->private; in dasd_eckd_get_uid() local
791 if (private) { in dasd_eckd_get_uid()
793 *uid = private->uid; in dasd_eckd_get_uid()
805 struct dasd_eckd_private *private) in dasd_eckd_compare_path_uid() argument
809 create_uid(private); in dasd_eckd_compare_path_uid()
812 return memcmp(&device_uid, &private->uid, sizeof(struct dasd_uid)); in dasd_eckd_compare_path_uid()
948 static int dasd_eckd_identify_conf_parts(struct dasd_eckd_private *private) in dasd_eckd_identify_conf_parts() argument
954 private->ned = NULL; in dasd_eckd_identify_conf_parts()
955 private->sneq = NULL; in dasd_eckd_identify_conf_parts()
956 private->vdsneq = NULL; in dasd_eckd_identify_conf_parts()
957 private->gneq = NULL; in dasd_eckd_identify_conf_parts()
958 count = private->conf_len / sizeof(struct dasd_sneq); in dasd_eckd_identify_conf_parts()
959 sneq = (struct dasd_sneq *)private->conf_data; in dasd_eckd_identify_conf_parts()
962 private->sneq = sneq; in dasd_eckd_identify_conf_parts()
964 private->vdsneq = (struct vd_sneq *)sneq; in dasd_eckd_identify_conf_parts()
966 private->gneq = (struct dasd_gneq *)sneq; in dasd_eckd_identify_conf_parts()
968 private->ned = (struct dasd_ned *)sneq; in dasd_eckd_identify_conf_parts()
971 if (!private->ned || !private->gneq) { in dasd_eckd_identify_conf_parts()
972 private->ned = NULL; in dasd_eckd_identify_conf_parts()
973 private->sneq = NULL; in dasd_eckd_identify_conf_parts()
974 private->vdsneq = NULL; in dasd_eckd_identify_conf_parts()
975 private->gneq = NULL; in dasd_eckd_identify_conf_parts()
1005 struct dasd_eckd_private *private = device->private; in dasd_eckd_clear_conf_data() local
1008 private->conf_data = NULL; in dasd_eckd_clear_conf_data()
1009 private->conf_len = 0; in dasd_eckd_clear_conf_data()
1026 struct dasd_eckd_private *private, path_private; in dasd_eckd_read_conf() local
1032 private = device->private; in dasd_eckd_read_conf()
1061 private->conf_data = conf_data; in dasd_eckd_read_conf()
1062 private->conf_len = conf_len; in dasd_eckd_read_conf()
1063 if (dasd_eckd_identify_conf_parts(private)) { in dasd_eckd_read_conf()
1064 private->conf_data = NULL; in dasd_eckd_read_conf()
1065 private->conf_len = 0; in dasd_eckd_read_conf()
1111 uid = &private->uid; in dasd_eckd_read_conf()
1168 struct dasd_eckd_private *private = device->private; in get_fcx_max_data() local
1177 fcx_in_gneq = private->gneq->reserved2[7] & 0x04; in get_fcx_max_data()
1178 fcx_in_features = private->features.feature[40] & 0x80; in get_fcx_max_data()
1195 struct dasd_eckd_private *private = device->private; in verify_fcx_max_data() local
1199 if (private->fcx_max_data) { in verify_fcx_max_data()
1209 if (fcx_max_data < private->fcx_max_data) { in verify_fcx_max_data()
1214 private->fcx_max_data); in verify_fcx_max_data()
1224 struct dasd_eckd_private *private = device->private; in rebuild_device_uid() local
1246 memcpy(private->conf_data, data->rcd_buffer, in rebuild_device_uid()
1248 if (dasd_eckd_identify_conf_parts(private)) { in rebuild_device_uid()
1454 struct dasd_eckd_private *private = device->private; in dasd_eckd_reset_path() local
1457 if (!private->fcx_max_data) in dasd_eckd_reset_path()
1458 private->fcx_max_data = get_fcx_max_data(device); in dasd_eckd_reset_path()
1467 struct dasd_eckd_private *private = device->private; in dasd_eckd_read_features() local
1474 memset(&private->features, 0, sizeof(struct dasd_rssd_features)); in dasd_eckd_read_features()
1518 memcpy(&private->features, features, in dasd_eckd_read_features()
1530 struct dasd_eckd_private *private = device->private; in dasd_eckd_read_vol_info() local
1539 if (private->uid.type == UA_BASE_PAV_ALIAS || in dasd_eckd_read_vol_info()
1540 private->uid.type == UA_HYPER_PAV_ALIAS) in dasd_eckd_read_vol_info()
1563 prssdp->lss = private->ned->ID; in dasd_eckd_read_vol_info()
1564 prssdp->volume = private->ned->unit_addr; in dasd_eckd_read_vol_info()
1594 memcpy(&private->vsq, vsq, sizeof(*vsq)); in dasd_eckd_read_vol_info()
1610 struct dasd_eckd_private *private = device->private; in dasd_eckd_is_ese() local
1612 return private->vsq.vol_info.ese; in dasd_eckd_is_ese()
1617 struct dasd_eckd_private *private = device->private; in dasd_eckd_ext_pool_id() local
1619 return private->vsq.extent_pool_id; in dasd_eckd_ext_pool_id()
1629 struct dasd_eckd_private *private = device->private; in dasd_eckd_space_configured() local
1634 return rc ? : private->vsq.space_configured; in dasd_eckd_space_configured()
1643 struct dasd_eckd_private *private = device->private; in dasd_eckd_space_allocated() local
1648 return rc ? : private->vsq.space_allocated; in dasd_eckd_space_allocated()
1653 struct dasd_eckd_private *private = device->private; in dasd_eckd_logical_capacity() local
1655 return private->vsq.logical_capacity; in dasd_eckd_logical_capacity()
1708 struct dasd_eckd_private *private = device->private; in dasd_eckd_cpy_ext_pool_data() local
1716 memcpy(&private->eps, &eps, in dasd_eckd_cpy_ext_pool_data()
1725 struct dasd_eckd_private *private = device->private; in dasd_eckd_read_ext_pool_info() local
1733 if (private->uid.type == UA_BASE_PAV_ALIAS || in dasd_eckd_read_ext_pool_info()
1734 private->uid.type == UA_HYPER_PAV_ALIAS) in dasd_eckd_read_ext_pool_info()
1796 struct dasd_eckd_private *private = device->private; in dasd_eckd_ext_size() local
1797 struct dasd_ext_pool_sum eps = private->eps; in dasd_eckd_ext_size()
1811 struct dasd_eckd_private *private = device->private; in dasd_eckd_ext_pool_warn_thrshld() local
1813 return private->eps.warn_thrshld; in dasd_eckd_ext_pool_warn_thrshld()
1818 struct dasd_eckd_private *private = device->private; in dasd_eckd_ext_pool_cap_at_warnlevel() local
1820 return private->eps.flags.capacity_at_warnlevel; in dasd_eckd_ext_pool_cap_at_warnlevel()
1828 struct dasd_eckd_private *private = device->private; in dasd_eckd_ext_pool_oos() local
1830 return private->eps.flags.pool_oos; in dasd_eckd_ext_pool_oos()
1913 struct dasd_eckd_private *private = device->private; in dasd_eckd_validate_server() local
1916 if (private->uid.type == UA_BASE_PAV_ALIAS || in dasd_eckd_validate_server()
1917 private->uid.type == UA_HYPER_PAV_ALIAS) in dasd_eckd_validate_server()
1928 "returned rc=%d", private->uid.ssid, rc); in dasd_eckd_validate_server()
1973 struct dasd_eckd_private *private = device->private; in dasd_eckd_check_characteristics() local
1994 if (!private) { in dasd_eckd_check_characteristics()
1995 private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA); in dasd_eckd_check_characteristics()
1996 if (!private) { in dasd_eckd_check_characteristics()
1998 "Allocating memory for private DASD data " in dasd_eckd_check_characteristics()
2002 device->private = private; in dasd_eckd_check_characteristics()
2004 memset(private, 0, sizeof(*private)); in dasd_eckd_check_characteristics()
2007 private->init_cqr_status = -1; in dasd_eckd_check_characteristics()
2009 private->attrib.operation = DASD_NORMAL_CACHE; in dasd_eckd_check_characteristics()
2010 private->attrib.nr_cyl = 0; in dasd_eckd_check_characteristics()
2023 if (private->gneq) { in dasd_eckd_check_characteristics()
2025 for (i = 0; i < private->gneq->timeout.value; i++) in dasd_eckd_check_characteristics()
2027 value = value * private->gneq->timeout.number; in dasd_eckd_check_characteristics()
2070 &private->rdc_data, 64); in dasd_eckd_check_characteristics()
2078 !(private->rdc_data.facilities.RT_in_LR)) { in dasd_eckd_check_characteristics()
2086 if (private->rdc_data.no_cyl == LV_COMPAT_CYL && in dasd_eckd_check_characteristics()
2087 private->rdc_data.long_no_cyl) in dasd_eckd_check_characteristics()
2088 private->real_cyl = private->rdc_data.long_no_cyl; in dasd_eckd_check_characteristics()
2090 private->real_cyl = private->rdc_data.no_cyl; in dasd_eckd_check_characteristics()
2092 private->fcx_max_data = get_fcx_max_data(device); in dasd_eckd_check_characteristics()
2100 private->rdc_data.dev_type, in dasd_eckd_check_characteristics()
2101 private->rdc_data.dev_model, in dasd_eckd_check_characteristics()
2102 private->rdc_data.cu_type, in dasd_eckd_check_characteristics()
2103 private->rdc_data.cu_model.model, in dasd_eckd_check_characteristics()
2104 private->real_cyl, in dasd_eckd_check_characteristics()
2105 private->rdc_data.trk_per_cyl, in dasd_eckd_check_characteristics()
2106 private->rdc_data.sec_per_trk, in dasd_eckd_check_characteristics()
2117 kfree(device->private); in dasd_eckd_check_characteristics()
2118 device->private = NULL; in dasd_eckd_check_characteristics()
2124 struct dasd_eckd_private *private = device->private; in dasd_eckd_uncheck_device() local
2126 if (!private) in dasd_eckd_uncheck_device()
2130 private->ned = NULL; in dasd_eckd_uncheck_device()
2131 private->sneq = NULL; in dasd_eckd_uncheck_device()
2132 private->vdsneq = NULL; in dasd_eckd_uncheck_device()
2133 private->gneq = NULL; in dasd_eckd_uncheck_device()
2140 struct dasd_eckd_private *private = device->private; in dasd_eckd_analysis_ccw() local
2164 count_data = private->count_area; in dasd_eckd_analysis_ccw()
2226 struct dasd_eckd_private *private = device->private; in dasd_eckd_analysis_callback() local
2228 private->init_cqr_status = dasd_eckd_analysis_evaluation(init_cqr); in dasd_eckd_analysis_callback()
2255 struct dasd_eckd_private *private = device->private; in dasd_eckd_end_analysis() local
2261 status = private->init_cqr_status; in dasd_eckd_end_analysis()
2262 private->init_cqr_status = -1; in dasd_eckd_end_analysis()
2288 private->uses_cdl = 1; in dasd_eckd_end_analysis()
2292 if (private->count_area[i].kl != 4 || in dasd_eckd_end_analysis()
2293 private->count_area[i].dl != dasd_eckd_cdl_reclen(i) - 4 || in dasd_eckd_end_analysis()
2294 private->count_area[i].cyl != 0 || in dasd_eckd_end_analysis()
2295 private->count_area[i].head != count_area_head[i] || in dasd_eckd_end_analysis()
2296 private->count_area[i].record != count_area_rec[i]) { in dasd_eckd_end_analysis()
2297 private->uses_cdl = 0; in dasd_eckd_end_analysis()
2302 count_area = &private->count_area[3]; in dasd_eckd_end_analysis()
2304 if (private->uses_cdl == 0) { in dasd_eckd_end_analysis()
2306 if ((private->count_area[i].kl != 0) || in dasd_eckd_end_analysis()
2307 (private->count_area[i].dl != in dasd_eckd_end_analysis()
2308 private->count_area[0].dl) || in dasd_eckd_end_analysis()
2309 private->count_area[i].cyl != 0 || in dasd_eckd_end_analysis()
2310 private->count_area[i].head != count_area_head[i] || in dasd_eckd_end_analysis()
2311 private->count_area[i].record != count_area_rec[i]) in dasd_eckd_end_analysis()
2315 count_area = &private->count_area[0]; in dasd_eckd_end_analysis()
2317 if (private->count_area[3].record == 1) in dasd_eckd_end_analysis()
2336 blk_per_trk = recs_per_track(&private->rdc_data, 0, block->bp_block); in dasd_eckd_end_analysis()
2339 block->blocks = ((unsigned long) private->real_cyl * in dasd_eckd_end_analysis()
2340 private->rdc_data.trk_per_cyl * in dasd_eckd_end_analysis()
2346 (((unsigned long) private->real_cyl * in dasd_eckd_end_analysis()
2347 private->rdc_data.trk_per_cyl * in dasd_eckd_end_analysis()
2350 private->uses_cdl ? in dasd_eckd_end_analysis()
2358 struct dasd_eckd_private *private = block->base->private; in dasd_eckd_do_analysis() local
2360 if (private->init_cqr_status < 0) in dasd_eckd_do_analysis()
2389 struct dasd_eckd_private *private = block->base->private; in dasd_eckd_fill_geometry() local
2392 geo->sectors = recs_per_track(&private->rdc_data, in dasd_eckd_fill_geometry()
2395 geo->cylinders = private->rdc_data.no_cyl; in dasd_eckd_fill_geometry()
2396 geo->heads = private->rdc_data.trk_per_cyl; in dasd_eckd_fill_geometry()
2424 start_priv = startdev->private; in dasd_eckd_build_check_tcw()
2510 start_priv = startdev->private; in dasd_eckd_build_check()
2511 base_priv = base->private; in dasd_eckd_build_check()
2598 start_priv = startdev->private; in dasd_eckd_build_format()
2599 base_priv = base->private; in dasd_eckd_build_format()
2863 struct dasd_eckd_private *private = base->private; in dasd_eckd_format_sanity_checks() local
2866 (private->real_cyl * private->rdc_data.trk_per_cyl)) { in dasd_eckd_format_sanity_checks()
2873 (private->real_cyl * private->rdc_data.trk_per_cyl)) { in dasd_eckd_format_sanity_checks()
2903 struct dasd_eckd_private *private = base->private; in dasd_eckd_format_process_data() local
2930 recs_per_track(&private->rdc_data, 0, fdata->blksize); in dasd_eckd_format_process_data()
2975 private = device->private; in dasd_eckd_format_process_data()
2990 private->count--; in dasd_eckd_format_process_data()
3065 struct dasd_eckd_private *private = device->private; in dasd_eckd_ese_format_cb() local
3069 private->count--; in dasd_eckd_ese_format_cb()
3077 struct dasd_eckd_private *private; in dasd_eckd_ese_format() local
3094 private = base->private; in dasd_eckd_ese_format()
3096 recs_per_trk = recs_per_track(&private->rdc_data, 0, blksize); in dasd_eckd_ese_format()
3122 fdata.intensity = private->uses_cdl ? DASD_FMT_INT_COMPAT : 0; in dasd_eckd_ese_format()
3156 struct dasd_eckd_private *private; in dasd_eckd_ese_read() local
3177 private = base->private; in dasd_eckd_ese_read()
3181 recs_per_trk = recs_per_track(&private->rdc_data, 0, blksize); in dasd_eckd_ese_read()
3378 struct dasd_eckd_private *private = base->private; in dasd_eckd_check_device_format() local
3388 trk_per_cyl = private->rdc_data.trk_per_cyl; in dasd_eckd_check_device_format()
3391 rpt_max = recs_per_track(&private->rdc_data, 0, 512) + 1; in dasd_eckd_check_device_format()
3392 rpt_exp = recs_per_track(&private->rdc_data, 0, cdata->expect.blksize); in dasd_eckd_check_device_format()
3409 if ((private->features.feature[40] & 0x04) && in dasd_eckd_check_device_format()
3410 fmt_buffer_size <= private->fcx_max_data) in dasd_eckd_check_device_format()
3490 struct dasd_eckd_private *private = device->private; in dasd_eckd_check_for_device_change() local
3499 if (!device->block && private->lcu && in dasd_eckd_check_for_device_change()
3530 private->suc_reason = sense[8]; in dasd_eckd_check_for_device_change()
3533 private->suc_reason); in dasd_eckd_check_for_device_change()
3567 struct dasd_eckd_private *private = device->private; in dasd_eckd_ras_sanity_checks() local
3571 trks_per_vol = private->real_cyl * private->rdc_data.trk_per_cyl; in dasd_eckd_ras_sanity_checks()
3634 struct dasd_eckd_private *private = device->private; in dasd_eckd_dso_ras() local
3655 features = &private->features; in dasd_eckd_dso_ras()
3657 trks_per_ext = dasd_eckd_ext_size(device) * private->rdc_data.trk_per_cyl; in dasd_eckd_dso_ras()
3684 ras_data->lss = private->ned->ID; in dasd_eckd_dso_ras()
3685 ras_data->dev_addr = private->ned->unit_addr; in dasd_eckd_dso_ras()
3689 heads = private->rdc_data.trk_per_cyl; in dasd_eckd_dso_ras()
3749 struct dasd_eckd_private *private = device->private; in dasd_eckd_release_space_trks() local
3762 device_exts = private->real_cyl / dasd_eckd_ext_size(device); in dasd_eckd_release_space_trks()
3763 trks_per_ext = dasd_eckd_ext_size(device) * private->rdc_data.trk_per_cyl; in dasd_eckd_release_space_trks()
3800 private = device->private; in dasd_eckd_release_space_trks()
3806 private->count--; in dasd_eckd_release_space_trks()
3839 struct dasd_eckd_private *private; in dasd_eckd_build_cp_cmd_single() local
3855 private = basedev->private; in dasd_eckd_build_cp_cmd_single()
3879 use_prefix = private->features.feature[8] & 0x01; in dasd_eckd_build_cp_cmd_single()
3896 if (private->uses_cdl && first_rec < 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
3935 if (private->uses_cdl == 0 || recid > 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
3957 if (private->uses_cdl && recid < 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
3972 if (private->uses_cdl && recid == 2*blk_per_trk) { in dasd_eckd_build_cp_cmd_single()
4220 basepriv = basedev->private; in prepare_itcw()
4221 startpriv = startdev->private; in prepare_itcw()
4231 /* private uid is kept up to date, conf_data may be outdated */ in prepare_itcw()
4531 struct dasd_eckd_private *private; in dasd_eckd_build_cp() local
4542 private = basedev->private; in dasd_eckd_build_cp()
4546 blk_per_trk = recs_per_track(&private->rdc_data, 0, blksize); in dasd_eckd_build_cp()
4555 cdlspecial = (private->uses_cdl && first_rec < 2*blk_per_trk); in dasd_eckd_build_cp()
4557 fcx_multitrack = private->features.feature[40] & 0x20; in dasd_eckd_build_cp()
4566 cmdrtd = private->features.feature[9] & 0x20; in dasd_eckd_build_cp()
4567 cmdwtd = private->features.feature[12] & 0x40; in dasd_eckd_build_cp()
4568 use_prefix = private->features.feature[8] & 0x01; in dasd_eckd_build_cp()
4573 } else if ((data_size <= private->fcx_max_data) in dasd_eckd_build_cp()
4669 base_priv = basedev->private; in dasd_eckd_build_cp_raw()
4761 struct dasd_eckd_private *private; in dasd_eckd_free_cp() local
4772 private = cqr->block->base->private; in dasd_eckd_free_cp()
4774 blk_per_trk = recs_per_track(&private->rdc_data, 0, blksize); in dasd_eckd_free_cp()
4779 if (private->uses_cdl == 0 || recid > 2*blk_per_trk) in dasd_eckd_free_cp()
4785 if (private->uses_cdl && recid <= 2*blk_per_trk) in dasd_eckd_free_cp()
4848 struct dasd_eckd_private *private; in dasd_eckd_build_alias_cp() local
4856 private = startdev->private; in dasd_eckd_build_alias_cp()
4857 if (private->count >= DASD_ECKD_CHANQ_MAX_SIZE) in dasd_eckd_build_alias_cp()
4861 private->count++; in dasd_eckd_build_alias_cp()
4867 private->count--; in dasd_eckd_build_alias_cp()
4875 struct dasd_eckd_private *private; in dasd_eckd_free_alias_cp() local
4879 private = cqr->memdev->private; in dasd_eckd_free_alias_cp()
4880 private->count--; in dasd_eckd_free_alias_cp()
4889 struct dasd_eckd_private *private = device->private; in dasd_eckd_fill_info() local
4892 info->FBA_layout = private->uses_cdl ? 0 : 1; in dasd_eckd_fill_info()
4893 info->format = private->uses_cdl ? DASD_FORMAT_CDL : DASD_FORMAT_LDL; in dasd_eckd_fill_info()
4894 info->characteristics_size = sizeof(private->rdc_data); in dasd_eckd_fill_info()
4895 memcpy(info->characteristics, &private->rdc_data, in dasd_eckd_fill_info()
4896 sizeof(private->rdc_data)); in dasd_eckd_fill_info()
4897 info->confdata_size = min((unsigned long)private->conf_len, in dasd_eckd_fill_info()
4899 memcpy(info->configuration_data, private->conf_data, in dasd_eckd_fill_info()
5210 struct dasd_eckd_private *private = device->private; in dasd_eckd_get_attrib() local
5211 struct attrib_data_t attrib = private->attrib; in dasd_eckd_get_attrib()
5234 struct dasd_eckd_private *private = device->private; in dasd_eckd_set_attrib() local
5244 private->attrib = attrib; in dasd_eckd_set_attrib()
5248 private->attrib.operation, private->attrib.nr_cyl); in dasd_eckd_set_attrib()
5734 struct dasd_eckd_private *private = device->private; in dasd_eckd_restore_device() local
5753 if (memcmp(&private->uid, &temp_uid, sizeof(struct dasd_uid)) != 0) in dasd_eckd_restore_device()
5794 memcpy(&private->rdc_data, &temp_rdc_data, sizeof(temp_rdc_data)); in dasd_eckd_restore_device()
5810 struct dasd_eckd_private *private = device->private; in dasd_eckd_reload_device() local
5823 old_base = private->uid.base_unit_addr; in dasd_eckd_reload_device()
5947 struct dasd_eckd_private *private = device->private; in dasd_eckd_query_host_access() local
5955 if (!device->block && private->lcu->pav == HYPER_PAV) in dasd_eckd_query_host_access()
5959 if (!(private->features.feature[14] & 0x80)) in dasd_eckd_query_host_access()
5989 prssdp->lss = private->ned->ID; in dasd_eckd_query_host_access()
5990 prssdp->volume = private->ned->unit_addr; in dasd_eckd_query_host_access()
6301 struct dasd_eckd_private *private = device->private; in dasd_eckd_cuir_quiesce() local
6309 list_for_each_entry_safe(dev, n, &private->lcu->active_devices, in dasd_eckd_cuir_quiesce()
6319 list_for_each_entry_safe(dev, n, &private->lcu->inactive_devices, in dasd_eckd_cuir_quiesce()
6330 &private->lcu->grouplist, group) { in dasd_eckd_cuir_quiesce()
6362 struct dasd_eckd_private *private = device->private; in dasd_eckd_cuir_resume() local
6373 &private->lcu->active_devices, in dasd_eckd_cuir_resume()
6383 &private->lcu->inactive_devices, in dasd_eckd_cuir_resume()
6394 &private->lcu->grouplist, in dasd_eckd_cuir_resume()
6457 struct dasd_eckd_private *private = device->private; in dasd_eckd_oos_resume() local
6462 spin_lock_irqsave(&private->lcu->lock, flags); in dasd_eckd_oos_resume()
6463 list_for_each_entry_safe(dev, n, &private->lcu->active_devices, in dasd_eckd_oos_resume()
6468 list_for_each_entry_safe(dev, n, &private->lcu->inactive_devices, in dasd_eckd_oos_resume()
6475 &private->lcu->grouplist, in dasd_eckd_oos_resume()
6488 spin_unlock_irqrestore(&private->lcu->lock, flags); in dasd_eckd_oos_resume()
6584 struct dasd_eckd_private *private = device->private; in dasd_eckd_disable_hpf_device() local
6588 private->fcx_max_data = 0; in dasd_eckd_disable_hpf_device()
6593 struct dasd_eckd_private *private = device->private; in dasd_eckd_hpf_enabled() local
6595 return private->fcx_max_data ? 1 : 0; in dasd_eckd_hpf_enabled()
6601 struct dasd_eckd_private *private = device->private; in dasd_eckd_handle_hpf_error() local
6603 if (!private->fcx_max_data) { in dasd_eckd_handle_hpf_error()