/Linux-v5.4/drivers/target/tcm_fc/ |
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() 62 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ft_tport_get() 63 if (!tport) in ft_tport_get() [all …]
|
D | tcm_fc.h | 33 struct ft_tport *tport; member 89 struct ft_tport *tport; /* active tport or NULL */ member
|
D | tfc_conf.c | 289 if (tpg->tport) { in ft_del_tpg() 290 tpg->tport->tpg = NULL; in ft_del_tpg() 291 tpg->tport = NULL; in ft_del_tpg()
|
/Linux-v5.4/drivers/usb/serial/ |
D | ti_usb_3410_5052.c | 328 static void ti_send(struct ti_port *tport); 329 static int ti_set_mcr(struct ti_port *tport, unsigned int mcr); 330 static int ti_get_lsr(struct ti_port *tport, u8 *lsr); 335 static void ti_handle_new_msr(struct ti_port *tport, u8 msr); 337 static void ti_stop_read(struct ti_port *tport, struct tty_struct *tty); 338 static int ti_restart_read(struct ti_port *tport, struct tty_struct *tty); 605 struct ti_port *tport; in ti_port_probe() local 607 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ti_port_probe() 608 if (!tport) in ti_port_probe() 611 spin_lock_init(&tport->tp_lock); in ti_port_probe() [all …]
|
/Linux-v5.4/drivers/target/sbp/ |
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 553 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_logout() 1590 if (!agent->tport->enable) in sbp_mgt_agent_rw() 1638 struct sbp_tport *tport) in sbp_management_agent_register() argument [all …]
|
D | sbp_target.h | 159 struct sbp_tport *tport; member 226 struct sbp_tport *tport; member
|
/Linux-v5.4/drivers/nvme/target/ |
D | fcloop.c | 216 struct fcloop_tport *tport; member 227 struct fcloop_tport *tport; member 235 struct fcloop_tport *tport; member 247 struct fcloop_tport *tport; member 305 struct fcloop_tport *tport = tls_req->tport; in fcloop_tgt_lsrqst_done_work() local 308 if (!tport || tport->remoteport) in fcloop_tgt_lsrqst_done_work() 326 tls_req->tport = NULL; in fcloop_ls_req() 332 tls_req->tport = rport->targetport->private; in fcloop_ls_req() 340 fcloop_xmt_ls_rsp(struct nvmet_fc_target_port *tport, in fcloop_xmt_ls_rsp() argument 365 struct fcloop_tport *tport = tgt_rscn->tport; in fcloop_tgt_rscn_work() local [all …]
|
/Linux-v5.4/net/netfilter/ |
D | nft_tproxy.c | 30 __be16 tport = 0; in nft_tproxy_eval_v4() local 53 tport = regs->data[priv->sreg_port]; in nft_tproxy_eval_v4() 54 if (!tport) in nft_tproxy_eval_v4() 55 tport = hp->dest; in nft_tproxy_eval_v4() 60 sk = nf_tproxy_handle_time_wait4(nft_net(pkt), skb, taddr, tport, sk); in nft_tproxy_eval_v4() 67 hp->source, tport, in nft_tproxy_eval_v4() 88 __be16 tport = 0; in nft_tproxy_eval_v6() local 120 tport = regs->data[priv->sreg_port]; in nft_tproxy_eval_v6() 121 if (!tport) in nft_tproxy_eval_v6() 122 tport = hp->dest; in nft_tproxy_eval_v6() [all …]
|
/Linux-v5.4/drivers/tty/ |
D | amiserial.c | 48 tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s) 95 struct tty_port tport; member 315 if (info->tport.flags & ASYNC_SAK) in receive_chars() 316 do_SAK(info->tport.tty); in receive_chars() 330 tty_insert_flip_char(&info->tport, ch, flag); in receive_chars() 332 tty_insert_flip_char(&info->tport, 0, TTY_OVERRUN); in receive_chars() 333 tty_flip_buffer_push(&info->tport); in receive_chars() 350 || info->tport.tty->stopped in transmit_chars() 351 || info->tport.tty->hw_stopped) { in transmit_chars() 366 tty_wakeup(info->tport.tty); in transmit_chars() [all …]
|
D | isicom.c | 797 static int isicom_activate(struct tty_port *tport, struct tty_struct *tty) in isicom_activate() argument 799 struct isi_port *port = container_of(tport, struct isi_port, port); in isicom_activate() 803 if (tty_port_alloc_xmit_buf(tport) < 0) in isicom_activate() 857 struct tty_port *tport; in isicom_open() local 859 tport = isicom_find_port(tty); in isicom_open() 860 if (tport == NULL) in isicom_open() 862 port = container_of(tport, struct isi_port, port); in isicom_open() 865 return tty_port_open(tport, tty, filp); in isicom_open() 1577 struct tty_port *tport = &board->ports[index].port; in isicom_probe() local 1578 tty_port_init(tport); in isicom_probe() [all …]
|
/Linux-v5.4/drivers/xen/ |
D | xen-scsiback.c | 173 struct scsiback_tport *tport; member 264 tpg->tport->tport_name, pending_req->v2p->lun, in scsiback_print_status() 919 if (!strcmp(phy, tpg_entry->tport->tport_name) || in scsiback_add_translation_entry() 1281 static char *scsiback_dump_proto_id(struct scsiback_tport *tport) in scsiback_dump_proto_id() argument 1283 switch (tport->tport_proto_id) { in scsiback_dump_proto_id() 1301 struct scsiback_tport *tport = tpg->tport; in scsiback_get_fabric_wwn() local 1303 return &tport->tport_name[0]; in scsiback_get_fabric_wwn() 1318 struct scsiback_tport *tport; in scsiback_make_tport() local 1323 tport = kzalloc(sizeof(struct scsiback_tport), GFP_KERNEL); in scsiback_make_tport() 1324 if (!tport) in scsiback_make_tport() [all …]
|
/Linux-v5.4/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 1343 if (vscsi->tport.enabled) in ibmvscsis_adapter_idle() 2210 static int ibmvscsis_make_nexus(struct ibmvscsis_tport *tport) in ibmvscsis_make_nexus() argument 2212 char *name = tport->tport_name; in ibmvscsis_make_nexus() 2214 struct scsi_info *vscsi = container_of(tport, struct scsi_info, tport); in ibmvscsis_make_nexus() 2217 if (tport->ibmv_nexus) { in ibmvscsis_make_nexus() 2228 nexus->se_sess = target_setup_session(&tport->se_tpg, 0, 0, in ibmvscsis_make_nexus() 2236 tport->ibmv_nexus = nexus; in ibmvscsis_make_nexus() 2245 static int ibmvscsis_drop_nexus(struct ibmvscsis_tport *tport) in ibmvscsis_drop_nexus() argument 2250 nexus = tport->ibmv_nexus; in ibmvscsis_drop_nexus() 2262 tport->ibmv_nexus = NULL; in ibmvscsis_drop_nexus() [all …]
|
/Linux-v5.4/drivers/vhost/ |
D | scsi.c | 138 struct vhost_scsi_tport *tport; member 298 struct vhost_scsi_tport *tport = tpg->tport; in vhost_scsi_get_fabric_wwn() local 300 return &tport->tport_name[0]; in vhost_scsi_get_fabric_wwn() 1426 tv_tport = tpg->tport; in vhost_scsi_set_endpoint() 1520 tv_tport = tpg->tport; in vhost_scsi_clear_endpoint() 1765 static char *vhost_scsi_dump_proto_id(struct vhost_scsi_tport *tport) in vhost_scsi_dump_proto_id() argument 1767 switch (tport->tport_proto_id) { in vhost_scsi_dump_proto_id() 2025 " %s Initiator Port: %s\n", vhost_scsi_dump_proto_id(tpg->tport), in vhost_scsi_drop_nexus() 2067 struct vhost_scsi_tport *tport_wwn = tpg->tport; in vhost_scsi_tpg_nexus_store() 2149 struct vhost_scsi_tport *tport = container_of(wwn, in vhost_scsi_make_tpg() local [all …]
|
/Linux-v5.4/drivers/scsi/ |
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()
|
/Linux-v5.4/drivers/tty/serial/ |
D | sunhv.c | 192 struct tty_port *tport = NULL; in receive_chars() local 195 tport = &port->state->port; in receive_chars() 200 return tport; in receive_chars() 223 struct tty_port *tport; in sunhv_interrupt() local 227 tport = receive_chars(port); in sunhv_interrupt() 231 if (tport) in sunhv_interrupt() 232 tty_flip_buffer_push(tport); in sunhv_interrupt()
|
D | lpc32xx_hs.c | 255 struct tty_port *tport = &port->state->port; in __serial_lpc32xx_rx() local 270 tty_insert_flip_char(tport, 0, TTY_FRAME); in __serial_lpc32xx_rx() 273 tty_insert_flip_char(tport, (tmp & 0xFF), flag); in __serial_lpc32xx_rx() 279 tty_flip_buffer_push(tport); in __serial_lpc32xx_rx() 323 struct tty_port *tport = &port->state->port; in serial_lpc32xx_interrupt() local 347 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in serial_lpc32xx_interrupt() 348 tty_schedule_flip(tport); in serial_lpc32xx_interrupt()
|
D | mps2-uart.c | 190 struct tty_port *tport = &port->state->port; in mps2_uart_rx_chars() local 199 tty_flip_buffer_push(tport); in mps2_uart_rx_chars() 247 struct tty_port *tport = &port->state->port; in mps2_uart_oerrirq() local 251 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in mps2_uart_oerrirq() 252 tty_flip_buffer_push(tport); in mps2_uart_oerrirq()
|
D | mux.c | 231 struct tty_port *tport = &port->state->port; in mux_read() local 255 tty_insert_flip_char(tport, data & 0xFF, TTY_NORMAL); in mux_read() 259 tty_flip_buffer_push(tport); in mux_read()
|
D | qcom_geni_serial.c | 480 struct tty_port *tport; in handle_rx_console() local 483 tport = &uport->state->port; in handle_rx_console() 506 tty_insert_flip_char(tport, buf[c], TTY_NORMAL); in handle_rx_console() 510 tty_flip_buffer_push(tport); in handle_rx_console() 524 struct tty_port *tport; in handle_rx_uart() local 530 tport = &uport->state->port; in handle_rx_uart() 536 ret = tty_insert_flip_string(tport, buf, bytes); in handle_rx_uart() 543 tty_flip_buffer_push(tport); in handle_rx_uart() 766 struct tty_port *tport = &uport->state->port; in qcom_geni_serial_isr() local 785 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in qcom_geni_serial_isr()
|
D | msm_serial.c | 540 struct tty_port *tport = &port->state->port; in msm_complete_rx_dma() local 558 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_complete_rx_dma() 588 tty_insert_flip_char(tport, dma->virt[i], flag); in msm_complete_rx_dma() 596 tty_flip_buffer_push(tport); in msm_complete_rx_dma() 688 struct tty_port *tport = &port->state->port; in msm_handle_rx_dm() local 695 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_handle_rx_dm() 743 tty_insert_flip_char(tport, buf[i], flag); in msm_handle_rx_dm() 749 tty_flip_buffer_push(tport); in msm_handle_rx_dm() 763 struct tty_port *tport = &port->state->port; in msm_handle_rx() local 772 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_handle_rx() [all …]
|
D | mvebu-uart.c | 238 struct tty_port *tport = &port->state->port; in mvebu_uart_rx_chars() local 280 tty_insert_flip_char(tport, ch, flag); in mvebu_uart_rx_chars() 283 tty_insert_flip_char(tport, 0, TTY_BREAK); in mvebu_uart_rx_chars() 286 tty_insert_flip_char(tport, 0, TTY_FRAME); in mvebu_uart_rx_chars() 289 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in mvebu_uart_rx_chars() 295 tty_flip_buffer_push(tport); in mvebu_uart_rx_chars()
|
D | sh-sci.c | 851 struct tty_port *tport = &port->state->port; in sci_receive_chars() local 862 count = tty_buffer_request_room(tport, sci_rxfill(port)); in sci_receive_chars() 873 tty_insert_flip_char(tport, c, TTY_NORMAL); in sci_receive_chars() 896 tty_insert_flip_char(tport, c, flag); in sci_receive_chars() 909 tty_flip_buffer_push(tport); in sci_receive_chars() 922 struct tty_port *tport = &port->state->port; in sci_handle_errors() local 930 if (tty_insert_flip_char(tport, 0, TTY_OVERRUN)) in sci_handle_errors() 940 if (tty_insert_flip_char(tport, 0, TTY_FRAME)) in sci_handle_errors() 950 if (tty_insert_flip_char(tport, 0, TTY_PARITY)) in sci_handle_errors() 957 tty_flip_buffer_push(tport); in sci_handle_errors() [all …]
|
/Linux-v5.4/drivers/mmc/core/ |
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() 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() 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() 677 static void sdio_uart_shutdown(struct tty_port *tport) in sdio_uart_shutdown() argument 680 container_of(tport, struct sdio_uart_port, port); in sdio_uart_shutdown() 709 static void sdio_uart_port_destroy(struct tty_port *tport) in sdio_uart_port_destroy() argument 712 container_of(tport, struct sdio_uart_port, port); in sdio_uart_port_destroy()
|
/Linux-v5.4/drivers/pnp/ |
D | resource.c | 171 resource_size_t *port, *end, *tport, *tend; in pnp_check_port() local 199 tport = &tres->start; in pnp_check_port() 201 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port() 218 tport = &tres->start; in pnp_check_port() 220 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port()
|
/Linux-v5.4/drivers/usb/gadget/function/ |
D | f_tcm.c | 1263 struct usbg_tport *tport = tpg->tport; in usbg_get_fabric_wwn() local 1265 return &tport->tport_name[0]; in usbg_get_fabric_wwn() 1337 struct usbg_tport *tport = container_of(wwn, struct usbg_tport, in usbg_make_tpg() local 1384 tpg->tport = tport; in usbg_make_tpg() 1457 struct usbg_tport *tport; in usbg_make_tport() local 1465 tport = kzalloc(sizeof(struct usbg_tport), GFP_KERNEL); in usbg_make_tport() 1466 if (!(tport)) in usbg_make_tport() 1469 tport->tport_wwpn = wwpn; in usbg_make_tport() 1470 snprintf(tport->tport_name, sizeof(tport->tport_name), "%s", wnn_name); in usbg_make_tport() 1471 return &tport->tport_wwn; in usbg_make_tport() [all …]
|