| /linux/certs/ |
| H A D | blacklist.c | 150 size_t type_len; in get_raw_hash() local 156 type_len = sizeof(tbs_prefix) - 1; in get_raw_hash() 160 type_len = sizeof(bin_prefix) - 1; in get_raw_hash() 167 buffer = kmalloc(type_len + 1 + hash_len * 2 + 1, GFP_KERNEL); in get_raw_hash() 170 p = memcpy(buffer, type_prefix, type_len); in get_raw_hash() 171 p += type_len; in get_raw_hash()
|
| /linux/drivers/bluetooth/ |
| H A D | btqca.c | 297 u32 type_len; in qca_tlv_check_data() local 326 type_len = le32_to_cpu(tlv->type_len); in qca_tlv_check_data() 338 BT_DBG("TLV Type\t\t : 0x%x", type_len & 0x000000ff); in qca_tlv_check_data() 369 type_len = le32_to_cpu(tlv->type_len); in qca_tlv_check_data() 370 length = type_len >> 8; in qca_tlv_check_data() 371 type = type_len & 0xff; in qca_tlv_check_data() 383 type_len = le32_to_cpu(tlv->type_len); in qca_tlv_check_data() 384 length = type_len >> 8; in qca_tlv_check_data() 385 type = type_len & 0xff; in qca_tlv_check_data()
|
| H A D | btqca.h | 143 __le32 type_len; member
|
| /linux/tools/testing/selftests/ftrace/test.d/00basic/ |
| H A D | trace_marker.tc | 16 type_len=`sed -ne 's/^.*type_len.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event` 19 total_bits=$((type_len+time_len+array_len))
|
| H A D | ringbuffer_subbuf_size.tc | 16 type_len=`sed -ne 's/^.*type_len.*:[^0-9]*\([0-9][0-9]*\).*/\1/p' events/header_event` 19 total_bits=$((type_len+time_len+array_len))
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_probes.c | 232 btf_len = hdr->hdr_len + hdr->type_off + hdr->type_len + hdr->str_len + hdr->layout_len; in libbpf__load_raw_btf() 238 memcpy(raw_btf + hdr->hdr_len + hdr->type_off, raw_types, hdr->type_len); in libbpf__load_raw_btf() 257 .type_len = types_len, in load_local_storage_btf()
|
| H A D | btf.c | 276 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr() 345 if ((long long)btf->hdr.type_off + btf->hdr.type_len > btf->hdr.str_off) { in btf_parse_hdr() 347 btf->hdr.type_off, btf->hdr.type_len, btf->hdr.str_off, in btf_parse_hdr() 365 if (btf->hdr.layout_off < (long long)btf->hdr.type_off + btf->hdr.type_len) { in btf_parse_hdr() 367 btf->hdr.type_off, btf->hdr.type_len, in btf_parse_hdr() 581 void *end_type = next_type + btf->hdr.type_len; in btf_parse_type_sec() 1807 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len; in btf_get_raw_data() 1821 memcpy(p, btf->types_data, hdr->type_len); in btf_get_raw_data() 1834 p += hdr->type_len; in btf_get_raw_data() 2011 types = malloc(btf->hdr.type_len); in btf_ensure_modifiable() [all …]
|
| H A D | features.c | 607 .type_len = sizeof(types), in probe_kern_btf_layout()
|
| H A D | libbpf.c | 3223 new_str_off = hdr->type_off + hdr->type_len; in bpf_object__sanitize_btf() 3233 sz = hdr->hdr_len + hdr->type_off + hdr->type_len + hdr->str_len; in bpf_object__sanitize_btf()
|
| /linux/security/integrity/platform_certs/ |
| H A D | keyring_handler.h | 10 size_t type_len);
|
| /linux/kernel/trace/ |
| H A D | ring_buffer_benchmark.c | 136 switch (event->type_len) { in read_page() 166 inc = ((event->type_len + 1) * 4); in read_page()
|
| H A D | simple_ring_buffer.c | 216 event->type_len = RINGBUF_TYPE_TIME_EXTEND; in rb_event_add_ts_extend() 262 event->type_len = 0; in simple_rb_reserve_next()
|
| /linux/tools/include/uapi/linux/ |
| H A D | btf.h | 29 __u32 type_len; /* length of type section */ 19 __u32 type_len; /* length of type section */ global() member
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | core_reloc_raw.c | 32 .type_len = sizeof(raw_btf.types), in test_bad_local_id()
|
| H A D | fd_array.c | 33 .type_len = sizeof(raw_btf.types), in new_btf()
|
| H A D | btf.c | 4434 ret_hdr->type_len = type_sec_size; in btf_raw_create()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | syscall.c | 79 .type_len = sizeof(raw_btf.types), in btf_load()
|
| /linux/fs/smb/client/ |
| H A D | smb2ops.c | 5385 int type_len = 0; in __cifs_sfu_make_node() local 5399 type_len = 8; in __cifs_sfu_make_node() 5400 memcpy(type, "IntxCHR\0", type_len); in __cifs_sfu_make_node() 5407 type_len = 8; in __cifs_sfu_make_node() 5408 memcpy(type, "IntxBLK\0", type_len); in __cifs_sfu_make_node() 5415 type_len = 8; in __cifs_sfu_make_node() 5416 memcpy(type, "IntxLNK\1", type_len); in __cifs_sfu_make_node() 5429 type_len = 1; in __cifs_sfu_make_node() 5434 type_len = 0; in __cifs_sfu_make_node() 5460 if (type_len + data_len > 0) { in __cifs_sfu_make_node() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 746 .type_len = types_len, in load_btf_spec() 765 memcpy(ptr, types, hdr.type_len); in load_btf_spec() 766 ptr += hdr.type_len; in load_btf_spec()
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | sk_storage_map.c | 127 .type_len = sizeof(btf_raw_types), in load_btf()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 1708 __btf_verifier_log(log, "type_len: %u\n", hdr->type_len); in btf_verifier_log_hdr() 5416 end = cur + hdr->type_len; in btf_check_all_metas() 5554 if (!env->btf->base_btf && !hdr->type_len) { in btf_parse_type_sec()
|