Home
last modified time | relevance | path

Searched refs:mo (Results 1 – 25 of 80) sorted by relevance

1234

/src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_atomic.cpp36 static bool IsLoadOrder(morder mo) { in IsLoadOrder() argument
37 return mo == mo_relaxed || mo == mo_consume in IsLoadOrder()
38 || mo == mo_acquire || mo == mo_seq_cst; in IsLoadOrder()
41 static bool IsStoreOrder(morder mo) { in IsStoreOrder() argument
42 return mo == mo_relaxed || mo == mo_release || mo == mo_seq_cst; in IsStoreOrder()
46 static bool IsReleaseOrder(morder mo) { in IsReleaseOrder() argument
47 return mo == mo_release || mo == mo_acq_rel || mo == mo_seq_cst; in IsReleaseOrder()
50 static bool IsAcquireOrder(morder mo) { in IsAcquireOrder() argument
51 return mo == mo_consume || mo == mo_acquire in IsAcquireOrder()
52 || mo == mo_acq_rel || mo == mo_seq_cst; in IsAcquireOrder()
[all …]
H A Dtsan_interface.h234 a8 __tsan_atomic8_load(const volatile a8 *a, morder mo);
236 a16 __tsan_atomic16_load(const volatile a16 *a, morder mo);
238 a32 __tsan_atomic32_load(const volatile a32 *a, morder mo);
240 a64 __tsan_atomic64_load(const volatile a64 *a, morder mo);
243 a128 __tsan_atomic128_load(const volatile a128 *a, morder mo);
247 void __tsan_atomic8_store(volatile a8 *a, a8 v, morder mo);
249 void __tsan_atomic16_store(volatile a16 *a, a16 v, morder mo);
251 void __tsan_atomic32_store(volatile a32 *a, a32 v, morder mo);
253 void __tsan_atomic64_store(volatile a64 *a, a64 v, morder mo);
256 void __tsan_atomic128_store(volatile a128 *a, a128 v, morder mo);
[all …]
H A Dtsan_interceptors_mac.cpp52 #define OSATOMIC_INTERCEPTOR(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument
55 return tsan_atomic_f((volatile tsan_t *)ptr, x, mo); \
58 #define OSATOMIC_INTERCEPTOR_PLUS_X(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument
61 return tsan_atomic_f((volatile tsan_t *)ptr, x, mo) + x; \
64 #define OSATOMIC_INTERCEPTOR_PLUS_1(return_t, t, tsan_t, f, tsan_atomic_f, mo) \ argument
67 return tsan_atomic_f((volatile tsan_t *)ptr, 1, mo) + 1; \
71 mo) \ argument
74 return tsan_atomic_f((volatile tsan_t *)ptr, 1, mo) - 1; \
136 #define OSATOMIC_INTERCEPTOR_BITOP(f, op, clear, mo) \ argument
142 char orig_byte = op((volatile a8 *)byte_ptr, mask, mo); \
/src/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dtsan_interface_atomic.h46 __tsan_atomic8_load(const volatile __tsan_atomic8 *a, __tsan_memory_order mo);
48 __tsan_atomic16_load(const volatile __tsan_atomic16 *a, __tsan_memory_order mo);
50 __tsan_atomic32_load(const volatile __tsan_atomic32 *a, __tsan_memory_order mo);
52 __tsan_atomic64_load(const volatile __tsan_atomic64 *a, __tsan_memory_order mo);
55 const volatile __tsan_atomic128 *a, __tsan_memory_order mo);
60 __tsan_memory_order mo);
63 __tsan_memory_order mo);
66 __tsan_memory_order mo);
69 __tsan_memory_order mo);
73 __tsan_memory_order mo);
[all …]
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_clang.h26 inline void atomic_signal_fence(memory_order mo) { __atomic_signal_fence(mo); } in atomic_signal_fence() argument
28 inline void atomic_thread_fence(memory_order mo) { __atomic_thread_fence(mo); } in atomic_thread_fence() argument
39 inline typename T::Type atomic_load(const volatile T *a, memory_order mo) { in atomic_load() argument
40 DCHECK(mo == memory_order_relaxed || mo == memory_order_consume || in atomic_load()
41 mo == memory_order_acquire || mo == memory_order_seq_cst); in atomic_load()
43 return __atomic_load_n(&a->val_dont_use, mo); in atomic_load()
47 inline void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() argument
48 DCHECK(mo == memory_order_relaxed || mo == memory_order_release || in atomic_store()
49 mo == memory_order_seq_cst); in atomic_store()
51 __atomic_store_n(&a->val_dont_use, v, mo); in atomic_store()
[all …]
H A Dsanitizer_atomic_msvc.h72 const volatile T *a, memory_order mo) { in atomic_load() argument
73 DCHECK(mo == memory_order_relaxed || mo == memory_order_consume || in atomic_load()
74 mo == memory_order_acquire || mo == memory_order_seq_cst); in atomic_load()
78 if (mo == memory_order_relaxed) { in atomic_load()
89 inline void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() argument
90 DCHECK(mo == memory_order_relaxed || mo == memory_order_release || in atomic_store()
91 mo == memory_order_seq_cst); in atomic_store()
94 if (mo == memory_order_relaxed) { in atomic_store()
101 if (mo == memory_order_seq_cst) in atomic_store()
106 u32 v, memory_order mo) { in atomic_fetch_add() argument
[all …]
/src/contrib/jemalloc/include/jemalloc/internal/
H A Datomic_gcc_atomic.h17 atomic_enum_to_builtin(atomic_memory_order_t mo) { in atomic_enum_to_builtin() argument
18 switch (mo) { in atomic_enum_to_builtin()
35 atomic_fence(atomic_memory_order_t mo) { in atomic_fence() argument
36 __atomic_thread_fence(atomic_enum_to_builtin(mo)); in atomic_fence()
47 atomic_memory_order_t mo) { \
49 __atomic_load(&a->repr, &result, atomic_enum_to_builtin(mo)); \
55 atomic_memory_order_t mo) { \
56 __atomic_store(&a->repr, &val, atomic_enum_to_builtin(mo)); \
61 atomic_memory_order_t mo) { \
64 atomic_enum_to_builtin(mo)); \
[all …]
H A Datomic_c11.h23 atomic_memory_order_t mo) { \
31 return atomic_load_explicit(a_nonconst, mo); \
36 type val, atomic_memory_order_t mo) { \
37 atomic_store_explicit(a, val, mo); \
42 atomic_memory_order_t mo) { \
43 return atomic_exchange_explicit(a, val, mo); \
72 type val, atomic_memory_order_t mo) { \
73 return atomic_fetch_add_explicit(a, val, mo); \
78 type val, atomic_memory_order_t mo) { \
79 return atomic_fetch_sub_explicit(a, val, mo); \
[all …]
H A Datomic_gcc_sync.h15 atomic_fence(atomic_memory_order_t mo) { in atomic_fence() argument
17 if (mo == atomic_memory_order_relaxed) { in atomic_fence()
21 if (mo == atomic_memory_order_seq_cst) { in atomic_fence()
35 if (mo == atomic_memory_order_acquire) { in atomic_fence()
37 } else if (mo == atomic_memory_order_release) { in atomic_fence()
94 atomic_memory_order_t mo) { \
95 if (mo == atomic_memory_order_seq_cst) { \
99 if (mo != atomic_memory_order_relaxed) { \
107 type val, atomic_memory_order_t mo) { \
108 if (mo != atomic_memory_order_relaxed) { \
[all …]
H A Datomic_msvc.h20 atomic_fence(atomic_memory_order_t mo) { in atomic_fence() argument
24 if (mo != atomic_memory_order_relaxed) { in atomic_fence()
29 if (mo == atomic_memory_order_seq_cst) { in atomic_fence()
61 atomic_memory_order_t mo) { \
63 if (mo != atomic_memory_order_relaxed) { \
71 type val, atomic_memory_order_t mo) { \
72 if (mo != atomic_memory_order_relaxed) { \
76 if (mo == atomic_memory_order_seq_cst) { \
83 atomic_memory_order_t mo) { \
122 type val, atomic_memory_order_t mo) { \
[all …]
/src/sbin/mount_fusefs/
H A Dmount_fusefs.c130 struct mntopt *mo; in main() local
202 for (mo = mopts; mo->m_flag; ++mo) { in main()
205 if (mo->m_flag != mv->mv_flag) in main()
207 p = strstr(optarg, mo->m_option); in main()
209 p += strlen(mo->m_option); in main()
282 for (mo = mopts; mo->m_flag; ++mo) { in main()
283 if (altflags & mo->m_flag) { in main()
287 strcmp(mo->m_option, "allow_other") == 0) in main()
296 if (mo->m_flag != mv->mv_flag) in main()
299 build_iovec(&iov, &iovlen, mo->m_option, mv->mv_value, mv->mv_len); in main()
[all …]
/src/usr.sbin/ppp/
H A Ddeflate.c75 struct mbuf *mo_head, *mo, *mi_head, *mi; in DeflateOutput() local
95 mo_head = mo = m_get(DEFLATE_CHUNK_LEN, MB_CCPOUT); in DeflateOutput()
96 mo->m_len = 2; in DeflateOutput()
97 wp = MBUF_CTOP(mo); in DeflateOutput()
135 mo->m_next = m_get(DEFLATE_CHUNK_LEN, MB_CCPOUT); in DeflateOutput()
136 olen += (mo->m_len = DEFLATE_CHUNK_LEN); in DeflateOutput()
137 mo = mo->m_next; in DeflateOutput()
138 mo->m_len = 0; in DeflateOutput()
139 state->cx.next_out = MBUF_CTOP(mo); in DeflateOutput()
144 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out); in DeflateOutput()
[all …]
/src/crypto/krb5/src/po/
H A DMakefile.in20 CATALOGS=en_US.mo de.mo ka.mo
22 .SUFFIXES: .po .mo
23 .po.mo:
44 lang=`basename $$c .mo`; \
48 $(DESTDIR)$(KRB5_LOCALEDIR)/$$lang/LC_MESSAGES/$(DOMAIN).mo; \
/src/usr.bin/vi/catalog/
H A Dpolish.UTF-8.base2 003 "nie można usunąć linii %lu"
3 004 "nie można dodać do linii %lu"
4 005 "nie można wstawić w linii %lu"
5 006 "nie można zachować linii %lu"
6 007 "nie można pobrać ostatniej linii"
7 008 "Błąd: nie można pobrać linii %lu"
12 013 "Brak logowania, nie można przeglądać do przodu"
30 031 "Nie można ustawić domyślnej opcji %s"
57 063 "Nie można zablokować kopii zapasowej"
63 069 "Istnieją starsze wersje tego pliku, które można odzyskać"
[all …]
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp262 MachineOperand &mo = mi->getOperand(i); in visitHardInstr() local
263 if (!mo.isReg()) in visitHardInstr()
265 for (int rx : regIndices(mo.getReg())) { in visitHardInstr()
272 MachineOperand &mo = mi->getOperand(i); in visitHardInstr() local
273 if (!mo.isReg()) in visitHardInstr()
275 for (int rx : regIndices(mo.getReg())) { in visitHardInstr()
293 MachineOperand &mo = mi->getOperand(i); in visitSoftInstr() local
294 if (!mo.isReg()) in visitSoftInstr()
296 for (int rx : regIndices(mo.getReg())) { in visitSoftInstr()
383 for (const MachineOperand &mo : mi->operands()) { in visitSoftInstr() local
[all …]
/src/sys/amd64/amd64/
H A Dmem.c199 struct mem_range_op *mo = (struct mem_range_op *)data; in memioctl_md() local
217 nd = imin(mo->mo_arg[0], mem_range_softc.mr_ndesc); in memioctl_md()
224 error = copyout(md, mo->mo_desc, in memioctl_md()
230 mo->mo_arg[0] = nd; in memioctl_md()
236 error = copyin(mo->mo_desc, md, sizeof(struct mem_range_desc)); in memioctl_md()
240 error = mem_range_attr_set(md, &mo->mo_arg[0]); in memioctl_md()
/src/sys/i386/i386/
H A Dmem.c181 struct mem_range_op *mo = (struct mem_range_op *)data; in memioctl_md() local
199 nd = imin(mo->mo_arg[0], mem_range_softc.mr_ndesc); in memioctl_md()
206 error = copyout(md, mo->mo_desc, in memioctl_md()
212 mo->mo_arg[0] = nd; in memioctl_md()
218 error = copyin(mo->mo_desc, md, sizeof(struct mem_range_desc)); in memioctl_md()
222 error = mem_range_attr_set(md, &mo->mo_arg[0]); in memioctl_md()
/src/sys/sys/
H A Dpmckern.h122 #define PMC_SOFT_CALL(pr, mo, fu, na) \ argument
124 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \
129 ks.pm_ev = pmc_##pr##_##mo##_##fu##_##na.ps_ev.pm_ev_code; \
138 #define PMC_SOFT_CALL(pr, mo, fu, na) \ argument
147 #define PMC_SOFT_CALL_TF(pr, mo, fu, na, tf) \ argument
149 if (__predict_false(pmc_##pr##_##mo##_##fu##_##na.ps_running)) { \
153 ks.pm_ev = pmc_##pr##_##mo##_##fu##_##na.ps_ev.pm_ev_code; \
/src/tools/test/stress2/misc/
H A Dvm_reserv_populate.sh114 const volatile T *a, memory_order mo) {
115 assert(mo & (memory_order_relaxed | memory_order_consume
122 if (mo == memory_order_relaxed) {
124 } else if (mo == memory_order_consume) {
/src/sys/dev/cxgb/common/
H A Dcxgb_vsc7323.c54 const struct mdio_ops *mo = adapter_info(adap)->mdio_ops; in t3_elmr_blk_write() local
57 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_ADDR, start); in t3_elmr_blk_write()
59 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_LO, in t3_elmr_blk_write()
62 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_HI, in t3_elmr_blk_write()
78 const struct mdio_ops *mo = adapter_info(adap)->mdio_ops; in t3_elmr_blk_read() local
82 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_ADDR, start); in t3_elmr_blk_read()
87 ret = mo->read(adap, ELMR_MDIO_ADDR, 0, ELMR_STAT, &v); in t3_elmr_blk_read()
100 ret = mo->read(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_LO, vals); in t3_elmr_blk_read()
102 ret = mo->read(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_HI, in t3_elmr_blk_read()
/src/sys/powerpc/powerpc/
H A Dmem.c283 struct mem_range_op *mo = (struct mem_range_op *)data; in memioctl_md() local
301 nd = imin(mo->mo_arg[0], mem_range_softc.mr_ndesc); in memioctl_md()
308 error = copyout(md, mo->mo_desc, in memioctl_md()
314 mo->mo_arg[0] = nd; in memioctl_md()
320 error = copyin(mo->mo_desc, md, sizeof(struct mem_range_desc)); in memioctl_md()
324 error = mem_range_attr_set(md, &mo->mo_arg[0]); in memioctl_md()
/src/crypto/openssl/test/recipes/
H A D80-test_ca.t284 … my ($mo, $d, $h, $m, $s, $y) = $human =~ /^([A-Za-z]{3})\s+(\d+) (\d{2}):(\d{2}):(\d{2}) (\d{4})/;
291 return timegm($s, $m, $h, $d, $months{$mo}, $y);
298 my ($y, $mo, $d, $h, $m, $s) = $asn1 =~ /^(\d{2,4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})Z$/;
300 return timegm($s, $m, $h, $d, $mo - 1, $y);
/src/crypto/heimdal/lib/gssapi/mech/
H A Dgss_mo.c42 get_option_def(int def, gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) in get_option_def() argument
48 _gss_mo_get_option_1(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) in _gss_mo_get_option_1() argument
50 return get_option_def(1, mech, mo, value); in _gss_mo_get_option_1()
54 _gss_mo_get_option_0(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) in _gss_mo_get_option_0() argument
56 return get_option_def(0, mech, mo, value); in _gss_mo_get_option_0()
60 _gss_mo_get_ctx_as_string(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value) in _gss_mo_get_ctx_as_string() argument
63 value->value = strdup((char *)mo->ctx); in _gss_mo_get_ctx_as_string()
66 value->length = strlen((char *)mo->ctx); in _gss_mo_get_ctx_as_string()
/src/sys/kgssapi/krb5/
H A Dkrb5_mech.c836 krb5_insert_seq(struct krb5_msg_order *mo, uint32_t seq, int index) in krb5_insert_seq() argument
840 if (mo->km_length < mo->km_jitter_window) in krb5_insert_seq()
841 mo->km_length++; in krb5_insert_seq()
843 for (i = mo->km_length - 1; i > index; i--) in krb5_insert_seq()
844 mo->km_elem[i] = mo->km_elem[i - 1]; in krb5_insert_seq()
845 mo->km_elem[index] = seq; in krb5_insert_seq()
855 struct krb5_msg_order *mo = &kc->kc_msg_order; in krb5_sequence_check() local
856 int check_sequence = mo->km_flags & GSS_C_SEQUENCE_FLAG; in krb5_sequence_check()
857 int check_replay = mo->km_flags & GSS_C_REPLAY_FLAG; in krb5_sequence_check()
865 if (mo->km_length == 0 || seq == mo->km_elem[0] + 1) { in krb5_sequence_check()
[all …]
/src/contrib/libxo/tests/gettext/
H A DMakefile.am82 test tests: ${bin_PROGRAMS} build-mo-files
211 mo build-mo-files: target
216 (${DB} ${MSGFMT} -o po/$$lang/LC_MESSAGES/$$base.mo \
219 (${DB} ${MSGFMT} -o po/$$lang/LC_MESSAGES/$$base.mo \

1234