Lines Matching refs:used
72 #define fifo_used_bytes(used) (used) argument
73 #define fifo_free_bytes(used, len) ((len)-(used)) argument
75 #define fifo_free_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
76 ? (len)-((cur)+(used)) : 0)
77 #define fifo_free_last_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
78 ? (cur) : (len)-(used))
80 #define fifo_used_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
81 ? (used) : (len)-(cur))
82 #define fifo_used_last_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
83 ? 0 : ((used)+(cur))-(len))
85 #define fifo_free_first_offset(cur, used) ((cur)+(used)) argument
86 #define fifo_free_last_offset(cur, used, len) \ argument
87 fifo_used_last_bytes(cur, used, len)