Lines Matching refs:file
16 * file descriptor passing hacked up from
115 #include <linux/file.h>
670 static __poll_t unix_poll(struct file *, struct socket *, poll_table *);
671 static __poll_t unix_dgram_poll(struct file *, struct socket *,
1554 * protected by unix_gc_lock, total_refs (file count) is not, hence this
1558 * file descriptor while the garbage collection is in progress.
1563 * Any operations that changes the file count through file descriptors
1574 * done between incrementing the file count and installing the file into
1580 * before the file count was incremented, then the lock/unlock pair will
2559 if (sock->file->f_flags & O_NONBLOCK ||
2645 struct file *f;
2713 static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wait)
2719 sock_poll_wait(file, sock, wait);
2750 static __poll_t unix_dgram_poll(struct file *file, struct socket *sock,
2758 sock_poll_wait(file, sock, wait);