/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/ClockTimer/ |
D | ACT_spt.c | 56 UINT32 act, //IN: the act number in _ActResume() argument 62 _plat__ACT_UpdateCounter(act, actData->remaining); in _ActResume() 64 else if(go.signaledACT & (1 << act)) in _ActResume() 65 _plat__ACT_SetSignaled(act, TRUE); in _ActResume() 114 UINT32 act, in _ActSaveState() argument 118 actData->remaining = _plat__ACT_GetRemaining(act); in _ActSaveState() 121 if((s_ActUpdated & (1 << act)) == 0) in _ActSaveState() 127 if(_plat__ACT_GetSignaled(act)) in _ActSaveState() 128 go.signaledACT |= (1 << act); in _ActSaveState() 138 UINT32 act = actHandle - TPM_RH_ACT_0; in ActGetSignaled() local [all …]
|
/external/libnl/lib/route/ |
D | act.c | 31 struct rtnl_act * rtnl_act_next(struct rtnl_act *act) in rtnl_act_next() argument 33 if (act == NULL) { in rtnl_act_next() 37 return act->a_next; in rtnl_act_next() 63 int rtnl_act_remove(struct rtnl_act **head, struct rtnl_act *act) in rtnl_act_remove() argument 68 if (a == act) in rtnl_act_remove() 79 static int rtnl_act_fill_one(struct nl_msg *msg, struct rtnl_act *act, int order) in rtnl_act_fill_one() argument 81 struct rtnl_tc *tc = TC_CAST(act); in rtnl_act_fill_one() 116 int rtnl_act_fill(struct nl_msg *msg, int attrtype, struct rtnl_act *act) in rtnl_act_fill() argument 118 struct rtnl_act *p_act = act; in rtnl_act_fill() 137 static int rtnl_act_msg_build(struct rtnl_act *act, int type, int flags, in rtnl_act_msg_build() argument [all …]
|
/external/compiler-rt/test/msan/Linux/ |
D | syscalls_sigaction.cc | 19 my_kernel_sigaction act = {}, oldact = {}; in main() local 22 __msan_poison(&act.handler, sizeof(act.handler)); in main() 23 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 25 __msan_poison(&act.flags, sizeof(act.flags)); in main() 26 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 28 __msan_poison(&act.mask, 1); in main() 29 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 32 __msan_poison(((char *)&act.mask) + 5, 1); in main() 33 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 5); in main() 35 memset(&act, 0, sizeof(act)); in main() [all …]
|
/external/llvm-project/compiler-rt/test/msan/Linux/ |
D | syscalls_sigaction.cpp | 23 my_kernel_sigaction act = {}, oldact = {}; in main() local 26 __msan_poison(&act.handler, sizeof(act.handler)); in main() 27 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 29 __msan_poison(&act.flags, sizeof(act.flags)); in main() 30 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 32 __msan_poison(&act.mask, 1); in main() 33 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 36 __msan_poison(((char *)&act.mask) + 5, 1); in main() 37 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 5); in main() 39 memset(&act, 0, sizeof(act)); in main() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/Platform/src/ |
D | PlatformACT.c | 134 uint32_t act in ActGetDataPointer() argument 138 #define RETURN_ACT_POINTER(N) if(0x##N == act) return &ACT_##N; in ActGetDataPointer() 152 uint32_t act in _plat__ACT_GetImplemented() argument 155 return (ActGetDataPointer(act) != NULL); in _plat__ACT_GetImplemented() 165 uint32_t act //IN: the ACT selector in _plat__ACT_GetRemaining() argument 168 P_ACT_DATA actData = ActGetDataPointer(act); in _plat__ACT_GetRemaining() 182 uint32_t act //IN: number of ACT to check in _plat__ACT_GetSignaled() argument 185 P_ACT_DATA actData = ActGetDataPointer(act); in _plat__ACT_GetSignaled() 195 uint32_t act, in _plat__ACT_SetSignaled() argument 199 ActSignal(ActGetDataPointer(act), on); in _plat__ACT_SetSignaled() [all …]
|
/external/libnl/include/netlink/route/act/ |
D | vlan.h | 23 extern int rtnl_vlan_set_mode(struct rtnl_act *act, int mode); 24 extern int rtnl_vlan_get_mode(struct rtnl_act *act, int *out_mode); 25 extern int rtnl_vlan_set_action(struct rtnl_act *act, int action); 26 extern int rtnl_vlan_get_action(struct rtnl_act *act, int *out_action); 27 extern int rtnl_vlan_set_protocol(struct rtnl_act *act, uint16_t protocol); 28 extern int rtnl_vlan_get_protocol(struct rtnl_act *act, uint16_t *out_protocol); 29 extern int rtnl_vlan_set_vlan_id(struct rtnl_act *act, uint16_t vid); 30 extern int rtnl_vlan_get_vlan_id(struct rtnl_act *act, uint16_t *out_vid); 31 extern int rtnl_vlan_set_vlan_prio(struct rtnl_act *act, uint8_t prio); 32 extern int rtnl_vlan_get_vlan_prio(struct rtnl_act *act, uint8_t *out_prio);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 8-19.c | 39 struct sigaction act; in main() local 41 act.sa_handler = SIGUSR1_handler; in main() 42 act.sa_flags = 0; in main() 43 sigemptyset(&act.sa_mask); in main() 44 sigaddset(&act.sa_mask, SIGUSR2); in main() 46 if (sigaction(SIGUSR1, &act, 0) == -1) { in main() 52 act.sa_handler = SIGUSR2_handler; in main() 53 act.sa_flags = 0; in main() 54 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGUSR2, &act, 0) == -1) { in main()
|
D | 8-7.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGHUP_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGFPE); in main() 47 if (sigaction(SIGHUP, &act, 0) == -1) { in main() 53 act.sa_handler = SIGFPE_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGFPE, &act, 0) == -1) { in main()
|
D | 8-18.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGUSR2_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGUSR1); in main() 47 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 53 act.sa_handler = SIGUSR1_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGUSR1, &act, 0) == -1) { in main()
|
D | 8-9.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGINT_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGILL); in main() 47 if (sigaction(SIGINT, &act, 0) == -1) { in main() 53 act.sa_handler = SIGILL_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGILL, &act, 0) == -1) { in main()
|
D | 8-6.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGFPE_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGCONT); in main() 47 if (sigaction(SIGFPE, &act, 0) == -1) { in main() 53 act.sa_handler = SIGCONT_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGCONT, &act, 0) == -1) { in main()
|
D | 8-3.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGBUS_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGUSR2); in main() 47 if (sigaction(SIGBUS, &act, 0) == -1) { in main() 53 act.sa_handler = SIGUSR2_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGUSR2, &act, 0) == -1) { in main()
|
D | 8-17.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGUSR1_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGTTOU); in main() 47 if (sigaction(SIGUSR1, &act, 0) == -1) { in main() 53 act.sa_handler = SIGTTOU_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGTTOU, &act, 0) == -1) { in main()
|
D | 8-11.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGQUIT_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGPIPE); in main() 47 if (sigaction(SIGQUIT, &act, 0) == -1) { in main() 53 act.sa_handler = SIGPIPE_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGPIPE, &act, 0) == -1) { in main()
|
D | 8-12.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGSEGV_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGQUIT); in main() 47 if (sigaction(SIGSEGV, &act, 0) == -1) { in main() 53 act.sa_handler = SIGQUIT_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGQUIT, &act, 0) == -1) { in main()
|
D | 8-15.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGTTIN_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGTSTP); in main() 47 if (sigaction(SIGTTIN, &act, 0) == -1) { in main() 53 act.sa_handler = SIGTSTP_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGTSTP, &act, 0) == -1) { in main()
|
D | 8-16.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGTTOU_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGTTIN); in main() 47 if (sigaction(SIGTTOU, &act, 0) == -1) { in main() 53 act.sa_handler = SIGTTIN_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGTTIN, &act, 0) == -1) { in main()
|
D | 8-8.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGILL_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGHUP); in main() 47 if (sigaction(SIGILL, &act, 0) == -1) { in main() 53 act.sa_handler = SIGHUP_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
|
D | 8-23.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGURG_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGTRAP); in main() 47 if (sigaction(SIGURG, &act, 0) == -1) { in main() 53 act.sa_handler = SIGTRAP_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
|
D | 8-10.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGPIPE_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGINT); in main() 47 if (sigaction(SIGPIPE, &act, 0) == -1) { in main() 53 act.sa_handler = SIGINT_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGINT, &act, 0) == -1) { in main()
|
D | 8-25.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGXCPU_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGVTALRM); in main() 47 if (sigaction(SIGXCPU, &act, 0) == -1) { in main() 53 act.sa_handler = SIGVTALRM_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGVTALRM, &act, 0) == -1) { in main()
|
D | 8-20.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGPROF_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGUSR2); in main() 47 if (sigaction(SIGPROF, &act, 0) == -1) { in main() 53 act.sa_handler = SIGUSR2_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGUSR2, &act, 0) == -1) { in main()
|
D | 8-26.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGXFSZ_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGXCPU); in main() 47 if (sigaction(SIGXFSZ, &act, 0) == -1) { in main() 53 act.sa_handler = SIGXCPU_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGXCPU, &act, 0) == -1) { in main()
|
D | 8-5.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGCONT_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGCHLD); in main() 47 if (sigaction(SIGCONT, &act, 0) == -1) { in main() 53 act.sa_handler = SIGCHLD_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
|
D | 8-13.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGTERM_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGSEGV); in main() 47 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 53 act.sa_handler = SIGSEGV_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
|