Lines Matching defs:Process
80 template <bool Invert> struct Process { struct
83 RPC_INLINE Process &operator=(const Process &) = delete; argument
85 RPC_INLINE Process &operator=(Process &&) = default; argument
97 RPC_INLINE Process(uint32_t port_count, void *buffer) in Process() argument
116 RPC_INLINE static constexpr uint64_t allocation_size(uint32_t port_count, in allocation_size()
122 RPC_INLINE uint32_t load_inbox(uint64_t lane_mask, uint32_t index) const { in load_inbox()
129 RPC_INLINE uint32_t load_outbox(uint64_t lane_mask, uint32_t index) const { in load_outbox()
139 RPC_INLINE uint32_t invert_outbox(uint32_t index, uint32_t current_outbox) { in invert_outbox()
149 RPC_INLINE void wait_for_ownership(uint64_t lane_mask, uint32_t index, in wait_for_ownership()
161 RPC_INLINE Buffer *get_packet(uint32_t index, uint32_t lane_size) { in get_packet()
168 RPC_INLINE static bool buffer_unavailable(uint32_t in, uint32_t out) { in buffer_unavailable()
177 RPC_INLINE bool try_lock(uint64_t lane_mask, uint32_t index) { in try_lock()
217 RPC_INLINE void unlock(uint64_t lane_mask, uint32_t index) { in unlock()
230 RPC_INLINE static constexpr uint64_t mailbox_bytes(uint32_t port_count) { in mailbox_bytes()
235 RPC_INLINE static constexpr uint64_t buffer_bytes(uint32_t port_count, in buffer_bytes()
241 RPC_INLINE static constexpr uint64_t inbox_offset(uint32_t port_count) { in inbox_offset()
246 RPC_INLINE static constexpr uint64_t outbox_offset(uint32_t port_count) { in outbox_offset()
251 RPC_INLINE static constexpr uint64_t header_offset(uint32_t port_count) { in header_offset()
256 RPC_INLINE static constexpr uint64_t buffer_offset(uint32_t port_count) { in buffer_offset()
262 RPC_INLINE static constexpr uint32_t set_nth(uint32_t *bits, uint32_t index, in set_nth()
273 RPC_INLINE static constexpr uint32_t clear_nth(uint32_t *bits, uint32_t index, in clear_nth()