diff options
Diffstat (limited to 'include/linux/pipe_fs_i.h')
-rw-r--r-- | include/linux/pipe_fs_i.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index 660e9d866e5d..123a7c24bc72 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h | |||
@@ -43,16 +43,6 @@ struct pipe_inode_info { | |||
43 | memory allocation, whereas PIPE_BUF makes atomicity guarantees. */ | 43 | memory allocation, whereas PIPE_BUF makes atomicity guarantees. */ |
44 | #define PIPE_SIZE PAGE_SIZE | 44 | #define PIPE_SIZE PAGE_SIZE |
45 | 45 | ||
46 | #define PIPE_MUTEX(inode) (&(inode).i_mutex) | ||
47 | #define PIPE_WAIT(inode) (&(inode).i_pipe->wait) | ||
48 | #define PIPE_READERS(inode) ((inode).i_pipe->readers) | ||
49 | #define PIPE_WRITERS(inode) ((inode).i_pipe->writers) | ||
50 | #define PIPE_WAITING_WRITERS(inode) ((inode).i_pipe->waiting_writers) | ||
51 | #define PIPE_RCOUNTER(inode) ((inode).i_pipe->r_counter) | ||
52 | #define PIPE_WCOUNTER(inode) ((inode).i_pipe->w_counter) | ||
53 | #define PIPE_FASYNC_READERS(inode) (&((inode).i_pipe->fasync_readers)) | ||
54 | #define PIPE_FASYNC_WRITERS(inode) (&((inode).i_pipe->fasync_writers)) | ||
55 | |||
56 | /* Drop the inode semaphore and wait for a pipe event, atomically */ | 46 | /* Drop the inode semaphore and wait for a pipe event, atomically */ |
57 | void pipe_wait(struct pipe_inode_info *pipe); | 47 | void pipe_wait(struct pipe_inode_info *pipe); |
58 | 48 | ||