Searched defs:act (Results 51 - 75 of 118) sorted by relevance

12345

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drsh.c150 struct sigaction act; local
152 act.sa_handler = NULL;
153 act.sa_flags = 0;
154 (void) sigemptyset(&act.sa_mask);
155 (void) sigaction(sig, NULL, &act);
156 return (act.sa_handler);
H A Drlogin.c840 struct sigaction act; local
842 act.sa_handler = NULL;
843 act.sa_flags = 0;
844 (void) sigemptyset(&act.sa_mask);
845 (void) sigaction(sig, NULL, &act);
846 return (act.sa_handler);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd.c816 struct sigaction act; local
874 * act like /dev/null; anything inserted here is simply ignored.
886 if (sigaction(dp->d_thr_sig, NULL, &act) != 0) {
891 if (act.sa_handler != SIG_IGN && act.sa_handler != SIG_DFL) {
896 act.sa_handler = fmd_signal;
897 act.sa_flags = 0;
899 (void) sigemptyset(&act.sa_mask);
900 (void) sigaction(dp->d_thr_sig, &act, NULL);
924 * Before loading modules, create an empty control event which will act
[all...]
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c778 struct sigaction act; local
826 (void) sigfillset(&act.sa_mask);
827 act.sa_handler = nd_sighandler;
828 act.sa_flags = 0;
830 (void) sigaction(SIGTERM, &act, NULL);
832 (void) sigaction(SIGHUP, &act, NULL);
836 (void) sigaction(SIGINT, &act, NULL);
/illumos-gate/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c545 struct sigaction act; local
592 (void) sigfillset(&act.sa_mask);
593 act.sa_handler = nd_sighandler;
594 act.sa_flags = 0;
596 (void) sigaction(SIGTERM, &act, NULL);
598 (void) sigaction(SIGHUP, &act, NULL);
602 (void) sigaction(SIGINT, &act, NULL);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c1248 void (*nsignal(int sig, void (*act)(int)))(int) argument
1252 sa.sa_handler = act;
/illumos-gate/usr/src/cmd/busstat/
H A Dbusstat.c1550 struct sigaction act; local
1553 bzero(&act, sizeof (struct sigaction));
1566 act.sa_handler = handle_sig;
1568 if (sigaction(SIGUSR1, &act, NULL) != 0) {
/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c132 struct sigaction act; local
134 (void) sigemptyset(&act.sa_mask);
135 act.sa_handler = SIG_DFL;
136 act.sa_flags = 0;
137 (void) sigaction(sig, &act, NULL);
477 struct sigaction act; local
479 act.sa_sigaction = SIG_DFL;
480 (void) sigemptyset(&act.sa_mask);
481 act.sa_flags = 0;
483 (void) sigaction(SIGPIPE, &act, NUL
566 struct sigaction act; local
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/controller/
H A Dmetassist.c1362 struct sigaction act; local
1363 act.sa_handler = interrupthandler;
1364 sigemptyset(&act.sa_mask);
1365 act.sa_flags = 0;
1366 sigaction(SIGHUP, &act, (struct sigaction *)0);
1367 sigaction(SIGINT, &act, (struct sigaction *)0);
1368 sigaction(SIGQUIT, &act, (struct sigaction *)0);
1369 sigaction(SIGTERM, &act, (struct sigaction *)0);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dstartd.c1008 struct sigaction act; local
1071 act.sa_sigaction = &die_handler;
1072 (void) sigfillset(&act.sa_mask);
1073 act.sa_flags = SA_SIGINFO;
1074 (void) sigaction(SIGINT, &act, NULL);
1075 (void) sigaction(SIGTERM, &act, NULL);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c436 res_sendhookact act; local
438 act = (*statp->qhook)(&nsap, &buf, &buflen,
440 switch (act) {
515 res_sendhookact act; local
517 act = (*statp->rhook)(nsap, buf, buflen,
519 switch (act) {
/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtj_consume.c631 dtrace_actkind_t act; local
726 act = rec->dtrd_action;
729 jc->dtjj_consumer->dtjc_probedata_act = act;
732 switch (act) {
1038 dtrace_actkind_t act = DTRACEACT_NONE; local
1074 act = rec->dtrd_action;
1077 switch (act) {
1150 dtj_is_stack_action(dtrace_actkind_t act) argument
1153 switch (act) {
1166 dtj_is_symbol_action(dtrace_actkind_t act) argument
1416 dtrace_actkind_t act; local
1474 dtrace_actkind_t act; local
1522 dtrace_actkind_t act = rec->dtrd_action; local
1658 dtrace_actkind_t act = DTRACEACT_NONE; local
2015 dtrace_actkind_t act; local
[all...]
/illumos-gate/usr/src/cmd/picl/picld/
H A Dpicld.c1072 struct sigaction act; local
1143 act.sa_handler = SIG_IGN;
1144 (void) sigemptyset(&act.sa_mask);
1145 act.sa_flags = 0;
1146 if (sigaction(SIGHUP, &act, NULL) == -1)
1190 act.sa_sigaction = hup_handler;
1191 (void) sigemptyset(&act.sa_mask);
1192 act.sa_flags = SA_SIGINFO;
1193 if (sigaction(SIGHUP, &act, NULL) == -1)
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/snmp/
H A Dsnmpplugin.c424 * The act of catching the signal causes any cond_wait() or blocked
440 struct sigaction act; local
446 act.sa_sigaction = usr1_handler;
447 (void) sigemptyset(&act.sa_mask);
448 act.sa_flags = 0;
449 if (sigaction(SIGUSR1, &act, NULL) == -1) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c109 trace_rdisc(const char *act, argument
128 act, naddr_ntoa(from), naddr_ntoa(to),
145 act, naddr_ntoa(from), naddr_ntoa(to),
1220 ck_icmp(const char *act, argument
1246 trace_rdisc(act, from, to, ifp, p, len);
H A Dtrace.c810 trace_if(const char *act, struct interface *ifp) argument
816 (void) fprintf(ftrace, "%-3s interface %-4s #%-3d ", act,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c249 struct spd_ext_actions *act; local
266 act = (struct spd_ext_actions *)(msg + 1);
267 act->spd_actions_exttype = SPD_EXT_ACTION;
268 act->spd_actions_reserved = 0;
276 sync_req_attr = (struct spd_attribute *)(act + 1);
278 act->spd_actions_count = sync_req_alg_count + sync_req_proto_count;
292 act->spd_actions_len = SPD_8TO64(req_len - sizeof (*msg));
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dfile.c545 int act = 0; local
549 for (act = 0; act < actmax; act++) {
550 if (Action[act].a_action == ACT_APPEND) {
552 Action[act].a_string);
/illumos-gate/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c211 struct sigaction act; local
277 (void) sigemptyset(&act.sa_mask);
278 act.sa_flags = 0;
279 act.sa_handler = intr;
280 (void) sigaction(SIGUSR1, &act, NULL);
281 (void) sigaction(SIGCHLD, &act, NULL);
283 (void) sigaddset(&act.sa_mask, SIGCHLD);
284 (void) sigaddset(&act.sa_mask, SIGUSR1);
285 (void) sigaction(SIGWINCH, &act, NULL);
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c217 struct sigaction act; local
265 act.sa_handler = timer;
266 act.sa_flags = SA_RESTART;
267 (void *) sigemptyset(&act.sa_mask);
268 (void *) sigaddset(&act.sa_mask, SIGALRM);
269 (void *) sigaddset(&act.sa_mask, SIGHUP);
270 (void *) sigaction(SIGALRM, &act, NULL);
271 (void *) sigaction(SIGHUP, &act, NULL);
286 (void) sigprocmask(SIG_BLOCK, &act.sa_mask, NULL);
288 (void) sigprocmask(SIG_UNBLOCK, &act
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipmp.c1643 * If `act' is Res_act_none, don't notify the resolver. Otherwise, `act'
1648 ipmp_ill_bind_ipif(ill_t *ill, ipif_t *ipif, enum ip_resolver_action act) argument
1655 ASSERT(act == Res_act_none || ipmp_ipif_is_up_dataaddr(ipif));
1670 if (act != Res_act_none) {
1672 VERIFY(ipif_resolver_up(ipif, act) == 0);
1673 err = ipif_ndp_up(ipif, act == Res_act_initial);
1675 err = ipif_resolver_up(ipif, act);
1998 * As our final act in leaving the group, request a switch back to our
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c120 act_t act; /* Action to take */ member in struct:token_s
828 } else if (t != NULL && (t->tok->act & HASH) &&
844 if (t != NULL && (t->tok->act & HASH) && hash != NULL)
1304 if (match->act & QUALIFIER) {
1316 if (match->act & NUMERIC) {
1324 } else if (match->act & DATE) {
1395 if (match->act & FILTER) {
1413 if (match->act & NOCACHE) {
1616 if (match->act & QUALIFIER) {
1628 if (match->act
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c74 * act is 1, the callback should take whatever action it needs
75 * to fulfil this request. If act is 0, this request has already
85 sctp_faddr_t *, int *cont, int act, in6_addr_t *addr);
172 sctp_faddr_t *fp, int *cont, int act, in6_addr_t *addr)
383 int act; local
408 act = 1;
410 act = 0;
523 mp = dp->asconf(sctp, ph, *idp, fp, &cont, act, &addr);
540 } else if (act != 0) {
580 if (act) {
171 sctp_asconf_unrec_parm(sctp_t *sctp, sctp_parm_hdr_t *ph, uint32_t cid, sctp_faddr_t *fp, int *cont, int act, in6_addr_t *addr) argument
1150 sctp_addip_req(sctp_t *sctp, sctp_parm_hdr_t *ph, uint32_t cid, sctp_faddr_t *fp, int *cont, int act, in6_addr_t *raddr) argument
1345 sctp_setprim_req(sctp_t *sctp, sctp_parm_hdr_t *ph, uint32_t cid, sctp_faddr_t *fp, int *cont, int act, in6_addr_t *raddr) argument
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioens/
H A Daudioens.c482 int act; local
486 &act, DDI_INTR_ALLOC_NORMAL) != DDI_SUCCESS) || (act != 1)) {
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c839 uint8_t act; local
851 ret = i40e_aq_get_switch_resource_alloc(hw, &act, buf,
869 i40e->i40e_switch_rsrc_actual = act;

Completed in 2022 milliseconds

12345