Searched refs:f_fd (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/tools/regression/security/cap_test/ |
| H A D | cap_test_fcntl.c | 54 int f_fd; member 75 REQUIRE(files[0].f_fd); in test_fcntl() 76 REQUIRE(files[1].f_fd); in test_fcntl() 77 REQUIRE(files[2].f_fd); in test_fcntl() 80 { "file cap", cap_new(files[0].f_fd, rights) }, in test_fcntl() 84 REQUIRE(caps[0].f_fd); in test_fcntl() 85 REQUIRE(caps[1].f_fd); in test_fcntl() 86 REQUIRE(caps[2].f_fd); in test_fcntl() 105 CHECK_SYSCALL_SUCCEEDS(fcntl, f.f_fd, F_GETFL, 0); in test_fcntl() 106 REQUIRE(cap = cap_new(f.f_fd, CAP_READ)); in test_fcntl() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 1122 fp->f_fd = fd; in zfs_file_open() 1132 close(fp->f_fd); in zfs_file_close() 1155 rc = write(fp->f_fd, buf, count); in zfs_file_write() 1193 rc = pwrite64(fp->f_fd, buf, split, pos); in zfs_file_pwrite() 1196 rc = pwrite64(fp->f_fd, (char *)buf + split, in zfs_file_pwrite() 1240 rc = read(fp->f_fd, buf, count); in zfs_file_read() 1270 rc = pread64(fp->f_fd, buf, count, off); in zfs_file_pread() 1314 rc = lseek(fp->f_fd, *offp, whence); in zfs_file_seek() 1338 if (fstat64_blk(fp->f_fd, &st) == -1) in zfs_file_getattr() 1360 if (fsync(fp->f_fd) < 0) in zfs_file_fsync() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_file.h | 29 int f_fd; member
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 6150 (void) close(vf->vf_file->f_fd); in ztest_fault_inject() 6151 vf->vf_file->f_fd = -1; in ztest_fault_inject()
|