Home
last modified time | relevance | path

Searched refs:key_struct (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dlinked_maps1.c49 struct my_key key_struct = { .x = 1 }; in BPF_PROG() local
52 bpf_map_update_elem(&map1, &key_struct, &val_struct, 0); in BPF_PROG()
64 struct my_key key_struct = { .x = 2 }; in BPF_PROG() local
67 value_struct = bpf_map_lookup_elem(&map1, &key_struct); in BPF_PROG()
Dlinked_maps2.c43 key_type key_struct = { .x = 2 }; in BPF_PROG() local
46 bpf_map_update_elem(&map1, &key_struct, &val_struct, 0); in BPF_PROG()
58 key_type key_struct = { .x = 1 }; in BPF_PROG() local
61 value_struct = bpf_map_lookup_elem(&map1, &key_struct); in BPF_PROG()
/Linux-v6.1/security/
Dlsm_audit.c393 audit_log_format(ab, " key_serial=%u", a->u.key_struct.key); in dump_common_audit_data()
394 if (a->u.key_struct.key_desc) { in dump_common_audit_data()
396 audit_log_untrustedstring(ab, a->u.key_struct.key_desc); in dump_common_audit_data()
/Linux-v6.1/include/linux/
Dlsm_audit.h92 } key_struct; member
/Linux-v6.1/security/smack/
Dsmack_lsm.c4333 ad.a.u.key_struct.key = keyp->serial; in smack_key_permission()
4334 ad.a.u.key_struct.key_desc = keyp->description; in smack_key_permission()
4404 ad.a.u.key_struct.key = key->serial; in smack_watch_key()
4405 ad.a.u.key_struct.key_desc = key->description; in smack_watch_key()