Home
last modified time | relevance | path

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

/linux-4.4.14/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()
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.4.14/fs/ubifs/
Dlpt_commit.c1034 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 …]
Dscan.c89 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()
Dio.c256 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()
Dsb.c167 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()
Djournal.c463 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()
Dlog.c240 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()
Dubifs-media.h436 __u8 node_type; member
Drecovery.c162 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()
Dtnc_commit.c44 idx->ch.node_type = UBIFS_IDX_NODE; in make_idx_node()
846 idx->ch.node_type = UBIFS_IDX_NODE; in write_index()
Dlpt.c944 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()
Ddebug.c224 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()
Dtnc.c457 if (ch->node_type != type) in try_read_node()
1685 if (ch->node_type != UBIFS_DATA_NODE) { in validate_data_node()
1687 ch->node_type, UBIFS_DATA_NODE); in validate_data_node()
Dorphan.c300 orph->ch.node_type = UBIFS_ORPH_NODE; in write_orph_node()
/linux-4.4.14/drivers/infiniband/core/
Dsysfs.c602 switch (dev->node_type) { in show_node_type()
603 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type()
604 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type()
605 case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); in show_node_type()
606 case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); in show_node_type()
607 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type()
608 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type()
609 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type()
670 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
854 if (device->node_type == RDMA_NODE_RNIC && device->get_protocol_stats) { in ib_device_register_sysfs()
[all …]
Dverbs.c179 rdma_node_get_transport(enum rdma_node_type node_type) in rdma_node_get_transport() argument
181 switch (node_type) { in rdma_node_get_transport()
204 switch (rdma_node_get_transport(device->node_type)) { in rdma_port_get_link_layer()
Dcma.c345 rdma_node_get_transport(cma_dev->device->node_type); in cma_attach_to_dev()
1255 rdma_node_get_transport(device->node_type); in cma_protocol_roce_dev_port()
3447 switch (id->device->node_type) { in rdma_notify()
3989 id_stats->node_type = id->route.addr.dev_addr.dev_type; in cma_get_id_stats()
/linux-4.4.14/net/rds/
Diw.c66 if (device->node_type != RDMA_NODE_RNIC) in rds_iw_add_one()
239 cm_id->device->node_type != RDMA_NODE_RNIC) in rds_iw_laddr_check()
244 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()
352 cm_id->device->node_type != RDMA_NODE_IB_CA) in rds_ib_laddr_check()
357 cm_id->device ? cm_id->device->node_type : -1); in rds_ib_laddr_check()
Drdma_transport.c52 if (cm_id->device->node_type == RDMA_NODE_RNIC) in rds_rdma_cm_event_handler()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-core.c662 unsigned node_type = node_types[inst]; in vivid_create_instance() local
716 dev->has_vid_cap = node_type & 0x0001; in vivid_create_instance()
720 dev->has_raw_vbi_cap = node_type & 0x0004; in vivid_create_instance()
721 dev->has_sliced_vbi_cap = node_type & 0x0008; in vivid_create_instance()
726 dev->has_vid_out = node_type & 0x0100; in vivid_create_instance()
730 dev->has_raw_vbi_out = node_type & 0x0400; in vivid_create_instance()
731 dev->has_sliced_vbi_out = node_type & 0x0800; in vivid_create_instance()
736 dev->has_radio_rx = node_type & 0x0010; in vivid_create_instance()
739 dev->has_radio_tx = node_type & 0x1000; in vivid_create_instance()
742 dev->has_sdr_cap = node_type & 0x0020; in vivid_create_instance()
[all …]
/linux-4.4.14/include/uapi/rdma/
Drdma_netlink.h55 __u8 node_type; member
/linux-4.4.14/include/rdma/
Dopa_smi.h108 u8 node_type; member
Dib_smi.h125 u8 node_type; member
Dib_verbs.h99 rdma_node_get_transport(enum rdma_node_type node_type);
1824 u8 node_type; member
/linux-4.4.14/Documentation/infiniband/
Dsysfs.txt6 node_type - Node type (CA, switch or router)
/linux-4.4.14/fs/dlm/
Dconfig.c318 static struct config_item_type node_type = { variable
519 config_item_init_type_name(&nd->item, name, &node_type); in make_node()
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_main.c141 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c749 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.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c365 us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC_UDP; in usnic_ib_device_add()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_mad.c72 u8 node_type; member
97 nip->node_type = 1; /* channel adapter */ in recv_subn_get_nodeinfo()
Dipath_verbs.c2170 dev->node_type = RDMA_NODE_IB_CA; in ipath_register_ib_device()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dprovider.c527 dev->ibdev.node_type = RDMA_NODE_RNIC; in c4iw_register_device()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_provider.c825 dev->ibdev.node_type = RDMA_NODE_RNIC; in c2_register_device()
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_main.c483 shca->ib_device.node_type = RDMA_NODE_IB_CA; in ehca_init_device()
/linux-4.4.14/sound/pci/asihpi/
Dhpi.h1154 u16 node_type; /**< what type of node is the control on ? */ member
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmain.c1354 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx5_ib_add()
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_provider.c1304 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mthca_register_device()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1431 dev->ibdev.node_type = RDMA_NODE_RNIC; in iwch_register_device()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dverbs.c2031 ibdev->node_type = RDMA_NODE_IB_CA; in hfi1_register_ib_device()
Dmad.c333 ni->node_type = 1; /* channel adapter */ in __subn_get_opa_nodeinfo()
369 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_verbs.c2224 ibdev->node_type = RDMA_NODE_IB_CA; in qib_register_ib_device()
Dqib_mad.c294 nip->node_type = 1; /* channel adapter */ in subn_get_nodeinfo()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmain.c2190 ibdev->ib_dev.node_type = RDMA_NODE_IB_CA; in mlx4_ib_add()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_verbs.c3840 nesibdev->ibdev.node_type = RDMA_NODE_RNIC; in nes_init_ofa_device()