Searched refs:new_sc (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/uio/ |
| H A D | uio_hv_generic.c | 171 hv_uio_new_channel(struct vmbus_channel *new_sc) in hv_uio_new_channel() argument 173 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel() 179 ret = vmbus_open(new_sc, ring_bytes, ring_bytes, NULL, 0, in hv_uio_new_channel() 180 hv_uio_channel_cb, new_sc); in hv_uio_new_channel() 186 set_channel_read_mode(new_sc, HV_CALL_ISR); in hv_uio_new_channel() 187 ret = hv_create_ring_sysfs(new_sc, hv_uio_ring_mmap_prepare); in hv_uio_new_channel() 190 vmbus_close(new_sc); in hv_uio_new_channel()
|
| /linux/fs/smb/server/mgmt/ |
| H A D | tree_connect.c | 63 struct ksmbd_share_config *new_sc; in ksmbd_tree_conn_connect() local 66 new_sc = ksmbd_share_config_get(work, share_name); in ksmbd_tree_conn_connect() 67 if (!new_sc) { in ksmbd_tree_conn_connect() 73 sc = new_sc; in ksmbd_tree_conn_connect()
|
| /linux/drivers/net/hyperv/ |
| H A D | rndis_filter.c | 1223 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open() argument 1226 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open() 1229 u16 chn_index = new_sc->offermsg.offer.sub_channel_index; in netvsc_sc_open() 1245 set_channel_read_mode(new_sc, HV_CALL_ISR); in netvsc_sc_open() 1248 nvchan->channel = new_sc; in netvsc_sc_open() 1250 new_sc->next_request_id_callback = vmbus_next_request_id; in netvsc_sc_open() 1251 new_sc->request_addr_callback = vmbus_request_addr; in netvsc_sc_open() 1252 new_sc->rqstor_size = netvsc_rqstor_size(netvsc_ring_bytes); in netvsc_sc_open() 1253 new_sc->max_pkt_size = NETVSC_MAX_PKT_SIZE; in netvsc_sc_open() 1265 ret = vmbus_open(new_sc, netvsc_ring_bytes, in netvsc_sc_open()
|
| /linux/drivers/scsi/ |
| H A D | storvsc_drv.c | 716 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation() argument 718 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation() 729 new_sc->max_pkt_size = STORVSC_MAX_PKT_SIZE; in handle_sc_creation() 731 new_sc->next_request_id_callback = storvsc_next_request_id; in handle_sc_creation() 733 ret = vmbus_open(new_sc, in handle_sc_creation() 738 storvsc_on_channel_callback, new_sc); in handle_sc_creation() 746 new_sc->change_target_cpu_callback = storvsc_change_target_cpu; in handle_sc_creation() 749 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation() 750 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation()
|
| /linux/include/linux/ |
| H A D | hyperv.h | 898 void (*sc_creation_callback)(struct vmbus_channel *new_sc); 1122 void (*sc_cr_cb)(struct vmbus_channel *new_sc));
|
| /linux/drivers/hv/ |
| H A D | channel_mgmt.c | 1681 void (*sc_cr_cb)(struct vmbus_channel *new_sc)) in vmbus_set_chn_rescind_callback() 1675 vmbus_set_sc_create_callback(struct vmbus_channel * primary_channel,void (* sc_cr_cb)(struct vmbus_channel * new_sc)) vmbus_set_sc_create_callback() argument
|