Home
last modified time | relevance | path

Searched refs:old_sa (Results 1 – 7 of 7) sorted by relevance

/external/libfuse/lib/
Dfuse_signals.c42 struct sigaction old_sa; in set_one_signal_handler() local
49 if (sigaction(sig, NULL, &old_sa) == -1) { in set_one_signal_handler()
54 if (old_sa.sa_handler == (remove ? handler : SIG_DFL) && in set_one_signal_handler()
Dfuse.c4753 struct sigaction old_sa; in fuse_init_intr_signal() local
4755 if (sigaction(signum, NULL, &old_sa) == -1) { in fuse_init_intr_signal()
4760 if (old_sa.sa_handler == SIG_DFL) { in fuse_init_intr_signal()
/external/igt-gpu-tools/lib/i915/
Dgem_ring.c55 struct sigaction old_sa, sa = { .sa_handler = alarm_handler }; in __gem_measure_ring_inflight() local
82 sigaction(SIGALRM, &sa, &old_sa); in __gem_measure_ring_inflight()
110 sigaction(SIGALRM, &old_sa, NULL); in __gem_measure_ring_inflight()
/external/perfetto/src/base/
Dutils_unittest.cc153 struct sigaction old_sa = {}; in TEST() local
163 ASSERT_EQ(0, sigaction(SIGUSR2, &sa, &old_sa)); in TEST()
187 sigaction(SIGUSR2, &old_sa, nullptr); in TEST()
/external/mesa3d/src/glx/tests/
Dquery_renderer_implementation_unittest.cpp63 struct sigaction old_sa; member in dri2_query_renderer_string_test
157 sigaction(SIGSEGV, &sa, &old_sa); in SetUp()
162 sigaction(SIGSEGV, &old_sa, NULL); in TearDown()
Dquery_renderer_unittest.cpp96 struct sigaction old_sa; member in query_renderer_string_test
114 sigaction(SIGSEGV, &sa, &old_sa); in SetUp()
119 sigaction(SIGSEGV, &old_sa, NULL); in TearDown()
/external/libnl/lib/xfrm/
Dsa.c928 struct nl_object* old_sa; in xfrm_sa_update_cache() local
941 old_sa = nl_cache_search(cache, obj); in xfrm_sa_update_cache()
942 if (old_sa) in xfrm_sa_update_cache()
945 nl_cache_remove (old_sa); in xfrm_sa_update_cache()
955 if (old_sa == NULL) in xfrm_sa_update_cache()
964 else if (old_sa) in xfrm_sa_update_cache()
968 diff = nl_object_diff64(old_sa, obj); in xfrm_sa_update_cache()
974 change_cb_v2(cache, old_sa, obj, diff, NL_ACT_CHANGE, data); in xfrm_sa_update_cache()
978 nl_object_put (old_sa); in xfrm_sa_update_cache()
989 nl_object_put (old_sa); in xfrm_sa_update_cache()