| /freebsd/tools/regression/sockets/zerosend/ |
| H A D | zerosend.c | 75 setup_udp(const char *test, int *fdp, int port1, int port2) in setup_udp() 113 setup_tcp(const char *test, int *fdp, int port) in setup_tcp() 184 setup_udsstream(const char *test, int *fdp) in setup_udsstream() 192 setup_udsdgram(const char *test, int *fdp) in setup_udsdgram() 200 setup_pipe(const char *test, int *fdp) in setup_pipe() 208 setup_fifo(const char *test, int *fdp) in setup_fifo() 233 close_both(int *fdp) in close_both()
|
| /freebsd/sys/sys/ |
| H A D | filedesc.h | 179 #define FILEDESC_LOCK_INIT(fdp) sx_init(&(fdp)->fd_sx, "filedesc structure") argument 180 #define FILEDESC_LOCK_DESTROY(fdp) sx_destroy(&(fdp)->fd_sx) argument 181 #define FILEDESC_LOCK(fdp) (&(fdp)->fd_sx) argument 182 #define FILEDESC_XLOCK(fdp) sx_xlock(&(fdp)->fd_sx) argument 183 #define FILEDESC_XUNLOCK(fdp) sx_xunlock(&(fdp)->fd_sx) argument 184 #define FILEDESC_SLOCK(fdp) sx_slock(&(fdp)->fd_sx) argument 185 #define FILEDESC_SUNLOCK(fdp) sx_sunlock(&(fdp)->fd_sx) argument 187 #define FILEDESC_LOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_LOCKED | \ argument 189 #define FILEDESC_XLOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_XLOCKED | \ argument 191 #define FILEDESC_UNLOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_UNLOCKED) argument [all …]
|
| /freebsd/sys/kern/ |
| H A D | kern_descrip.c | 154 #define FILEDESC_FOREACH_FDE(fdp, _iterator, _fde) \ argument 160 #define FILEDESC_FOREACH_FP(fdp, _iterator, _fp) \ argument 204 fd_first_free(struct filedesc *fdp, int low, int size) in fd_first_free() 233 fdlastfile_single(struct filedesc *fdp) in fdlastfile_single() 246 fdlastfile(struct filedesc *fdp) in fdlastfile() 254 fdisused(struct filedesc *fdp, int fd) in fdisused() 267 fdused_init(struct filedesc *fdp, int fd) in fdused_init() 276 fdused(struct filedesc *fdp, int fd) in fdused() 290 fdunused(struct filedesc *fdp, int fd) in fdunused() 317 fdfree(struct filedesc *fdp, int fd) in fdfree() [all …]
|
| H A D | sys_capability.c | 223 cap_rights(struct filedesc *fdp, int fd) in cap_rights() 232 struct filedesc *fdp; in kern_cap_rights_limit() local 312 struct filedesc *fdp; in sys___cap_rights_get() local 357 cap_ioctl_check(struct filedesc *fdp, int fd, u_long cmd) in cap_ioctl_check() 418 struct filedesc *fdp; in kern_cap_ioctls_limit() local 487 struct filedesc *fdp; in sys_cap_ioctls_get() local 564 cap_fcntl_check(struct filedesc *fdp, int fd, int cmd) in cap_fcntl_check() 576 struct filedesc *fdp; in sys_cap_fcntls_limit() local 615 struct filedesc *fdp; in sys_cap_fcntls_get() local
|
| H A D | kern_jaildesc.c | 121 jaildesc_alloc(struct thread *td, struct file **fpp, int *fdp, int owning) in jaildesc_alloc() 386 struct filedesc *fdp) in jaildesc_fill_kinfo()
|
| H A D | kern_event.c | 1227 kern_kqueue_alloc(struct thread *td, struct filedesc *fdp, int *fdip, in kern_kqueue_alloc() 2463 struct filedesc *fdp; in kqueue_close() local 2498 kqueue_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) in kqueue_fill_kinfo() 2820 struct filedesc *fdp = td->td_proc->p_fd; in knote_fdclose() local 3010 kqueue_fork_alloc(struct filedesc *fdp, struct file *fp, struct file **fp1, in kqueue_fork_alloc() 3036 struct filedesc *fdp) in kqueue_fork_copy_knote() 3080 struct filedesc *fdp) in kqueue_fork_copy_list() 3105 kqueue_fork_copy(struct filedesc *fdp, struct file *fp, struct file *fp1, in kqueue_fork_copy() 3141 kqueue_fork(struct filedesc *fdp, struct file *fp, struct file **fp1, in kqueue_fork()
|
| H A D | sys_generic.c | 731 struct filedesc *fdp; in kern_ioctl() local 1192 struct filedesc *fdp; in kern_select() local 1436 struct filedesc *fdp; in selrescan() local 1486 struct filedesc *fdp; in selscan() local 1705 struct filedesc *fdp; in pollrescan() local 1772 struct filedesc *fdp; in pollscan() local
|
| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | write_msg.c | 39 k5_write_messages(krb5_context context, krb5_pointer fdp, krb5_data *outbuf, in k5_write_messages() 73 krb5_write_message(krb5_context context, krb5_pointer fdp, krb5_data *outbuf) in krb5_write_message()
|
| H A D | read_msg.c | 31 krb5_read_message(krb5_context context, krb5_pointer fdp, krb5_data *inbuf) in krb5_read_message()
|
| /freebsd/contrib/openbsm/bin/auditdistd/ |
| H A D | proto_common.c | 162 proto_descriptor_recv(int sock, int *fdp) in proto_descriptor_recv() 193 proto_common_recv(int sock, unsigned char *data, size_t size, int *fdp) in proto_common_recv()
|
| H A D | proto_socketpair.c | 152 sp_recv(void *ctx, unsigned char *data, size_t size, int *fdp) in sp_recv()
|
| /freebsd/sbin/hastd/ |
| H A D | proto_common.c | 162 proto_descriptor_recv(int sock, int *fdp) in proto_descriptor_recv() 193 proto_common_recv(int sock, unsigned char *data, size_t size, int *fdp) in proto_common_recv()
|
| /freebsd/lib/libthr/thread/ |
| H A D | thr_fork.c | 145 void *fdp; member 323 __thr_pdfork(int *fdp, int flags) in __thr_pdfork()
|
| /freebsd/lib/libc/sys/ |
| H A D | pdfork.c | 38 pdfork(int *fdp, int flags) in pdfork() argument
|
| /freebsd/lib/libcasper/libcasper/ |
| H A D | libcasper_impl.c | 49 fd_fix_environment(int *fdp) in fd_fix_environment()
|
| /freebsd/sbin/ipf/libipf/ |
| H A D | print_toif.c | 14 print_toif(int family, char *tag, char *base, frdest_t *fdp) in print_toif()
|
| /freebsd/tests/sys/cddl/zfs/bin/ |
| H A D | mmapwrite.c | 46 mapper(void *fdp) in mapper()
|
| /freebsd/lib/libc/stdio/ |
| H A D | fclose.c | 84 fdclose(FILE *fp, int *fdp) in fdclose()
|
| /freebsd/tools/regression/capsicum/syscalls/ |
| H A D | misc.c | 83 descriptor_recv(int sock,int * fdp) descriptor_recv() argument
|
| /freebsd/sys/compat/freebsd32/ |
| H A D | freebsd32_capability.c | 88 struct filedesc *fdp; in freebsd32_cap_ioctls_get() local
|
| /freebsd/tests/sys/kern/ |
| H A D | unix_passfd_test.c | 65 domainsocketpair(int *fdp) in domainsocketpair() 73 closesocketpair(int *fdp) in closesocketpair() 81 devnull(int *fdp) in devnull() 91 tempfile(int *fdp) in tempfile() 144 int *fdp, i; in putfds() local
|
| /freebsd/tools/test/upsdl/ |
| H A D | upsdl.c | 47 int prepareFile(const char* filename,int* fdp) in prepareFile()
|
| /freebsd/sys/fs/fdescfs/ |
| H A D | fdesc_vfsops.c | 185 struct filedesc *fdp; in fdesc_statfs() local
|
| /freebsd/crypto/openssh/ |
| H A D | authfd.c | 89 ssh_get_authentication_socket_path(const char *authsocket, int *fdp) in ssh_get_authentication_socket_path() 122 ssh_get_authentication_socket(int *fdp) in ssh_get_authentication_socket()
|
| /freebsd/lib/libgeom/ |
| H A D | geom_util.c | 273 g_device_path_open(const char *devpath, int *fdp, int dowrite) in g_device_path_open()
|