Lines Matching refs:b
40 Barrier* barrier_destroy(Barrier *b);
44 void barrier_set_role(Barrier *b, unsigned role);
46 bool barrier_place(Barrier *b);
47 bool barrier_abort(Barrier *b);
49 bool barrier_wait_next(Barrier *b);
50 bool barrier_wait_abortion(Barrier *b);
51 bool barrier_sync_next(Barrier *b);
52 bool barrier_sync(Barrier *b);
54 static inline bool barrier_i_aborted(Barrier *b) { in barrier_i_aborted() argument
55 return IN_SET(b->barriers, BARRIER_I_ABORTED, BARRIER_WE_ABORTED); in barrier_i_aborted()
58 static inline bool barrier_they_aborted(Barrier *b) { in barrier_they_aborted() argument
59 return IN_SET(b->barriers, BARRIER_THEY_ABORTED, BARRIER_WE_ABORTED); in barrier_they_aborted()
62 static inline bool barrier_we_aborted(Barrier *b) { in barrier_we_aborted() argument
63 return b->barriers == BARRIER_WE_ABORTED; in barrier_we_aborted()
66 static inline bool barrier_is_aborted(Barrier *b) { in barrier_is_aborted() argument
67 return IN_SET(b->barriers, in barrier_is_aborted()
71 static inline bool barrier_place_and_sync(Barrier *b) { in barrier_place_and_sync() argument
72 (void) barrier_place(b); in barrier_place_and_sync()
73 return barrier_sync(b); in barrier_place_and_sync()