Home
last modified time | relevance | path

Searched refs:andValue (Results 1 – 12 of 12) sorted by relevance

/haiku/src/system/libroot/os/
H A Datomic.c43 atomic_and(int32 *value, int32 andValue) in atomic_and() argument
45 return _kern_atomic_and(value, andValue); in atomic_and()
89 atomic_and64(int64 *value, int64 andValue) in atomic_and64() argument
91 return _kern_atomic_and64(value, andValue); in atomic_and64()
/haiku/src/tools/fs_shell/
H A Datomic.cpp42 fssh_atomic_and(int32_t *value, int32_t andValue) in fssh_atomic_and() argument
44 return atomic_and((int32*)value, andValue); in fssh_atomic_and()
91 fssh_atomic_and64(int64_t *value, int64_t andValue) in fssh_atomic_and64() argument
93 return atomic_and64((int64*)value, andValue); in fssh_atomic_and64()
/haiku/src/build/libroot/
H A Datomic.cpp49 atomic_and(int32 *value, int32 andValue) in atomic_and() argument
52 *value &= andValue; in atomic_and()
106 atomic_and64(int64 *value, int64 andValue) in atomic_and64() argument
109 *value &= andValue; in atomic_and64()
/haiku/src/system/kernel/arch/arm/
H A Darch_atomic32.cpp65 atomic_and(int32 *value, int32 andValue) in atomic_and() argument
70 *value &= andValue; in atomic_and()
154 _user_atomic_and(int32 *value, int32 andValue) in _user_atomic_and() argument
158 int32 oldValue = atomic_and(value, andValue); in _user_atomic_and()
H A Darch_atomic64.cpp77 atomic_and64(int64 *value, int64 andValue) in atomic_and64() argument
82 *value &= andValue; in atomic_and64()
171 _user_atomic_and64(int64 *value, int64 andValue) in _user_atomic_and64() argument
175 int64 oldValue = atomic_and64(value, andValue); in _user_atomic_and64()
/haiku/headers/os/support/
H A DSupportDefs.h291 atomic_and(int32* value, int32 andValue) in atomic_and() argument
293 return __atomic_fetch_and(value, andValue, __ATOMIC_SEQ_CST); in atomic_and()
342 atomic_and64(int64* value, int64 andValue) in atomic_and64() argument
344 return __atomic_fetch_and(value, andValue, __ATOMIC_SEQ_CST); in atomic_and64()
373 extern int32 atomic_and(int32 *value, int32 andValue);
381 extern int64 atomic_and64(int64 *value, int64 andValue);
/haiku/headers/private/kernel/
H A Duser_atomic.h20 int32 _user_atomic_and(int32 *value, int32 andValue);
28 int64 _user_atomic_and64(int64 *value, int64 andValue);
/haiku/headers/private/fs_shell/
H A Dfssh_atomic.h23 int32_t fssh_atomic_and(int32_t *value, int32_t andValue);
32 int64_t fssh_atomic_and64(int64_t *value, int64_t andValue);
/haiku/src/system/kernel/arch/m68k/
H A Darch_atomic.cpp71 atomic_and64(vint64 *value, int64 andValue)
78 *value &= andValue;
182 _user_atomic_and64(vint64 *value, int64 andValue)
193 *value &= andValue;
/haiku/docs/user/support/
H A DSupportDefs.dox1031 /*! \fn int32 atomic_and(int32* value, int32 andValue)
1032 \brief Atomically perform a bitwise AND operation of \a andValue to the
1033 variable \a andValue.
1035 This is a thread-safe way of performing the \c *value \c &= \c andValue
1057 variable \a andValue.
1195 \fn int64 atomic_and64(int64* value, int64 andValue)
1196 \brief Atomically perform a bitwise AND operation of \a andValue to the
1197 variable \a andValue.
1199 This is a thread-safe way of performing the \c *value \c &= \c andValue
1221 variable \a andValue.
/haiku/src/system/kernel/locks/
H A Duser_mutex.cpp99 user_atomic_and(int32* value, int32 andValue, bool isWired) in user_atomic_and() argument
104 result = atomic_and(value, andValue); in user_atomic_and()
110 result = atomic_and(value, andValue); in user_atomic_and()
/haiku/headers/private/system/
H A Dsyscalls.h528 extern int32 _kern_atomic_and(int32 *value, int32 andValue);
539 extern int64 _kern_atomic_and64(int64 *value, int64 andValue);