Home
last modified time | relevance | path

Searched refs:nofile (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/io_uring/
H A Dopenclose.c25 unsigned long nofile; member
73 open->nofile = rlimit(RLIMIT_NOFILE); in __io_openat_prep()
130 ret = __get_unused_fd_flags(open->how.flags, open->nofile); in io_openat2()
H A Dnet.c32 unsigned long nofile; member
42 unsigned long nofile; member
1358 accept->nofile = rlimit(RLIMIT_NOFILE); in io_accept_prep()
1393 fd = __get_unused_fd_flags(accept->flags, accept->nofile); in io_accept()
1450 sock->nofile = rlimit(RLIMIT_NOFILE); in io_socket_prep()
1468 fd = __get_unused_fd_flags(sock->flags, sock->nofile); in io_socket()
/kernel/linux/linux-5.10/include/linux/
H A Dfile.h89 extern int __get_unused_fd_flags(unsigned flags, unsigned long nofile);
H A Dsocket.h427 unsigned long nofile);
/kernel/linux/linux-6.6/include/linux/
H A Dfile.h90 extern int __get_unused_fd_flags(unsigned flags, unsigned long nofile);
/kernel/linux/linux-6.6/fs/
H A Dfile.c557 int __get_unused_fd_flags(unsigned flags, unsigned long nofile) in __get_unused_fd_flags() argument
559 return alloc_fd(0, nofile, flags); in __get_unused_fd_flags()
1303 unsigned long nofile = rlimit(RLIMIT_NOFILE); in f_dupfd() local
1305 if (from >= nofile) in f_dupfd()
1307 err = alloc_fd(from, nofile, flags); in f_dupfd()
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/
H A Dfw_filesystem.sh276 echo -n "Batched request_firmware() nofile try #$1: "
287 echo -n "Batched request_firmware_into_buf() nofile try #$1: "
299 echo -n "Test request_partial_firmware_into_buf() off=$1 size=$2 nofile: "
314 echo -n "Batched request_firmware_direct() nofile try #$1: "
325 echo -n "Batched request_firmware_nowait(uevent=true) nofile try #$1: "
354 echo -n "Batched request_firmware_nowait(uevent=false) nofile try #$1: "
484 do_tests nofile _nofile
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
H A Dsocket.h423 unsigned long nofile);
/kernel/linux/linux-5.10/fs/
H A Dfile.c587 int __get_unused_fd_flags(unsigned flags, unsigned long nofile) in __get_unused_fd_flags() argument
589 return __alloc_fd(current->files, 0, nofile, flags); in __get_unused_fd_flags()
/kernel/linux/linux-5.10/io_uring/
H A Dio_uring.c522 unsigned long nofile; member
593 unsigned long nofile; member
4191 req->open.nofile = rlimit(RLIMIT_NOFILE); in __io_openat_prep()
4251 ret = __get_unused_fd_flags(req->open.how.flags, req->open.nofile); in io_openat2()
5203 accept->nofile = rlimit(RLIMIT_NOFILE); in io_accept_prep()
5225 fd = __get_unused_fd_flags(accept->flags, accept->nofile); in io_accept()
/kernel/linux/linux-5.10/net/
H A Dsocket.c1772 unsigned long nofile) in __sys_accept4_file()
1783 newfd = __get_unused_fd_flags(flags, nofile); in __sys_accept4_file()
1769 __sys_accept4_file(struct file *file, unsigned file_flags, struct sockaddr __user *upeer_sockaddr, int __user *upeer_addrlen, int flags, unsigned long nofile) __sys_accept4_file() argument

Completed in 42 milliseconds