Home
last modified time | relevance | path

Searched refs:nport (Results 1 – 8 of 8) sorted by relevance

/drivers/nvme/target/
Dfcloop.c203 struct fcloop_nport *nport; member
210 struct fcloop_nport *nport; member
799 struct fcloop_nport *nport = in fcloop_nport_free() local
804 list_del(&nport->nport_list); in fcloop_nport_free()
807 kfree(nport); in fcloop_nport_free()
811 fcloop_nport_put(struct fcloop_nport *nport) in fcloop_nport_put() argument
813 kref_put(&nport->ref, fcloop_nport_free); in fcloop_nport_put()
817 fcloop_nport_get(struct fcloop_nport *nport) in fcloop_nport_get() argument
819 return kref_get_unless_zero(&nport->ref); in fcloop_nport_get()
837 fcloop_nport_put(rport->nport); in fcloop_remoteport_delete()
[all …]
Dtcp.c135 struct nvmet_port *nport; member
1209 c->req.port = queue->port->nport; in nvmet_tcp_alloc_cmd()
1563 static int nvmet_tcp_add_port(struct nvmet_port *nport) in nvmet_tcp_add_port() argument
1573 switch (nport->disc_addr.adrfam) { in nvmet_tcp_add_port()
1582 nport->disc_addr.adrfam); in nvmet_tcp_add_port()
1587 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_tcp_add_port()
1588 nport->disc_addr.trsvcid, &port->addr); in nvmet_tcp_add_port()
1591 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_tcp_add_port()
1595 port->nport = nport; in nvmet_tcp_add_port()
1598 if (port->nport->inline_data_size < 0) in nvmet_tcp_add_port()
[all …]
/drivers/tty/
Dmips_ejtag_fdc.c886 int ret, nport; in mips_ejtag_fdc_tty_probe() local
939 for (nport = 0; nport < NUM_TTY_CHANNELS; nport++) { in mips_ejtag_fdc_tty_probe()
940 dport = &priv->ports[nport]; in mips_ejtag_fdc_tty_probe()
1040 for (nport = 0; nport < NUM_TTY_CHANNELS; nport++) { in mips_ejtag_fdc_tty_probe()
1041 dport = &priv->ports[nport]; in mips_ejtag_fdc_tty_probe()
/drivers/usb/serial/
Dusb-serial-simple.c20 #define DEVICE_N(vendor, IDS, nport) \ argument
31 .num_ports = nport, \
/drivers/pnp/
Dmanager.c259 int nport = 0, nmem = 0, nirq = 0; in pnp_assign_resources() local
274 ret = pnp_assign_port(dev, &option->u.port, nport++); in pnp_assign_resources()
/drivers/net/ethernet/chelsio/cxgb/
Despi.c348 u8 i, nport = (u8)adapter->params.nports; in t1_espi_get_mon_t204() local
361 for (i = 0 ; i < nport; i++, valp++) { in t1_espi_get_mon_t204()
/drivers/pinctrl/
Dpinctrl-rza1.c489 unsigned int nport; member
/drivers/infiniband/hw/hfi1/
Dmad.c4046 u32 nport = OPA_AM_NPORT(am); in __subn_get_opa_led_info() local
4049 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4075 u32 nport = OPA_AM_NPORT(am); in __subn_set_opa_led_info() local
4078 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()