Home
last modified time | relevance | path

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

/drivers/nvme/target/
Dfcloop.c220 struct fcloop_nport *nport; member
230 struct fcloop_nport *nport; member
950 struct fcloop_nport *nport = in fcloop_nport_free() local
955 list_del(&nport->nport_list); in fcloop_nport_free()
958 kfree(nport); in fcloop_nport_free()
962 fcloop_nport_put(struct fcloop_nport *nport) in fcloop_nport_put() argument
964 kref_put(&nport->ref, fcloop_nport_free); in fcloop_nport_put()
968 fcloop_nport_get(struct fcloop_nport *nport) in fcloop_nport_get() argument
970 return kref_get_unless_zero(&nport->ref); in fcloop_nport_get()
989 fcloop_nport_put(rport->nport); in fcloop_remoteport_delete()
[all …]
Drdma.c118 struct nvmet_port *nport; member
1193 struct nvmet_port *nport = port->nport; in nvmet_rdma_find_get_device() local
1210 inline_page_count = num_pages(nport->inline_data_size); in nvmet_rdma_find_get_device()
1215 nport->inline_data_size, cm_id->device->name, in nvmet_rdma_find_get_device()
1217 nport->inline_data_size = inline_sge_count * PAGE_SIZE; in nvmet_rdma_find_get_device()
1220 ndev->inline_data_size = nport->inline_data_size; in nvmet_rdma_find_get_device()
1223 if (nport->pi_enable && !(cm_id->device->attrs.device_cap_flags & in nvmet_rdma_find_get_device()
1227 nport->pi_enable = false; in nvmet_rdma_find_get_device()
1451 queue->port = port->nport; in nvmet_rdma_alloc_queue()
1825 struct nvmet_port *nport = port->nport; in nvmet_rdma_destroy_port_queues() local
[all …]
Dtcp.c145 struct nvmet_port *nport; member
1302 c->req.port = queue->port->nport; in nvmet_tcp_alloc_cmd()
1659 static int nvmet_tcp_add_port(struct nvmet_port *nport) in nvmet_tcp_add_port() argument
1669 switch (nport->disc_addr.adrfam) { in nvmet_tcp_add_port()
1678 nport->disc_addr.adrfam); in nvmet_tcp_add_port()
1683 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_tcp_add_port()
1684 nport->disc_addr.trsvcid, &port->addr); in nvmet_tcp_add_port()
1687 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_tcp_add_port()
1691 port->nport = nport; in nvmet_tcp_add_port()
1693 if (port->nport->inline_data_size < 0) in nvmet_tcp_add_port()
[all …]
/drivers/tty/
Dmips_ejtag_fdc.c887 int ret, nport; in mips_ejtag_fdc_tty_probe() local
940 for (nport = 0; nport < NUM_TTY_CHANNELS; nport++) { in mips_ejtag_fdc_tty_probe()
941 dport = &priv->ports[nport]; in mips_ejtag_fdc_tty_probe()
1041 for (nport = 0; nport < NUM_TTY_CHANNELS; nport++) { in mips_ejtag_fdc_tty_probe()
1042 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/renesas/
Dpinctrl-rza1.c489 unsigned int nport; member
/drivers/infiniband/hw/hfi1/
Dmad.c4045 u32 nport = OPA_AM_NPORT(am); in __subn_get_opa_led_info() local
4048 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4074 u32 nport = OPA_AM_NPORT(am); in __subn_set_opa_led_info() local
4077 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()