Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 2051) sorted by relevance

12345678910>>...83

/freebsd-12-stable/lib/libgeom/
Dgeom_util.c56 int fd; in g_open() local
65 g_close(int fd) in g_close()
72 g_ioctl_arg(int fd, unsigned long cmd, void *arg) in g_ioctl_arg()
84 g_ioctl(int fd, unsigned long cmd) in g_ioctl()
94 g_mediasize(int fd) in g_mediasize()
107 g_sectorsize(int fd) in g_sectorsize()
120 g_stripesize(int fd) in g_stripesize()
133 g_stripeoffset(int fd) in g_stripeoffset()
146 g_providername(int fd) in g_providername()
159 g_flush(int fd) in g_flush()
[all …]
/freebsd-12-stable/lib/libc/gen/
Dtermios.c52 tcgetattr(int fd, struct termios *t) in tcgetattr()
59 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr()
82 tcsetpgrp(int fd, pid_t pgrp) in tcsetpgrp()
91 tcgetpgrp(int fd) in tcgetpgrp()
102 tcgetsid(int fd) in tcgetsid()
113 tcsetsid(int fd, pid_t pid) in tcsetsid()
198 tcsendbreak(int fd, int len __unused) in tcsendbreak()
213 __libc_tcdrain(int fd) in __libc_tcdrain()
221 tcdrain(int fd) in tcdrain()
232 tcflush(int fd, int which) in tcflush()
[all …]
/freebsd-12-stable/usr.sbin/ofwdump/
Dofw_util.c46 #define OFW_IOCTL(fd, cmd, val) do { \ argument
54 int fd; in ofw_open() local
62 ofw_close(int fd) in ofw_close()
69 ofw_root(int fd) in ofw_root()
76 ofw_optnode(int fd) in ofw_optnode()
85 ofw_peer(int fd, phandle_t node) in ofw_peer()
95 ofw_child(int fd, phandle_t node) in ofw_child()
105 ofw_finddevice(int fd, const char *name) in ofw_finddevice()
125 ofw_firstprop(int fd, phandle_t node, char *buf, int buflen) in ofw_firstprop()
132 ofw_nextprop(int fd, phandle_t node, const char *prev, char *buf, int buflen) in ofw_nextprop()
[all …]
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
Dfile.h51 linux_fget(unsigned int fd) in linux_fget()
88 put_unused_fd(unsigned int fd) in put_unused_fd()
108 fd_install(unsigned int fd, struct linux_file *filp) in fd_install()
133 int fd; in get_unused_fd() local
148 int fd; in get_unused_fd_flags() local
172 struct fd { struct
176 static inline void fdput(struct fd fd) in fdput()
181 static inline struct fd fdget(unsigned int fd) in fdget()
/freebsd-12-stable/libexec/tftpd/tests/
Dfunctional.c384 write_all(int fd, const void *buf, size_t nbytes) in write_all()
406 int fd; variable
449 int fd; variable
467 int fd; variable
490 int fd; variable
521 int fd; variable
548 int fd; variable
563 int fd; variable
579 int fd; variable
603 int fd; variable
[all …]
/freebsd-12-stable/tools/regression/capsicum/syscalls/
Dcap_fcntls_limit.c48 fcntl_tests_0(int fd) in fcntl_tests_0()
157 fcntl_tests_1(int fd) in fcntl_tests_1()
209 fcntl_tests_2(int fd) in fcntl_tests_2()
258 int fd; in fcntl_tests_send_0() local
284 int fd; in fcntl_tests_recv_0() local
413 int fd, pfd, sp[2]; in main() local
Dcap_ioctls_limit.c50 ioctl_tests_0(int fd) in ioctl_tests_0()
131 ioctl_tests_1(int fd) in ioctl_tests_1()
177 ioctl_tests_2(int fd) in ioctl_tests_2()
219 int fd; in ioctl_tests_send_0() local
248 int fd; in ioctl_tests_recv_0() local
319 int fd, pfd, sp[2]; in main() local
/freebsd-12-stable/sys/contrib/ncsw/inc/Peripherals/
Ddpaa_ext.h114 #define DPAA_FD_GET_ADDRH(fd) ((t_DpaaFD *)fd)->addrh /**< Macro to g… argument
115 #define DPAA_FD_GET_ADDRL(fd) ((t_DpaaFD *)fd)->addrl … argument
116 #define DPAA_FD_GET_PHYS_ADDR(fd) ((physAddress_t)(((uint64_t)DPAA_FD_GET_ADDRH(fd) << 32) | (u… argument
117 #define DPAA_FD_GET_FORMAT(fd) ((((t_DpaaFD *)fd)->length & DPAA_FD_FORMAT_MASK) >> (31-2)) … argument
118 #define DPAA_FD_GET_OFFSET(fd) ((((t_DpaaFD *)fd)->length & DPAA_FD_OFFSET_MASK) >> (31-11))… argument
119 #define DPAA_FD_GET_LENGTH(fd) (((t_DpaaFD *)fd)->length & DPAA_FD_LENGTH_MASK) … argument
120 #define DPAA_FD_GET_STATUS(fd) ((t_DpaaFD *)fd)->status … argument
121 #define DPAA_FD_GET_ADDR(fd) XX_PhysToVirt(DPAA_FD_GET_PHYS_ADDR(fd)) … argument
123 #define DPAA_FD_SET_ADDRH(fd,val) ((t_DpaaFD *)fd)->addrh = (val) /**< Macro to set … argument
124 #define DPAA_FD_SET_ADDRL(fd,val) ((t_DpaaFD *)fd)->addrl = (val) … argument
[all …]
/freebsd-12-stable/tools/tools/cfi/
Dcfi.c67 int fd = open(dvname, mode, 0); in getfd() local
77 int fd = getfd(O_RDONLY); in getfactorypr() local
88 int fd = getfd(O_RDONLY); in getoempr() local
98 int fd = getfd(O_WRONLY); in setoempr() local
108 int fd = getfd(O_RDONLY); in getplr() local
118 int fd = getfd(O_WRONLY); in setplr() local
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_read_disk_entry_from_file.c122 struct archive_entry *entry, int *fd) in archive_read_disk_entry_setup_acls()
138 struct archive_entry *entry, int *fd) in archive_read_disk_entry_setup_path()
161 int fd, in archive_read_disk_entry_from_file()
334 struct archive_entry *entry, int *fd) in setup_mac_metadata()
426 struct archive_entry *entry, int *fd) in setup_mac_metadata()
451 struct archive_entry *entry, const char *name, int fd, const char *accpath) in setup_xattr()
535 struct archive_entry *entry, int *fd) in setup_xattrs()
665 int namespace, const char *name, const char *fullname, int fd, in setup_xattr()
711 struct archive_entry *entry, int *fd, int namespace) in setup_xattrs_namespace()
794 struct archive_entry *entry, int *fd) in setup_xattrs()
[all …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_fd.cpp44 static bool bogusfd(int fd) { in bogusfd()
73 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()
94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init()
143 bool FdLocation(uptr addr, int *fd, int *tid, u32 *stack) { in FdLocation()
160 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire()
171 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease()
182 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess()
190 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose()
218 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate()
244 void FdEventCreate(ThreadState *thr, uptr pc, int fd) { in FdEventCreate()
[all …]
/freebsd-12-stable/usr.sbin/pciconf/
Dcap.c54 cap_power(int fd, struct pci_conf *p, uint8_t ptr) in cap_power()
68 cap_agp(int fd, struct pci_conf *p, uint8_t ptr) in cap_agp()
129 cap_msi(int fd, struct pci_conf *p, uint8_t ptr) in cap_msi()
148 cap_pcix(int fd, struct pci_conf *p, uint8_t ptr) in cap_pcix()
224 cap_ht(int fd, struct pci_conf *p, uint8_t ptr) in cap_ht()
303 cap_vendor(int fd, struct pci_conf *p, uint8_t ptr) in cap_vendor()
361 cap_debug(int fd, struct pci_conf *p, uint8_t ptr) in cap_debug()
371 cap_subvendor(int fd, struct pci_conf *p, uint8_t ptr) in cap_subvendor()
460 cap_express(int fd, struct pci_conf *p, uint8_t ptr) in cap_express()
573 cap_msix(int fd, struct pci_conf *p, uint8_t ptr) in cap_msix()
[all …]
/freebsd-12-stable/usr.bin/fortune/fortune/
Dfortune.c84 typedef struct fd { struct
86 int fd, datfd; argument
96 struct fd *child, *parent; argument
97 struct fd *next, *prev; argument
172 int fd; in main() local
461 int fd; in add_file() local
657 int fd; in all_forts() local
1105 int fd; in get_pos() local
1133 int fd; in get_tbl() local
/freebsd-12-stable/tools/tools/ath/athprom/
Dathprom.c77 FILE *fd; in opentemplate() local
97 FILE *fd = NULL; in main() local
227 token(FILE *fd, char id[], int maxid, const char *what) in token()
253 skipto(FILE *fd, const char *what) in skipto()
285 skipws(FILE *fd) in skipws()
379 printAntennaControl(FILE *fd, int ant) in printAntennaControl()
385 printEdge(FILE *fd, int edge) in printEdge()
397 printEdgePower(FILE *fd, int edge) in printEdgePower()
411 printEdgeFlag(FILE *fd, int edge) in printEdgeFlag()
437 printQuarterDbmPower(FILE *fd, int16_t power25dBm) in printQuarterDbmPower()
[all …]
/freebsd-12-stable/sbin/ipf/ipfs/
Dipfs.c92 int fd, olen, nlen, rw; in changestateif() local
154 int fd, olen, nlen, rw; in changenatif() local
336 int fd = -1; in opendevice() local
351 void closedevice(int fd) in closedevice()
357 int setlock(int fd, int lock) in setlock()
373 int writestate(int fd, char *file) in writestate()
423 int readstate(int fd, char *file) in readstate()
538 int readnat(int fd, char *file) in readnat()
683 int writenat(int fd, char *file) in writenat()
767 int fd, devfd; in writeall() local
[all …]
/freebsd-12-stable/usr.sbin/makefs/cd9660/
Dcd9660_write.c65 FILE *fd; in cd9660_write_image() local
145 cd9660_write_volume_descriptors(iso9660_disk *diskStructure, FILE *fd) in cd9660_write_volume_descriptors()
166 cd9660_write_path_table(iso9660_disk *diskStructure, FILE *fd, off_t sector, in cd9660_write_path_table()
237 cd9660_write_path_tables(iso9660_disk *diskStructure, FILE *fd) in cd9660_write_path_tables()
263 cd9660_write_file(iso9660_disk *diskStructure, FILE *fd, cd9660node *writenode) in cd9660_write_file()
393 cd9660_write_filedata(iso9660_disk *diskStructure, FILE *fd, off_t sector, in cd9660_write_filedata()
427 cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector, in cd9660_copy_file()
474 cd9660_write_rr(iso9660_disk *diskStructure, FILE *fd, cd9660node *writenode, in cd9660_write_rr()
/freebsd-12-stable/usr.sbin/mfiutil/
Dmfi_volume.c78 mfi_ld_get_list(int fd, struct mfi_ld_list *list, uint8_t *statusp) in mfi_ld_get_list()
86 mfi_ld_get_info(int fd, uint8_t target_id, struct mfi_ld_info *info, in mfi_ld_get_info()
97 mfi_ld_get_props(int fd, uint8_t target_id, struct mfi_ld_props *props) in mfi_ld_get_props()
107 mfi_ld_set_props(int fd, struct mfi_ld_props *props) in mfi_ld_set_props()
117 update_cache_policy(int fd, struct mfi_ld_props *old, struct mfi_ld_props *new) in update_cache_policy()
292 int error, fd, consumed; in volume_cache() local
396 int error, fd; in volume_name() local
451 int error, fd; in volume_progress() local
Dmfi_properties.c51 mfi_ctrl_get_properties(int fd, struct mfi_ctrl_props *info) in mfi_ctrl_get_properties()
59 mfi_ctrl_set_properties(int fd, struct mfi_ctrl_props *info) in mfi_ctrl_set_properties()
73 int error, fd; in mfi_ctrl_rebuild_rate() local
125 int error, fd; in mfi_ctrl_alarm_enable() local
/freebsd-12-stable/lib/libulog/
Dutempter.c38 utempter_add_record(int fd, const char *host) in utempter_add_record()
58 utempter_remove_record(int fd) in utempter_remove_record()
68 addToUtmp(const char *pty __unused, const char *host, int fd) in addToUtmp()
82 removeLineFromUtmp(const char *pty __unused, int fd) in removeLineFromUtmp()
/freebsd-12-stable/usr.sbin/fwcontrol/
Dfwcontrol.c115 get_dev(int fd, struct fw_devlstreq *data) in get_dev()
125 str2node(int fd, const char *nodestr) in str2node()
175 list_dev(int fd) in list_dev()
206 read_write_quad(int fd, struct fw_eui64 eui, u_int32_t addr_lo, int readmode, u_int32_t data) in read_write_quad()
262 send_phy_config(int fd, int root_node, int gap_count) in send_phy_config()
289 link_on(int fd, int node) in link_on()
308 reset_start(int fd, int node) in reset_start()
332 set_pri_req(int fd, u_int32_t pri_req) in set_pri_req()
392 get_crom(int fd, int node, void *crom_buf, int len) in get_crom()
516 show_topology_map(int fd) in show_topology_map()
[all …]
/freebsd-12-stable/crypto/openssh/openbsd-compat/
Dport-net.c51 sys_get_rdomain(int fd) in sys_get_rdomain()
66 sys_set_rdomain(int fd, const char *name) in sys_set_rdomain()
80 int fd; in sys_valid_rdomain() local
100 sys_get_rdomain(int fd) in sys_get_rdomain()
106 sys_set_rdomain(int fd, const char *name) in sys_set_rdomain()
147 int fd = -1; in sys_tun_open() local
213 int fd = -1, sock; in sys_tun_open() local
/freebsd-12-stable/tools/regression/security/open_to_operation/
Dopen_to_operation.c206 int dfd, fd, i, mode; in check_dup() local
232 int dfd, fd, i, mode; in check_dup2() local
258 int fd, i, mode; in check_fchdir() local
282 int fd, i, mode; in check_fchflags() local
306 int fd, i, mode; in check_fchmod() local
330 int fd, i, mode; in check_fchown() local
354 int fd, i, mode; in check_flock() local
378 int fd, i, mode; in check_fpathconf() local
405 int fd, i, mode; in check_fstat() local
430 int fd, i, mode; in check_fstatfs() local
[all …]
/freebsd-12-stable/tests/sys/fs/fusefs/
Dlocks.cc141 int fd; in TEST_F() local
162 int fd; in TEST_F() local
180 int fd; in TEST_F() local
199 int fd; in TEST_F() local
222 int fd; in TEST_F() local
249 int fd; in TEST_F() local
309 int fd; in TEST_F() local
367 int fd; in TEST_F() local
432 int fd; in TEST_F() local
498 int fd; in TEST_F() local
[all …]
/freebsd-12-stable/tests/sys/file/
Dflock_helper.c78 int fd; in make_file() local
149 test1(int fd, __unused int argc, const __unused char **argv) in test1()
181 test2(int fd, __unused int argc, const __unused char **argv) in test2()
252 test3(int fd, __unused int argc, const __unused char **argv) in test3()
322 test4(int fd, __unused int argc, const __unused char **argv) in test4()
399 test5(int fd, __unused int argc, const __unused char **argv) in test5()
493 test6(int fd, __unused int argc, const __unused char **argv) in test6()
596 test7(int fd, __unused int argc, const __unused char **argv) in test7()
668 test8(int fd, __unused int argc, const __unused char **argv) in test8()
745 test9(int fd, __unused int argc, const __unused char **argv) in test9()
[all …]
/freebsd-12-stable/usr.sbin/apm/
Dapm.c116 apm_suspend(int fd) in apm_suspend()
123 apm_standby(int fd) in apm_standby()
130 apm_getinfo(int fd, apm_info_t aip) in apm_getinfo()
137 apm_enable(int fd, int enable) in apm_enable()
193 print_all_info(int fd, apm_info_t aip, int bioscall_available) in print_all_info()
334 apm_display(int fd, int newstate) in apm_display()
341 apm_haltcpu(int fd, int enable) in apm_haltcpu()
353 apm_set_timer(int fd, int delta) in apm_set_timer()
383 int c, fd; in main() local

12345678910>>...83