Lines Matching defs:fd
173 int fd, error;
182 error = falloc(p, &fp, &fd, vfs_context_current());
192 fp_free(p, fd, fp);
208 procfdtbl_releasefd(p, fd, NULL);
210 fp_drop(p, fd, fp, 1);
213 *retval = fd;
241 AUDIT_ARG(fd, uap->s);
295 AUDIT_ARG(fd, uap->s);
343 int fd = uap->s;
350 AUDIT_ARG(fd, uap->s);
358 error = fp_getfsock(p, fd, &fp, &head);
547 file_drop(fd);
597 int fd = uap->s;
600 AUDIT_ARG(fd, uap->s);
601 error = file_socket(fd, &so);
680 file_drop(fd);
707 int fd, error, sv[2];
717 error = falloc(p, &fp1, &fd, vfs_context_current());
725 sv[0] = fd;
727 error = falloc(p, &fp2, &fd, vfs_context_current());
735 sv[1] = fd;
915 AUDIT_ARG(fd, uap->s);
964 write_uap.fd = uap->s;
1006 AUDIT_ARG(fd, uap->s);
1262 AUDIT_ARG(fd, uap->s);
1317 read_uap.fd = uap->s;
1365 AUDIT_ARG(fd, uap->s);
1482 AUDIT_ARG(fd, uap->s);
1520 AUDIT_ARG(fd, uap->s);
1998 * int sendfile(int fd, int s, off_t offset, off_t *nbytes,
2001 * Send a file specified by 'fd' and starting at 'offset' to a socket
2030 if ((error = fp_getfvp(p, uap->fd, &fp, &vp))) {
2119 nuap.fd = uap->s;
2393 nuap.fd = uap->s;
2404 file_drop(uap->fd);