Home
last modified time | relevance | path

Searched refs:fput_needed (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/
Dsocket.c546 static struct socket *sockfd_lookup_light(int fd, int *err, int *fput_needed) in sockfd_lookup_light() argument
555 *fput_needed = f.flags & FDPUT_FPUT; in sockfd_lookup_light()
1766 int err, fput_needed; in __sys_bind() local
1768 sock = sockfd_lookup_light(fd, &err, &fput_needed); in __sys_bind()
1780 fput_light(sock->file, fput_needed); in __sys_bind()
1799 int err, fput_needed; in __sys_listen() local
1802 sock = sockfd_lookup_light(fd, &err, &fput_needed); in __sys_listen()
1812 fput_light(sock->file, fput_needed); in __sys_listen()
2016 int err, fput_needed; in __sys_getsockname() local
2018 sock = sockfd_lookup_light(fd, &err, &fput_needed); in __sys_getsockname()
[all …]
/linux-6.1.9/include/linux/
Dfile.h29 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument
31 if (fput_needed) in fput_light()
/linux-6.1.9/Documentation/filesystems/
Dfiles.rst90 *fput_needed = 1;