Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/pci/hotplug/
Drpadlpar_core.c74 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument
80 *node_type = NODE_TYPE_SLOT; in find_dlpar_node()
86 *node_type = NODE_TYPE_PHB; in find_dlpar_node()
92 *node_type = NODE_TYPE_VIO; in find_dlpar_node()
285 int node_type; in dlpar_add_slot() local
292 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot()
298 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-v4.19/fs/ubifs/
Dlpt_commit.c1035 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty() argument
1038 switch (node_type) { in make_node_dirty()
1056 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len() argument
1058 switch (node_type) { in get_lpt_node_len()
1098 int pos = 0, node_type; in get_lpt_node_type() local
1100 node_type = ubifs_unpack_bits(c, &addr, &pos, UBIFS_LPT_TYPE_BITS); in get_lpt_node_type()
1102 return node_type; in get_lpt_node_type()
1116 int pos = 0, node_type, node_len; in is_a_node() local
1121 node_type = ubifs_unpack_bits(c, &addr, &pos, UBIFS_LPT_TYPE_BITS); in is_a_node()
1122 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()
205 snod->type = ch->node_type; in ubifs_add_snod()
210 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()
688 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()
Djournal.c453 ino->ch.node_type = UBIFS_INO_NODE; in pack_inode()
585 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_update()
591 dent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_update()
735 data->ch.node_type = UBIFS_DATA_NODE; in ubifs_jnl_write_data()
986 dent1->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
999 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1136 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1148 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1377 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1528 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
Dsb.c170 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
212 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem()
278 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem()
300 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
339 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
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.h452 __u8 node_type; member
Drecovery.c162 if (ch->node_type != UBIFS_MST_NODE) in get_master_node()
831 if (cs_node->ch.node_type != UBIFS_CS_NODE) { in get_cs_sqnum()
832 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()
849 idx->ch.node_type = UBIFS_IDX_NODE; in write_index()
Dlpt.c947 int node_type; in check_lpt_type() local
949 node_type = ubifs_unpack_bits(c, addr, pos, UBIFS_LPT_TYPE_BITS); in check_lpt_type()
950 if (node_type != type) { in check_lpt_type()
952 node_type, type); in check_lpt_type()
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c67 buf[j++] = SET_VAL(CLE_TYPE, kn->node_type); in xgene_cle_kn_to_hw()
89 buf[j++] = SET_VAL(CLE_DN_TYPE, dn->node_type) | in xgene_cle_dn_to_hw()
211 .node_type = EWDN,
247 .node_type = EWDN,
295 .node_type = EWDN,
380 .node_type = EWDN,
465 .node_type = EWDN,
551 .node_type = EWDN,
819 kn.node_type = KN; in xgene_enet_cle_init()
Dxgene_enet_cle.h223 u8 node_type; member
240 u8 node_type; member
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-core.c647 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-v4.19/drivers/infiniband/core/
Dsysfs.c1191 switch (dev->node_type) { in show_node_type()
1192 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in show_node_type()
1193 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in show_node_type()
1194 case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); in show_node_type()
1195 case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); in show_node_type()
1196 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in show_node_type()
1197 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in show_node_type()
1198 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in show_node_type()
1263 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL);
Dverbs.c200 rdma_node_get_transport(enum rdma_node_type node_type) in rdma_node_get_transport() argument
203 if (node_type == RDMA_NODE_USNIC) in rdma_node_get_transport()
205 if (node_type == RDMA_NODE_USNIC_UDP) in rdma_node_get_transport()
207 if (node_type == RDMA_NODE_RNIC) in rdma_node_get_transport()
220 lt = rdma_node_get_transport(device->node_type); in rdma_port_get_link_layer()
/Linux-v4.19/net/rds/
Dib.c134 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one()
468 cm_id->device->node_type != RDMA_NODE_IB_CA) in rds_ib_laddr_check()
473 cm_id->device ? cm_id->device->node_type : -1); in rds_ib_laddr_check()
Drdma_transport.c58 if (cm_id->device->node_type == RDMA_NODE_IB_CA) in rds_rdma_cm_event_handler_cmn()
/Linux-v4.19/include/rdma/
Dopa_smi.h106 u8 node_type; member
Dib_smi.h125 u8 node_type; member
/Linux-v4.19/include/uapi/rdma/
Drdma_netlink.h57 __u8 node_type; member
/Linux-v4.19/tools/testing/selftests/kvm/lib/
Dsparsebit.c876 char *node_type; in dump_nodes() local
880 node_type = "root"; in dump_nodes()
882 node_type = "left"; in dump_nodes()
885 node_type = "right"; in dump_nodes()
887 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep); in dump_nodes()
/Linux-v4.19/fs/dlm/
Dconfig.c322 static const struct config_item_type node_type = { variable
499 config_item_init_type_name(&nd->item, name, &node_type); in make_node()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_main.c153 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dmain.c138 dev->ibdev.node_type = RDMA_NODE_RNIC; in qedr_iw_register_device()
164 dev->ibdev.node_type = RDMA_NODE_IB_CA; in qedr_roce_register_device()

12