Home
last modified time | relevance | path

Searched refs:key_t (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_bpf_hash_map.c8 struct key_t { struct
17 __type(key, struct key_t); argument
31 __type(key, struct key_t);
48 struct key_t *key = ctx->key; in dump_bpf_hash_map()
49 struct key_t tmp_key; in dump_bpf_hash_map()
70 __builtin_memcpy(&tmp_key, key, sizeof(struct key_t)); in dump_bpf_hash_map()
Dbpf_iter_test_kern5.c9 struct key_t { struct
18 __type(key, struct key_t); argument
33 key_sum += *(__u32 *)(key + sizeof(struct key_t)); in dump_bpf_hash_map()
Dbpf_iter_bpf_percpu_hash_map.c9 struct key_t { struct
18 __type(key, struct key_t); argument
32 struct key_t *key = ctx->key; in dump_bpf_percpu_hash_map()
Dtest_btf_decl_tag.c17 struct key_t { struct
31 __type(key, struct key_t); argument
38 struct key_t key; in foo()
Dbpf_iter_bpf_percpu_array_map.c9 struct key_t { struct
Dbpf_iter_bpf_array_map.c9 struct key_t { struct
/linux-6.6.21/samples/bpf/
Dtrace_event_kern.c14 struct key_t { struct
22 __type(key, struct key_t); argument
46 struct key_t key; in bpf_prog1()
Doffwaketime_user.c40 struct key_t { struct
47 static void print_stack(struct key_t *key, __u64 count) in print_stack() argument
79 struct key_t key = {}, next_key; in print_stacks()
Doffwaketime.bpf.c20 struct key_t { struct
29 __type(key, struct key_t); argument
80 struct key_t key; in update_counts()
Dtrace_event_user.c55 struct key_t { struct
61 static void print_stack(struct key_t *key, __u64 count) in print_stack() argument
102 struct key_t key = {}, next_key; in print_stacks()
/linux-6.6.21/include/linux/
Dipc.h16 key_t key;
Dtypes.h29 typedef __kernel_key_t key_t; typedef
Dsyscalls.h708 asmlinkage long sys_msgget(key_t key, int msgflg);
715 asmlinkage long sys_semget(key_t key, int nsems, int semflg);
726 asmlinkage long sys_shmget(key_t key, size_t size, int flag);
1252 long ksys_semget(key_t key, int nsems, int semflg);
1254 long ksys_msgget(key_t key, int msgflg);
1260 long ksys_shmget(key_t key, size_t size, int shmflg);
/linux-6.6.21/ipc/
Dutil.h86 key_t key;
259 key_t key;
Dsyscall.c76 return ksys_msgget((key_t) first, second); in ksys_ipc()
Dmsg.c148 key_t key = params->key; in newque()
298 long ksys_msgget(key_t key, int msgflg) in ksys_msgget()
315 SYSCALL_DEFINE2(msgget, key_t, key, int, msgflg) in SYSCALL_DEFINE2() argument
Dshm.c707 key_t key = params->key; in newseg()
831 long ksys_shmget(key_t key, size_t size, int shmflg) in ksys_shmget()
850 SYSCALL_DEFINE3(shmget, key_t, key, size_t, size, int, shmflg) in SYSCALL_DEFINE3() argument
Dsem.c535 key_t key = params->key; in newary()
602 long ksys_semget(key_t key, int nsems, int semflg) in ksys_semget()
624 SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) in SYSCALL_DEFINE3() argument
Dutil.c172 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey()
/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c619 key_t shm_key = (key_t) getpid(); in main()
/linux-6.6.21/tools/testing/selftests/ipc/
Dmsgque.c27 key_t key;
/linux-6.6.21/arch/sparc/kernel/
Dsys_sparc_64.c379 err = ksys_msgget((key_t)first, (int)second); in SYSCALL_DEFINE6()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c776 struct key_t { in test_bpf_hash_map() struct
869 struct key_t { in test_bpf_percpu_hash_map() struct
/linux-6.6.21/Documentation/arch/ia64/
Derr_inject.rst309 key_t key;
369 key_t key[NR_CPUS];