• Home
  • Raw
  • Download

Lines Matching defs:Process

61 template <bool Invert> struct Process {  struct
64 LIBC_INLINE Process &operator=(const Process &) = delete; argument
66 LIBC_INLINE Process &operator=(Process &&) = default; argument
78 LIBC_INLINE Process(uint32_t port_count, void *buffer) in Process() argument
97 LIBC_INLINE static constexpr uint64_t allocation_size(uint32_t port_count, in allocation_size()
103 LIBC_INLINE uint32_t load_inbox(uint64_t lane_mask, uint32_t index) const { in load_inbox()
110 LIBC_INLINE uint32_t load_outbox(uint64_t lane_mask, uint32_t index) const { in load_outbox()
120 LIBC_INLINE uint32_t invert_outbox(uint32_t index, uint32_t current_outbox) { in invert_outbox()
130 LIBC_INLINE void wait_for_ownership(uint64_t lane_mask, uint32_t index, in wait_for_ownership()
142 LIBC_INLINE Buffer *get_packet(uint32_t index, uint32_t lane_size) { in get_packet()
149 LIBC_INLINE static bool buffer_unavailable(uint32_t in, uint32_t out) { in buffer_unavailable()
158 [[clang::convergent]] LIBC_INLINE bool try_lock(uint64_t lane_mask, in try_lock()
199 [[clang::convergent]] LIBC_INLINE void unlock(uint64_t lane_mask, in unlock()
213 LIBC_INLINE static constexpr uint64_t mailbox_bytes(uint32_t port_count) { in mailbox_bytes()
218 LIBC_INLINE static constexpr uint64_t buffer_bytes(uint32_t port_count, in buffer_bytes()
224 LIBC_INLINE static constexpr uint64_t inbox_offset(uint32_t port_count) { in inbox_offset()
229 LIBC_INLINE static constexpr uint64_t outbox_offset(uint32_t port_count) { in outbox_offset()
234 LIBC_INLINE static constexpr uint64_t header_offset(uint32_t port_count) { in header_offset()
239 LIBC_INLINE static constexpr uint64_t buffer_offset(uint32_t port_count) { in buffer_offset()
245 LIBC_INLINE static constexpr uint32_t set_nth(cpp::Atomic<uint32_t> *bits, in set_nth()
256 LIBC_INLINE static constexpr uint32_t clear_nth(cpp::Atomic<uint32_t> *bits, in clear_nth()