Home
last modified time | relevance | path

Searched refs:barriers (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Dbarrier.c134 b->barriers = 0; in barrier_destroy()
190 b->barriers = BARRIER_WE_ABORTED; in barrier_write()
192 b->barriers = BARRIER_I_ABORTED; in barrier_write()
194 b->barriers += buf; in barrier_write()
205 b->barriers = BARRIER_WE_ABORTED; in barrier_write()
214 while (b->barriers > comp) { in barrier_read()
252 b->barriers = BARRIER_WE_ABORTED; in barrier_read()
254 b->barriers = BARRIER_THEY_ABORTED; in barrier_read()
256 b->barriers -= buf; in barrier_read()
268 b->barriers = BARRIER_WE_ABORTED; in barrier_read()
[all …]
Dbarrier.h34 int64_t barriers; member
55 return IN_SET(b->barriers, BARRIER_I_ABORTED, BARRIER_WE_ABORTED); in barrier_i_aborted()
59 return IN_SET(b->barriers, BARRIER_THEY_ABORTED, BARRIER_WE_ABORTED); in barrier_they_aborted()
63 return b->barriers == BARRIER_WE_ABORTED; in barrier_we_aborted()
67 return IN_SET(b->barriers, in barrier_is_aborted()