Lines Matching defs:stor_chns
429 struct vmbus_channel **stor_chns;
435 * Serializes modifications of stor_chns[] from storvsc_do_io()
620 * the "old" CPU to update the alloced_cpus mask and the stor_chns
639 WRITE_ONCE(stor_device->stor_chns[old], cur_chn);
643 /* "Flush" the stor_chns array. */
645 if (stor_device->stor_chns[cpu] && !cpumask_test_cpu(
647 WRITE_ONCE(stor_device->stor_chns[cpu], NULL);
650 WRITE_ONCE(stor_device->stor_chns[new], channel);
706 stor_device->stor_chns[new_sc->target_cpu] = new_sc;
925 stor_device->stor_chns = kcalloc(num_possible_cpus(), sizeof(void *),
927 if (stor_device->stor_chns == NULL)
932 stor_device->stor_chns[device->channel->target_cpu] = device->channel;
1378 kfree(stor_device->stor_chns);
1392 stor_device->stor_chns[q_num] = stor_device->device->channel;
1413 stor_device->stor_chns[q_num] = stor_device->device->channel;
1429 stor_device->stor_chns[q_num] = stor_device->stor_chns[tgt_cpu];
1431 return stor_device->stor_chns[q_num];
1458 outgoing_channel = READ_ONCE(stor_device->stor_chns[q_num]);
1473 stor_device->stor_chns[tgt_cpu]);
1502 stor_device->stor_chns[tgt_cpu]);
1515 outgoing_channel = stor_device->stor_chns[q_num];
2109 kfree(stor_device->stor_chns);
2156 kfree(stor_device->stor_chns);
2157 stor_device->stor_chns = NULL;