Home
last modified time | relevance | path

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

/freebsd/tools/regression/security/cap_test/
H A Dcap_test_capmode.c66 int fd_close, fd_dir, fd_file, fd_socket, fd2[2]; in test_capmode() local
72 REQUIRE(fd_file = open("/tmp/cap_capmode", O_RDWR|O_CREAT, 0644)); in test_capmode()
113 CHECK_SYSCALL_SUCCEEDS(dup, fd_file); in test_capmode()
114 CHECK_SYSCALL_SUCCEEDS(fstat, fd_file, &sb); in test_capmode()
115 CHECK_SYSCALL_SUCCEEDS(lseek, fd_file, 0, SEEK_SET); in test_capmode()
116 CHECK_SYSCALL_SUCCEEDS(msync, &fd_file, 8192, MS_ASYNC); in test_capmode()
118 CHECK_SYSCALL_SUCCEEDS(read, fd_file, &ch, sizeof(ch)); in test_capmode()
121 CHECK_SYSCALL_SUCCEEDS(write, fd_file, &ch, sizeof(ch)); in test_capmode()
130 CHECK_NOT_CAPMODE(fchflags, fd_file, UF_NODUMP); in test_capmode()
/freebsd/sys/sys/
H A Daio.h148 struct file *fd_file; /* (*) pointer to file structure */ member
/freebsd/sys/kern/
H A Dvfs_aio.c549 if (job->fd_file) in aio_free_entry()
550 fdrop(job->fd_file, curthread); in aio_free_entry()
769 fp = job->fd_file; in aio_process_rw()
829 struct file *fp = job->fd_file; in aio_process_sync()
911 if (job->fd_file != sjob->fd_file || in aio_bio_done_notify()
1214 fp = job->fd_file; in aio_qbio()
1611 job->fd_file = fp; in aio_aqueue()
1793 if (job2->fd_file == job->fd_file && in aio_queue_file()
H A Dsys_socket.c605 struct file *fp = job->fd_file; in soaio_process_job()
777 so = job->fd_file->f_data; in soo_aio_cancel()
/freebsd/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()