Home
last modified time | relevance | path

Searched refs:node_type (Results 1 - 25 of 116) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A 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()
[all...]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A 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()
[all...]
/kernel/linux/linux-5.10/fs/ubifs/
H A Dlpt_commit.c978 * @node_type: LPT node type
991 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()
1010 * @node_type: LPT node type
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_le in is_a_node() local
1107 int err, len = c->leb_size, node_type, node_num, node_len, offs; lpt_gc_lnum() local
1567 dbg_is_node_dirty(struct ubifs_info *c, int node_type, int lnum, int offs) dbg_is_node_dirty() argument
1592 int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; dbg_check_ltab_lnum() local
1844 int err, len = c->leb_size, node_type, node_num, node_len, offs; dump_lpt_leb() local
[all...]
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-6.6/fs/ubifs/
H A Dlpt_commit.c978 * @node_type: LPT node type
991 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()
1010 * @node_type: LPT node type
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_le in is_a_node() local
1107 int err, len = c->leb_size, node_type, node_num, node_len, offs; lpt_gc_lnum() local
1567 dbg_is_node_dirty(struct ubifs_info *c, int node_type, int lnum, int offs) dbg_is_node_dirty() argument
1592 int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; dbg_check_ltab_lnum() local
1844 int err, len = c->leb_size, node_type, node_num, node_len, offs; dump_lpt_leb() local
[all...]
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
H A 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()
H A Dxgene_enet_cle.h211 u8 node_type; member
228 u8 node_type; member
/kernel/linux/linux-6.6/drivers/net/ethernet/apm/xgene/
H A 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()
H A Dxgene_enet_cle.h211 u8 node_type; member
228 u8 node_type; member
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A 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);
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kvm/intc/
H A Dls3a_ext_irq.h85 union node_type { union
90 } node_type; member
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-core.c858 unsigned node_type, in vivid_detect_feature_set()
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 in vivid_detect_feature_set()
857 vivid_detect_feature_set(struct vivid_dev *dev, int inst, unsigned node_type, bool *has_tuner, bool *has_modulator, int *ccs_cap, int *ccs_out, unsigned in_type_counter[4], unsigned out_type_counter[4]) vivid_detect_feature_set() argument
1693 unsigned node_type = node_types[inst]; vivid_create_instance() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-core.c898 unsigned node_type, in vivid_detect_feature_set()
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 in vivid_detect_feature_set()
897 vivid_detect_feature_set(struct vivid_dev *dev, int inst, unsigned node_type, bool *has_tuner, bool *has_modulator, int *ccs_cap, int *ccs_out, unsigned in_type_counter[4], unsigned out_type_counter[4]) vivid_detect_feature_set() argument
1733 unsigned node_type = node_types[inst]; vivid_create_instance() local
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
H A 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()
477 *node_type = pe->node_type; in stm_lookup_protocol()
466 stm_lookup_protocol(const char *name, const struct stm_protocol_driver **pdrv, const struct config_item_type **node_type) stm_lookup_protocol() argument
/kernel/linux/linux-6.6/drivers/hwtracing/stm/
H A 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()
477 *node_type = pe->node_type; in stm_lookup_protocol()
466 stm_lookup_protocol(const char *name, const struct stm_protocol_driver **pdrv, const struct config_item_type **node_type) stm_lookup_protocol() argument
/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/
H A 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()
/kernel/linux/linux-5.10/kernel/bpf/
H A 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()
/kernel/linux/linux-6.6/kernel/bpf/
H A 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()
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dradixtree.py26 node_type = node.type
/kernel/linux/linux-5.10/net/rds/
H A Dib.c134 if (device->node_type != RDMA_NODE_IB_CA) in rds_ib_add_one()
477 check node_type. */ in rds_ib_laddr_check()
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()

Completed in 29 milliseconds

12345