Lines Matching defs:stor_chns
465 struct vmbus_channel **stor_chns;
471 * Serializes modifications of stor_chns[] from storvsc_do_io()
656 * the "old" CPU to update the alloced_cpus mask and the stor_chns
675 WRITE_ONCE(stor_device->stor_chns[old], cur_chn);
679 /* "Flush" the stor_chns array. */
681 if (stor_device->stor_chns[cpu] && !cpumask_test_cpu(
683 WRITE_ONCE(stor_device->stor_chns[cpu], NULL);
686 WRITE_ONCE(stor_device->stor_chns[new], channel);
722 stor_device->stor_chns[new_sc->target_cpu] = new_sc;
944 stor_device->stor_chns = kcalloc(num_possible_cpus(), sizeof(void *),
946 if (stor_device->stor_chns == NULL)
951 stor_device->stor_chns[device->channel->target_cpu] = device->channel;
1334 kfree(stor_device->stor_chns);
1348 stor_device->stor_chns[q_num] = stor_device->device->channel;
1369 stor_device->stor_chns[q_num] = stor_device->device->channel;
1385 stor_device->stor_chns[q_num] = stor_device->stor_chns[tgt_cpu];
1387 return stor_device->stor_chns[q_num];
1414 outgoing_channel = READ_ONCE(stor_device->stor_chns[q_num]);
1429 stor_device->stor_chns[tgt_cpu]);
1458 stor_device->stor_chns[tgt_cpu]);
1471 outgoing_channel = stor_device->stor_chns[q_num];
2068 kfree(stor_device->stor_chns);
2117 kfree(stor_device->stor_chns);
2118 stor_device->stor_chns = NULL;