/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.gen.h | 13 struct kill; 43 struct kill* attack_data; 87 int (*weapon_get)(struct kill *, char * *); 95 struct kill { struct 109 struct kill *kill_new(void); argument 110 struct kill *kill_new_with_arg(void *); 111 void kill_free(struct kill *); 112 void kill_clear(struct kill *); 115 int kill_complete(struct kill *); 117 const struct kill *); [all …]
|
H A D | regress_rpc.c | 326 struct msg *msg, struct kill *kill, void *arg) in GotKillCb() argument 365 struct msg *msg, struct kill *kill, void *arg) in GotKillCbTwo() argument 452 struct kill *kill = NULL; in rpc_basic_client() local 487 kill_clear(kill); in rpc_basic_client() 496 kill_clear(kill); in rpc_basic_client() 514 if (kill) in rpc_basic_client() 581 struct msg *msg, struct kill *kill, void *arg) in GotErrorCb() argument 638 struct kill *kill= NULL; in rpc_basic_client_with_pause() local 673 if (kill) in rpc_basic_client_with_pause() 690 struct kill *kill = NULL; in rpc_client_timeout() local [all …]
|
H A D | regress.gen.c | 141 const struct kill* value) in msg_attack_assign() 455 struct kill * 461 struct kill * 464 struct kill *tmp; in kill_new_with_arg() 518 kill_weapon_assign(struct kill *msg, in kill_weapon_assign() 530 kill_action_assign(struct kill *msg, in kill_action_assign() 583 kill_clear(struct kill *tmp) in kill_clear() 605 kill_free(struct kill *tmp) in kill_free() 687 kill_complete(struct kill *msg) in kill_complete() 698 struct kill *msg) in evtag_unmarshal_kill() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | regress.gen.h | 13 struct kill; 43 struct kill* attack_data; 87 int (*weapon_get)(struct kill *, char * *); 95 struct kill { struct 109 struct kill *kill_new(void); argument 110 struct kill *kill_new_with_arg(void *); 111 void kill_free(struct kill *); 112 void kill_clear(struct kill *); 115 int kill_complete(struct kill *); 117 const struct kill *); [all …]
|
H A D | regress_rpc.c | 326 struct msg *msg, struct kill *kill, void *arg) in GotKillCb() argument 365 struct msg *msg, struct kill *kill, void *arg) in GotKillCbTwo() argument 452 struct kill *kill = NULL; in rpc_basic_client() local 487 kill_clear(kill); in rpc_basic_client() 496 kill_clear(kill); in rpc_basic_client() 514 if (kill) in rpc_basic_client() 581 struct msg *msg, struct kill *kill, void *arg) in GotErrorCb() argument 638 struct kill *kill= NULL; in rpc_basic_client_with_pause() local 673 if (kill) in rpc_basic_client_with_pause() 690 struct kill *kill = NULL; in rpc_client_timeout() local [all …]
|
H A D | regress.gen.c | 141 const struct kill* value) in msg_attack_assign() 455 struct kill * 461 struct kill * 464 struct kill *tmp; in kill_new_with_arg() 518 kill_weapon_assign(struct kill *msg, in kill_weapon_assign() 530 kill_action_assign(struct kill *msg, in kill_action_assign() 583 kill_clear(struct kill *tmp) in kill_clear() 605 kill_free(struct kill *tmp) in kill_free() 687 kill_complete(struct kill *msg) in kill_complete() 698 struct kill *msg) in evtag_unmarshal_kill() [all …]
|
/freebsd/tools/regression/netinet/tcpdrop/ |
H A D | tcpdrop.c | 78 (void)kill(partner, SIGTERM); in tcp_server() 92 (void)kill(partner, SIGTERM); in tcp_server() 97 (void)kill(partner, SIGTERM); in tcp_server() 106 (void)kill(partner, SIGTERM); in tcp_server() 110 (void)kill(partner, SIGTERM); in tcp_server() 133 (void)kill(partner, SIGTERM); in tcp_client() 146 (void)kill(partner, SIGTERM); in tcp_client() 154 (void)kill(partner, SIGTERM); in tcp_client() 168 (void)kill(partner, SIGTERM); in tcp_client() 173 (void)kill(partner, SIGTERM); in tcp_client() [all …]
|
/freebsd/tools/regression/netinet/tcpsockclosebeforeaccept/ |
H A D | tcpsockclosebeforeaccept.c | 76 (void)kill(partner, SIGKILL); in tcp_server() 89 (void)kill(partner, SIGKILL); in tcp_server() 96 (void)kill(partner, SIGKILL); in tcp_server() 106 (void)kill(partner, SIGKILL); in tcp_server() 126 (void)kill(partner, SIGKILL); in tcp_client() 139 (void)kill(partner, SIGKILL); in tcp_client() 147 (void)kill(partner, SIGKILL); in tcp_client() 155 (void)kill(partner, SIGKILL); in tcp_client() 182 (void)kill(child_pid, SIGTERM); in main() 196 (void)kill(child_pid, SIGTERM); in main()
|
/freebsd/tools/regression/poll/ |
H A D | pipepoll.c | 108 kill(ppid, SIGUSR1); in child() 125 kill(ppid, SIGUSR1); in child() 138 kill(ppid, SIGUSR1); in child() 146 kill(ppid, SIGUSR1); in child() 161 kill(ppid, SIGUSR1); in child() 169 kill(ppid, SIGUSR1); in child() 214 kill(ppid, SIGUSR1); in child() 230 kill(cpid, SIGUSR1); in parent() 237 kill(cpid, SIGUSR1); in parent() 244 kill(cpid, SIGUSR1); in parent() [all …]
|
H A D | pipeselect.c | 92 kill(ppid, SIGUSR1); in child() 110 kill(ppid, SIGUSR1); in child() 125 kill(ppid, SIGUSR1); in child() 134 kill(ppid, SIGUSR1); in child() 150 kill(ppid, SIGUSR1); in child() 159 kill(ppid, SIGUSR1); in child() 211 kill(ppid, SIGUSR1); in child() 227 kill(cpid, SIGUSR1); in parent() 234 kill(cpid, SIGUSR1); in parent() 241 kill(cpid, SIGUSR1); in parent() [all …]
|
/freebsd/contrib/kyua/utils/signals/ |
H A D | programmer_test.cpp | 76 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY() 81 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY() 92 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY() 97 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY() 108 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY() 115 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY() 122 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY() 129 ::kill(::getpid(), SIGCHLD); in ATF_TEST_CASE_BODY()
|
H A D | interrupts_test.cpp | 111 ::kill(getpid(), signo); in check_interrupts_handler() 120 ::kill(getpid(), signo); in check_interrupts_handler() 134 ::kill(getpid(), signo); in check_interrupts_handler() 153 ::kill(::getpid(), signo); in check_interrupts_inhibiter() 156 ::kill(::getpid(), signo); in check_interrupts_inhibiter() 216 ::kill(::getpid(), SIGHUP); in ATF_TEST_CASE_BODY()
|
/freebsd/tests/sys/fifo/ |
H A D | fifo_open.c | 157 if (kill(pid, SIGTERM) < 0) { in wait_and_timeout() 277 (void)kill(reader_pid, SIGTERM); in test_blocking_reader() 289 (void)kill(reader_pid, SIGTERM); in test_blocking_reader() 290 (void)kill(writer_pid, SIGTERM); in test_blocking_reader() 297 (void)kill(writer_pid, SIGTERM); in test_blocking_reader() 352 (void)kill(writer_pid, SIGTERM); in test_blocking_writer() 364 (void)kill(writer_pid, SIGTERM); in test_blocking_writer() 365 (void)kill(reader_pid, SIGTERM); in test_blocking_writer() 374 (void)kill(reader_pid, SIGTERM); in test_blocking_writer()
|
/freebsd/sbin/pfctl/ |
H A D | pfctl.c | 537 memset(&kill, 0, sizeof(kill)); in pfctl_clear_iface_states() 539 sizeof(kill.ifname)) >= sizeof(kill.ifname)) in pfctl_clear_iface_states() 717 memset(&kill, 0, sizeof(kill)); in pfctl_net_kill_states() 723 sizeof(kill.ifname)) >= sizeof(kill.ifname)) in pfctl_net_kill_states() 836 memset(&kill, 0, sizeof(kill)); in pfctl_gateway_kill_states() 841 sizeof(kill.ifname)) >= sizeof(kill.ifname)) in pfctl_gateway_kill_states() 896 memset(&kill, 0, sizeof(kill)); in pfctl_label_kill_states() 898 sizeof(kill.ifname)) >= sizeof(kill.ifname)) in pfctl_label_kill_states() 904 if (strlcpy(kill.label, state_kill[1], sizeof(kill.label)) >= in pfctl_label_kill_states() 929 memset(&kill, 0, sizeof(kill)); in pfctl_id_kill_states() [all …]
|
/freebsd/contrib/pf/authpf/ |
H A D | authpf.c | 889 struct pfctl_kill kill; in authpf_kill_states() local 892 memset(&kill, 0, sizeof(kill)); in authpf_kill_states() 896 kill.af = AF_INET; in authpf_kill_states() 898 kill.af = AF_INET6; in authpf_kill_states() 906 sizeof(kill.src.addr.v.a.addr)); in authpf_kill_states() 907 memset(&kill.src.addr.v.a.mask, 0xff, in authpf_kill_states() 908 sizeof(kill.src.addr.v.a.mask)); in authpf_kill_states() 913 memset(&kill.src, 0, sizeof(kill.src)); in authpf_kill_states() 915 sizeof(kill.dst.addr.v.a.addr)); in authpf_kill_states() 916 memset(&kill.dst.addr.v.a.mask, 0xff, in authpf_kill_states() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
H A D | ltc2952-poweroff.txt | 5 A full powerdown can be triggered via the kill signal. 12 - kill-gpios: phandle + gpio-specifier for the GPIO connected to the 13 chip's kill line 19 until an explicit kill signal is received 32 kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
|
/freebsd/tests/sys/kqueue/libkqueue/ |
H A D | signal.c | 53 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_get() 81 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_disable() 107 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_enable() 145 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_del() 170 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot() 178 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot()
|
H A D | proc.c | 65 if (kill(pid, SIGKILL) < 0) in add_and_delete() 266 if (kill(pid, SIGUSR1) < 0) in event_trigger() 292 if (kill(getpid(), SIGKILL) < 0) in test_kevent_signal_disable() 318 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_enable() 356 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_del() 381 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot() 389 if (kill(getpid(), SIGUSR1) < 0) in test_kevent_signal_oneshot()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_kill.c | 70 ATF_REQUIRE(kill(pid, sig[i]) == 0); in ATF_TC_BODY() 97 rv = kill(getpid(), -1); in ATF_TC_BODY() 103 rv = kill(INT_MAX, SIGUSR1); in ATF_TC_BODY() 189 if (kill(cpid, SIGKILL) == 0) in ATF_TC_BODY() 243 ATF_REQUIRE(kill(-getpgrp(), SIGKILL) == 0); in ATF_TC_BODY() 289 ATF_REQUIRE(kill(0, SIGKILL) == 0); in ATF_TC_BODY()
|
/freebsd/usr.bin/talk/ |
H A D | init_disp.c | 129 my_win.kill = tio.c_cc[VKILL]; in set_edit_chars() 132 my_win.kill = CERASE; in set_edit_chars() 133 if (my_win.kill == (char)_POSIX_VDISABLE) in set_edit_chars() 134 my_win.kill = CKILL; in set_edit_chars() 138 buf[1] = my_win.kill; in set_edit_chars() 147 his_win.kill = buf[1]; in set_edit_chars()
|
/freebsd/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 111 (void)kill(pid, SIGTERM); in main() 116 (void)kill(pid, SIGTERM); in main() 120 (void)kill(pid, SIGTERM); in main() 125 (void)kill(pid, SIGTERM); in main()
|
/freebsd/contrib/tcsh/ |
H A D | tc.sig.h | 58 # define killpg(a, b) kill(-(a), (b)) 64 # define killpg(a, b) kill((a), (b)) 70 # define killpg(a, b) kill((a), (b)) 77 # define killpg(a, b) kill(-(a), (b)) 82 # define killpg(a, b) kill(-getpgrp(a), b)
|
/freebsd/tools/regression/netinet/tcpsocktimewait/ |
H A D | tcpsocktimewait.c | 59 (void)kill(partner, SIGTERM); in tcp_server() 78 (void)kill(partner, SIGTERM); in tcp_client() 91 (void)kill(partner, SIGTERM); in tcp_client() 98 (void)kill(partner, SIGTERM); in tcp_client() 166 (void)kill(child_pid, SIGTERM); in main()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | user_ns_exec.c | 149 kill(child, SIGKILL); in main() 158 kill(child, SIGKILL); in main() 165 kill(child, SIGKILL); in main() 173 kill(child, SIGKILL); in main()
|
/freebsd/tools/regression/sockets/sblock/ |
H A D | sblock.c | 121 if (kill(locking_recver_pid, SIGHUP) < 0) { in signaller() 190 kill(blocking_recver_pid, SIGKILL); in main() 202 kill(blocking_recver_pid, SIGKILL); in main() 203 kill(locking_recver_pid, SIGKILL); in main()
|