Home
last modified time | relevance | path

Searched full:ss (Results 1 – 25 of 2028) sorted by relevance

12345678910>>...82

/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/
H A Daeskey.c83 { k[4 * (i) + 4] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \
84 k[4 * (i) + 5] = ss[1] ^= ss[0]; \
85 k[4 * (i) + 6] = ss[2] ^= ss[1]; \
86 k[4 * (i) + 7] = ss[3] ^= ss[2]; \
92 uint32_t ss[4]; in aes_encrypt_key128() local
94 rk[0] = ss[0] = word_in(key, 0); in aes_encrypt_key128()
95 rk[1] = ss[1] = word_in(key, 1); in aes_encrypt_key128()
96 rk[2] = ss[2] = word_in(key, 2); in aes_encrypt_key128()
97 rk[3] = ss[3] = word_in(key, 3); in aes_encrypt_key128()
117 { k[6 * (i) + 6] = ss[0] ^= ls_box(ss[5], 3) ^ t_use(r, c)[i]; \
[all …]
/freebsd/crypto/krb5/src/lib/crypto/builtin/aes/
H A Daeskey.c86 { k[4*(i)+4] = ss[0] ^= ls_box(ss[3],3) ^ t_use(r,c)[i]; \
87 k[4*(i)+5] = ss[1] ^= ss[0]; \
88 k[4*(i)+6] = ss[2] ^= ss[1]; \
89 k[4*(i)+7] = ss[3] ^= ss[2]; \
93 { uint32_t ss[4]; in aes_xi() local
95 cx->ks[0] = ss[0] = word_in(key, 0); in aes_xi()
96 cx->ks[1] = ss[1] = word_in(key, 1); in aes_xi()
97 cx->ks[2] = ss[2] = word_in(key, 2); in aes_xi()
98 cx->ks[3] = ss[3] = word_in(key, 3); in aes_xi()
129 { k[6*(i)+ 6] = ss[0] ^= ls_box(ss[5],3) ^ t_use(r,c)[i]; \
[all …]
/freebsd/lib/libsdp/
H A Dsession.c45 sdp_session_p ss = NULL; in sdp_open() local
49 if ((ss = calloc(1, sizeof(*ss))) == NULL) in sdp_open()
53 ss->error = EINVAL; in sdp_open()
57 ss->s = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BLUETOOTH_PROTO_L2CAP); in sdp_open()
58 if (ss->s < 0) { in sdp_open()
59 ss->error = errno; in sdp_open()
70 if (bind(ss->s, (struct sockaddr *) &sa, sizeof(sa)) < 0) { in sdp_open()
71 ss->error = errno; in sdp_open()
77 if (connect(ss->s, (struct sockaddr *) &sa, sizeof(sa)) < 0) { in sdp_open()
78 ss->error = errno; in sdp_open()
[all …]
H A Dsearch.c58 sdp_session_p ss = (sdp_session_p) xss; in sdp_search() local
63 if (ss == NULL) in sdp_search()
66 if (ss->req == NULL || ss->rsp == NULL || in sdp_search()
68 ss->error = EINVAL; in sdp_search()
72 req = ss->req; in sdp_search()
83 ss->error = EINVAL; in sdp_search()
102 if (ss->req_e - req < len) { in sdp_search()
103 ss->error = ENOBUFS; in sdp_search()
139 ss->cslen = 0; in sdp_search()
140 rsp = ss->rsp; in sdp_search()
[all …]
H A Dservice.c45 static int32_t sdp_receive_error_pdu(sdp_session_p ss);
51 sdp_session_p ss = (sdp_session_p) xss; in sdp_register_service() local
56 if (ss == NULL) in sdp_register_service()
59 datalen == 0 || !(ss->flags & SDP_SESSION_LOCAL)) { in sdp_register_service()
60 ss->error = EINVAL; in sdp_register_service()
64 ss->error = EMSGSIZE; in sdp_register_service()
69 pdu.tid = htons(++ss->tid); in sdp_register_service()
87 len = writev(ss->s, iov, sizeof(iov)/sizeof(iov[0])); in sdp_register_service()
91 ss->error = errno; in sdp_register_service()
95 len = sdp_receive_error_pdu(ss); in sdp_register_service()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h399 // inline std::ostream& operator<<(std::ostream& SS, StringRef R) {
400 // return SS.write(R.data(), R.size());
420 static void print(const SExpr *E, StreamType &SS) { in print() argument
422 printer.printSExpr(E, SS, Prec_MAX); in print()
428 void newline(StreamType &SS) { in newline() argument
429 SS << "\n"; in newline()
485 void printBlockLabel(StreamType & SS, const BasicBlock *BB, int index) { in printBlockLabel() argument
487 SS << "BB_null"; in printBlockLabel()
490 SS << "BB_"; in printBlockLabel()
491 SS << BB->blockID(); in printBlockLabel()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_scan_sw.c70 #define SCAN_PRIVATE(ss) ((struct scan_state *) ss) argument
97 struct ieee80211_scan_state *ss = ic->ic_scan; in ieee80211_swscan_detach() local
99 if (ss != NULL) { in ieee80211_swscan_detach()
100 scan_signal(ss, ISCAN_ABORT); in ieee80211_swscan_detach()
101 ieee80211_draintask(ic, &SCAN_PRIVATE(ss)->ss_scan_start); in ieee80211_swscan_detach()
103 &SCAN_PRIVATE(ss)->ss_scan_curchan); in ieee80211_swscan_detach()
114 if (ss->ss_ops != NULL) { in ieee80211_swscan_detach()
115 ss->ss_ops->scan_detach(ss); in ieee80211_swscan_detach()
116 ss->ss_ops = NULL; in ieee80211_swscan_detach()
119 IEEE80211_FREE(SCAN_PRIVATE(ss), M_80211_SCAN); in ieee80211_swscan_detach()
[all …]
H A Dieee80211_scan.c154 struct ieee80211_scan_state *ss; in ieee80211_scan_vdetach() local
157 ss = ic->ic_scan; in ieee80211_scan_vdetach()
161 if (ss != NULL && ss->ss_vap == vap) { in ieee80211_scan_vdetach()
162 if (ss->ss_ops != NULL) { in ieee80211_scan_vdetach()
163 ss->ss_ops->scan_detach(ss); in ieee80211_scan_vdetach()
164 ss->ss_ops = NULL; in ieee80211_scan_vdetach()
166 ss->ss_vap = NULL; in ieee80211_scan_vdetach()
237 struct ieee80211_scan_state *ss = ic->ic_scan; in ieee80211_scan_update_locked() local
242 if (ss->ss_vap != vap || ss->ss_ops != scan) { in ieee80211_scan_update_locked()
246 ss->ss_vap != NULL ? in ieee80211_scan_update_locked()
[all …]
/freebsd/tests/sys/vm/
H A Dshared_shadow_inval_test.c115 ss->exit = true; \
120 ss->exit = true; \
126 static void child(struct shared_state *ss, int depth);
129 child_fork(struct shared_state *ss, int depth) in child_fork() argument
135 child(ss, depth); in child_fork()
140 child_fault(struct shared_state *ss) in child_fault() argument
144 for (i = 0; i < ss->len; i += ss->pagesize) in child_fault()
145 (void)((volatile char *)ss->p)[i]; in child_fault()
149 child_write(struct shared_state *ss, int val, size_t len) in child_write() argument
153 for (i = 0; i < len; i += ss->pagesize) in child_write()
[all …]
/freebsd/sys/netlink/
H A Dnetlink_snl.h129 typedef void snl_parse_field_f(struct snl_state *ss, void *hdr, void *target);
137 typedef bool snl_parse_attr_f(struct snl_state *ss, struct nlattr *attr,
151 typedef bool snl_parse_post_f(struct snl_state *ss, void *target);
202 snl_allocz(struct snl_state *ss, int len) in snl_allocz() argument
204 void *data = lb_allocz(ss->lb, len); in snl_allocz()
207 uint32_t size = ss->lb->size * 2; in snl_allocz()
215 lb->next = ss->lb; in snl_allocz()
216 ss->lb = lb; in snl_allocz()
217 data = lb_allocz(ss->lb, len); in snl_allocz()
225 snl_clear_lb(struct snl_state *ss) in snl_clear_lb() argument
[all …]
/freebsd/sys/dev/snp/
H A Dsnp.c117 struct snp_softc *ss = data; in snp_dtor() local
120 tp = ss->snp_tty; in snp_dtor()
123 ttyoutq_free(&ss->snp_outq); in snp_dtor()
125 ss->snp_tty = NULL; in snp_dtor()
128 cv_destroy(&ss->snp_outwait); in snp_dtor()
129 free(ss, M_SNP); in snp_dtor()
139 struct snp_softc *ss; in snp_open() local
142 ss = malloc(sizeof(struct snp_softc), M_SNP, M_WAITOK|M_ZERO); in snp_open()
143 cv_init(&ss->snp_outwait, "snp out"); in snp_open()
145 devfs_set_cdevpriv(ss, snp_dtor); in snp_open()
[all …]
/freebsd/share/man/man3/
H A Dsnl.354 .Fn snl_init "struct snl_state *ss" "int netlink_family"
55 .Fn snl_free "struct snl_state *ss"
57 .Fn snl_read_message "struct snl_state *ss"
59 .Fn snl_send "struct snl_state *ss" "void *data" "int sz"
61 .Fn snl_get_seq "struct snl_state *ss"
63 .Fn snl_allocz "struct snl_state *ss" "int len"
64 .Fn snl_clear_lb "struct snl_state *ss"
66 .Fn snl_parse_nlmsg "struct snl_state *ss" "struct nlmsghdr *hdr" "const struct snl_hdr_parser *ps"…
68 .Fn snl_parse_header "struct snl_state *ss" "void *hdr" "int len" "const struct snl_hdr_parser *ps"…
70 .Fn snl_parse_attrs "struct snl_state *ss" "struct nlmsghdr *hdr" "int hdrlen" "const struct snl_at…
[all …]
/freebsd/crypto/krb5/src/util/ss/
H A Ddeps5 $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/ss/ss_err.h \
8 ss.h ss_internal.h
10 $(BUILDTOP)/include/ss/ss_err.h $(COM_ERR_DEPS) $(top_srcdir)/include/k5-platform.h \
12 ss.h ss_internal.h
14 $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/ss/ss_err.h \
17 ss.h ss_internal.h
19 $(BUILDTOP)/include/ss/ss_err.h $(COM_ERR_DEPS) $(top_srcdir)/include/k5-platform.h \
21 ss.h ss_internal.h
23 $(BUILDTOP)/include/ss/ss_err.h $(COM_ERR_DEPS) $(top_srcdir)/include/k5-platform.h \
25 ss.h ss_internal.h
[all …]
H A DMakefile.in1 mydir=util$(S)ss
12 LIBBASE=ss
15 RELDIR=../util/ss
20 # hard coded srcdir/.. is so that ss/ss.h works
22 # hard coded .. is so that ss/ss_err.h works
64 HDRDIR=$(BUILDTOP)/include/ss
65 HDRS = $(HDRDIR)/ss.h \
69 SRC_HDRS = ss.h
70 SRC_HDRS_DEP = $(srcdir)/ss.h
78 $(HDRDIR)/ss.h: ss.h $(HDRDIR)/timestamp
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_spectral.c84 ar5416ConfigureSpectralScan(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss) in ar5416ConfigureSpectralScan() argument
92 if (ss->ss_fft_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
94 val |= SM(ss->ss_fft_period, AR_PHY_SPECTRAL_SCAN_FFT_PERIOD); in ar5416ConfigureSpectralScan()
97 if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
99 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); in ar5416ConfigureSpectralScan()
102 if (ss->ss_period != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
104 val |= SM(ss->ss_period, AR_PHY_SPECTRAL_SCAN_PERIOD); in ar5416ConfigureSpectralScan()
109 if (ss->ss_count != HAL_SPECTRAL_PARAM_NOVAL) { in ar5416ConfigureSpectralScan()
111 val |= SM(ss->ss_count, AR_PHY_SPECTRAL_SCAN_COUNT); in ar5416ConfigureSpectralScan()
114 if (ss->ss_short_report == AH_TRUE) { in ar5416ConfigureSpectralScan()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DInstrumentation.h25 inline void stringify_append(llvm::raw_string_ostream &ss, const T &t) {
26 ss << t; in stringify_append() argument
30 inline void stringify_append(llvm::raw_string_ostream &ss, const T &t) {
31 ss << &t;
35 inline void stringify_append(llvm::raw_string_ostream &ss, T *t) {
36 ss << reinterpret_cast<void *>(t);
40 inline void stringify_append(llvm::raw_string_ostream &ss, const T *t) {
41 ss << reinterpret_cast<const void *>(t);
45 inline void stringify_append<char>(llvm::raw_string_ostream &ss,
47 ss << '\"' <<
32 stringify_append(llvm::raw_string_ostream & ss,const T & t) stringify_append() argument
37 stringify_append(llvm::raw_string_ostream & ss,T * t) stringify_append() argument
42 stringify_append(llvm::raw_string_ostream & ss,const T * t) stringify_append() argument
59 stringify_helper(llvm::raw_string_ostream & ss,const Head & head) stringify_helper() argument
64 stringify_helper(llvm::raw_string_ostream & ss,const Head & head,const Tail &...tail) stringify_helper() argument
[all...]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp54 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS, in computeDeclContext() argument
56 if (!SS.isSet() || SS.isInvalid()) in computeDeclContext()
59 NestedNameSpecifier *NNS = SS.getScopeRep(); in computeDeclContext()
92 SS.getTemplateParamLists(); in computeDeclContext()
116 diagnoseMissingImport(SS.getLastQualifierNameLoc(), PartialSpec, in computeDeclContext()
166 bool Sema::isDependentScopeSpecifier(const CXXScopeSpec &SS) { in isDependentScopeSpecifier() argument
167 if (!SS.isSet() || SS.isInvalid()) in isDependentScopeSpecifier()
170 return SS.getScopeRep()->isDependent(); in isDependentScopeSpecifier()
184 /// Require that the context specified by SS be complete.
186 /// If SS refers to a type, this routine checks whether the type is
[all …]
/freebsd/tests/sys/netlink/
H A Dtest_snl.c61 struct snl_state ss; in ATF_TC_BODY() local
64 if (!snl_init(&ss, NETLINK_ROUTE)) in ATF_TC_BODY()
70 ATF_CHECK(setsockopt(ss.fd, SOL_NETLINK, NETLINK_CAP_ACK, &optval, sizeof(optval)) == 0); in ATF_TC_BODY()
72 snl_init_writer(&ss, &nw); in ATF_TC_BODY()
80 ATF_CHECK(snl_send_message(&ss, hdr)); in ATF_TC_BODY()
82 struct nlmsghdr *rx_hdr = snl_read_reply(&ss, hdr->nlmsg_seq); in ATF_TC_BODY()
88 ATF_CHECK(snl_parse_errmsg(&ss, rx_hdr, &e)); in ATF_TC_BODY()
102 struct snl_state ss; in ATF_TC_BODY() local
105 if (!snl_init(&ss, NETLINK_ROUTE)) in ATF_TC_BODY()
109 ATF_CHECK(setsockopt(ss.fd, SOL_NETLINK, NETLINK_CAP_ACK, &optval, sizeof(optval)) == 0); in ATF_TC_BODY()
[all …]
/freebsd/sys/dev/mxge/
H A Dif_mxge.c1176 struct mxge_slice_state *ss; in mxge_reset() local
1236 rx_done = &sc->ss[slice].rx_done; in mxge_reset()
1269 ss = &sc->ss[slice]; in mxge_reset()
1271 ss->irq_claim = irq_claim + (2 * slice); in mxge_reset()
1273 ss->rx_done.idx = 0; in mxge_reset()
1274 ss->rx_done.cnt = 0; in mxge_reset()
1275 ss->tx.req = 0; in mxge_reset()
1276 ss->tx.done = 0; in mxge_reset()
1277 ss->tx.pkt_done = 0; in mxge_reset()
1278 ss->tx.queue_active = 0; in mxge_reset()
[all …]
/freebsd/usr.sbin/arp/
H A Darp_netlink.c37 nl_init_socket(struct snl_state *ss) in nl_init_socket() argument
39 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
46 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
54 get_link_info(struct snl_state *ss, uint32_t ifindex, in get_link_info() argument
59 snl_init_writer(ss, &nw); in get_link_info()
65 if (! (hdr = snl_finalize_msg(&nw)) || !snl_send_message(ss, hdr)) in get_link_info()
68 hdr = snl_read_reply(ss, hdr->nlmsg_seq); in get_link_info()
73 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser_simple, link)) in get_link_info()
82 has_l2(struct snl_state *ss, uint32_t ifindex, uint32_t *pflags) in has_l2() argument
87 if (!get_link_info(ss, ifindex, &link)) in has_l2()
[all …]
/freebsd/tests/sys/netinet/
H A Dfibs_multibind_test.c162 struct sockaddr_storage ss; in multibind_different_user() local
181 memset(&ss, 0, sizeof(ss)); in multibind_different_user()
182 ss.ss_family = domain; in multibind_different_user()
183 ss.ss_len = sslen; in multibind_different_user()
184 error = bind(s[0], (struct sockaddr *)&ss, sslen); in multibind_different_user()
187 error = getsockname(s[0], (struct sockaddr *)&ss, &sslen); in multibind_different_user()
196 error = bind(s[1], (struct sockaddr *)&ss, sslen); in multibind_different_user()
208 error = bind(s[1], (struct sockaddr *)&ss, sslen); in multibind_different_user()
221 struct sockaddr_storage ss; in per_fib_listening_socket() local
238 memset(&ss, 0, sizeof(ss)); in per_fib_listening_socket()
[all …]
/freebsd/crypto/openssl/ssl/
H A Dssl_sess.c30 __owur static ossl_inline int sess_timedout(OSSL_TIME t, SSL_SESSION *ss) in DEFINE_STACK_OF()
32 return ossl_time_compare(t, ss->calc_timeout) > 0; in DEFINE_STACK_OF()
48 void ssl_session_calculate_timeout(SSL_SESSION *ss) in ssl_session_calculate_timeout() argument
50 ss->calc_timeout = ossl_time_add(ss->time, ss->timeout); in ssl_session_calculate_timeout()
104 SSL_SESSION *ss; in SSL_SESSION_new() local
109 ss = OPENSSL_zalloc(sizeof(*ss)); in SSL_SESSION_new()
110 if (ss == NULL) in SSL_SESSION_new()
113 ss->ext.max_fragment_len_mode = TLSEXT_max_fragment_length_UNSPECIFIED; in SSL_SESSION_new()
114 ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ in SSL_SESSION_new()
116 ss->timeout = ossl_seconds2time(60 * 5 + 4); in SSL_SESSION_new()
[all …]
/freebsd/usr.sbin/ndp/
H A Dndp_netlink.c49 nl_init_socket(struct snl_state *ss) in nl_init_socket() argument
51 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
58 if (snl_init(ss, NETLINK_ROUTE)) in nl_init_socket()
66 get_link_info(struct snl_state *ss, uint32_t ifindex, in get_link_info() argument
71 snl_init_writer(ss, &nw); in get_link_info()
77 if (! (hdr = snl_finalize_msg(&nw)) || !snl_send_message(ss, hdr)) in get_link_info()
80 hdr = snl_read_reply(ss, hdr->nlmsg_seq); in get_link_info()
85 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser_simple, link)) in get_link_info()
94 has_l2(struct snl_state *ss, uint32_t ifindex) in has_l2() argument
98 if (!get_link_info(ss, ifindex, &link)) in has_l2()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DDispatchStatistics.cpp65 raw_string_ostream SS(Buffer); in printDispatchStalls() local
66 SS << "\n\nDynamic Dispatch Stall Cycles:\n"; in printDispatchStalls()
67 SS << "RAT - Register unavailable: "; in printDispatchStalls()
68 printStalls(SS, HWStalls[HWStallEvent::RegisterFileStall], NumCycles); in printDispatchStalls()
69 SS << "\nRCU - Retire tokens unavailable: "; in printDispatchStalls()
70 printStalls(SS, HWStalls[HWStallEvent::RetireControlUnitStall], NumCycles); in printDispatchStalls()
71 SS << "\nSCHEDQ - Scheduler full: "; in printDispatchStalls()
72 printStalls(SS, HWStalls[HWStallEvent::SchedulerQueueFull], NumCycles); in printDispatchStalls()
73 SS << "\nLQ - Load queue full: "; in printDispatchStalls()
74 printStalls(SS, HWStalls[HWStallEvent::LoadQueueFull], NumCycles); in printDispatchStalls()
[all …]
/freebsd/share/examples/sunrpc/sort/
H A Dsort_proc.c17 if (ss_res.ss.ss_val != (str *)NULL)
18 free(ss_res.ss.ss_val);
20 qsort(ssp->ss.ss_val, ssp->ss.ss_len, sizeof (char *), comparestrings);
21 ss_res.ss.ss_len = ssp->ss.ss_len;
22 ss_res.ss.ss_val = (str *)malloc(ssp->ss.ss_len * sizeof(str *));
23 bcopy(ssp->ss.ss_val, ss_res.ss.ss_val,
24 ssp->ss.ss_len * sizeof(str *));

12345678910>>...82