Lines Matching defs:space
51 * wait_for_space - check ring buffer free space
52 * @space: amount of ringbuffer space needed in bytes
56 * The function waits until a free space from the ringbuffer
59 static inline int wait_for_space(struct fb_info *info, u32 space)
70 (par->iring.size - tail + head) >= space) ||
71 (tail < head && (head - tail) >= space)) {
111 * @space: length of sequence in dwords
115 * Checks/waits for sufficient space in ringbuffer of size
116 * space. Returns the tail of the buffer
118 static inline u32 begin_iring(struct fb_info *info, u32 space)
124 return wait_for_space(info, space);