Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/pipes/
Dpipe_common.h78 #define PIPE_FLAG_POLICY (1 << 0) /* Bit 0: Policy=Free buffer when empty */ macro
81 #define PIPE_POLICY_0(f) do { (f) &= ~PIPE_FLAG_POLICY; } while (0)
82 #define PIPE_POLICY_1(f) do { (f) |= PIPE_FLAG_POLICY; } while (0)
83 #define PIPE_IS_POLICY_0(f) (((f) & PIPE_FLAG_POLICY) == 0)
84 #define PIPE_IS_POLICY_1(f) (((f) & PIPE_FLAG_POLICY) != 0)