Home
last modified time | relevance | path

Searched refs:trd (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/security/loadpin/
H A Dloadpin.c313 struct dm_verity_loadpin_trusted_root_digest *trd; in read_trusted_verity_root_digests() local
334 trd = kzalloc(struct_size(trd, data, len), GFP_KERNEL); in read_trusted_verity_root_digests()
335 if (!trd) { in read_trusted_verity_root_digests()
339 trd->len = len; in read_trusted_verity_root_digests()
341 if (hex2bin(trd->data, d, len)) { in read_trusted_verity_root_digests()
342 kfree(trd); in read_trusted_verity_root_digests()
347 list_add_tail(&trd->node, &dm_verity_loadpin_trusted_root_digests); in read_trusted_verity_root_digests()
365 struct dm_verity_loadpin_trusted_root_digest *trd, *tmp; in read_trusted_verity_root_digests() local
367 list_for_each_entry_safe(trd, tm in read_trusted_verity_root_digests()
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-verity-loadpin.c20 struct dm_verity_loadpin_trusted_root_digest *trd; in is_trusted_verity_target() local
36 list_for_each_entry(trd, &dm_verity_loadpin_trusted_root_digests, node) { in is_trusted_verity_target()
37 if ((trd->len == digest_size) && in is_trusted_verity_target()
38 !memcmp(trd->data, root_digest, digest_size)) { in is_trusted_verity_target()
/kernel/linux/linux-5.10/drivers/android/
H A Dbinder.c4672 struct binder_transaction_data *trd = &tr.transaction_data; in binder_thread_read() local
4677 size_t trsize = sizeof(*trd); in binder_thread_read()
4877 trd->target.ptr = target_node->ptr; in binder_thread_read()
4878 trd->cookie = target_node->cookie; in binder_thread_read()
4888 trd->target.ptr = 0; in binder_thread_read()
4889 trd->cookie = 0; in binder_thread_read()
4892 trd->code = t->code; in binder_thread_read()
4893 trd->flags = t->flags; in binder_thread_read()
4894 trd->sender_euid = from_kuid(current_user_ns(), t->sender_euid); in binder_thread_read()
4900 trd in binder_thread_read()
[all...]
/kernel/liteos_a/testsuites/unittest/container/
H A DIt_container_test.cpp104 size_t trd = fread(buf, 1, 512, fpid); in ReadFile() local
106 return trd; in ReadFile()
/kernel/liteos_a/testsuites/unittest/process/plimits/
H A Dprocess_plimits_test.cpp567 size_t trd = fread(buf, 1, 512, fpid); in ReadFile() local
569 return trd; in ReadFile()
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder.c4495 struct binder_transaction_data *trd = &tr.transaction_data; in binder_thread_read() local
4500 size_t trsize = sizeof(*trd); in binder_thread_read()
4708 trd->target.ptr = target_node->ptr; in binder_thread_read()
4709 trd->cookie = target_node->cookie; in binder_thread_read()
4719 trd->target.ptr = 0; in binder_thread_read()
4720 trd->cookie = 0; in binder_thread_read()
4723 trd->code = t->code; in binder_thread_read()
4724 trd->flags = t->flags; in binder_thread_read()
4725 trd->sender_euid = from_kuid(current_user_ns(), t->sender_euid); in binder_thread_read()
4731 trd in binder_thread_read()
[all...]

Completed in 17 milliseconds