Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/pci/hotplug/
Drpadlpar_core.c77 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() argument
83 *node_type = NODE_TYPE_SLOT; in find_dlpar_node()
89 *node_type = NODE_TYPE_PHB; in find_dlpar_node()
95 *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()
423 int node_type; in dlpar_remove_slot() local
429 dn = find_dlpar_node(drc_name, &node_type); in dlpar_remove_slot()
435 switch (node_type) { in dlpar_remove_slot()
/linux-6.6.21/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.c264 type = ch->node_type; in ubifs_check_node()
339 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad()
746 dbg_ntype(((struct ubifs_ch *)buf)->node_type), in ubifs_wbuf_write_nolock()
963 lnum, offs, dbg_ntype(((struct ubifs_ch *)buf)->node_type), len, in ubifs_write_node_hmac()
1056 if (type != ch->node_type) { in ubifs_read_node_wbuf()
1058 ch->node_type, type); in ubifs_read_node_wbuf()
1112 if (type != ch->node_type) { in ubifs_read_node()
1114 ch->node_type, type); in ubifs_read_node()
Dsb.c193 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
227 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem()
279 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem()
293 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
320 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()
1286 dent->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1301 dent2->ch.node_type = UBIFS_DENT_NODE; in ubifs_jnl_rename()
1585 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1754 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()
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()
/linux-6.6.21/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
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-core.c898 unsigned node_type, in vivid_detect_feature_set() argument
915 if (node_type & 0x20007) { in vivid_detect_feature_set()
937 if (node_type & 0x40300) { in vivid_detect_feature_set()
963 dev->has_vid_cap = node_type & 0x0001; in vivid_detect_feature_set()
967 dev->has_raw_vbi_cap = node_type & 0x0004; in vivid_detect_feature_set()
968 dev->has_sliced_vbi_cap = node_type & 0x0008; in vivid_detect_feature_set()
973 dev->has_meta_cap = node_type & 0x20000; in vivid_detect_feature_set()
990 dev->has_vid_out = node_type & 0x0100; in vivid_detect_feature_set()
994 dev->has_raw_vbi_out = node_type & 0x0400; in vivid_detect_feature_set()
995 dev->has_sliced_vbi_out = node_type & 0x0800; in vivid_detect_feature_set()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/hid/amd-sfh-hid/
Damd_sfh_client.c75 u8 report_id, node_type; in amd_sfh_work() local
83 node_type = req_node->report_type; in amd_sfh_work()
88 if (node_type == HID_FEATURE_REPORT) { in amd_sfh_work()
98 } else if (node_type == HID_INPUT_REPORT) { in amd_sfh_work()
/linux-6.6.21/kernel/bpf/
Dbpf_lru_list.c510 u8 node_type = READ_ONCE(node->type); in bpf_common_lru_push_free() local
513 if (WARN_ON_ONCE(node_type == BPF_LRU_LIST_T_FREE) || in bpf_common_lru_push_free()
514 WARN_ON_ONCE(node_type == BPF_LRU_LOCAL_LIST_T_FREE)) in bpf_common_lru_push_free()
517 if (node_type == BPF_LRU_LOCAL_LIST_T_PENDING) { in bpf_common_lru_push_free()
/linux-6.6.21/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()
/linux-6.6.21/scripts/gdb/linux/
Dradixtree.py26 node_type = node.type
/linux-6.6.21/include/rdma/
Dopa_smi.h79 u8 node_type; member
Dib_smi.h98 u8 node_type; member
/linux-6.6.21/drivers/infiniband/hw/mana/
Ddevice.c72 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mana_ib_probe()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dws.c20 enum irdma_ws_node_type node_type, in irdma_alloc_node() argument
44 if (node_type == WS_NODE_TYPE_LEAF) { in irdma_alloc_node()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dsparsebit.c874 char *node_type; in dump_nodes() local
878 node_type = "root"; in dump_nodes()
880 node_type = "left"; in dump_nodes()
883 node_type = "right"; in dump_nodes()
885 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep); in dump_nodes()
/linux-6.6.21/sound/soc/sof/
Dipc4-topology.c393 int node_type = 0; in sof_ipc4_widget_setup_pcm() local
417 ret = sof_update_ipc_object(scomp, &node_type, in sof_ipc4_widget_setup_pcm()
419 swidget->num_tuples, sizeof(node_type), 1); in sof_ipc4_widget_setup_pcm()
426 dev_dbg(scomp->dev, "host copier '%s' node_type %u\n", swidget->widget->name, node_type); in sof_ipc4_widget_setup_pcm()
442 ipc4_copier->data.gtw_cfg.node_id = SOF_IPC4_NODE_TYPE(node_type); in sof_ipc4_widget_setup_pcm()
494 int node_type = 0; in sof_ipc4_widget_setup_comp_dai() local
510 ret = sof_update_ipc_object(scomp, &node_type, in sof_ipc4_widget_setup_comp_dai()
512 swidget->num_tuples, sizeof(node_type), 1); in sof_ipc4_widget_setup_comp_dai()
527 node_type, ipc4_copier->dai_type, ipc4_copier->dai_index); in sof_ipc4_widget_setup_comp_dai()
529 ipc4_copier->data.gtw_cfg.node_id = SOF_IPC4_NODE_TYPE(node_type); in sof_ipc4_widget_setup_comp_dai()
/linux-6.6.21/drivers/infiniband/core/
Dsysfs.c1295 static const char *node_type_string(int node_type) in node_type_string() argument
1297 switch (node_type) { in node_type_string()
1321 return sysfs_emit(buf, "%u: %s\n", dev->node_type, in node_type_show()
1322 node_type_string(dev->node_type)); in node_type_show()
1324 static DEVICE_ATTR_RO(node_type);
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dswitchdev.rst252 …8: rocep6s0f1: node_type ca fw 16.29.0550 node_guid 248a:0703:00b3:d113 sys_image_guid 248a:0703:0…
253 …13: mlx5_0: node_type ca fw 16.29.0550 node_guid 0000:00ff:fe00:8888 sys_image_guid 248a:0703:00b3…

123