Lines Matching refs:prev_data
102 void *prev_data; member
1337 memcpy(uid, dev->prev_data, min(sizeof(uid), dev->prev_d_len)); in gen_key()
1338 kfree(dev->prev_data); in gen_key()
1339 dev->prev_data = NULL; in gen_key()
1369 dev->prev_data = kmemdup(activekey, keylen, GFP_KERNEL); in get_active_key_cont()
1371 if (!dev->prev_data) in get_active_key_cont()
1749 const u8 *key = dev->prev_data; in start_SIDASP_opal_session()
1763 dev->prev_data = NULL; in start_SIDASP_opal_session()
2325 dev->prev_data = kmemdup(msid_pin, strlen, GFP_KERNEL); in get_msid_cpin_pin()
2326 if (!dev->prev_data) in get_msid_cpin_pin()
2352 dev->prev_data = (void *)data_read; in read_table_data_cont()
2353 if (!dev->prev_data) { in read_table_data_cont()
2428 if (copy_to_user(dst + off, dev->prev_data, dev->prev_d_len)) { in read_table_data()
2433 dev->prev_data = NULL; in read_table_data()
2468 dev->prev_data = NULL; in setup_opal_dev()