Searched refs:sa (Results 1 - 25 of 922) sorted by relevance

1234567891011>>

/freebsd-current/crypto/heimdal/lib/kadm5/
H A Dipropd_common.c50 struct sigaction sa; local
52 sa.sa_flags = 0;
53 sa.sa_handler = sigterm;
54 sigemptyset(&sa.sa_mask);
56 sigaction(SIGINT, &sa, NULL);
57 sigaction(SIGTERM, &sa, NULL);
58 sigaction(SIGXCPU, &sa, NULL);
60 sa.sa_handler = SIG_IGN;
61 sigaction(SIGPIPE, &sa, NULL);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/raise/
H A Dtst.raise2.c40 struct sigaction sa; local
42 sa.sa_handler = handle;
43 sigemptyset(&sa.sa_mask);
44 sa.sa_flags = 0;
46 (void) sigaction(SIGUSR1, &sa, NULL);
H A Dtst.raise3.c40 struct sigaction sa; local
42 sa.sa_handler = handle;
43 sigemptyset(&sa.sa_mask);
44 sa.sa_flags = 0;
46 (void) sigaction(SIGUSR1, &sa, NULL);
/freebsd-current/lib/libc/gen/
H A Dsignal.c45 struct sigaction sa, osa; local
47 sa.sa_handler = a;
48 sigemptyset(&sa.sa_mask);
49 sa.sa_flags = 0;
51 sa.sa_flags |= SA_RESTART;
52 if (__libc_sigaction(s, &sa, &osa) < 0)
H A Dsiginterrupt.c45 struct sigaction sa; local
48 if ((ret = __libc_sigaction(sig, (struct sigaction *)0, &sa)) < 0)
52 sa.sa_flags &= ~SA_RESTART;
55 sa.sa_flags |= SA_RESTART;
57 return (__libc_sigaction(sig, &sa, (struct sigaction *)0));
/freebsd-current/crypto/openssl/crypto/
H A Dsparse_array.c65 static void sa_doall(const OPENSSL_SA *sa, void (*node)(void **), argument
74 nodes[0] = sa->nodes;
88 if (l < sa->levels - 1) {
110 void ossl_sa_free(OPENSSL_SA *sa) argument
112 if (sa != NULL) {
113 sa_doall(sa, &sa_free_node, NULL, NULL);
114 OPENSSL_free(sa);
118 void ossl_sa_free_leaves(OPENSSL_SA *sa) argument
120 sa_doall(sa, &sa_free_node, &sa_free_leaf, NULL);
121 OPENSSL_free(sa);
134 ossl_sa_doall(const OPENSSL_SA *sa, void (*leaf)(ossl_uintmax_t, void *)) argument
143 ossl_sa_doall_arg(const OPENSSL_SA *sa, void (*leaf)(ossl_uintmax_t, void *, void *), void *arg) argument
151 ossl_sa_num(const OPENSSL_SA *sa) argument
156 ossl_sa_get(const OPENSSL_SA *sa, ossl_uintmax_t n) argument
179 ossl_sa_set(OPENSSL_SA *sa, ossl_uintmax_t posn, void *val) argument
[all...]
/freebsd-current/crypto/heimdal/kcm/
H A Dmain.c78 struct sigaction sa; local
80 sa.sa_flags = 0;
81 sa.sa_handler = sigterm;
82 sigemptyset(&sa.sa_mask);
84 sigaction(SIGINT, &sa, NULL);
85 sigaction(SIGTERM, &sa, NULL);
87 sa.sa_handler = sigusr1;
88 sigaction(SIGUSR1, &sa, NULL);
90 sa.sa_handler = sigusr2;
91 sigaction(SIGUSR2, &sa, NUL
[all...]
/freebsd-current/crypto/openssl/include/crypto/
H A Dsparse_array.h31 ossl_sa_##type##_free(SPARSE_ARRAY_OF(type) *sa) \
33 ossl_sa_free((OPENSSL_SA *)sa); \
36 ossl_sa_##type##_free_leaves(SPARSE_ARRAY_OF(type) *sa) \
38 ossl_sa_free_leaves((OPENSSL_SA *)sa); \
41 ossl_sa_##type##_num(const SPARSE_ARRAY_OF(type) *sa) \
43 return ossl_sa_num((OPENSSL_SA *)sa); \
46 ossl_sa_##type##_doall(const SPARSE_ARRAY_OF(type) *sa, \
49 ossl_sa_doall((OPENSSL_SA *)sa, \
53 ossl_sa_##type##_doall_arg(const SPARSE_ARRAY_OF(type) *sa, \
57 ossl_sa_doall_arg((OPENSSL_SA *)sa, \
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.gcc.c54 struct sigaction sa; local
56 sa.sa_handler = intr;
57 sigfillset(&sa.sa_mask);
58 sa.sa_flags = 0;
60 (void) sigaction(SIGUSR1, &sa, NULL);
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_sa_vlarb_record.c70 osm_sa_t *sa; member in struct:osm_vl_arb_search_ctxt
74 static void sa_vl_arb_create(IN osm_sa_t * sa, IN osm_physp_t * p_physp, argument
81 OSM_LOG_ENTER(sa->p_log);
85 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2A02: "
95 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
111 OSM_LOG_EXIT(sa->p_log);
114 static void sa_vl_arb_check_physp(IN osm_sa_t * sa, IN osm_physp_t * p_physp, argument
120 OSM_LOG_ENTER(sa->p_log);
126 sa_vl_arb_create(sa, p_physp, p_ctxt, block);
129 OSM_LOG_EXIT(sa
132 sa_vl_arb_by_comp_mask(osm_sa_t * sa, IN const osm_port_t * p_port, osm_vl_arb_search_ctxt_t * p_ctxt) argument
208 osm_sa_t *sa = ctx; local
[all...]
H A Dosm_sa_service_record.c71 osm_sa_t *sa; member in struct:osm_sr_match_item
80 match_service_pkey_with_ports_pkey(IN osm_sa_t * sa, argument
91 p_req_physp = osm_get_physp_by_mad_addr(sa->p_log, sa->p_subn,
95 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2404: "
100 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
109 (sa->p_log, p_service_rec->service_pkey, p_req_physp)) {
120 osm_get_port_by_alias_guid(sa->p_subn, service_guid);
122 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2405: "
129 if (!osm_physp_has_pkey(sa
143 match_name_to_key_association(IN osm_sa_t * sa, ib_service_record_t * p_service_rec, ib_net64_t comp_mask) argument
161 validate_sr(IN osm_sa_t * sa, IN const osm_madw_t * p_madw) argument
197 sr_rcv_respond(IN osm_sa_t * sa, IN osm_madw_t * p_madw, IN cl_qlist_t * p_list) argument
444 sr_rcv_process_get_method(osm_sa_t * sa, IN osm_madw_t * p_madw) argument
509 sr_rcv_process_set_method(osm_sa_t * sa, IN osm_madw_t * p_madw) argument
607 sr_rcv_process_delete_method(osm_sa_t * sa, IN osm_madw_t * p_madw) argument
668 osm_sa_t *sa = context; local
726 osm_sa_t *sa = context; local
[all...]
H A Dosm_sa_informinfo.c77 osm_sa_t *sa; member in struct:osm_iir_search_ctxt
89 static boolean_t validate_ports_access_rights(IN osm_sa_t * sa, argument
98 OSM_LOG_ENTER(sa->p_log);
101 p_requester_physp = osm_get_physp_by_mad_addr(sa->p_log, sa->p_subn,
110 p_port = osm_get_port_by_guid(sa->p_subn, portguid);
112 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 4301: "
122 (sa->p_log, p_port->p_physp, p_requester_physp,
123 sa->p_subn->opt.allow_both_pkeys)) {
124 OSM_LOG(sa
187 validate_infr(IN osm_sa_t * sa, IN osm_infr_t * p_infr_rec) argument
209 infr_rcv_respond(IN osm_sa_t * sa, IN osm_madw_t * p_madw) argument
239 sa_inform_info_rec_by_comp_mask(IN osm_sa_t * sa, IN const osm_infr_t * p_infr, osm_iir_search_ctxt_t * p_ctxt) argument
325 infr_rcv_process_get_method(osm_sa_t * sa, IN osm_madw_t * p_madw) argument
404 infr_rcv_process_set_method(osm_sa_t * sa, IN osm_madw_t * p_madw) argument
590 osm_sa_t *sa = context; local
618 osm_sa_t *sa = context; local
[all...]
H A Dosm_sa_sw_info_record.c66 osm_sa_t *sa; member in struct:osm_sir_search_ctxt
70 static ib_api_status_t sir_rcv_new_sir(IN osm_sa_t * sa, argument
78 OSM_LOG_ENTER(sa->p_log);
82 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 5308: "
88 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
99 OSM_LOG_EXIT(sa->p_log);
103 static void sir_rcv_create_sir(IN osm_sa_t * sa, IN const osm_switch_t * p_sw, argument
113 OSM_LOG_ENTER(sa->p_log);
115 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
121 osm_get_port_by_guid(sa
172 osm_sa_t *sa = p_ctxt->sa; local
195 osm_sa_t *sa = ctx; local
[all...]
H A Dosm_sa_sminfo_record.c75 osm_sa_t *sa; member in struct:osm_smir_search_ctxt
79 static ib_api_status_t smir_rcv_new_smir(IN osm_sa_t * sa, argument
90 OSM_LOG_ENTER(sa->p_log);
94 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2801: "
100 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
113 OSM_LOG_EXIT(sa->p_log);
117 static void sa_smir_by_comp_mask(IN osm_sa_t * sa, argument
126 OSM_LOG_ENTER(sa->p_log);
146 p_port = osm_get_port_by_guid(sa->p_subn, p_rem_sm->smi.guid);
149 OSM_LOG(sa
172 osm_sa_t *sa = ctx; local
[all...]
H A Dosm_sa_slvl_record.c70 osm_sa_t *sa; member in struct:osm_slvl_search_ctxt
74 static void sa_slvl_create(IN osm_sa_t * sa, IN const osm_physp_t * p_physp, argument
81 OSM_LOG_ENTER(sa->p_log);
85 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2602: "
95 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
114 OSM_LOG_EXIT(sa->p_log);
117 static void sa_slvl_by_comp_mask(IN osm_sa_t * sa, IN const osm_port_t * p_port, argument
129 OSM_LOG_ENTER(sa->p_log);
141 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
146 if (osm_physp_share_pkey(sa
201 osm_sa_t *sa = ctx; local
[all...]
H A Dosm_sa_pkey_record.c63 osm_sa_t *sa; member in struct:osm_pkey_search_ctxt
67 static void sa_pkey_create(IN osm_sa_t * sa, IN osm_physp_t * p_physp, argument
75 OSM_LOG_ENTER(sa->p_log);
79 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 4602: "
89 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
113 OSM_LOG_EXIT(sa->p_log);
116 static void sa_pkey_check_physp(IN osm_sa_t * sa, IN osm_physp_t * p_physp, argument
122 OSM_LOG_ENTER(sa->p_log);
126 sa_pkey_create(sa, p_physp, p_ctxt, p_ctxt->block_num);
132 sa_pkey_create(sa, p_phys
138 sa_pkey_by_comp_mask(IN osm_sa_t * sa, IN const osm_port_t * p_port, osm_pkey_search_ctxt_t * p_ctxt) argument
214 osm_sa_t *sa = ctx; local
[all...]
/freebsd-current/lib/libc/rpc/
H A Dbindresvport.c68 bindresvport_sa(int sd, struct sockaddr *sa) argument
80 if (sa == NULL) {
82 sa = (struct sockaddr *)&myaddr;
84 if (_getsockname(sd, sa, &salen) == -1)
87 af = sa->sa_family;
88 memset(sa, 0, salen);
90 af = sa->sa_family;
97 sin = (struct sockaddr_in *)sa;
106 sin6 = (struct sockaddr_in6 *)sa;
115 sa
[all...]
/freebsd-current/sys/arm/arm/
H A Dsyscall.c101 struct syscall_args *sa; local
106 sa = &td->td_sa;
107 sa->code = td->td_frame->tf_r7;
108 sa->original_code = sa->code;
110 if (sa->code == SYS_syscall) {
111 sa->code = *ap++;
113 } else if (sa->code == SYS___syscall) {
114 sa->code = ap[_QUAD_LOWWORD];
119 if (sa
[all...]
/freebsd-current/contrib/ofed/libibmad/
H A Dsa.c50 ib_portid_t * portid, ib_sa_call_t * sa, unsigned timeout)
55 DEBUG("attr 0x%x mod 0x%x route %s", sa->attrid, sa->mod,
64 rpc.method = sa->method;
65 rpc.attr.id = sa->attrid;
66 rpc.attr.mod = sa->mod;
67 rpc.mask = sa->mask;
71 rpc.trid = sa->trid;
77 p = mad_rpc_rmpp(ibmad_port, &rpc, portid, 0 /*&sa->rmpp */ , rcvbuf); /* TODO: RMPP */
79 sa
49 sa_rpc_call(const struct ibmad_port *ibmad_port, void *rcvbuf, ib_portid_t * portid, ib_sa_call_t * sa, unsigned timeout) argument
84 sa_call(void *rcvbuf, ib_portid_t * portid, ib_sa_call_t * sa, unsigned timeout) argument
119 ib_sa_call_t sa = { 0 }; local
172 ib_sa_call_t sa = { 0 }; local
[all...]
/freebsd-current/crypto/openssl/test/
H A Dsparse_array_test.c39 SPARSE_ARRAY_OF(char) *sa;
43 if (!TEST_ptr(sa = ossl_sa_char_new())
44 || !TEST_ptr_null(ossl_sa_char_get(sa, 3))
45 || !TEST_ptr_null(ossl_sa_char_get(sa, 0))
46 || !TEST_ptr_null(ossl_sa_char_get(sa, UINT_MAX)))
50 if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) {
55 if (!TEST_str_eq(ossl_sa_char_get(sa, cases[j].n), cases[j].v)) {
63 ossl_sa_char_free(sa);
79 SPARSE_ARRAY_OF(char) *sa = NULL;
84 || !TEST_ptr(sa
104 SPARSE_ARRAY_OF(char) *sa; member in struct:doall_st
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbindresvport.c54 bindresvport_sa(int sd, struct sockaddr *sa) argument
65 if (sa == NULL) {
67 sa = (struct sockaddr *)&myaddr;
70 if (getsockname(sd, sa, &salen) == -1)
73 af = sa->sa_family;
76 af = sa->sa_family;
79 in = (struct sockaddr_in *)sa;
83 in6 = (struct sockaddr_in6 *)sa;
90 sa->sa_family = af;
102 error = bind(sd, sa, sale
[all...]
H A Drresvport.c61 struct sockaddr *sa; local
67 sa = (struct sockaddr *)&ss;
72 portp = &((struct sockaddr_in *)sa)->sin_port;
76 portp = &((struct sockaddr_in6 *)sa)->sin6_port;
82 sa->sa_family = af;
90 if (bind(s, sa, salen) >= 0)
99 sa->sa_family = af;
100 if (bindresvport_sa(s, sa) == -1) {
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/
H A Dt_assert.c73 struct sigaction sa; local
84 (void)memset(&sa, 0, sizeof(struct sigaction));
86 sa.sa_flags = 0;
87 sa.sa_handler = handler;
89 (void)sigemptyset(&sa.sa_mask);
90 (void)sigaction(SIGABRT, &sa, 0);
111 struct sigaction sa; local
122 (void)memset(&sa, 0, sizeof(struct sigaction));
124 sa.sa_flags = 0;
125 sa
[all...]
H A Dt_raise.c107 struct sigaction sa; local
111 sa.sa_flags = 0;
112 sa.sa_handler = handler_ret;
118 ATF_REQUIRE(sigemptyset(&sa.sa_mask) == 0);
119 ATF_REQUIRE(sigaction(SIGUSR1, &sa, 0) == 0);
135 struct sigaction sa; local
140 (void)memset(&sa, 0, sizeof(struct sigaction));
147 sa.sa_flags = 0;
148 sa.sa_handler = handler_err;
150 ATF_REQUIRE(sigemptyset(&sa
170 struct sigaction sa; local
[all...]
/freebsd-current/crypto/heimdal/lib/gssapi/krb5/
H A Daddress_to_krb5addr.c46 struct sockaddr sa; local
47 krb5_socklen_t sa_size = sizeof(sa);
68 &sa,
74 problem = krb5_sockaddr2address (context, &sa, address);

Completed in 165 milliseconds

1234567891011>>