/Linux-v5.4/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 91 [1] PTR '(anon)' type_id=2 93 'pad' type_id=3 bits_offset=0 94 'sock' type_id=4 bits_offset=64 96 [4] PTR '(anon)' type_id=5 144 [1] PTR '(anon)' type_id=2 146 'a' type_id=3 bits_offset=0 147 'b' type_id=4 bits_offset=0 150 'const_int_field' type_id=5 bits_offset=0 151 'bitfield_field' type_id=3 bits_offset=32 bitfield_size=4 152 'arr_field' type_id=8 bits_offset=40 [all …]
|
/Linux-v5.4/tools/bpf/bpftool/ |
D | btf_dumper.c | 22 static int btf_dumper_do_type(const struct btf_dumper *d, __u32 type_id, 34 static int btf_dumper_modifier(const struct btf_dumper *d, __u32 type_id, in btf_dumper_modifier() argument 39 actual_type_id = btf__resolve_type(d->btf, type_id); in btf_dumper_modifier() 51 static int btf_dumper_array(const struct btf_dumper *d, __u32 type_id, in btf_dumper_array() argument 54 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_array() 264 static int btf_dumper_struct(const struct btf_dumper *d, __u32 type_id, in btf_dumper_struct() argument 274 t = btf__type_by_id(d->btf, type_id); in btf_dumper_struct() 312 static int btf_dumper_var(const struct btf_dumper *d, __u32 type_id, in btf_dumper_var() argument 315 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_var() 326 static int btf_dumper_datasec(const struct btf_dumper *d, __u32 type_id, in btf_dumper_datasec() argument [all …]
|
D | xlated_dumper.c | 236 btf_dumper_type_only(btf, record->type_id, in dump_xlated_json() 317 btf_dumper_type_only(btf, record->type_id, in dump_xlated_plain()
|
D | main.h | 211 int btf_dumper_type(const struct btf_dumper *d, __u32 type_id,
|
/Linux-v5.4/drivers/media/usb/pwc/ |
D | pwc-if.c | 766 int vendor_id, product_id, type_id; in usb_pwc_probe() local 793 type_id = 645; in usb_pwc_probe() 798 type_id = 646; in usb_pwc_probe() 803 type_id = 646; in usb_pwc_probe() 808 type_id = 675; in usb_pwc_probe() 813 type_id = 680; in usb_pwc_probe() 818 type_id = 690; in usb_pwc_probe() 823 type_id = 730; in usb_pwc_probe() 828 type_id = 740; in usb_pwc_probe() 833 type_id = 750; in usb_pwc_probe() [all …]
|
/Linux-v5.4/tools/lib/bpf/ |
D | btf.c | 209 const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) in btf__type_by_id() argument 211 if (type_id > btf->nr_types) in btf__type_by_id() 214 return btf->types[type_id]; in btf__type_by_id() 229 __s64 btf__resolve_size(const struct btf *btf, __u32 type_id) in btf__resolve_size() argument 237 t = btf__type_by_id(btf, type_id); in btf__resolve_size() 256 type_id = t->type; in btf__resolve_size() 263 type_id = array->type; in btf__resolve_size() 269 t = btf__type_by_id(btf, type_id); in btf__resolve_size() 282 int btf__resolve_type(const struct btf *btf, __u32 type_id) in btf__resolve_type() argument 287 t = btf__type_by_id(btf, type_id); in btf__resolve_type() [all …]
|
D | libbpf_internal.h | 111 __u32 type_id; member 166 __u32 type_id; member
|
D | btf.h | 78 LIBBPF_API __s64 btf__resolve_size(const struct btf *btf, __u32 type_id); 79 LIBBPF_API int btf__resolve_type(const struct btf *btf, __u32 type_id);
|
D | libbpf.c | 2303 __u32 type_id; /* struct/union type or array element type */ member 2359 __u32 type_id, in bpf_core_spec_parse() argument 2391 t = skip_mods_and_typedefs(btf, type_id, &id); in bpf_core_spec_parse() 2396 spec->spec[0].type_id = id; in bpf_core_spec_parse() 2432 spec->spec[spec->len].type_id = id; in bpf_core_spec_parse() 2446 spec->spec[spec->len].type_id = id; in bpf_core_spec_parse() 2456 type_id, spec_str, i, id, btf_kind(t)); in bpf_core_spec_parse() 2641 local_id = local_acc->type_id; in bpf_core_match_member() 2679 targ_acc->type_id = targ_id; in bpf_core_match_member() 2754 targ_acc->type_id = targ_id; in bpf_core_spec_match() [all …]
|
/Linux-v5.4/include/linux/ |
D | btf.h | 44 u32 *type_id, 46 void btf_type_seq_show(const struct btf *btf, u32 type_id, void *obj, 57 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id); 61 u32 type_id) in btf_type_by_id() argument
|
/Linux-v5.4/drivers/hid/usbhid/ |
D | hid-pidff.c | 182 int type_id[sizeof(pidff_effect_types)]; member 556 int type_id; in pidff_upload_effect() local 569 pidff->type_id[PID_CONSTANT]); in pidff_upload_effect() 588 type_id = PID_SQUARE; in pidff_upload_effect() 591 type_id = PID_TRIANGLE; in pidff_upload_effect() 594 type_id = PID_SINE; in pidff_upload_effect() 597 type_id = PID_SAW_UP; in pidff_upload_effect() 600 type_id = PID_SAW_DOWN; in pidff_upload_effect() 608 pidff->type_id[type_id]); in pidff_upload_effect() 626 pidff->type_id[PID_RAMP]); in pidff_upload_effect() [all …]
|
/Linux-v5.4/kernel/bpf/ |
D | btf.c | 169 #define BTF_TYPE_ID_VALID(type_id) ((type_id) <= BTF_MAX_TYPE) argument 224 u32 type_id; member 296 u32 type_id, void *data, u8 bits_offsets, 304 const struct btf_type *t, u32 type_id); 592 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id) in btf_type_by_id() argument 594 if (type_id > btf->nr_types) in btf_type_by_id() 597 return btf->types[type_id]; in btf_type_by_id() 990 u32 type_id) in env_type_is_resolved() argument 992 return env->visit_states[type_id] == RESOLVED; in env_type_is_resolved() 996 const struct btf_type *t, u32 type_id) in env_stack_push() argument [all …]
|
/Linux-v5.4/drivers/media/pci/cx88/ |
D | cx88-mpeg.c | 504 if (d->type_id == btype) in cx8802_get_driver() 519 core->active_type_id != drv->type_id) in cx8802_request_acquire() 522 if (drv->type_id == CX88_MPEG_DVB) { in cx8802_request_acquire() 540 core->active_type_id = drv->type_id; in cx8802_request_acquire() 556 if (drv->type_id == CX88_MPEG_DVB) { in cx8802_request_release() 577 if ((drv->type_id != CX88_MPEG_DVB) && in cx8802_check_driver() 578 (drv->type_id != CX88_MPEG_BLACKBIRD)) in cx8802_check_driver() 601 drv->type_id == CX88_MPEG_DVB ? "dvb" : "blackbird", in cx8802_register_driver() 659 drv->type_id == CX88_MPEG_DVB ? "dvb" : "blackbird", in cx8802_unregister_driver() 675 if (d->type_id != drv->type_id) in cx8802_unregister_driver()
|
/Linux-v5.4/net/tipc/ |
D | ib_media.c | 98 .type_id = TIPC_MEDIA_TYPE_IB,
|
D | eth_media.c | 96 .type_id = TIPC_MEDIA_TYPE_ETH,
|
D | bearer.c | 94 if (media_info_array[i]->type_id == type) in media_find_id() 417 b->bcast_addr.media_id = b->media->type_id; in tipc_enable_l2_media() 770 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_bearer() 777 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_add_bearer() 1062 if (b->media->type_id != TIPC_MEDIA_TYPE_UDP) in __tipc_nl_bearer_set() 1116 if (media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_media() 1249 if (m->type_id != TIPC_MEDIA_TYPE_UDP) in __tipc_nl_media_set()
|
D | bearer.h | 124 u32 type_id; member
|
/Linux-v5.4/drivers/net/wireless/ath/ |
D | dfs_pattern_detector.h | 72 u8 type_id; member
|
D | dfs_pattern_detector.c | 303 event->freq, pd->rs->type_id, in dpd_add_pulse()
|
/Linux-v5.4/drivers/rapidio/devices/ |
D | tsi721.h | 510 __le32 type_id; member 555 __le32 type_id; member 583 __le32 type_id; member
|
D | tsi721_dma.c | 120 bd_ptr[bd_num].type_id = cpu_to_le32(DTYPE3 << 29); in tsi721_bdma_ch_init() 341 bd_ptr->type_id = cpu_to_le32((DTYPE1 << 29) | in tsi721_desc_fill_init() 366 bd_ptr->type_id |= cpu_to_le32(TSI721_DMAD_IOF); in tsi721_desc_fill_end()
|
D | tsi721.c | 130 bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid); in tsi721_maint_dma() 1475 bd_ptr[bd_num - 1].type_id = cpu_to_le32(DTYPE3 << 29); in tsi721_bdma_maint_init() 1691 desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid); in tsi721_add_outb_message() 1695 desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF); in tsi721_add_outb_message() 1995 bd_ptr[entries].type_id = cpu_to_le32(DTYPE5 << 29); in tsi721_open_outb_mbox()
|
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
D | falcon_boards.c | 744 u8 type_id = FALCON_BOARD_TYPE(revision_info); in falcon_probe_board() local 751 if (board_types[i].id == type_id) in falcon_probe_board() 758 type_id); in falcon_probe_board()
|
/Linux-v5.4/Documentation/bpf/ |
D | btf.rst | 109 * "type" is a type_id referring to another type. 511 __u32 btf_key_type_id; /* BTF type_id of the key */ 512 __u32 btf_value_type_id; /* BTF type_id of the value */ 527 key/value type_id's and assign them to BPF_MAP_CREATE attributes 554 __u32 type_id; /* pointing to a BTF_KIND_FUNC type */ 819 a type_id=2 bitfield_size=2 bits_offset=0 820 b type_id=2 bitfield_size=3 bits_offset=2 821 c type_id=2 bitfield_size=2 bits_offset=5
|
/Linux-v5.4/tools/perf/util/ |
D | bpf-event.c | 133 t = btf__type_by_id(btf, finfo->type_id); in synthesize_bpf_prog_name()
|