Lines Matching full:private
117 struct dasd_fba_private *private = device->private; in dasd_fba_check_characteristics() local
122 if (!private) { in dasd_fba_check_characteristics()
123 private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA); in dasd_fba_check_characteristics()
124 if (!private) { in dasd_fba_check_characteristics()
126 "Allocating memory for private DASD " in dasd_fba_check_characteristics()
130 device->private = private; in dasd_fba_check_characteristics()
132 memset(private, 0, sizeof(*private)); in dasd_fba_check_characteristics()
138 device->private = NULL; in dasd_fba_check_characteristics()
139 kfree(private); in dasd_fba_check_characteristics()
147 &private->rdc_data, 32); in dasd_fba_check_characteristics()
153 device->private = NULL; in dasd_fba_check_characteristics()
154 kfree(private); in dasd_fba_check_characteristics()
176 ((private->rdc_data.blk_bdsa * in dasd_fba_check_characteristics()
177 (private->rdc_data.blk_size >> 9)) >> 11), in dasd_fba_check_characteristics()
178 private->rdc_data.blk_size, in dasd_fba_check_characteristics()
185 struct dasd_fba_private *private = block->base->private; in dasd_fba_do_analysis() local
188 rc = dasd_check_blocksize(private->rdc_data.blk_size); in dasd_fba_do_analysis()
191 private->rdc_data.blk_size); in dasd_fba_do_analysis()
194 block->blocks = private->rdc_data.blk_bdsa; in dasd_fba_do_analysis()
195 block->bp_block = private->rdc_data.blk_size; in dasd_fba_do_analysis()
197 for (sb = 512; sb < private->rdc_data.blk_size; sb = sb << 1) in dasd_fba_do_analysis()
430 struct dasd_fba_private *private = block->base->private; in dasd_fba_build_cp_regular() local
477 if (private->rdc_data.mode.bits.data_chain == 0) { in dasd_fba_build_cp_regular()
494 if (private->rdc_data.mode.bits.data_chain != 0) { in dasd_fba_build_cp_regular()
511 if (private->rdc_data.mode.bits.data_chain == 0) { in dasd_fba_build_cp_regular()
565 struct dasd_fba_private *private = cqr->block->base->private; in dasd_fba_free_cp() local
579 if (private->rdc_data.mode.bits.data_chain != 0) in dasd_fba_free_cp()
585 if (private->rdc_data.mode.bits.data_chain == 0) in dasd_fba_free_cp()
621 struct dasd_fba_private *private = device->private; in dasd_fba_fill_info() local
626 info->characteristics_size = sizeof(private->rdc_data); in dasd_fba_fill_info()
627 memcpy(info->characteristics, &private->rdc_data, in dasd_fba_fill_info()
628 sizeof(private->rdc_data)); in dasd_fba_fill_info()