| /freebsd/lib/libgeom/ |
| H A D | geom_util.c | 53 int fd; in g_open() local 62 g_close(int fd) in g_close() 69 g_ioctl_arg(int fd, unsigned long cmd, void *arg) in g_ioctl_arg() 81 g_ioctl(int fd, unsigned long cmd) in g_ioctl() 91 g_mediasize(int fd) in g_mediasize() 104 g_sectorsize(int fd) in g_sectorsize() 117 g_stripesize(int fd) in g_stripesize() 130 g_stripeoffset(int fd) in g_stripeoffset() 143 g_providername(int fd) in g_providername() 156 g_flush(int fd) in g_flush() [all …]
|
| /freebsd/lib/libc/gen/ |
| H A D | termios.c | 48 tcgetattr(int fd, struct termios *t) in tcgetattr() 55 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr() 78 tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp() 87 tcgetpgrp(int fd) in tcgetpgrp() 98 tcgetsid(int fd) in tcgetsid() 109 tcsetsid(int fd, pid_t pid) in tcsetsid() 194 tcsendbreak(int fd, int len __unused) in tcsendbreak() 209 __libc_tcdrain(int fd) in __libc_tcdrain() 217 tcdrain(int fd) in tcdrain() 228 tcflush(int fd, int which) in tcflush() [all …]
|
| /freebsd/usr.sbin/ofwdump/ |
| H A D | ofw_util.c | 43 #define OFW_IOCTL(fd, cmd, val) do { \ argument 51 int fd; in ofw_open() local 59 ofw_close(int fd) in ofw_close() 66 ofw_root(int fd) in ofw_root() 73 ofw_optnode(int fd) in ofw_optnode() 82 ofw_peer(int fd, phandle_t node) in ofw_peer() 92 ofw_child(int fd, phandle_t node) in ofw_child() 102 ofw_finddevice(int fd, const char *name) in ofw_finddevice() 122 ofw_firstprop(int fd, phandle_t node, char *buf, int buflen) in ofw_firstprop() 129 ofw_nextprop(int fd, phandle_t node, const char *prev, char *buf, int buflen) in ofw_nextprop() [all …]
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | file.h | 49 linux_fget(unsigned int fd) in linux_fget() 85 put_unused_fd(unsigned int fd) in put_unused_fd() 104 fd_install(unsigned int fd, struct linux_file *filp) in fd_install() 128 int fd; in get_unused_fd() local 143 int fd; in get_unused_fd_flags() local 167 struct fd { struct 171 static inline void fdput(struct fd fd) in fdput() 176 static inline struct fd fdget(unsigned int fd) in fdget()
|
| /freebsd/libexec/tftpd/tests/ |
| H A D | functional.c | 433 write_all(int fd, const void *buf, size_t nbytes) in write_all() 455 int fd; variable 499 int fd; variable 517 int fd; variable 540 int fd; variable 571 int fd; variable 598 int fd; variable 613 int fd; variable 629 int fd; variable 653 int fd; variable [all …]
|
| /freebsd/tools/regression/capsicum/syscalls/ |
| H A D | cap_fcntls_limit.c | 45 fcntl_tests_0(int fd) fcntl_tests_0() argument 154 fcntl_tests_1(int fd) fcntl_tests_1() argument 206 fcntl_tests_2(int fd) fcntl_tests_2() argument 255 int fd; fcntl_tests_send_0() local 281 int fd; fcntl_tests_recv_0() local 410 int fd, pfd, sp[2]; main() local [all...] |
| H A D | cap_ioctls_limit.c | 47 ioctl_tests_0(int fd) ioctl_tests_0() argument 128 ioctl_tests_1(int fd) ioctl_tests_1() argument 174 ioctl_tests_2(int fd) ioctl_tests_2() argument 216 int fd; ioctl_tests_send_0() local 245 int fd; ioctl_tests_recv_0() local 316 int fd, pfd, sp[2]; main() local [all...] |
| /freebsd/sys/contrib/ncsw/inc/Peripherals/ |
| H A D | dpaa_ext.h | 118 #define DPAA_FD_GET_ADDRH(fd) ((t_DpaaFD *)fd)->addrh /**< Macro to g… argument 119 #define DPAA_FD_GET_ADDRL(fd) ((t_DpaaFD *)fd)->addrl … argument 120 #define DPAA_FD_GET_PHYS_ADDR(fd) ((physAddress_t)(((uint64_t)DPAA_FD_GET_ADDRH(fd) << 32) | (u… argument 121 #define DPAA_FD_GET_FORMAT(fd) ((((t_DpaaFD *)fd)->length & DPAA_FD_FORMAT_MASK) >> (31-2)) … argument 122 #define DPAA_FD_GET_OFFSET(fd) ((((t_DpaaFD *)fd)->length & DPAA_FD_OFFSET_MASK) >> (31-11))… argument 123 #define DPAA_FD_GET_LENGTH(fd) (((t_DpaaFD *)fd)->length & DPAA_FD_LENGTH_MASK) … argument 124 #define DPAA_FD_GET_STATUS(fd) ((t_DpaaFD *)fd)->status … argument 125 #define DPAA_FD_GET_ADDR(fd) XX_PhysToVirt(DPAA_FD_GET_PHYS_ADDR(fd)) … argument 127 #define DPAA_FD_SET_ADDRH(fd,val) ((t_DpaaFD *)fd)->addrh = (val) /**< Macro to set … argument 128 #define DPAA_FD_SET_ADDRL(fd,val) ((t_DpaaFD *)fd)->addrl = (val) … argument [all …]
|
| /freebsd/libexec/rtld-elf/rtld-libc/ |
| H A D | rtld_libc.h | 71 #define close(fd) __sys_close(fd) argument 72 #define _close(fd) __sys_close(fd) argument 75 #define fcntl(fd, cmd, arg) __sys_fcntl(fd, cmd, arg) argument 76 #define _fcntl(fd, cmd, arg) __sys_fcntl(fd, cmd, arg) argument 77 #define _fstat(fd, sb) __sys_fstat(fd, sb) argument 79 #define pread(fd, buf, nbytes, offset) __sys_pread(fd, buf, nbytes, offset) argument 80 #define read(fd, buf, nbytes) __sys_read(fd, buf, nbytes) argument 83 #define _write(fd, buf, nbytes) __sys_write(fd, buf, nbytes) argument 84 #define write(fd, buf, nbytes) __sys_write(fd, buf, nbytes) argument
|
| /freebsd/crypto/krb5/src/plugins/audit/simple/ |
| H A D | au_simple_main.c | 49 int fd; member 57 int fd = 0; in open_au() local 77 int fd = auctx->fd; in close_au() local 89 int fd = auctx->fd; in j_kdc_start() local 111 int fd = auctx->fd; in j_kdc_stop() local 134 int fd = auctx->fd; in j_as_req() local 157 int fd = auctx->fd; in j_tgs_req() local 180 int fd = auctx->fd; in j_tgs_s4u2self() local 203 int fd = auctx->fd; in j_tgs_s4u2proxy() local 226 int fd = auctx->fd; in j_tgs_u2u() local
|
| /freebsd/tools/tools/cfi/ |
| H A D | cfi.c | 65 int fd = open(dvname, mode, 0); in getfd() local 75 int fd = getfd(O_RDONLY); in getfactorypr() local 86 int fd = getfd(O_RDONLY); in getoempr() local 96 int fd = getfd(O_WRONLY); in setoempr() local 106 int fd = getfd(O_RDONLY); in getplr() local 116 int fd = getfd(O_WRONLY); in setplr() local
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_read_disk_entry_from_file.c | 121 struct archive_entry *entry, int *fd) in archive_read_disk_entry_setup_acls() 137 struct archive_entry *entry, int *fd) in archive_read_disk_entry_setup_path() 160 int fd, in archive_read_disk_entry_from_file() 333 struct archive_entry *entry, int *fd) in setup_mac_metadata() 423 struct archive_entry *entry, int *fd) in setup_mac_metadata() 448 struct archive_entry *entry, const char *name, int fd, const char *accpath) in setup_xattr() 533 struct archive_entry *entry, int *fd) in setup_xattrs() 663 int namespace, const char *name, const char *fullname, int fd, in setup_xattr() 709 struct archive_entry *entry, int *fd, int namespace) in setup_xattrs_namespace() 792 struct archive_entry *entry, int *fd) in setup_xattrs() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_fd.cpp | 51 static bool bogusfd(int fd) { in bogusfd() 80 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc() 101 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init() 160 bool FdLocation(uptr addr, int *fd, Tid *tid, StackID *stack, bool *closed) { in FdLocation() 178 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire() 189 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease() 202 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess() 210 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose() 253 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate() 279 void FdEventCreate(ThreadState *thr, uptr pc, int fd) { in FdEventCreate() [all …]
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | ktls.h | 55 static ossl_inline int ktls_enable(int fd) in ktls_enable() 70 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *tls_en, int is_tx) in ktls_start() 84 static ossl_inline int ktls_enable_tx_zerocopy_sendfile(int fd) in ktls_enable_tx_zerocopy_sendfile() 96 static ossl_inline int ktls_send_ctrl_message(int fd, unsigned char record_type, in ktls_send_ctrl_message() 124 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 138 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 199 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, in ktls_sendfile() 289 static ossl_inline int ktls_enable(int fd) in ktls_enable() 302 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *crypto_info, in ktls_start() 309 static ossl_inline int ktls_enable_tx_zerocopy_sendfile(int fd) in ktls_enable_tx_zerocopy_sendfile() [all …]
|
| /freebsd/usr.sbin/pciconf/ |
| H A D | cap.c | 51 cap_power(int fd, struct pci_conf *p, uint8_t ptr) in cap_power() argument 65 cap_agp(int fd, struct pci_conf *p, uint8_t ptr) in cap_agp() argument 126 cap_msi(int fd, struct pci_conf *p, uint8_t ptr) in cap_msi() argument 145 cap_pcix(int fd,struct pci_conf * p,uint8_t ptr) cap_pcix() argument 221 cap_ht(int fd,struct pci_conf * p,uint8_t ptr) cap_ht() argument 300 cap_vendor(int fd,struct pci_conf * p,uint8_t ptr) cap_vendor() argument 358 cap_debug(int fd,struct pci_conf * p,uint8_t ptr) cap_debug() argument 368 cap_subvendor(int fd,struct pci_conf * p,uint8_t ptr) cap_subvendor() argument 464 cap_express(int fd,struct pci_conf * p,uint8_t ptr) cap_express() argument 577 cap_msix(int fd,struct pci_conf * p,uint8_t ptr) cap_msix() argument 611 cap_pciaf(int fd,struct pci_conf * p,uint8_t ptr) cap_pciaf() argument 682 cap_ea(int fd,struct pci_conf * p,uint8_t ptr) cap_ea() argument 757 list_caps(int fd,struct pci_conf * p,int level) list_caps() argument 858 ecap_aer(int fd,struct pci_conf * p,uint16_t ptr,uint8_t ver) ecap_aer() argument 876 ecap_vc(int fd,struct pci_conf * p,uint16_t ptr,uint8_t ver) ecap_vc() argument 894 ecap_sernum(int fd,struct pci_conf * p,uint16_t ptr,uint8_t ver) ecap_sernum() argument 909 ecap_vendor(int fd,struct pci_conf * p,uint16_t ptr,uint8_t ver) ecap_vendor() argument 943 ecap_sec_pcie(int fd,struct pci_conf * p,uint16_t ptr,uint8_t ver) ecap_sec_pcie() argument 964 ecap_sriov(int fd,struct pci_conf * p,uint16_t ptr,uint8_t ver) ecap_sriov() argument 1029 ecap_acs(int fd,struct pci_conf * p,uint16_t ptr,uint8_t ver) ecap_acs() argument 1127 list_ecaps(int fd,struct pci_conf * p) list_ecaps() argument 1181 pci_find_cap(int fd,struct pci_conf * p,uint8_t id) pci_find_cap() argument 1215 pcie_find_cap(int fd,struct pci_conf * p,uint16_t id) pcie_find_cap() argument [all...] |
| /freebsd/usr.bin/fortune/fortune/ |
| H A D | fortune.c | 70 typedef struct fd { struct 72 int fd, datfd; argument 82 struct fd *child, *parent; argument 83 struct fd *next, *prev; argument 158 int fd; in main() local 447 int fd; in add_file() local 643 int fd; in all_forts() local 1092 int fd; in get_pos() local 1120 int fd; in get_tbl() local
|
| /freebsd/tests/sys/posixshm/ |
| H A D | memfd_test.c | 41 int fd; in ATF_TC_BODY() local 82 int fd; in ATF_TC_BODY() local 97 int fd; in ATF_TC_BODY() local 126 int fd; in ATF_TC_BODY() local 176 int err, fd; in memfd_truncate_test() local 210 int fd; in ATF_TC_BODY() local 227 int fd, fdx; in ATF_TC_BODY() local 256 int fd; in ATF_TC_BODY() local
|
| H A D | posixshm_test.c | 90 int fd; in shm_open_should_fail() local 120 int fd, pagesize; in scribble_object() local 153 int fd; in verify_object() local 182 shm_fill(int fd, off_t offset, off_t len) in shm_fill() 210 check_content_dealloc(int fd, off_t hole_start, off_t hole_len, off_t shm_sz) in check_content_dealloc() 305 int fd, pagesize; in ATF_TC_BODY() local 387 int fd; in ATF_TC_BODY() local 493 int fd; in ATF_TC_BODY() local 511 int fd; in ATF_TC_BODY() local 536 int fd, pagesize; in ATF_TC_BODY() local [all …]
|
| /freebsd/tests/sys/kern/ |
| H A D | kcov.c | 61 int fd; in open_kcov() local 78 int fd; in ATF_TC_BODY() local 99 int fd; in ATF_TC_BODY() local 138 int fd; in ATF_TC_BODY() local 158 int fd; in ATF_TC_BODY() local 173 int fd; in kcov_mmap_enable_thread() local 198 int fd; in ATF_TC_BODY() local 218 int fd; in ATF_TC_BODY() local 254 int fd; in ATF_TC_BODY() local 270 int fd; in ATF_TC_BODY() local [all …]
|
| /freebsd/tools/tools/ath/athprom/ |
| H A D | athprom.c | 76 FILE *fd; in opentemplate() local 96 FILE *fd = NULL; in main() local 226 token(FILE *fd, char id[], int maxid, const char *what) in token() 252 skipto(FILE *fd, const char *what) in skipto() 284 skipws(FILE *fd) in skipws() 378 printAntennaControl(FILE *fd, int ant) in printAntennaControl() 384 printEdge(FILE *fd, int edge) in printEdge() 396 printEdgePower(FILE *fd, int edge) in printEdgePower() 410 printEdgeFlag(FILE *fd, int edge) in printEdgeFlag() 436 printQuarterDbmPower(FILE *fd, int16_t power25dBm) in printQuarterDbmPower() [all …]
|
| /freebsd/contrib/sendmail/include/sm/ |
| H A D | fdset.h | 20 #define SM_FD_CLR(fd, pfdset) FD_CLR(fd, pfdset) argument 21 #define SM_FD_SET(fd, pfdset) FD_SET(fd, pfdset) argument 22 #define SM_FD_ISSET(fd, pfdset) FD_ISSET(fd, pfdset) argument 24 #define SM_FD_OK_SELECT(fd) (SM_FD_SETSIZE <= 0 || (fd) < SM_FD_SETSIZE) argument
|
| /freebsd/usr.sbin/makefs/cd9660/ |
| H A D | cd9660_write.c | 63 FILE *fd; in cd9660_write_image() local 143 cd9660_write_volume_descriptors(iso9660_disk *diskStructure, FILE *fd) in cd9660_write_volume_descriptors() 164 cd9660_write_path_table(iso9660_disk *diskStructure, FILE *fd, off_t sector, in cd9660_write_path_table() 235 cd9660_write_path_tables(iso9660_disk *diskStructure, FILE *fd) in cd9660_write_path_tables() 261 cd9660_write_file(iso9660_disk *diskStructure, FILE *fd, cd9660node *writenode) in cd9660_write_file() 391 cd9660_write_filedata(iso9660_disk *diskStructure, FILE *fd, off_t sector, in cd9660_write_filedata() 425 cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector, in cd9660_copy_file() 470 cd9660_write_rr(iso9660_disk *diskStructure, FILE *fd, cd9660node *writenode, in cd9660_write_rr()
|
| /freebsd/sbin/ipf/ipfs/ |
| H A D | ipfs.c | 88 int fd, olen, nlen, rw; in changestateif() local 150 int fd, olen, nlen, rw; in changenatif() local 332 int fd = -1; in opendevice() local 347 void closedevice(int fd) in closedevice() 353 int setlock(int fd, int lock) in setlock() 369 int writestate(int fd, char *file) in writestate() 419 int readstate(int fd, char *file) in readstate() 534 int readnat(int fd, char *file) in readnat() 679 int writenat(int fd, char *file) in writenat() 763 int fd, devfd; in writeall() local [all …]
|
| /freebsd/lib/virtual_oss/bt/ |
| H A D | avdtp.c | 59 avdtpGetPacket(int fd, struct avdtpGetPacketInfo *info) in avdtpGetPacket() 112 avdtpSendPacket(int fd, uint8_t command, uint8_t trans, uint8_t type, in avdtpSendPacket() 143 avdtpSendSyncCommand(int fd, struct avdtpGetPacketInfo *info, in avdtpSendSyncCommand() 191 avdtpSendCapabilitiesResponseSBCForACP(int fd, int trans) in avdtpSendCapabilitiesResponseSBCForACP() 226 avdtpSendAccept(int fd, uint8_t trans, uint8_t myCommand) in avdtpSendAccept() 234 avdtpSendReject(int fd, uint8_t trans, uint8_t myCommand) in avdtpSendReject() 244 avdtpSendDiscResponseAudio(int fd, uint8_t trans, in avdtpSendDiscResponseAudio() 298 avdtpGetCapabilities(int fd, uint8_t sep, struct avdtpGetPacketInfo *info) in avdtpGetCapabilities() 309 avdtpSetConfiguration(int fd, uint8_t sep, uint8_t * data, int datasize) in avdtpSetConfiguration() 323 avdtpOpen(int fd, uint8_t sep) in avdtpOpen() [all …]
|
| /freebsd/usr.sbin/mfiutil/ |
| H A D | mfi_volume.c | 76 mfi_ld_get_list(int fd, struct mfi_ld_list *list, uint8_t *statusp) in mfi_ld_get_list() 84 mfi_ld_get_info(int fd, uint8_t target_id, struct mfi_ld_info *info, in mfi_ld_get_info() 95 mfi_ld_get_props(int fd, uint8_t target_id, struct mfi_ld_props *props) in mfi_ld_get_props() 105 mfi_ld_set_props(int fd, struct mfi_ld_props *props) in mfi_ld_set_props() 115 update_cache_policy(int fd, struct mfi_ld_props *old, struct mfi_ld_props *new) in update_cache_policy() 290 int error, fd, consumed; in volume_cache() local 394 int error, fd; in volume_name() local 449 int error, fd; in volume_progress() local
|