Home
last modified time | relevance | path

Searched refs:node_type (Results 1 – 25 of 58) sorted by relevance

123

/linux-3.4.99/drivers/infiniband/core/
Dsmi.c47 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()
Dsmi.h54 enum smi_action smi_handle_dr_smp_recv(struct ib_smp *smp, u8 node_type,
59 u8 node_type, int port_num);
Dsysfs.c608 switch (dev->node_type) { in show_node_type()
609 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type()
610 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type()
611 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type()
612 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type()
613 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type()
674 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
838 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_device_register_sysfs()
850 if (device->node_type == RDMA_NODE_RNIC && device->get_protocol_stats) { in ib_device_register_sysfs()
Dagent.c91 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()
Dcache.c63 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()
Dcma.c279 rdma_node_get_transport(cma_dev->device->node_type); in cma_attach_to_dev()
375 if (rdma_node_get_transport(cma_dev->device->node_type) == RDMA_TRANSPORT_IB && in cma_acquire_dev()
647 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_init_qp_attr()
922 switch (rdma_node_get_transport(id_priv->id.device->node_type)) { in rdma_destroy_id()
1869 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_resolve_route()
2315 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_listen()
2679 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_connect()
2795 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_accept()
2840 switch (id->device->node_type) { in rdma_notify()
2862 switch (rdma_node_get_transport(id->device->node_type)) { in rdma_reject()
[all …]
Ddevice.c156 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()
Dmad.c692 if (device->node_type == RDMA_NODE_IB_SWITCH && in handle_outgoing_dr_smp()
706 smi_handle_dr_smp_send(smp, device->node_type, port_num) == in handle_outgoing_dr_smp()
1910 if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) in ib_mad_recv_done_handler()
1920 port_priv->device->node_type, in ib_mad_recv_done_handler()
1932 port_priv->device->node_type, in ib_mad_recv_done_handler()
1938 } else if (port_priv->device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_recv_done_handler()
2958 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_init_device()
2961 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_init_device()
3008 if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) in ib_mad_remove_device()
3011 if (device->node_type == RDMA_NODE_IB_SWITCH) { in ib_mad_remove_device()
/linux-3.4.99/drivers/staging/tidspbridge/rmgr/
Dnode.c195 enum node_type ntype; /* Type of node: message, task, etc */
296 enum node_type node_type = NODE_TASK; in node_allocate() local
476 node_type = node_get_type(pnode); in node_allocate()
479 if (node_type != NODE_MESSAGE) { in node_allocate()
488 if (!status && (node_type == NODE_TASK || in node_allocate()
489 node_type == NODE_DAISSOCKET)) { in node_allocate()
511 if (!status && (node_type != NODE_DEVICE)) { in node_allocate()
550 if (!status && node_type != NODE_DEVICE) { in node_allocate()
760 enum node_type node_type; in node_change_priority() local
769 node_type = node_get_type(hnode); in node_change_priority()
[all …]
Ddisp.c211 enum node_type node_type; in disp_node_create() local
240 node_type = node_get_type(hnode); in disp_node_create()
327 if (node_type == NODE_TASK || node_type == NODE_DAISSOCKET) { in disp_node_create()
/linux-3.4.99/drivers/pci/hotplug/
Drpadlpar_core.c81 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()
289 int node_type; in dlpar_add_slot() local
296 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot()
302 switch (node_type) { in dlpar_add_slot()
412 int node_type; in dlpar_remove_slot() local
418 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot()
424 switch (node_type) { in dlpar_remove_slot()
/linux-3.4.99/fs/ubifs/
Dlpt_commit.c1044 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty() argument
1047 switch (node_type) { in make_node_dirty()
1065 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len() argument
1067 switch (node_type) { in get_lpt_node_len()
1107 int pos = 0, node_type; in get_lpt_node_type() local
1109 node_type = ubifs_unpack_bits(&addr, &pos, UBIFS_LPT_TYPE_BITS); in get_lpt_node_type()
1111 return node_type; in get_lpt_node_type()
1125 int pos = 0, node_type, node_len; in is_a_node() local
1130 node_type = ubifs_unpack_bits(&addr, &pos, UBIFS_LPT_TYPE_BITS); in is_a_node()
1131 if (node_type == UBIFS_LPT_NOT_A_NODE) in is_a_node()
[all …]
Dscan.c88 dbg_scan("scanning %s", dbg_ntype(ch->node_type)); in ubifs_scan_a_node()
93 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node()
205 snod->type = ch->node_type; in ubifs_add_snod()
210 switch (ch->node_type) { in ubifs_add_snod()
Dio.c257 type = ch->node_type; in ubifs_check_node()
330 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad()
686 dbg_ntype(((struct ubifs_ch *)buf)->node_type), in ubifs_wbuf_write_nolock()
871 lnum, offs, dbg_ntype(((struct ubifs_ch *)buf)->node_type), len, in ubifs_write_node()
941 if (type != ch->node_type) { in ubifs_read_node_wbuf()
943 ch->node_type, type); in ubifs_read_node_wbuf()
997 if (type != ch->node_type) { in ubifs_read_node()
999 ch->node_type, type); in ubifs_read_node()
Dsb.c169 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
211 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem()
278 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem()
301 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
337 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
Djournal.c463 ino->ch.node_type = UBIFS_INO_NODE; in pack_inode()
586 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_update()
589 dent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_update()
718 data->ch.node_type = UBIFS_DATA_NODE; in ubifs_jnl_write_data()
971 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
983 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1167 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1320 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
Dlog.c240 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_add_bud_to_log()
377 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
399 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_log_start_commit()
/linux-3.4.99/net/rds/
Diw.c66 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()
Dib.c128 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()
Drdma_transport.c79 if (cm_id->device->node_type == RDMA_NODE_RNIC) in rds_rdma_cm_event_handler()
/linux-3.4.99/include/rdma/
Drdma_netlink.h31 __u8 node_type; member
/linux-3.4.99/drivers/staging/tidspbridge/include/dspbridge/
Dnodepriv.h149 extern enum node_type node_get_type(struct node_object *hnode);
Ddbdefs.h136 enum node_type { enum
287 enum node_type ntype;
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_mad.h45 u8 node_type; member
/linux-3.4.99/Documentation/infiniband/
Dsysfs.txt6 node_type - Node type (CA, switch or router)

123