Searched refs:new_sc (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/uio/ |
D | uio_hv_generic.c | 153 hv_uio_new_channel(struct vmbus_channel *new_sc) in hv_uio_new_channel() argument 155 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel() 161 ret = vmbus_open(new_sc, ring_bytes, ring_bytes, NULL, 0, in hv_uio_new_channel() 162 hv_uio_channel_cb, new_sc); in hv_uio_new_channel() 169 new_sc->inbound.ring_buffer->interrupt_mask = 1; in hv_uio_new_channel() 170 set_channel_read_mode(new_sc, HV_CALL_ISR); in hv_uio_new_channel() 172 ret = sysfs_create_bin_file(&new_sc->kobj, &ring_buffer_bin_attr); in hv_uio_new_channel() 175 vmbus_close(new_sc); in hv_uio_new_channel()
|
/Linux-v4.19/drivers/scsi/ |
D | storvsc_drv.c | 636 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation() argument 638 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation() 651 vmbus_open(new_sc, in handle_sc_creation() 656 storvsc_on_channel_callback, new_sc); in handle_sc_creation() 658 if (new_sc->state == CHANNEL_OPENED_STATE) { in handle_sc_creation() 659 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation() 660 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation()
|
/Linux-v4.19/drivers/net/hyperv/ |
D | rndis_filter.c | 1022 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open() argument 1025 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open() 1028 u16 chn_index = new_sc->offermsg.offer.sub_channel_index; in netvsc_sc_open() 1044 set_channel_read_mode(new_sc, HV_CALL_ISR); in netvsc_sc_open() 1047 nvchan->channel = new_sc; in netvsc_sc_open() 1049 ret = vmbus_open(new_sc, netvsc_ring_bytes, in netvsc_sc_open()
|
/Linux-v4.19/include/linux/ |
D | hyperv.h | 814 void (*sc_creation_callback)(struct vmbus_channel *new_sc); 962 void (*sc_cr_cb)(struct vmbus_channel *new_sc));
|
/Linux-v4.19/drivers/scsi/fnic/ |
D | fnic_scsi.c | 2107 bool new_sc) in fnic_clean_pending_aborts() argument 2129 if (!sc || ((sc == lr_sc) && new_sc) || sc->device != lun_dev) { in fnic_clean_pending_aborts() 2349 bool new_sc = 0; in fnic_device_reset() local 2400 new_sc = 1; in fnic_device_reset() 2535 if (fnic_clean_pending_aborts(fnic, sc, new_sc)) { in fnic_device_reset()
|
/Linux-v4.19/drivers/hv/ |
D | channel_mgmt.c | 1309 void (*sc_cr_cb)(struct vmbus_channel *new_sc)) in vmbus_set_sc_create_callback() argument
|