Home
last modified time | relevance | path

Searched refs:type_len (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/certs/
Dblacklist.c149 size_t type_len; in get_raw_hash() local
155 type_len = sizeof(tbs_prefix) - 1; in get_raw_hash()
159 type_len = sizeof(bin_prefix) - 1; in get_raw_hash()
166 buffer = kmalloc(type_len + 1 + hash_len * 2 + 1, GFP_KERNEL); in get_raw_hash()
169 p = memcpy(buffer, type_prefix, type_len); in get_raw_hash()
170 p += type_len; in get_raw_hash()
/linux-6.12.1/drivers/bluetooth/
Dbtqca.c281 u32 type_len; in qca_tlv_check_data() local
310 type_len = le32_to_cpu(tlv->type_len); in qca_tlv_check_data()
322 BT_DBG("TLV Type\t\t : 0x%x", type_len & 0x000000ff); in qca_tlv_check_data()
353 type_len = le32_to_cpu(tlv->type_len); in qca_tlv_check_data()
354 length = type_len >> 8; in qca_tlv_check_data()
355 type = type_len & 0xff; in qca_tlv_check_data()
367 type_len = le32_to_cpu(tlv->type_len); in qca_tlv_check_data()
368 length = type_len >> 8; in qca_tlv_check_data()
369 type = type_len & 0xff; in qca_tlv_check_data()
Dbtqca.h140 __le32 type_len; member
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/00basic/
Dtrace_marker.tc16 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))
Dringbuffer_subbuf_size.tc16 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-6.12.1/tools/lib/bpf/
Dlibbpf_probes.c229 .type_len = types_len, in libbpf__load_raw_btf()
240 btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; in libbpf__load_raw_btf()
246 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf()
247 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
Dbtf.c218 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
258 if ((long long)hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr()
260 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
420 void *end_type = next_type + hdr->type_len; in btf_parse_type_sec()
1493 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len; in btf_get_raw_data()
1504 memcpy(p, btf->types_data, hdr->type_len); in btf_get_raw_data()
1517 p += hdr->type_len; in btf_get_raw_data()
1670 types = malloc(btf->hdr->type_len); in btf_ensure_modifiable()
1675 memcpy(types, btf->types_data, btf->hdr->type_len); in btf_ensure_modifiable()
1687 btf->types_data_cap = btf->hdr->type_len; in btf_ensure_modifiable()
[all …]
/linux-6.12.1/security/integrity/platform_certs/
Dkeyring_handler.h10 size_t type_len);
/linux-6.12.1/drivers/firmware/efi/
Defi.c904 int type_len; in efi_md_typeattr_format() local
909 type_len = snprintf(pos, size, "[type=%u", md->type); in efi_md_typeattr_format()
911 type_len = snprintf(pos, size, "[%-*s", in efi_md_typeattr_format()
914 if (type_len >= size) in efi_md_typeattr_format()
917 pos += type_len; in efi_md_typeattr_format()
918 size -= type_len; in efi_md_typeattr_format()
/linux-6.12.1/kernel/trace/
Dring_buffer.c184 (event->type_len >= RINGBUF_TYPE_TIME_EXTEND)
188 return event->type_len == RINGBUF_TYPE_PADDING && !event->time_delta; in rb_null_event()
194 event->type_len = RINGBUF_TYPE_PADDING; in rb_event_set_padding()
203 if (event->type_len) in rb_event_data_length()
204 length = event->type_len * RB_ALIGNMENT; in rb_event_data_length()
218 switch (event->type_len) { in rb_event_length()
275 if (event->type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX) in ring_buffer_event_length()
290 WARN_ON_ONCE(event->type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX); in rb_event_data()
292 if (event->type_len) in rb_event_data()
700 if (event->type_len == RINGBUF_TYPE_TIME_STAMP) { in ring_buffer_event_time_stamp()
[all …]
Dring_buffer_benchmark.c136 switch (event->type_len) { in read_page()
166 inc = ((event->type_len + 1) * 4); in read_page()
/linux-6.12.1/tools/include/uapi/linux/
Dbtf.h19 __u32 type_len; /* length of type section */ member
/linux-6.12.1/include/uapi/linux/
Dbtf.h19 __u32 type_len; /* length of type section */ member
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dcore_reloc_raw.c32 .type_len = sizeof(raw_btf.types), in test_bad_local_id()
Dbtf.c4342 ret_hdr->type_len = type_sec_size; in btf_raw_create()
/linux-6.12.1/arch/sparc/kernel/
Dmdesc.c824 int type_len; in fill_in_one_cache() local
826 type = mdesc_get_property(hp, mp, "type", &type_len); in fill_in_one_cache()
830 if (of_find_in_proplist(type, "instn", type_len)) { in fill_in_one_cache()
833 } else if (of_find_in_proplist(type, "data", type_len)) { in fill_in_one_cache()
/linux-6.12.1/include/linux/
Dring_buffer.h18 u32 type_len:5, time_delta:27; member
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dsyscall.c79 .type_len = sizeof(__u32) * 8, in btf_load()
/linux-6.12.1/fs/smb/client/
Dsmb2ops.c5111 int type_len = 0; in __cifs_sfu_make_node() local
5125 type_len = 8; in __cifs_sfu_make_node()
5126 memcpy(type, "IntxCHR\0", type_len); in __cifs_sfu_make_node()
5133 type_len = 8; in __cifs_sfu_make_node()
5134 memcpy(type, "IntxBLK\0", type_len); in __cifs_sfu_make_node()
5141 type_len = 8; in __cifs_sfu_make_node()
5142 memcpy(type, "IntxLNK\1", type_len); in __cifs_sfu_make_node()
5154 type_len = 8; in __cifs_sfu_make_node()
5160 type_len = 8; in __cifs_sfu_make_node()
5179 if (type_len + data_len > 0) { in __cifs_sfu_make_node()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_verifier.c750 .type_len = types_len, in load_btf_spec()
769 memcpy(ptr, types, hdr.type_len); in load_btf_spec()
770 ptr += hdr.type_len; in load_btf_spec()
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c127 .type_len = sizeof(btf_raw_types), in load_btf()
/linux-6.12.1/Documentation/bpf/
Dbtf.rst48 __u32 type_len; /* length of type section */
/linux-6.12.1/kernel/bpf/
Dbtf.c1582 __btf_verifier_log(log, "type_len: %u\n", hdr->type_len); in btf_verifier_log_hdr()
5200 end = cur + hdr->type_len; in btf_check_all_metas()
5338 if (!env->btf->base_btf && !hdr->type_len) { in btf_parse_type_sec()