/linux-4.1.27/drivers/infiniband/core/ |
D | smi.c | 47 u8 node_type, int port_num) in smi_handle_dr_smp_send() argument 69 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send() 82 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send() 101 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_send() 113 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_send() 131 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, in smi_handle_dr_smp_recv() argument 151 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv() 166 return (node_type == RDMA_NODE_IB_SWITCH || in smi_handle_dr_smp_recv() 186 if (node_type != RDMA_NODE_IB_SWITCH) in smi_handle_dr_smp_recv() 202 return (node_type == RDMA_NODE_IB_SWITCH ? in smi_handle_dr_smp_recv()
|
D | smi.h | 54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type, 59 u8 node_type, int port_num);
|
D | sysfs.c | 619 switch (dev->node_type) { in show_node_type() 620 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type() 621 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type() 622 case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); in show_node_type() 623 case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); in show_node_type() 624 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type() 625 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type() 626 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type() 687 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL); 867 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_device_register_sysfs() [all …]
|
D | agent.c | 91 if (device->node_type == RDMA_NODE_IB_SWITCH) in agent_send_response() 120 if (device->node_type == RDMA_NODE_IB_SWITCH) { in agent_send_response()
|
D | cma.c | 254 rdma_node_get_transport(cma_dev->device->node_type); in cma_attach_to_dev() 378 if (rdma_node_get_transport(cma_dev->device->node_type) == RDMA_TRANSPORT_IB && in cma_acquire_dev() 398 if (rdma_node_get_transport(cma_dev->device->node_type) == RDMA_TRANSPORT_IB && in cma_acquire_dev() 438 if (rdma_node_get_transport(cur_dev->device->node_type) != RDMA_TRANSPORT_IB) in cma_resolve_ib_dev() 636 if (rdma_node_get_transport(id_priv->cma_dev->device->node_type) in cma_modify_qp_rtr() 738 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_init_qp_attr() 1057 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_destroy_id() 1646 rdma_node_get_transport(cma_dev->device->node_type) != RDMA_TRANSPORT_IB) in cma_listen_on_dev() 1987 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_resolve_route() 2048 rdma_node_get_transport(cur_dev->device->node_type) != RDMA_TRANSPORT_IB) in cma_bind_loopback() [all …]
|
D | cache.c | 63 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; in start_port() 68 return (device->node_type == RDMA_NODE_IB_SWITCH) ? in end_port()
|
D | mad.c | 740 if (device->node_type == RDMA_NODE_IB_SWITCH && in handle_outgoing_dr_smp() 754 smi_handle_dr_smp_send(smp, device->node_type, port_num) == in handle_outgoing_dr_smp() 1992 if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) in ib_mad_recv_done_handler() 2002 port_priv->device->node_type, in ib_mad_recv_done_handler() 2014 port_priv->device->node_type, in ib_mad_recv_done_handler() 2020 } else if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_recv_done_handler() 3060 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_init_device() 3063 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_init_device() 3105 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_remove_device() 3108 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_remove_device()
|
D | device.c | 156 return (device->node_type == RDMA_NODE_IB_SWITCH) ? 0 : 1; in start_port() 162 return (device->node_type == RDMA_NODE_IB_SWITCH) ? in end_port()
|
D | verbs.c | 111 rdma_node_get_transport(enum rdma_node_type node_type) in rdma_node_get_transport() argument 113 switch (node_type) { in rdma_node_get_transport() 136 switch (rdma_node_get_transport(device->node_type)) { in rdma_port_get_link_layer()
|
D | multicast.c | 811 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in mcast_add_one() 819 if (device->node_type == RDMA_NODE_IB_SWITCH) in mcast_add_one()
|
D | sa_query.c | 1157 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_sa_add_one() 1160 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_sa_add_one()
|
D | user_mad.c | 1277 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_umad_add_one() 1280 if (device->node_type == RDMA_NODE_IB_SWITCH) in ib_umad_add_one()
|
D | ucm.c | 1261 rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_ucm_add_one()
|
D | ucma.c | 725 switch (rdma_node_get_transport(ctx->cm_id->device->node_type)) { in ucma_query_route()
|
D | cm.c | 3772 if (rdma_node_get_transport(ib_device->node_type) != RDMA_TRANSPORT_IB) in cm_add_one()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 81 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument 87 *node_type = NODE_TYPE_SLOT; in find_dlpar_node() 93 *node_type = NODE_TYPE_PHB; in find_dlpar_node() 99 *node_type = NODE_TYPE_VIO; in find_dlpar_node() 288 int node_type; in dlpar_add_slot() local 295 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot() 301 switch (node_type) { in dlpar_add_slot() 419 int node_type; in dlpar_remove_slot() local 425 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot() 431 switch (node_type) { in dlpar_remove_slot()
|
/linux-4.1.27/fs/ubifs/ |
D | lpt_commit.c | 1034 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty() argument 1037 switch (node_type) { in make_node_dirty() 1055 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len() argument 1057 switch (node_type) { in get_lpt_node_len() 1097 int pos = 0, node_type; in get_lpt_node_type() local 1099 node_type = ubifs_unpack_bits(&addr, &pos, UBIFS_LPT_TYPE_BITS); in get_lpt_node_type() 1101 return node_type; in get_lpt_node_type() 1115 int pos = 0, node_type, node_len; in is_a_node() local 1120 node_type = ubifs_unpack_bits(&addr, &pos, UBIFS_LPT_TYPE_BITS); in is_a_node() 1121 if (node_type == UBIFS_LPT_NOT_A_NODE) in is_a_node() [all …]
|
D | scan.c | 89 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node() 94 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node() 206 snod->type = ch->node_type; in ubifs_add_snod() 211 switch (ch->node_type) { in ubifs_add_snod()
|
D | io.c | 256 type = ch->node_type; in ubifs_check_node() 329 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad() 681 dbg_ntype(((struct ubifs_ch *)buf)->node_type), in ubifs_wbuf_write_nolock() 864 lnum, offs, dbg_ntype(((struct ubifs_ch *)buf)->node_type), len, in ubifs_write_node() 934 if (type != ch->node_type) { in ubifs_read_node_wbuf() 936 ch->node_type, type); in ubifs_read_node_wbuf() 990 if (type != ch->node_type) { in ubifs_read_node() 992 ch->node_type, type); in ubifs_read_node()
|
D | sb.c | 167 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem() 209 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem() 275 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem() 297 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem() 332 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
|
D | journal.c | 463 ino->ch.node_type = UBIFS_INO_NODE; in pack_inode() 589 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_update() 592 dent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_update() 722 data->ch.node_type = UBIFS_DATA_NODE; in ubifs_jnl_write_data() 973 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename() 985 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename() 1170 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate() 1322 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
|
D | log.c | 240 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_add_bud_to_log() 376 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit() 398 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_log_start_commit()
|
D | ubifs-media.h | 436 __u8 node_type; member
|
D | recovery.c | 162 if (ch->node_type != UBIFS_MST_NODE) in get_master_node() 832 if (cs_node->ch.node_type != UBIFS_CS_NODE) { in get_cs_sqnum() 833 ubifs_err(c, "Node a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum()
|
D | tnc_commit.c | 44 idx->ch.node_type = UBIFS_IDX_NODE; in make_idx_node() 846 idx->ch.node_type = UBIFS_IDX_NODE; in write_index()
|
D | lpt.c | 944 int node_type; in check_lpt_type() local 946 node_type = ubifs_unpack_bits(addr, pos, UBIFS_LPT_TYPE_BITS); in check_lpt_type() 947 if (node_type != type) { in check_lpt_type() 949 node_type, type); in check_lpt_type()
|
D | debug.c | 224 pr_err("\tnode_type %d (%s)\n", ch->node_type, in dump_ch() 225 dbg_ntype(ch->node_type)); in dump_ch() 319 switch (ch->node_type) { in ubifs_dump_node() 543 (int)ch->node_type); in ubifs_dump_node()
|
D | tnc.c | 458 if (ch->node_type != type) in try_read_node() 1686 if (ch->node_type != UBIFS_DATA_NODE) { in validate_data_node() 1688 ch->node_type, UBIFS_DATA_NODE); in validate_data_node()
|
D | orphan.c | 300 orph->ch.node_type = UBIFS_ORPH_NODE; in write_orph_node()
|
/linux-4.1.27/net/rds/ |
D | iw.c | 66 if (device->node_type != RDMA_NODE_RNIC) in rds_iw_add_one() 243 cm_id->device->node_type != RDMA_NODE_RNIC) in rds_iw_laddr_check() 248 cm_id->device ? cm_id->device->node_type : -1); in rds_iw_laddr_check()
|
D | ib.c | 128 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one() 342 cm_id->device->node_type != RDMA_NODE_IB_CA) in rds_ib_laddr_check() 347 cm_id->device ? cm_id->device->node_type : -1); in rds_ib_laddr_check()
|
D | rdma_transport.c | 79 if (cm_id->device->node_type == RDMA_NODE_RNIC) in rds_rdma_cm_event_handler()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-core.c | 651 unsigned node_type = node_types[inst]; in vivid_create_instance() local 705 dev->has_vid_cap = node_type & 0x0001; in vivid_create_instance() 709 dev->has_raw_vbi_cap = node_type & 0x0004; in vivid_create_instance() 710 dev->has_sliced_vbi_cap = node_type & 0x0008; in vivid_create_instance() 715 dev->has_vid_out = node_type & 0x0100; in vivid_create_instance() 719 dev->has_raw_vbi_out = node_type & 0x0400; in vivid_create_instance() 720 dev->has_sliced_vbi_out = node_type & 0x0800; in vivid_create_instance() 725 dev->has_radio_rx = node_type & 0x0010; in vivid_create_instance() 728 dev->has_radio_tx = node_type & 0x1000; in vivid_create_instance() 731 dev->has_sdr_cap = node_type & 0x0020; in vivid_create_instance() [all …]
|
/linux-4.1.27/include/uapi/rdma/ |
D | rdma_netlink.h | 53 __u8 node_type; member
|
/linux-4.1.27/Documentation/infiniband/ |
D | sysfs.txt | 6 node_type - Node type (CA, switch or router)
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_mad.h | 47 u8 node_type; member
|
D | qib_verbs.c | 2187 ibdev->node_type = RDMA_NODE_IB_CA; in qib_register_ib_device()
|
D | qib_mad.c | 293 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
|
/linux-4.1.27/fs/dlm/ |
D | config.c | 424 static struct config_item_type node_type = { variable 631 config_item_init_type_name(&nd->item, name, &node_type); in make_node()
|
/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 1689 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_add_one() 1698 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ipoib_add_one() 1724 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ipoib_remove_one()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 749 static struct kobj_type node_type = { variable 832 ret = kobject_init_and_add(dev->kobj_node, &node_type, in kfd_build_sysfs_node_entry()
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 335 us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC_UDP; in usnic_ib_device_add()
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 240 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 72 u8 node_type; member 97 nip->node_type = 1; /* channel adapter */ in recv_subn_get_nodeinfo()
|
D | ipath_verbs.c | 2136 dev->node_type = RDMA_NODE_IB_CA; in ipath_register_ib_device()
|
/linux-4.1.27/include/rdma/ |
D | ib_verbs.h | 85 rdma_node_get_transport(enum rdma_node_type node_type); 1676 u8 node_type; member
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 120 if (rdma_node_get_transport(xprt->sc_cm_id->device->node_type) == in rdma_read_max_sge()
|
D | svc_rdma_transport.c | 988 switch (rdma_node_get_transport(newxprt->sc_cm_id->device->node_type)) { in svc_rdma_accept()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 502 dev->ibdev.node_type = RDMA_NODE_RNIC; in c4iw_register_device()
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 796 dev->ibdev.node_type = RDMA_NODE_RNIC; in c2_register_device()
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
D | ehca_main.c | 464 shca->ib_device.node_type = RDMA_NODE_IB_CA; in ehca_init_device()
|
/linux-4.1.27/sound/pci/asihpi/ |
D | hpi.h | 1154 u16 node_type; /**< what type of node is the control on ? */ member
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | main.c | 1209 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx5_ib_add()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 1278 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mthca_register_device()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 1381 dev->ibdev.node_type = RDMA_NODE_RNIC; in iwch_register_device()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | main.c | 2163 ibdev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx4_ib_add()
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 3457 if (device->node_type == RDMA_NODE_IB_SWITCH) { in srp_add_one()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 3848 nesibdev->ibdev.node_type = RDMA_NODE_RNIC; in nes_init_ofa_device()
|