Searched refs:PIPE_SIZE (Results 1 – 2 of 2) sorted by relevance
20 #define PIPE_SIZE PAGE_SIZE macro35 #define PIPE_FULL(inode) (PIPE_LEN(inode) == PIPE_SIZE)36 #define PIPE_FREE(inode) (PIPE_SIZE - PIPE_LEN(inode))37 #define PIPE_END(inode) ((PIPE_START(inode) + PIPE_LEN(inode)) & (PIPE_SIZE-1))38 #define PIPE_MAX_RCHUNK(inode) (PIPE_SIZE - PIPE_START(inode))39 #define PIPE_MAX_WCHUNK(inode) (PIPE_SIZE - PIPE_END(inode))
102 PIPE_START(*inode) &= (PIPE_SIZE - 1); in pipe_read()