Searched refs:new_msb (Results 1 – 2 of 2) sorted by relevance
2220 struct msb_data *new_msb = NULL; in msb_resume() local2229 new_msb = kzalloc(sizeof(struct msb_data), GFP_KERNEL); in msb_resume()2230 if (!new_msb) in msb_resume()2233 new_msb->card = card; in msb_resume()2234 memstick_set_drvdata(card, new_msb); in msb_resume()2235 spin_lock_init(&new_msb->q_lock); in msb_resume()2241 if (msb->block_size != new_msb->block_size) in msb_resume()2244 if (memcmp(msb->boot_page, new_msb->boot_page, in msb_resume()2248 if (msb->logical_block_count != new_msb->logical_block_count || in msb_resume()2249 memcmp(msb->lba_to_pba_table, new_msb->lba_to_pba_table, in msb_resume()[all …]
1333 struct mspro_block_data *new_msb; in mspro_block_resume() local1339 new_msb = kzalloc(sizeof(struct mspro_block_data), GFP_KERNEL); in mspro_block_resume()1340 if (!new_msb) { in mspro_block_resume()1345 new_msb->card = card; in mspro_block_resume()1346 memstick_set_drvdata(card, new_msb); in mspro_block_resume()1351 for (cnt = 0; new_msb->attr_group.attrs[cnt] in mspro_block_resume()1353 s_attr = mspro_from_sysfs_attr(new_msb->attr_group.attrs[cnt]); in mspro_block_resume()1368 mspro_block_data_clear(new_msb); in mspro_block_resume()1369 kfree(new_msb); in mspro_block_resume()