Lines Matching defs:file
16 * file descriptor passing hacked up from
117 #include <linux/file.h>
760 static __poll_t unix_poll(struct file *, struct socket *, poll_table *);
761 static __poll_t unix_dgram_poll(struct file *, struct socket *,
1797 /* Need to duplicate file references for the sake of garbage
1832 * protected by unix_gc_lock, total_refs (file count) is not, hence this
1836 * file descriptor while the garbage collection is in progress.
1841 * Any operations that changes the file count through file descriptors
1852 * done between incrementing the file count and installing the file into
1858 * before the file count was incremented, then the lock/unlock pair will
2977 if (sock->file->f_flags & O_NONBLOCK ||
3066 struct file *f;
3147 static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wait)
3153 sock_poll_wait(file, sock, wait);
3190 static __poll_t unix_dgram_poll(struct file *file, struct socket *sock,
3198 sock_poll_wait(file, sock, wait);