Searched refs:f_fd (Results 1 – 4 of 4) sorted by relevance
| /freebsd/tools/regression/security/cap_test/ |
| H A D | cap_test_fcntl.c | 53 int f_fd; member 74 REQUIRE(files[0].f_fd); in test_fcntl() 75 REQUIRE(files[1].f_fd); in test_fcntl() 76 REQUIRE(files[2].f_fd); in test_fcntl() 79 { "file cap", cap_new(files[0].f_fd, rights) }, in test_fcntl() 80 { "socket cap", cap_new(files[1].f_fd, rights) }, in test_fcntl() 81 { "SHM cap", cap_new(files[2].f_fd, rights) }, in test_fcntl() 83 REQUIRE(caps[0].f_fd); in test_fcntl() 84 REQUIRE(caps[1].f_fd); in test_fcntl() 85 REQUIRE(caps[2].f_fd); in test_fcntl() [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libzpool/ |
| H A D | zfs_file_os.c | 92 fp->f_fd = fd; in zfs_file_open() 102 close(fp->f_fd); in zfs_file_close() 125 rc = write(fp->f_fd, buf, count); in zfs_file_write() 163 rc = pwrite64(fp->f_fd, buf, split, pos); in zfs_file_pwrite() 166 rc = pwrite64(fp->f_fd, (char *)buf + split, in zfs_file_pwrite() 210 rc = read(fp->f_fd, buf, count); in zfs_file_read() 240 rc = pread64(fp->f_fd, buf, count, off); in zfs_file_pread() 284 rc = lseek(fp->f_fd, *offp, whence); in zfs_file_seek() 308 if (fstat64_blk(fp->f_fd, &st) == -1) in zfs_file_getattr() 330 if (fsync(fp->f_fd) < 0) in zfs_file_fsync() [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_file.h | 41 int f_fd; member
|
| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 6545 (void) close(vf->vf_file->f_fd); in ztest_fault_inject() 6546 vf->vf_file->f_fd = -1; in ztest_fault_inject()
|