Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
/linux/security/
H A Dlsm_audit.c394 audit_log_format(ab, " key_serial=%u", a->u.key_struct.key); in dump_common_audit_data()
395 if (a->u.key_struct.key_desc) { in dump_common_audit_data()
397 audit_log_untrustedstring(ab, a->u.key_struct.key_desc); in dump_common_audit_data()
/linux/include/linux/
H A Dlsm_audit.h92 } key_struct; member
/linux/security/smack/
H A Dsmack_lsm.c4590 ad.a.u.key_struct.key = keyp->serial; in smack_key_permission()
4591 ad.a.u.key_struct.key_desc = keyp->description; in smack_key_permission()
4655 ad.a.u.key_struct.key = key->serial; in smack_watch_key()
4656 ad.a.u.key_struct.key_desc = key->description; in smack_watch_key()