/kernel/linux/linux-5.10/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 44 struct ft_tport *tport; in ft_tport_get() local 47 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], in ft_tport_get() 49 if (tport && tport->tpg) in ft_tport_get() 50 return tport; in ft_tport_get() 56 if (tport) { in ft_tport_get() 57 tport->tpg = tpg; in ft_tport_get() 58 tpg->tport = tport; in ft_tport_get() 59 return tport; in ft_tport_get() 80 ft_tport_delete(struct ft_tport *tport) ft_tport_delete() argument 117 struct ft_tport *tport; ft_lport_del() local 160 struct ft_tport *tport; ft_sess_get() local 193 struct ft_tport *tport = sess->tport; ft_sess_alloc_cb() local 207 ft_sess_create(struct ft_tport *tport, u32 port_id, struct fc_rport_priv *rdata) ft_sess_create() argument 248 struct ft_tport *tport = sess->tport; ft_sess_unhash() local 261 ft_sess_delete(struct ft_tport *tport, u32 port_id) ft_sess_delete() argument 287 ft_sess_delete_all(struct ft_tport *tport) ft_sess_delete_all() argument 350 struct ft_tport *tport; ft_prli_locked() local 453 struct ft_tport *tport; ft_prlo() local [all...] |
/kernel/linux/linux-6.6/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 44 struct ft_tport *tport; in ft_tport_get() local 47 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], in ft_tport_get() 49 if (tport && tport->tpg) in ft_tport_get() 50 return tport; in ft_tport_get() 56 if (tport) { in ft_tport_get() 57 tport->tpg = tpg; in ft_tport_get() 58 tpg->tport = tport; in ft_tport_get() 59 return tport; in ft_tport_get() 80 ft_tport_delete(struct ft_tport *tport) ft_tport_delete() argument 117 struct ft_tport *tport; ft_lport_del() local 160 struct ft_tport *tport; ft_sess_get() local 193 struct ft_tport *tport = sess->tport; ft_sess_alloc_cb() local 207 ft_sess_create(struct ft_tport *tport, u32 port_id, struct fc_rport_priv *rdata) ft_sess_create() argument 248 struct ft_tport *tport = sess->tport; ft_sess_unhash() local 261 ft_sess_delete(struct ft_tport *tport, u32 port_id) ft_sess_delete() argument 287 ft_sess_delete_all(struct ft_tport *tport) ft_sess_delete_all() argument 350 struct ft_tport *tport; ft_prli_locked() local 453 struct ft_tport *tport; ft_prlo() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | ti_usb_3410_5052.c | 329 static void ti_send(struct ti_port *tport); 330 static int ti_set_mcr(struct ti_port *tport, unsigned int mcr); 331 static int ti_get_lsr(struct ti_port *tport, u8 *lsr); 336 static void ti_handle_new_msr(struct ti_port *tport, u8 msr); 338 static void ti_stop_read(struct ti_port *tport, struct tty_struct *tty); 339 static int ti_restart_read(struct ti_port *tport, struct tty_struct *tty); 608 struct ti_port *tport; in ti_port_probe() local 610 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ti_port_probe() 611 if (!tport) in ti_port_probe() 637 struct ti_port *tport; ti_port_remove() local 647 struct ti_port *tport = usb_get_serial_port_data(port); ti_open() local 779 struct ti_port *tport; ti_close() local 818 struct ti_port *tport = usb_get_serial_port_data(port); ti_write() local 838 struct ti_port *tport = usb_get_serial_port_data(port); ti_write_room() local 854 struct ti_port *tport = usb_get_serial_port_data(port); ti_chars_in_buffer() local 868 struct ti_port *tport = usb_get_serial_port_data(port); ti_tx_empty() local 882 struct ti_port *tport = usb_get_serial_port_data(port); ti_throttle() local 893 struct ti_port *tport = usb_get_serial_port_data(port); ti_unthrottle() local 907 struct ti_port *tport = usb_get_serial_port_data(port); ti_set_termios() local 1030 struct ti_port *tport = usb_get_serial_port_data(port); ti_tiocmget() local 1059 struct ti_port *tport = usb_get_serial_port_data(port); ti_tiocmset() local 1088 struct ti_port *tport = usb_get_serial_port_data(port); ti_break() local 1116 struct ti_port *tport; ti_interrupt_callback() local 1195 struct ti_port *tport = urb->context; ti_bulk_in_callback() local 1254 struct ti_port *tport = urb->context; ti_bulk_out_callback() local 1298 ti_send(struct ti_port *tport) ti_send() argument 1351 ti_set_mcr(struct ti_port *tport, unsigned int mcr) ti_set_mcr() argument 1369 ti_get_lsr(struct ti_port *tport, u8 *lsr) ti_get_lsr() argument 1405 struct ti_port *tport = usb_get_serial_port_data(port); ti_get_serial_info() local 1426 struct tty_port *tport = &port->port; ti_set_serial_info() local 1444 ti_handle_new_msr(struct ti_port *tport, u8 msr) ti_handle_new_msr() argument 1479 ti_stop_read(struct ti_port *tport, struct tty_struct *tty) ti_stop_read() argument 1492 ti_restart_read(struct ti_port *tport, struct tty_struct *tty) ti_restart_read() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | ti_usb_3410_5052.c | 329 static void ti_send(struct ti_port *tport); 330 static int ti_set_mcr(struct ti_port *tport, unsigned int mcr); 331 static int ti_get_lsr(struct ti_port *tport, u8 *lsr); 333 static void ti_handle_new_msr(struct ti_port *tport, u8 msr); 335 static void ti_stop_read(struct ti_port *tport, struct tty_struct *tty); 336 static int ti_restart_read(struct ti_port *tport, struct tty_struct *tty); 601 struct ti_port *tport; in ti_port_probe() local 603 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ti_port_probe() 604 if (!tport) in ti_port_probe() 634 struct ti_port *tport; ti_port_remove() local 642 struct ti_port *tport = usb_get_serial_port_data(port); ti_open() local 765 struct ti_port *tport; ti_close() local 800 struct ti_port *tport = usb_get_serial_port_data(port); ti_write() local 820 struct ti_port *tport = usb_get_serial_port_data(port); ti_write_room() local 836 struct ti_port *tport = usb_get_serial_port_data(port); ti_chars_in_buffer() local 850 struct ti_port *tport = usb_get_serial_port_data(port); ti_tx_empty() local 873 struct ti_port *tport = usb_get_serial_port_data(port); ti_throttle() local 884 struct ti_port *tport = usb_get_serial_port_data(port); ti_unthrottle() local 899 struct ti_port *tport = usb_get_serial_port_data(port); ti_set_termios() local 1019 struct ti_port *tport = usb_get_serial_port_data(port); ti_tiocmget() local 1048 struct ti_port *tport = usb_get_serial_port_data(port); ti_tiocmset() local 1077 struct ti_port *tport = usb_get_serial_port_data(port); ti_break() local 1109 struct ti_port *tport; ti_interrupt_callback() local 1188 struct ti_port *tport = urb->context; ti_bulk_in_callback() local 1247 struct ti_port *tport = urb->context; ti_bulk_out_callback() local 1291 ti_send(struct ti_port *tport) ti_send() argument 1344 ti_set_mcr(struct ti_port *tport, unsigned int mcr) ti_set_mcr() argument 1362 ti_get_lsr(struct ti_port *tport, u8 *lsr) ti_get_lsr() argument 1394 struct ti_port *tport = usb_get_serial_port_data(port); ti_get_serial_info() local 1400 ti_handle_new_msr(struct ti_port *tport, u8 msr) ti_handle_new_msr() argument 1435 ti_stop_read(struct ti_port *tport, struct tty_struct *tty) ti_stop_read() argument 1448 ti_restart_read(struct ti_port *tport, struct tty_struct *tty) ti_restart_read() argument [all...] |
/kernel/linux/linux-5.10/drivers/target/sbp/ |
H A D | sbp_target.c | 262 struct sbp_tport *tport = agent->tport; in sbp_management_request_login() local 263 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_login() 353 tport->max_logins_per_lun) { in sbp_management_request_login() 393 tport->max_reconnect_timeout) - 1; in sbp_management_request_login() 493 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect() local 494 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_reconnect() 552 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout() local 1637 sbp_management_agent_register( struct sbp_tport *tport) sbp_management_agent_register() argument 1687 struct sbp_tport *tport = tpg->tport; sbp_get_fabric_wwn() local 1811 sbp_update_unit_directory(struct sbp_tport *tport) sbp_update_unit_directory() argument 1974 struct sbp_tport *tport = tpg->tport; sbp_pre_unlink_lun() local 1988 struct sbp_tport *tport = sbp_make_tpg() local 2043 struct sbp_tport *tport = tpg->tport; sbp_drop_tpg() local 2056 struct sbp_tport *tport; sbp_make_tport() local 2074 struct sbp_tport *tport = sbp_drop_tport() local 2096 struct sbp_tport *tport = tpg->tport; sbp_tpg_directory_id_show() local 2109 struct sbp_tport *tport = tpg->tport; sbp_tpg_directory_id_store() local 2135 struct sbp_tport *tport = tpg->tport; sbp_tpg_enable_show() local 2144 struct sbp_tport *tport = tpg->tport; sbp_tpg_enable_store() local 2196 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_mgt_orb_timeout_show() local 2205 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_mgt_orb_timeout_store() local 2231 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_reconnect_timeout_show() local 2240 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_reconnect_timeout_store() local 2266 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_logins_per_lun_show() local 2275 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_logins_per_lun_store() local [all...] |
/kernel/linux/linux-6.6/drivers/target/sbp/ |
H A D | sbp_target.c | 262 struct sbp_tport *tport = agent->tport; in sbp_management_request_login() local 263 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_login() 353 tport->max_logins_per_lun) { in sbp_management_request_login() 393 tport->max_reconnect_timeout) - 1; in sbp_management_request_login() 493 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect() local 494 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_reconnect() 552 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout() local 1634 sbp_management_agent_register( struct sbp_tport *tport) sbp_management_agent_register() argument 1679 struct sbp_tport *tport = tpg->tport; sbp_get_fabric_wwn() local 1783 sbp_update_unit_directory(struct sbp_tport *tport) sbp_update_unit_directory() argument 1946 struct sbp_tport *tport = tpg->tport; sbp_pre_unlink_lun() local 1960 struct sbp_tport *tport = sbp_make_tpg() local 2015 struct sbp_tport *tport = tpg->tport; sbp_drop_tpg() local 2028 struct sbp_tport *tport; sbp_make_tport() local 2046 struct sbp_tport *tport = sbp_drop_tport() local 2068 struct sbp_tport *tport = tpg->tport; sbp_tpg_directory_id_show() local 2081 struct sbp_tport *tport = tpg->tport; sbp_tpg_directory_id_store() local 2106 struct sbp_tport *tport = tpg->tport; sbp_enable_tpg() local 2147 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_mgt_orb_timeout_show() local 2156 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_mgt_orb_timeout_store() local 2182 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_reconnect_timeout_show() local 2191 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_reconnect_timeout_store() local 2217 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_logins_per_lun_show() local 2226 struct sbp_tport *tport = tpg->tport; sbp_tpg_attrib_max_logins_per_lun_store() local [all...] |
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | fcloop.c | 239 struct fcloop_tport *tport; member 258 struct fcloop_tport *tport; member 270 struct fcloop_tport *tport; member 381 struct fcloop_tport *tport = targetport->private; in fcloop_h2t_xmt_ls_rsp() local 382 struct nvme_fc_remote_port *remoteport = tport->remoteport; in fcloop_h2t_xmt_ls_rsp() 405 struct fcloop_tport *tport = in fcloop_tport_lsrqst_work() local 409 spin_lock(&tport->lock); in fcloop_tport_lsrqst_work() 411 tls_req = list_first_entry_or_null(&tport->ls_list, in fcloop_tport_lsrqst_work() 417 spin_unlock(&tport->lock); in fcloop_tport_lsrqst_work() 425 spin_lock(&tport in fcloop_tport_lsrqst_work() 435 struct fcloop_tport *tport = targetport->private; fcloop_t2h_ls_req() local 471 struct fcloop_tport *tport; fcloop_t2h_xmt_ls_rsp() local 504 struct fcloop_tport *tport = tgt_rscn->tport; fcloop_tgt_rscn_work() local 995 struct fcloop_tport *tport = targetport->private; fcloop_targetport_delete() local 1366 struct fcloop_tport *tport; fcloop_create_target_port() local 1405 struct fcloop_tport *tport = nport->tport; __unlink_target_port() local 1415 __targetport_unreg(struct fcloop_nport *nport, struct fcloop_tport *tport) __targetport_unreg() argument 1428 struct fcloop_tport *tport = NULL; fcloop_delete_target_port() local 1522 struct fcloop_tport *tport; fcloop_exit() local [all...] |
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | fcloop.c | 239 struct fcloop_tport *tport; member 258 struct fcloop_tport *tport; member 270 struct fcloop_tport *tport; member 381 struct fcloop_tport *tport = targetport->private; in fcloop_h2t_xmt_ls_rsp() local 382 struct nvme_fc_remote_port *remoteport = tport->remoteport; in fcloop_h2t_xmt_ls_rsp() 405 struct fcloop_tport *tport = in fcloop_tport_lsrqst_work() local 409 spin_lock(&tport->lock); in fcloop_tport_lsrqst_work() 411 tls_req = list_first_entry_or_null(&tport->ls_list, in fcloop_tport_lsrqst_work() 417 spin_unlock(&tport->lock); in fcloop_tport_lsrqst_work() 425 spin_lock(&tport in fcloop_tport_lsrqst_work() 435 struct fcloop_tport *tport = targetport->private; fcloop_t2h_ls_req() local 471 struct fcloop_tport *tport; fcloop_t2h_xmt_ls_rsp() local 504 struct fcloop_tport *tport = tgt_rscn->tport; fcloop_tgt_rscn_work() local 1041 struct fcloop_tport *tport = targetport->private; fcloop_targetport_delete() local 1413 struct fcloop_tport *tport; fcloop_create_target_port() local 1452 struct fcloop_tport *tport = nport->tport; __unlink_target_port() local 1462 __targetport_unreg(struct fcloop_nport *nport, struct fcloop_tport *tport) __targetport_unreg() argument 1475 struct fcloop_tport *tport = NULL; fcloop_delete_target_port() local 1599 struct fcloop_tport *tport; fcloop_exit() local [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_tproxy.c | 30 __be16 tport = 0; in nft_tproxy_eval_v4() local 59 tport = nft_reg_load16(®s->data[priv->sreg_port]); in nft_tproxy_eval_v4() 60 if (!tport) in nft_tproxy_eval_v4() 61 tport = hp->dest; in nft_tproxy_eval_v4() 66 sk = nf_tproxy_handle_time_wait4(nft_net(pkt), skb, taddr, tport, sk); in nft_tproxy_eval_v4() 73 hp->source, tport, in nft_tproxy_eval_v4() 94 __be16 tport = 0; in nft_tproxy_eval_v6() local 127 tport = nft_reg_load16(®s->data[priv->sreg_port]); in nft_tproxy_eval_v6() 128 if (!tport) in nft_tproxy_eval_v6() 129 tport in nft_tproxy_eval_v6() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_tproxy.c | 30 __be16 tport = 0; in nft_tproxy_eval_v4() local 59 tport = nft_reg_load_be16(®s->data[priv->sreg_port]); in nft_tproxy_eval_v4() 60 if (!tport) in nft_tproxy_eval_v4() 61 tport = hp->dest; in nft_tproxy_eval_v4() 66 sk = nf_tproxy_handle_time_wait4(nft_net(pkt), skb, taddr, tport, sk); in nft_tproxy_eval_v4() 73 hp->source, tport, in nft_tproxy_eval_v4() 94 __be16 tport = 0; in nft_tproxy_eval_v6() local 127 tport = nft_reg_load_be16(®s->data[priv->sreg_port]); in nft_tproxy_eval_v6() 128 if (!tport) in nft_tproxy_eval_v6() 129 tport in nft_tproxy_eval_v6() [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | amiserial.c | 38 tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s) 85 struct tty_port tport; member 277 if (info->tport.flags & ASYNC_SAK) in receive_chars() 278 do_SAK(info->tport.tty); in receive_chars() 292 tty_insert_flip_char(&info->tport, ch, flag); in receive_chars() 294 tty_insert_flip_char(&info->tport, 0, TTY_OVERRUN); in receive_chars() 295 tty_flip_buffer_push(&info->tport); in receive_chars() 312 || info->tport.tty->stopped in transmit_chars() 313 || info->tport.tty->hw_stopped) { in transmit_chars() 328 tty_wakeup(info->tport in transmit_chars() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | amiserial.c | 71 struct tty_port tport; member 242 if (info->tport.flags & ASYNC_SAK) in receive_chars() 243 do_SAK(info->tport.tty); in receive_chars() 257 tty_insert_flip_char(&info->tport, ch, flag); in receive_chars() 259 tty_insert_flip_char(&info->tport, 0, TTY_OVERRUN); in receive_chars() 260 tty_flip_buffer_push(&info->tport); in receive_chars() 277 || info->tport.tty->flow.stopped in transmit_chars() 278 || info->tport.tty->hw_stopped) { in transmit_chars() 293 tty_wakeup(info->tport.tty); in transmit_chars() 307 struct tty_port *port = &info->tport; in check_modem_status() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/ |
H A D | ibmvscsi_tgt.c | 1343 if (vscsi->tport.enabled) in ibmvscsis_adapter_idle() 2207 static int ibmvscsis_make_nexus(struct ibmvscsis_tport *tport) in ibmvscsis_make_nexus() argument 2209 char *name = tport->tport_name; in ibmvscsis_make_nexus() 2211 struct scsi_info *vscsi = container_of(tport, struct scsi_info, tport); in ibmvscsis_make_nexus() 2214 if (tport->ibmv_nexus) { in ibmvscsis_make_nexus() 2215 dev_dbg(&vscsi->dev, "tport->ibmv_nexus already exists\n"); in ibmvscsis_make_nexus() 2225 nexus->se_sess = target_setup_session(&tport->se_tpg, 0, 0, in ibmvscsis_make_nexus() 2233 tport->ibmv_nexus = nexus; in ibmvscsis_make_nexus() 2242 static int ibmvscsis_drop_nexus(struct ibmvscsis_tport *tport) in ibmvscsis_drop_nexus() argument 2283 } *iport, *tport; ibmvscsis_srp_login() local 2636 struct ibmvscsis_tport *tport = NULL; ibmvscsis_lookup_port() local 3690 struct ibmvscsis_tport *tport = ibmvscsis_get_fabric_wwn() local 3698 struct ibmvscsis_tport *tport = ibmvscsis_get_tag() local 3879 struct ibmvscsis_tport *tport; ibmvscsis_make_tport() local 3896 struct ibmvscsis_tport *tport = container_of(wwn, ibmvscsis_drop_tport() local 3908 struct ibmvscsis_tport *tport = ibmvscsis_make_tpg() local 3932 struct ibmvscsis_tport *tport = container_of(se_tpg, ibmvscsis_drop_tpg() local 3965 struct ibmvscsis_tport *tport = container_of(se_tpg, ibmvscsis_tpg_enable_show() local 3976 struct ibmvscsis_tport *tport = container_of(se_tpg, ibmvscsis_tpg_enable_store() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi_tgt/ |
H A D | ibmvscsi_tgt.c | 1344 if (vscsi->tport.enabled) in ibmvscsis_adapter_idle() 2205 static int ibmvscsis_make_nexus(struct ibmvscsis_tport *tport) in ibmvscsis_make_nexus() argument 2207 char *name = tport->tport_name; in ibmvscsis_make_nexus() 2209 struct scsi_info *vscsi = container_of(tport, struct scsi_info, tport); in ibmvscsis_make_nexus() 2212 if (tport->ibmv_nexus) { in ibmvscsis_make_nexus() 2213 dev_dbg(&vscsi->dev, "tport->ibmv_nexus already exists\n"); in ibmvscsis_make_nexus() 2223 nexus->se_sess = target_setup_session(&tport->se_tpg, 0, 0, in ibmvscsis_make_nexus() 2231 tport->ibmv_nexus = nexus; in ibmvscsis_make_nexus() 2240 static int ibmvscsis_drop_nexus(struct ibmvscsis_tport *tport) in ibmvscsis_drop_nexus() argument 2281 } *iport, *tport; ibmvscsis_srp_login() local 2634 struct ibmvscsis_tport *tport = NULL; ibmvscsis_lookup_port() local 3677 struct ibmvscsis_tport *tport = ibmvscsis_get_fabric_wwn() local 3685 struct ibmvscsis_tport *tport = ibmvscsis_get_tag() local 3842 struct ibmvscsis_tport *tport; ibmvscsis_make_tport() local 3859 struct ibmvscsis_tport *tport = container_of(wwn, ibmvscsis_drop_tport() local 3871 struct ibmvscsis_tport *tport = ibmvscsis_make_tpg() local 3895 struct ibmvscsis_tport *tport = container_of(se_tpg, ibmvscsis_drop_tpg() local 3927 struct ibmvscsis_tport *tport = container_of(se_tpg, ibmvscsis_enable_tpg() local [all...] |
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | scsi.c | 137 struct vhost_scsi_tport *tport; member 146 /* SCSI protocol the tport is providing */ 316 struct vhost_scsi_tport *tport = tpg->tport; in vhost_scsi_get_fabric_wwn() local 318 return &tport->tport_name[0]; in vhost_scsi_get_fabric_wwn() 1608 tv_tport = tpg->tport; in vhost_scsi_set_endpoint() 1726 tv_tport = tpg->tport; in vhost_scsi_clear_endpoint() 1967 static char *vhost_scsi_dump_proto_id(struct vhost_scsi_tport *tport) in vhost_scsi_dump_proto_id() argument 1969 switch (tport->tport_proto_id) { in vhost_scsi_dump_proto_id() 2181 " %s Initiator Port: %s\n", vhost_scsi_dump_proto_id(tpg->tport), in vhost_scsi_drop_nexus() 2304 struct vhost_scsi_tport *tport = container_of(wwn, vhost_scsi_make_tpg() local 2363 struct vhost_scsi_tport *tport; vhost_scsi_make_tport() local 2421 struct vhost_scsi_tport *tport = container_of(wwn, vhost_scsi_drop_tport() local [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | xen-scsiback.c | 150 /* SCSI protocol the tport is providing */ 174 struct scsiback_tport *tport; member 226 tpg->tport->tport_name, pending_req->v2p->lun, in scsiback_print_status() 890 if (!strcmp(phy, tpg_entry->tport->tport_name) || in scsiback_add_translation_entry() 1254 static char *scsiback_dump_proto_id(struct scsiback_tport *tport) in scsiback_dump_proto_id() argument 1256 switch (tport->tport_proto_id) { in scsiback_dump_proto_id() 1274 struct scsiback_tport *tport = tpg->tport; in scsiback_get_fabric_wwn() local 1276 return &tport->tport_name[0]; in scsiback_get_fabric_wwn() 1291 struct scsiback_tport *tport; in scsiback_make_tport() local 1343 struct scsiback_tport *tport = container_of(wwn, scsiback_drop_tport() local 1710 struct scsiback_tport *tport = container_of(wwn, scsiback_make_tpg() local [all...] |
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | xen-scsiback.c | 148 /* SCSI protocol the tport is providing */ 172 struct scsiback_tport *tport; member 224 tpg->tport->tport_name, pending_req->v2p->lun, in scsiback_print_status() 949 if (!strcmp(phy, tpg_entry->tport->tport_name) || in scsiback_add_translation_entry() 1312 static char *scsiback_dump_proto_id(struct scsiback_tport *tport) in scsiback_dump_proto_id() argument 1314 switch (tport->tport_proto_id) { in scsiback_dump_proto_id() 1332 struct scsiback_tport *tport = tpg->tport; in scsiback_get_fabric_wwn() local 1334 return &tport->tport_name[0]; in scsiback_get_fabric_wwn() 1349 struct scsiback_tport *tport; in scsiback_make_tport() local 1401 struct scsiback_tport *tport = container_of(wwn, scsiback_drop_tport() local 1748 struct scsiback_tport *tport = container_of(wwn, scsiback_make_tpg() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_netlink.c | 37 int err, tport; in scsi_nl_rcv_msg() local 80 tport = hdr->transport; in scsi_nl_rcv_msg() 81 if (tport == SCSI_NL_TRANSPORT) { in scsi_nl_rcv_msg()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_netlink.c | 37 int err, tport; in scsi_nl_rcv_msg() local 80 tport = hdr->transport; in scsi_nl_rcv_msg() 81 if (tport == SCSI_NL_TRANSPORT) { in scsi_nl_rcv_msg()
|
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | scsi.c | 128 struct vhost_scsi_tport *tport; member 136 /* SCSI protocol the tport is providing */ 306 struct vhost_scsi_tport *tport = tpg->tport; in vhost_scsi_get_fabric_wwn() local 308 return &tport->tport_name[0]; in vhost_scsi_get_fabric_wwn() 1701 tv_tport = tpg->tport; in vhost_scsi_set_endpoint() 1822 tv_tport = tpg->tport; in vhost_scsi_clear_endpoint() 2111 static char *vhost_scsi_dump_proto_id(struct vhost_scsi_tport *tport) in vhost_scsi_dump_proto_id() argument 2113 switch (tport->tport_proto_id) { in vhost_scsi_dump_proto_id() 2307 " %s Initiator Port: %s\n", vhost_scsi_dump_proto_id(tpg->tport), in vhost_scsi_drop_nexus() 2430 struct vhost_scsi_tport *tport = container_of(wwn, vhost_scsi_make_tpg() local 2488 struct vhost_scsi_tport *tport; vhost_scsi_make_tport() local 2546 struct vhost_scsi_tport *tport = container_of(wwn, vhost_scsi_drop_tport() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | sunhv.c | 188 struct tty_port *tport = NULL; in receive_chars() local 191 tport = &port->state->port; in receive_chars() 196 return tport; in receive_chars() 219 struct tty_port *tport; in sunhv_interrupt() local 223 tport = receive_chars(port); in sunhv_interrupt() 227 if (tport) in sunhv_interrupt() 228 tty_flip_buffer_push(tport); in sunhv_interrupt()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sunhv.c | 186 struct tty_port *tport = NULL; in receive_chars() local 189 tport = &port->state->port; in receive_chars() 194 return tport; in receive_chars() 217 struct tty_port *tport; in sunhv_interrupt() local 221 tport = receive_chars(port); in sunhv_interrupt() 225 if (tport) in sunhv_interrupt() 226 tty_flip_buffer_push(tport); in sunhv_interrupt()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | sdio_uart.c | 542 static int uart_carrier_raised(struct tty_port *tport) in uart_carrier_raised() argument 545 container_of(tport, struct sdio_uart_port, port); in uart_carrier_raised() 558 * @tport: tty port to be updated 565 static void uart_dtr_rts(struct tty_port *tport, int onoff) in uart_dtr_rts() argument 568 container_of(tport, struct sdio_uart_port, port); in uart_dtr_rts() 581 * @tport: tty port to activate 594 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate() argument 597 container_of(tport, struct sdio_uart_port, port); in sdio_uart_activate() 669 * @tport: tty port to shut down 677 static void sdio_uart_shutdown(struct tty_port *tport) in sdio_uart_shutdown() argument 709 sdio_uart_port_destroy(struct tty_port *tport) sdio_uart_port_destroy() argument [all...] |
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | sdio_uart.c | 529 static bool uart_carrier_raised(struct tty_port *tport) in uart_carrier_raised() argument 532 container_of(tport, struct sdio_uart_port, port); in uart_carrier_raised() 544 * @tport: tty port to be updated 551 static void uart_dtr_rts(struct tty_port *tport, bool active) in uart_dtr_rts() argument 554 container_of(tport, struct sdio_uart_port, port); in uart_dtr_rts() 567 * @tport: tty port to activate 580 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate() argument 583 container_of(tport, struct sdio_uart_port, port); in sdio_uart_activate() 655 * @tport: tty port to shut down 663 static void sdio_uart_shutdown(struct tty_port *tport) in sdio_uart_shutdown() argument 695 sdio_uart_port_destroy(struct tty_port *tport) sdio_uart_port_destroy() argument [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
H A D | 8250_pci1xxxx.c | 219 struct tty_port *tport = &port->state->port; in pci1xxxx_port_suspend() local 224 mutex_lock(&tport->mutex); in pci1xxxx_port_suspend() 237 mutex_unlock(&tport->mutex); in pci1xxxx_port_suspend() 246 struct tty_port *tport = &port->state->port; in pci1xxxx_port_resume() local 249 mutex_lock(&tport->mutex); in pci1xxxx_port_resume() 259 mutex_unlock(&tport->mutex); in pci1xxxx_port_resume()
|