Home
last modified time | relevance | path

Searched refs:sig_info (Results 1 – 8 of 8) sorted by relevance

/external/kmod/libkmod/
Dlibkmod-signature.c100 struct kmod_signature_info *sig_info) in fill_default() argument
103 sig_info->sig = mem + size; in fill_default()
104 sig_info->sig_len = sig_len; in fill_default()
107 sig_info->key_id = mem + size; in fill_default()
108 sig_info->key_id_len = modsig->key_id_len; in fill_default()
111 sig_info->signer = mem + size; in fill_default()
112 sig_info->signer_len = modsig->signer_len; in fill_default()
114 sig_info->algo = pkey_algo[modsig->algo]; in fill_default()
115 sig_info->hash_algo = pkey_hash_algo[modsig->hash]; in fill_default()
116 sig_info->id_type = pkey_id_type[modsig->id_type]; in fill_default()
[all …]
Dlibkmod-module.c2287 struct kmod_signature_info sig_info = {}; in kmod_module_get_info() local
2333 if (mod->file && kmod_module_signature_info(mod->file, &sig_info)) { in kmod_module_get_info()
2337 sig_info.id_type, strlen(sig_info.id_type)); in kmod_module_get_info()
2343 sig_info.signer, sig_info.signer_len); in kmod_module_get_info()
2350 sig_info.key_id, in kmod_module_get_info()
2351 sig_info.key_id_len); in kmod_module_get_info()
2358 sig_info.hash_algo, strlen(sig_info.hash_algo)); in kmod_module_get_info()
2369 sig_info.sig, in kmod_module_get_info()
2370 sig_info.sig_len); in kmod_module_get_info()
2381 kmod_module_signature_info_free(&sig_info); in kmod_module_get_info()
Dlibkmod-internal.h196 bool kmod_module_signature_info(const struct kmod_file *file, struct kmod_signature_info *sig_info)…
197 void kmod_module_signature_info_free(struct kmod_signature_info *sig_info) __attribute__((nonnull));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D16-1.c45 struct sig_info { struct
51 static struct sig_info sigs[] = { argument
88 struct sig_info *lookup(int signo) in lookup()
90 struct sig_info *s = &sigs[0]; in lookup()
103 struct sig_info *s; in handler()
116 struct sig_info *s = arg; in threaded()
146 int test_sig(struct sig_info *s) in test_sig()
211 struct sig_info *s = &sigs[0]; in main()
/external/ltp/testcases/kernel/mem/mtest06/
Dmmap2.c171 } sig_info[] = { in main() local
232 for (sig_ndx = 0; sig_info[sig_ndx].signum != -1; sig_ndx++) { in main()
233 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main()
234 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
Dshmat1.c405 } sig_info[] = { in main() local
451 for (sig_ndx = 0; sig_info[sig_ndx].signum != -1; sig_ndx++) { in main()
452 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main()
453 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
/external/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c643 } sig_info[] = { in main() local
698 for (i = 0; sig_info[i].signum != -1; i++) { in main()
699 if (signal(sig_info[i].signum, sig_handler) == SIG_ERR) { in main()
701 sig_info[i].signame); in main()
/external/libevent/
Devmap.c687 struct evmap_signal *sig_info, void *arg) argument
689 return delete_all_in_dlist(&sig_info->events);
986 int signum, struct evmap_signal *sig_info, void *arg) argument
990 EVUTIL_ASSERT_LIST_OK(&sig_info->events, event, ev_signal_next);
992 LIST_FOREACH(ev, &sig_info->events, ev_io_next) {
1038 struct evmap_signal *sig_info, void *arg) argument
1043 LIST_FOREACH(ev, &sig_info->events, ev_signal_next) {