Searched refs:get_unused_fd_flags (Results 1 – 25 of 60) sorted by relevance
123
92 extern int get_unused_fd_flags(unsigned flags);96 get_unused_fd_flags(flags), unsigned flags)
389 /// unchanged since the call to `get_unused_fd_flags`. By adding this marker to this type, we398 pub fn get_unused_fd_flags(flags: u32) -> Result<Self> { in get_unused_fd_flags() method 400 let fd: i32 = unsafe { bindings::get_unused_fd_flags(flags) }; in get_unused_fd_flags() 422 // SAFETY: `self.fd` was previously returned by `get_unused_fd_flags`. We have not yet used in fd_install() 444 // `get_unused_fd_flags`. We have not yet used the fd, so it is still valid, and `current` in drop()
216 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in papr_rtas_setup_file_interface()
337 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in papr_platform_dump_create_handle()
620 int get_unused_fd_flags(unsigned flags) in get_unused_fd_flags() function 624 EXPORT_SYMBOL(get_unused_fd_flags);1279 * fd = get_unused_fd_flags(); // fd slot reserved, ->fd[fd] == NULL in do_dup2() 1364 new_fd = get_unused_fd_flags(o_flags); in receive_fd() 1460 ret = get_unused_fd_flags(0); in SYSCALL_DEFINE1()
286 error = get_unused_fd_flags(flags); in __anon_inode_getfd()
265 fd = get_unused_fd_flags(0); in init_dup()
405 fd = get_unused_fd_flags(flags); in do_eventfd()
274 ufd = get_unused_fd_flags(flags & O_CLOEXEC); in do_signalfd4()
992 error = get_unused_fd_flags(flags); in __do_pipe_flags() 997 error = get_unused_fd_flags(flags); in __do_pipe_flags()
435 ufd = get_unused_fd_flags(flags & TFD_SHARED_FCNTL_FLAGS); in SYSCALL_DEFINE2()
241 fd = get_unused_fd_flags(flags & O_CLOEXEC); in SYSCALL_DEFINE1()
485 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
195 fd = get_unused_fd_flags(O_CLOEXEC); in bpf_token_create()
216 int fd = get_unused_fd_flags(O_CLOEXEC); in sync_file_ioctl_merge()
346 int fd = get_unused_fd_flags(O_CLOEXEC); in sw_sync_ioctl_create_fence()
57 fd = get_unused_fd_flags(O_CLOEXEC);
273 ret = get_unused_fd_flags(0); in spufs_context_open() 514 ret = get_unused_fd_flags(0); in spufs_gang_open()
249 ret = fd = get_unused_fd_flags(O_RDWR | O_CLOEXEC); in io_create_mock_file()
300 fd = get_unused_fd_flags(O_CLOEXEC); in media_request_alloc()
421 err = get_unused_fd_flags(O_CLOEXEC); in virtio_gpu_init_submit()
551 fd = get_unused_fd_flags(O_RDWR); in vtpm_proxy_create_device()
46 ret = get_unused_fd_flags(fd_flags); in bch2_run_thread_with_file()
678 fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_get_fd() 781 int fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_export_sync_file()
236 fd = get_unused_fd_flags(O_CLOEXEC); in autofs_dev_ioctl_open_mountpoint()