Home
last modified time | relevance | path

Searched refs:new_msb (Results 1 – 2 of 2) sorted by relevance

/drivers/memstick/core/
Dms_block.c2249 struct msb_data *new_msb = NULL; in msb_resume() local
2258 new_msb = kzalloc(sizeof(struct msb_data), GFP_KERNEL); in msb_resume()
2259 if (!new_msb) in msb_resume()
2262 new_msb->card = card; in msb_resume()
2263 memstick_set_drvdata(card, new_msb); in msb_resume()
2264 spin_lock_init(&new_msb->q_lock); in msb_resume()
2270 if (msb->block_size != new_msb->block_size) in msb_resume()
2273 if (memcmp(msb->boot_page, new_msb->boot_page, in msb_resume()
2277 if (msb->logical_block_count != new_msb->logical_block_count || in msb_resume()
2278 memcmp(msb->lba_to_pba_table, new_msb->lba_to_pba_table, in msb_resume()
[all …]
Dmspro_block.c1383 struct mspro_block_data *new_msb; in mspro_block_resume() local
1389 new_msb = kzalloc(sizeof(struct mspro_block_data), GFP_KERNEL); in mspro_block_resume()
1390 if (!new_msb) { in mspro_block_resume()
1395 new_msb->card = card; in mspro_block_resume()
1396 memstick_set_drvdata(card, new_msb); in mspro_block_resume()
1400 for (cnt = 0; new_msb->attr_group.attrs[cnt] in mspro_block_resume()
1402 s_attr = mspro_from_sysfs_attr(new_msb->attr_group.attrs[cnt]); in mspro_block_resume()
1417 mspro_block_data_clear(new_msb); in mspro_block_resume()
1418 kfree(new_msb); in mspro_block_resume()