Home
last modified time | relevance | path

Searched refs:EBADF (Results 1 – 25 of 265) sorted by relevance

1234567891011

/openbmc/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c380 int fd = -EBADF; in FIXTURE_SETUP()
1002 int img_fd = -EBADF; in FIXTURE_SETUP()
1073 .userns_fd = -EBADF, in TEST_F()
1130 int open_tree_fd = -EBADF; in TEST_F()
1138 open_tree_fd = sys_open_tree(-EBADF, "/mnt/D", in TEST_F()
1239 int open_tree_fd = -EBADF; in TEST_F()
1269 int open_tree_fd = -EBADF; in TEST_F()
1299 int open_tree_fd = -EBADF; in TEST_F()
1329 int open_tree_fd = -EBADF; in TEST_F()
1361 int open_tree_fd = -EBADF; in TEST_F()
[all …]
/openbmc/linux/net/9p/
H A Derror.c50 {"Bad file descriptor", EBADF},
119 {"fid unknown or out of range", EBADF},
124 {"bad use of fid", EBADF},
130 {"fid already in use", EBADF},
/openbmc/linux/kernel/bpf/
H A Dbpf_inode_storage.c84 return ERR_PTR(-EBADF); in bpf_fd_inode_storage_lookup_elem()
98 return -EBADF; in bpf_fd_inode_storage_update_elem()
101 return -EBADF; in bpf_fd_inode_storage_update_elem()
130 return -EBADF; in bpf_fd_inode_storage_delete_elem()
/openbmc/linux/fs/
H A Dread_write.c298 return -EBADF; in ksys_lseek()
334 return -EBADF; in SYSCALL_DEFINE5()
455 return -EBADF; in vfs_read()
505 return -EBADF; in __kernel_write_iter()
569 return -EBADF; in vfs_write()
783 return -EBADF; in do_iter_read()
813 return -EBADF; in vfs_iocb_iter_read()
848 return -EBADF; in do_iter_write()
877 return -EBADF; in vfs_iocb_iter_write()
1194 retval = -EBADF; in do_sendfile()
[all …]
H A Dsync.c156 return -EBADF; in SYSCALL_DEFINE1()
209 int ret = -EBADF; in do_fsync()
361 ret = -EBADF; in ksys_sync_file_range()
H A Dreaddir.c227 return -EBADF; in SYSCALL_DEFINE3()
320 return -EBADF; in SYSCALL_DEFINE3()
403 return -EBADF; in SYSCALL_DEFINE3()
485 return -EBADF; in COMPAT_SYSCALL_DEFINE3()
571 return -EBADF; in COMPAT_SYSCALL_DEFINE3()
/openbmc/linux/io_uring/
H A Dfs.c58 return -EBADF; in io_renameat_prep()
112 return -EBADF; in io_unlinkat_prep()
162 return -EBADF; in io_mkdirat_prep()
206 return -EBADF; in io_symlinkat_prep()
249 return -EBADF; in io_linkat_prep()
H A Dcancel.c214 ret = -EBADF; in io_async_cancel()
247 return -EBADF; in __io_sync_cancel()
251 return -EBADF; in __io_sync_cancel()
290 return -EBADF; in io_sync_cancel()
H A Dopenclose.c54 return -EBADF; in __io_openat_prep()
209 return -EBADF; in io_close_prep()
225 int ret = -EBADF; in io_close()
H A Dsplice.c63 ret = -EBADF; in io_tee()
104 ret = -EBADF; in io_splice()
H A Dfiletable.c71 return -EBADF; in io_install_fixed_file()
148 return -EBADF; in io_fixed_fd_remove()
/openbmc/linux/tools/include/nolibc/
H A Dstdio.h47 SET_ERRNO(EBADF); in fdopen()
60 SET_ERRNO(EBADF); in fileno()
74 SET_ERRNO(EBADF); in fflush()
89 SET_ERRNO(EBADF); in fclose()
/openbmc/linux/kernel/
H A Dkcmp.c111 return -EBADF; in kcmp_epoll_target()
115 return -EBADF; in kcmp_epoll_target()
179 ret = -EBADF; in SYSCALL_DEFINE5()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dkapi.c396 return -EBADF; in leb_read_sanity_check()
541 return -EBADF; in ubi_leb_write()
585 return -EBADF; in ubi_leb_change()
621 return -EBADF; in ubi_leb_erase()
681 return -EBADF; in ubi_leb_unmap()
717 return -EBADF; in ubi_leb_map()
752 return -EBADF; in ubi_is_mapped()
/openbmc/linux/drivers/mtd/ubi/
H A Dkapi.c391 return -EBADF; in leb_read_sanity_check()
535 return -EBADF; in ubi_leb_write()
579 return -EBADF; in ubi_leb_change()
615 return -EBADF; in ubi_leb_erase()
675 return -EBADF; in ubi_leb_unmap()
711 return -EBADF; in ubi_leb_map()
746 return -EBADF; in ubi_is_mapped()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dspu_syscalls.c68 ret = -EBADF; in SYSCALL_DEFINE4()
90 ret = -EBADF; in SYSCALL_DEFINE3()
/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h153 #ifndef EBADF
154 #define EBADF 9 macro
H A Dyaffs_error.c26 { EBADF , "EBADF"},
/openbmc/linux/arch/um/drivers/
H A Dvde_kern.c48 return -EBADF; in vde_read()
60 return -EBADF; in vde_write()
/openbmc/openbmc/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py177 errno.EBADF, "read() on write-only %s object" % self.__class__.__name__
189 errno.EBADF, "write() on read-only %s object" % self.__class__.__name__
/openbmc/linux/include/uapi/asm-generic/
H A Derrno-base.h13 #define EBADF 9 /* Bad file number */ macro
/openbmc/linux/tools/include/uapi/asm-generic/
H A Derrno-base.h13 #define EBADF 9 /* Bad file number */ macro
/openbmc/linux/virt/kvm/
H A Dvfio.c152 return -EBADF; in kvm_vfio_file_add()
198 return -EBADF; in kvm_vfio_file_del()
244 return -EBADF; in kvm_vfio_file_set_spapr_tce()
/openbmc/qemu/semihosting/
H A Dsyscalls.c699 complete(cs, -1, EBADF); in semihost_sys_close()
756 complete(cs, -1, EBADF); in semihost_sys_read()
783 complete(cs, -1, EBADF); in semihost_sys_write_gf()
798 complete(cs, -1, EBADF); in semihost_sys_write()
808 complete(cs, -1, EBADF); in semihost_sys_lseek()
834 complete(cs, 0, EBADF); in semihost_sys_isatty()
862 flen_cb(cs, -1, EBADF); in semihost_sys_flen()
887 complete(cs, -1, EBADF); in semihost_sys_fstat()
/openbmc/phosphor-power/test/
H A Dfile_descriptor_tests.cpp38 return (fcntl(fd, F_GETFL) != -1) || (errno != EBADF); in isValid()
240 EXPECT_EQ(errno, EBADF); in TEST()

1234567891011