Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/pci/hotplug/
Drpadlpar_core.c76 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument
82 *node_type = NODE_TYPE_SLOT; in find_dlpar_node()
88 *node_type = NODE_TYPE_PHB; in find_dlpar_node()
94 *node_type = NODE_TYPE_VIO; in find_dlpar_node()
287 int node_type; in dlpar_add_slot() local
294 dn = find_dlpar_node(drc_name, &node_type); in dlpar_add_slot()
300 switch (node_type) { in dlpar_add_slot()
422 int node_type; in dlpar_remove_slot() local
428 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot()
434 switch (node_type) { in dlpar_remove_slot()
/kernel/linux/linux-5.10/fs/ubifs/
Dlpt_commit.c991 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty() argument
994 switch (node_type) { in make_node_dirty()
1012 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len() argument
1014 switch (node_type) { in get_lpt_node_len()
1054 int pos = 0, node_type; in get_lpt_node_type() local
1056 node_type = ubifs_unpack_bits(c, &addr, &pos, UBIFS_LPT_TYPE_BITS); in get_lpt_node_type()
1058 return node_type; in get_lpt_node_type()
1072 int pos = 0, node_type, node_len; in is_a_node() local
1077 node_type = ubifs_unpack_bits(c, &addr, &pos, UBIFS_LPT_TYPE_BITS); in is_a_node()
1078 if (node_type == UBIFS_LPT_NOT_A_NODE) in is_a_node()
[all …]
Dscan.c77 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node()
82 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node()
193 snod->type = ch->node_type; in ubifs_add_snod()
198 switch (ch->node_type) { in ubifs_add_snod()
Dio.c245 type = ch->node_type; in ubifs_check_node()
318 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad()
725 dbg_ntype(((struct ubifs_ch *)buf)->node_type), in ubifs_wbuf_write_nolock()
942 lnum, offs, dbg_ntype(((struct ubifs_ch *)buf)->node_type), len, in ubifs_write_node_hmac()
1035 if (type != ch->node_type) { in ubifs_read_node_wbuf()
1037 ch->node_type, type); in ubifs_read_node_wbuf()
1091 if (type != ch->node_type) { in ubifs_read_node()
1093 ch->node_type, type); in ubifs_read_node()
Dsb.c190 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
224 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem()
276 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem()
290 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
317 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
Djournal.c452 ino->ch.node_type = UBIFS_INO_NODE; in pack_inode()
590 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_update()
596 dent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_update()
757 data->ch.node_type = UBIFS_DATA_NODE; in ubifs_jnl_write_data()
1095 dent1->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1111 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_xrename()
1282 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1297 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1575 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1744 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
Dlog.c229 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_add_bud_to_log()
373 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
403 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_log_start_commit()
Dubifs-media.h461 __u8 node_type; member
Drecovery.c150 if (ch->node_type != UBIFS_MST_NODE) in get_master_node()
820 if (cs_node->ch.node_type != UBIFS_CS_NODE) { in get_cs_sqnum()
821 ubifs_err(c, "Not a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum()
Dauth.c86 auth->ch.node_type = UBIFS_AUTH_NODE; in ubifs_prepare_auth_node()
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c55 buf[j++] = SET_VAL(CLE_TYPE, kn->node_type); in xgene_cle_kn_to_hw()
77 buf[j++] = SET_VAL(CLE_DN_TYPE, dn->node_type) | in xgene_cle_dn_to_hw()
199 .node_type = EWDN,
235 .node_type = EWDN,
283 .node_type = EWDN,
368 .node_type = EWDN,
453 .node_type = EWDN,
539 .node_type = EWDN,
807 kn.node_type = KN; in xgene_enet_cle_init()
Dxgene_enet_cle.h211 u8 node_type; member
228 u8 node_type; member
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-core.c858 unsigned node_type, in vivid_detect_feature_set() argument
875 if (node_type & 0x20007) { in vivid_detect_feature_set()
897 if (node_type & 0x40300) { in vivid_detect_feature_set()
923 dev->has_vid_cap = node_type & 0x0001; in vivid_detect_feature_set()
927 dev->has_raw_vbi_cap = node_type & 0x0004; in vivid_detect_feature_set()
928 dev->has_sliced_vbi_cap = node_type & 0x0008; in vivid_detect_feature_set()
933 dev->has_meta_cap = node_type & 0x20000; in vivid_detect_feature_set()
950 dev->has_vid_out = node_type & 0x0100; in vivid_detect_feature_set()
954 dev->has_raw_vbi_out = node_type & 0x0400; in vivid_detect_feature_set()
955 dev->has_sliced_vbi_out = node_type & 0x0800; in vivid_detect_feature_set()
[all …]
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
Dcore.c375 const struct config_item_type *node_type; member
414 pe->node_type = get_policy_node_type(pdrv->policy_attr); in stm_register_protocol()
415 if (!pe->node_type) in stm_register_protocol()
443 if (pe->node_type) { in stm_unregister_protocol()
444 kfree(pe->node_type->ct_attrs); in stm_unregister_protocol()
445 kfree(pe->node_type); in stm_unregister_protocol()
468 const struct config_item_type **node_type) in stm_lookup_protocol() argument
477 *node_type = pe->node_type; in stm_lookup_protocol()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dsysfs.c1232 switch (dev->node_type) { in node_type_show()
1233 case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); in node_type_show()
1234 case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); in node_type_show()
1235 case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); in node_type_show()
1236 case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); in node_type_show()
1237 case RDMA_NODE_UNSPECIFIED: return sprintf(buf, "%d: unspecified\n", dev->node_type); in node_type_show()
1238 case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); in node_type_show()
1239 case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); in node_type_show()
1240 default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); in node_type_show()
1243 static DEVICE_ATTR_RO(node_type);
Dverbs.c214 rdma_node_get_transport(unsigned int node_type) in rdma_node_get_transport() argument
217 if (node_type == RDMA_NODE_USNIC) in rdma_node_get_transport()
219 if (node_type == RDMA_NODE_USNIC_UDP) in rdma_node_get_transport()
221 if (node_type == RDMA_NODE_RNIC) in rdma_node_get_transport()
223 if (node_type == RDMA_NODE_UNSPECIFIED) in rdma_node_get_transport()
236 lt = rdma_node_get_transport(device->node_type); in rdma_port_get_link_layer()
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_lru_list.c505 u8 node_type = READ_ONCE(node->type); in bpf_common_lru_push_free() local
508 if (WARN_ON_ONCE(node_type == BPF_LRU_LIST_T_FREE) || in bpf_common_lru_push_free()
509 WARN_ON_ONCE(node_type == BPF_LRU_LOCAL_LIST_T_FREE)) in bpf_common_lru_push_free()
512 if (node_type == BPF_LRU_LOCAL_LIST_T_PENDING) { in bpf_common_lru_push_free()
/kernel/linux/linux-5.10/net/rds/
Dib.c134 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one()
479 cm_id->device->node_type != RDMA_NODE_IB_CA) in rds_ib_laddr_check()
484 cm_id->device ? cm_id->device->node_type : -1); in rds_ib_laddr_check()
Drdma_transport.c63 if (cm_id->device->node_type == RDMA_NODE_IB_CA) in rds_rdma_cm_event_handler_cmn()
/kernel/linux/linux-5.10/include/rdma/
Dopa_smi.h79 u8 node_type; member
Dib_smi.h98 u8 node_type; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_netlink.h52 __u8 node_type; member
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dsparsebit.c875 char *node_type; in dump_nodes() local
879 node_type = "root"; in dump_nodes()
881 node_type = "left"; in dump_nodes()
884 node_type = "right"; in dump_nodes()
886 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep); in dump_nodes()
/kernel/linux/linux-5.10/fs/dlm/
Dconfig.c349 static const struct config_item_type node_type = { variable
535 config_item_init_type_name(&nd->item, name, &node_type); in make_node()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_main.c234 dev->ibdev.node_type = RDMA_NODE_IB_CA; in ocrdma_register_device()

123