Searched refs:elem_type (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | btf_dumper.c | 178 const struct btf_type *elem_type; in is_str_array() local 184 elem_type = btf__type_by_id(btf, arr->type); in is_str_array() 188 while (elem_type && btf_is_mod(elem_type)) in is_str_array() 189 elem_type = btf__type_by_id(btf, elem_type->type); in is_str_array() 191 if (!elem_type || !btf_is_int(elem_type) || elem_type->size != 1) in is_str_array() 194 if (btf_int_encoding(elem_type) != BTF_INT_CHAR && in is_str_array() 195 strcmp("char", btf__name_by_offset(btf, elem_type->name_off))) in is_str_array()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | btf.c | 1641 u32 *type_size, const struct btf_type **elem_type, in __btf_resolve_size() argument 1696 if (elem_type) in __btf_resolve_size() 1697 *elem_type = type; in __btf_resolve_size() 2631 const struct btf_type *elem_type, *index_type; in btf_array_resolve() local 2658 elem_type = btf_type_by_id(btf, elem_type_id); in btf_array_resolve() 2659 if (btf_type_nosize_or_null(elem_type) || in btf_array_resolve() 2660 btf_type_is_resolve_source_only(elem_type)) { in btf_array_resolve() 2666 if (!env_type_is_resolve_sink(env, elem_type) && in btf_array_resolve() 2668 return env_stack_push(env, elem_type, elem_type_id); in btf_array_resolve() 2670 elem_type = btf_type_id_size(btf, &elem_type_id, &elem_size); in btf_array_resolve() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_sched.c | 66 start_node->info.data.elem_type == ICE_AQC_ELEM_TYPE_LEAF) in ice_sched_find_node_by_teid() 319 node->info.data.elem_type != ICE_AQC_ELEM_TYPE_TC && in ice_free_sched_node() 320 node->info.data.elem_type != ICE_AQC_ELEM_TYPE_ROOT_PORT && in ice_free_sched_node() 321 node->info.data.elem_type != ICE_AQC_ELEM_TYPE_LEAF) { in ice_free_sched_node() 837 buf->generic[i].data.elem_type = ICE_AQC_ELEM_TYPE_SE_GENERIC; in ice_sched_add_elems() 1045 if (node && node->info.data.elem_type == ICE_AQC_ELEM_TYPE_LEAF) { in ice_rm_dflt_leaf_node() 1073 node->info.data.elem_type != ICE_AQC_ELEM_TYPE_TC && in ice_sched_rm_dflt_nodes() 1074 node->info.data.elem_type != ICE_AQC_ELEM_TYPE_ROOT_PORT) { in ice_sched_rm_dflt_nodes() 1139 if (num_elems > 2 && buf[0].generic[num_elems - 1].data.elem_type == in ice_sched_init_port() 1159 if (buf[0].generic[j].data.elem_type == in ice_sched_init_port() [all …]
|
D | ice_adminq_cmd.h | 704 u8 elem_type; /* Special field, reserved for some aq calls */ member
|
D | ice_common.c | 3938 node.data.elem_type = ICE_AQC_ELEM_TYPE_LEAF; in ice_ena_vsi_txq()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.h | 208 enum qed_cxt_elem_type elem_type, u32 iid);
|
D | qed_cxt.c | 2170 enum qed_cxt_elem_type elem_type, u32 iid) in qed_cxt_dynamic_ilt_alloc() argument 2183 switch (elem_type) { in qed_cxt_dynamic_ilt_alloc() 2207 DP_NOTICE(p_hwfn, "-EINVALID elem type = %d", elem_type); in qed_cxt_dynamic_ilt_alloc() 2250 if (elem_type == QED_ELEM_TASK) { in qed_cxt_dynamic_ilt_alloc() 2287 if (elem_type == QED_ELEM_CXT) { in qed_cxt_dynamic_ilt_alloc() 2315 enum qed_cxt_elem_type elem_type, in qed_cxt_free_ilt_range() argument 2327 switch (elem_type) { in qed_cxt_free_ilt_range() 2349 DP_NOTICE(p_hwfn, "-EINVALID elem type = %d", elem_type); in qed_cxt_free_ilt_range()
|
D | qed_rdma.c | 1798 enum qed_cxt_elem_type elem_type; in qed_rdma_create_srq() local 1818 elem_type = (in_params->is_xrc) ? (QED_ELEM_XRC_SRQ) : (QED_ELEM_SRQ); in qed_rdma_create_srq() 1819 rc = qed_cxt_dynamic_ilt_alloc(p_hwfn, elem_type, returned_id); in qed_rdma_create_srq()
|
/kernel/linux/linux-5.10/tools/perf/util/cs-etm-decoder/ |
D | cs-etm-decoder.c | 538 switch (elem->elem_type) { in cs_etm_decoder__gen_trace_elem_printer()
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-topology.c | 88 unsigned int count, size_t bytes, const char *elem_type) in soc_tplg_check_elem_count() argument 94 elem_type); in soc_tplg_check_elem_count() 103 elem_type, count, elem_size, bytes); in soc_tplg_check_elem_count()
|