.. | .. |
---|
254 | 254 | |
---|
255 | 255 | extern const struct pipe_buf_operations nosteal_pipe_buf_ops; |
---|
256 | 256 | |
---|
257 | | -#ifdef CONFIG_WATCH_QUEUE |
---|
258 | 257 | unsigned long account_pipe_buffers(struct user_struct *user, |
---|
259 | 258 | unsigned long old, unsigned long new); |
---|
260 | 259 | bool too_many_pipe_buffers_soft(unsigned long user_bufs); |
---|
261 | 260 | bool too_many_pipe_buffers_hard(unsigned long user_bufs); |
---|
262 | 261 | bool pipe_is_unprivileged_user(void); |
---|
263 | | -#endif |
---|
264 | 262 | |
---|
265 | 263 | /* for F_SETPIPE_SZ and F_GETPIPE_SZ */ |
---|
266 | | -#ifdef CONFIG_WATCH_QUEUE |
---|
267 | 264 | int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots); |
---|
268 | | -#endif |
---|
269 | 265 | long pipe_fcntl(struct file *, unsigned int, unsigned long arg); |
---|
270 | 266 | struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice); |
---|
271 | 267 | |
---|