Searched refs:new_msb (Results 1 – 2 of 2) sorted by relevance
2239 struct msb_data *new_msb = NULL; in msb_resume() local2248 new_msb = kzalloc(sizeof(struct msb_data), GFP_KERNEL); in msb_resume()2249 if (!new_msb) in msb_resume()2252 new_msb->card = card; in msb_resume()2253 memstick_set_drvdata(card, new_msb); in msb_resume()2254 spin_lock_init(&new_msb->q_lock); in msb_resume()2260 if (msb->block_size != new_msb->block_size) in msb_resume()2263 if (memcmp(msb->boot_page, new_msb->boot_page, in msb_resume()2267 if (msb->logical_block_count != new_msb->logical_block_count || in msb_resume()2268 memcmp(msb->lba_to_pba_table, new_msb->lba_to_pba_table, in msb_resume()[all …]
1371 struct mspro_block_data *new_msb; in mspro_block_resume() local1377 new_msb = kzalloc(sizeof(struct mspro_block_data), GFP_KERNEL); in mspro_block_resume()1378 if (!new_msb) { in mspro_block_resume()1383 new_msb->card = card; in mspro_block_resume()1384 memstick_set_drvdata(card, new_msb); in mspro_block_resume()1388 for (cnt = 0; new_msb->attr_group.attrs[cnt] in mspro_block_resume()1390 s_attr = mspro_from_sysfs_attr(new_msb->attr_group.attrs[cnt]); in mspro_block_resume()1405 mspro_block_data_clear(new_msb); in mspro_block_resume()1406 kfree(new_msb); in mspro_block_resume()