Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dstorvsc_drv.c465 struct vmbus_channel **stor_chns; member
675 WRITE_ONCE(stor_device->stor_chns[old], cur_chn); in storvsc_change_target_cpu()
681 if (stor_device->stor_chns[cpu] && !cpumask_test_cpu( in storvsc_change_target_cpu()
683 WRITE_ONCE(stor_device->stor_chns[cpu], NULL); in storvsc_change_target_cpu()
686 WRITE_ONCE(stor_device->stor_chns[new], channel); in storvsc_change_target_cpu()
722 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation()
944 stor_device->stor_chns = kcalloc(num_possible_cpus(), sizeof(void *), in storvsc_channel_init()
946 if (stor_device->stor_chns == NULL) in storvsc_channel_init()
951 stor_device->stor_chns[device->channel->target_cpu] = device->channel; in storvsc_channel_init()
1318 kfree(stor_device->stor_chns); in storvsc_dev_remove()
[all …]