Home
last modified time | relevance | path

Searched refs:new_sc (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/drivers/uio/
H A Duio_hv_generic.c152 hv_uio_new_channel(struct vmbus_channel *new_sc) in hv_uio_new_channel() argument
154 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel()
160 ret = vmbus_open(new_sc, ring_bytes, ring_bytes, NULL, 0, in hv_uio_new_channel()
161 hv_uio_channel_cb, new_sc); in hv_uio_new_channel()
168 new_sc->inbound.ring_buffer->interrupt_mask = 1; in hv_uio_new_channel()
169 set_channel_read_mode(new_sc, HV_CALL_ISR); in hv_uio_new_channel()
171 ret = sysfs_create_bin_file(&new_sc->kobj, &ring_buffer_bin_attr); in hv_uio_new_channel()
174 vmbus_close(new_sc); in hv_uio_new_channel()
/kernel/linux/linux-6.6/fs/smb/server/mgmt/
H A Dtree_connect.c61 struct ksmbd_share_config *new_sc; in ksmbd_tree_conn_connect() local
64 new_sc = ksmbd_share_config_get(conn->um, share_name); in ksmbd_tree_conn_connect()
65 if (!new_sc) { in ksmbd_tree_conn_connect()
71 sc = new_sc; in ksmbd_tree_conn_connect()
/kernel/linux/linux-5.10/drivers/uio/
H A Duio_hv_generic.c153 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()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dstorvsc_drv.c673 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation() argument
675 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
686 new_sc->max_pkt_size = STORVSC_MAX_PKT_SIZE; in handle_sc_creation()
688 new_sc->next_request_id_callback = storvsc_next_request_id; in handle_sc_creation()
690 ret = vmbus_open(new_sc, in handle_sc_creation()
695 storvsc_on_channel_callback, new_sc); in handle_sc_creation()
703 new_sc->change_target_cpu_callback = storvsc_change_target_cpu; in handle_sc_creation()
706 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation()
707 cpumask_set_cpu(new_sc in handle_sc_creation()
[all...]
/kernel/linux/linux-6.6/drivers/net/hyperv/
H A Drndis_filter.c1238 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open() argument
1241 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()
1244 u16 chn_index = new_sc->offermsg.offer.sub_channel_index; in netvsc_sc_open()
1260 set_channel_read_mode(new_sc, HV_CALL_ISR); in netvsc_sc_open()
1263 nvchan->channel = new_sc; in netvsc_sc_open()
1265 new_sc->next_request_id_callback = vmbus_next_request_id; in netvsc_sc_open()
1266 new_sc->request_addr_callback = vmbus_request_addr; in netvsc_sc_open()
1267 new_sc->rqstor_size = netvsc_rqstor_size(netvsc_ring_bytes); in netvsc_sc_open()
1268 new_sc->max_pkt_size = NETVSC_MAX_PKT_SIZE; in netvsc_sc_open()
1270 ret = vmbus_open(new_sc, netvsc_ring_byte in netvsc_sc_open()
[all...]
/kernel/linux/linux-5.10/drivers/net/hyperv/
H A Drndis_filter.c1146 static void netvsc_sc_open(struct vmbus_channel *new_sc) in netvsc_sc_open() argument
1149 hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()
1152 u16 chn_index = new_sc->offermsg.offer.sub_channel_index; in netvsc_sc_open()
1168 set_channel_read_mode(new_sc, HV_CALL_ISR); in netvsc_sc_open()
1171 nvchan->channel = new_sc; in netvsc_sc_open()
1173 ret = vmbus_open(new_sc, netvsc_ring_bytes, in netvsc_sc_open()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dstorvsc_drv.c692 static void handle_sc_creation(struct vmbus_channel *new_sc) in handle_sc_creation() argument
694 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
706 ret = vmbus_open(new_sc, in handle_sc_creation()
711 storvsc_on_channel_callback, new_sc); in handle_sc_creation()
719 new_sc->change_target_cpu_callback = storvsc_change_target_cpu; in handle_sc_creation()
722 stor_device->stor_chns[new_sc->target_cpu] = new_sc; in handle_sc_creation()
723 cpumask_set_cpu(new_sc->target_cpu, &stor_device->alloced_cpus); in handle_sc_creation()
/kernel/linux/linux-5.10/include/linux/
H A Dhyperv.h883 void (*sc_creation_callback)(struct vmbus_channel *new_sc);
1060 void (*sc_cr_cb)(struct vmbus_channel *new_sc));
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_scsi.c2129 bool new_sc) in fnic_clean_pending_aborts()
2151 if (!sc || ((sc == lr_sc) && new_sc) || sc->device != lun_dev) { in fnic_clean_pending_aborts()
2344 bool new_sc = 0; in fnic_device_reset() local
2385 new_sc = 1; in fnic_device_reset()
2520 if (fnic_clean_pending_aborts(fnic, sc, new_sc)) { in fnic_device_reset()
2127 fnic_clean_pending_aborts(struct fnic *fnic, struct scsi_cmnd *lr_sc, bool new_sc) fnic_clean_pending_aborts() argument
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_scsi.c2160 bool new_sc) in fnic_clean_pending_aborts()
2212 bool new_sc = 0; in fnic_device_reset() local
2252 new_sc = 1; in fnic_device_reset()
2395 if (fnic_clean_pending_aborts(fnic, sc, new_sc)) { in fnic_device_reset()
2431 if (new_sc) { in fnic_device_reset()
2158 fnic_clean_pending_aborts(struct fnic *fnic, struct scsi_cmnd *lr_sc, bool new_sc) fnic_clean_pending_aborts() argument
/kernel/linux/linux-6.6/include/linux/
H A Dhyperv.h928 void (*sc_creation_callback)(struct vmbus_channel *new_sc);
1132 void (*sc_cr_cb)(struct vmbus_channel *new_sc));
/kernel/linux/linux-5.10/drivers/hv/
H A Dchannel_mgmt.c1477 void (*sc_cr_cb)(struct vmbus_channel *new_sc)) in vmbus_set_sc_create_callback()
1476 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
/kernel/linux/linux-6.6/drivers/hv/
H A Dchannel_mgmt.c1608 void (*sc_cr_cb)(struct vmbus_channel *new_sc)) in vmbus_set_sc_create_callback()
1607 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

Completed in 24 milliseconds