Home
last modified time | relevance | path

Searched refs:fd_file (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/tools/regression/security/cap_test/
H A Dcap_test_capmode.c67 int fd_close, fd_dir, fd_file, fd_socket, fd2[2]; in test_capmode() local
73 REQUIRE(fd_file = open("/tmp/cap_capmode", O_RDWR|O_CREAT, 0644)); in test_capmode()
114 CHECK_SYSCALL_SUCCEEDS(dup, fd_file); in test_capmode()
115 CHECK_SYSCALL_SUCCEEDS(fstat, fd_file, &sb); in test_capmode()
116 CHECK_SYSCALL_SUCCEEDS(lseek, fd_file, 0, SEEK_SET); in test_capmode()
117 CHECK_SYSCALL_SUCCEEDS(msync, &fd_file, 8192, MS_ASYNC); in test_capmode()
119 CHECK_SYSCALL_SUCCEEDS(read, fd_file, &ch, sizeof(ch)); in test_capmode()
122 CHECK_SYSCALL_SUCCEEDS(write, fd_file, &ch, sizeof(ch)); in test_capmode()
131 CHECK_NOT_CAPMODE(fchflags, fd_file, UF_NODUMP); in test_capmode()
/freebsd-14.2/sys/sys/
H A Daio.h148 struct file *fd_file; /* (*) pointer to file structure */ member
/freebsd-14.2/sys/kern/
H A Dvfs_aio.c558 if (job->fd_file) in aio_free_entry()
559 fdrop(job->fd_file, curthread); in aio_free_entry()
778 fp = job->fd_file; in aio_process_rw()
838 struct file *fp = job->fd_file; in aio_process_sync()
920 if (job->fd_file != sjob->fd_file || in aio_bio_done_notify()
1223 fp = job->fd_file; in aio_qbio()
1631 job->fd_file = fp; in aio_aqueue()
1821 if (job2->fd_file == job->fd_file && in aio_queue_file()
H A Dsys_socket.c598 struct file *fp = job->fd_file; in soaio_process_job()
770 so = job->fd_file->f_data; in soo_aio_cancel()
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c2033 so = job->fd_file->f_data; in jobtotid()
2184 error = mac_socket_check_send(job->fd_file->f_cred, so); in t4_aiotx_process_job()
2398 so = job->fd_file->f_data; in t4_aiotx_cancel()
H A Dt4_ddp.c2349 so = job->fd_file->f_data; in aio_ddp_requeue()
2734 struct socket *so = job->fd_file->f_data; in t4_aio_cancel_active()
2775 struct socket *so = job->fd_file->f_data; in t4_aio_cancel_queued()