Searched refs:fput_needed (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/net/ |
D | socket.c | 552 static struct socket *sockfd_lookup_light(int fd, int *err, int *fput_needed) in sockfd_lookup_light() argument 561 *fput_needed = f.word & FDPUT_FPUT; in sockfd_lookup_light() 1861 int err, fput_needed; in __sys_bind() local 1863 sock = sockfd_lookup_light(fd, &err, &fput_needed); in __sys_bind() 1868 fput_light(sock->file, fput_needed); in __sys_bind() 1900 int err, fput_needed; in __sys_listen() local 1902 sock = sockfd_lookup_light(fd, &err, &fput_needed); in __sys_listen() 1905 fput_light(sock->file, fput_needed); in __sys_listen() 2111 int err, fput_needed; in __sys_getsockname() local 2113 sock = sockfd_lookup_light(fd, &err, &fput_needed); in __sys_getsockname() [all …]
|
/linux-6.12.1/include/linux/ |
D | file.h | 33 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument 35 if (fput_needed) in fput_light()
|