Home
last modified time | relevance | path

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

12345678910>>...62

/openbsd/usr.sbin/ldpd/
H A Dsocket.c37 int fd, domain, proto; in ldp_create_socket() local
184 sock_set_recvbuf(int fd) in sock_set_recvbuf()
195 sock_set_reuse(int fd, int enable) in sock_set_reuse()
207 sock_set_bindany(int fd, int enable) in sock_set_bindany()
219 sock_set_ipv4_tos(int fd, int tos) in sock_set_ipv4_tos()
230 sock_set_ipv4_recvif(int fd, int enable) in sock_set_ipv4_recvif()
241 sock_set_ipv4_minttl(int fd, int ttl) in sock_set_ipv4_minttl()
252 sock_set_ipv4_ucast_ttl(int fd, int ttl) in sock_set_ipv4_ucast_ttl()
293 sock_set_ipv4_mcast_loop(int fd) in sock_set_ipv4_mcast_loop()
307 sock_set_ipv6_dscp(int fd, int dscp) in sock_set_ipv6_dscp()
[all …]
/openbsd/regress/sys/kern/flock/
H A Dflock.c76 test1(int fd) in test1()
105 test2(int fd) in test2()
176 test3(int fd) in test3()
246 test4(int fd) in test4()
320 test5(int fd) in test5()
414 test6(int fd) in test6()
517 test7(int fd) in test7()
589 test8(int fd) in test8()
666 test9(int fd) in test9()
738 test10(int fd) in test10()
[all …]
/openbsd/regress/sys/dev/wscons/
H A Dsigio.c52 test_getown_fcntl(int fd) in test_getown_fcntl()
58 test_getown_ioctl(int fd) in test_getown_ioctl()
64 test_gpgrp(int fd) in test_gpgrp()
85 test_setown_fcntl(int fd) in test_setown_fcntl()
91 test_setown_ioctl(int fd) in test_setown_ioctl()
97 test_sigio(int fd) in test_sigio()
173 test_spgrp(int fd) in test_spgrp()
194 test_common_getown(int fd, int dofcntl) in test_common_getown()
233 test_common_setown(int fd, int dofcntl) in test_common_setown()
287 syncrecv(int fd, int id) in syncrecv()
[all …]
/openbsd/usr.bin/rsync/
H A Dio.c36 io_read_check(int fd) in io_read_check()
56 io_write_nonblocking(int fd, const void *buf, size_t bsz, in io_write_nonblocking()
106 io_write_blocking(int fd, const void *buf, size_t sz) in io_write_blocking()
239 io_read_blocking(int fd, void *buf, size_t sz) in io_read_blocking()
272 io_read_flush(struct sess *sess, int fd) in io_read_flush()
420 io_write_long(struct sess *sess, int fd, int64_t val) in io_write_long()
448 io_write_int(struct sess *sess, int fd, int32_t val) in io_write_int()
557 io_read_long(struct sess *sess, int fd, int64_t *val) in io_read_long()
613 io_read_size(struct sess *sess, int fd, size_t *val) in io_read_size()
648 io_read_int(struct sess *sess, int fd, int32_t *val) in io_read_int()
[all …]
/openbsd/usr.sbin/tcpdump/
H A Dprivsep.c366 impl_open_bpf(int fd, int *bpfd) in impl_open_bpf()
418 impl_open_pfosfp(int fd) in impl_open_pfosfp()
474 impl_gethostbyaddr(int fd) in impl_gethostbyaddr()
496 impl_ether_ntohost(int fd) in impl_ether_ntohost()
512 impl_getrpcbynumber(int fd) in impl_getrpcbynumber()
528 impl_getserventries(int fd) in impl_getserventries()
549 impl_getprotoentries(int fd) in impl_getprotoentries()
571 impl_localtime(int fd) in impl_localtime()
771 int fd, err = 0; in priv_open_pfosfp() local
891 write_command(int fd, int cmd) in write_command()
[all …]
/openbsd/sbin/ipsecctl/
H A Dike.c64 ike_section_general(struct ipsec_rule *r, FILE *fd) in ike_section_general()
75 ike_section_peer(struct ipsec_rule *r, FILE *fd) in ike_section_peer()
95 ike_section_ids(struct ipsec_rule *r, FILE *fd) in ike_section_ids()
138 ike_section_ipsec(struct ipsec_rule *r, FILE *fd) in ike_section_ipsec()
158 ike_section_p2(struct ipsec_rule *r, FILE *fd) in ike_section_p2()
443 ike_section_p1(struct ipsec_rule *r, FILE *fd) in ike_section_p1()
639 char *p2xid, FILE *fd) in ike_section_p2ids_net()
680 ike_section_p2ids(struct ipsec_rule *r, FILE *fd) in ike_section_p2ids()
736 ike_connect(struct ipsec_rule *r, FILE *fd) in ike_connect()
754 ike_gen_config(struct ipsec_rule *r, FILE *fd) in ike_gen_config()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_fd.cpp51 static bool bogusfd(int fd) { in bogusfd()
80 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()
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()
253 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate()
279 void FdEventCreate(ThreadState *thr, uptr pc, int fd) { in FdEventCreate()
286 void FdSignalCreate(ThreadState *thr, uptr pc, int fd) { in FdSignalCreate()
293 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd) { in FdInotifyCreate()
300 void FdPollCreate(ThreadState *thr, uptr pc, int fd) { in FdPollCreate()
[all …]
/openbsd/sys/miscfs/fuse/
H A Dfuse_device.c133 struct fuse_d *fd; in fuse_lookup() local
147 struct fuse_d *fd; in fuse_device_cleanup() local
192 struct fuse_d *fd; in fuse_device_queue_fbuf() local
208 struct fuse_d *fd; in fuse_device_set_fmp() local
226 struct fuse_d *fd; in fuseopen() local
251 struct fuse_d *fd; in fuseclose() local
287 struct fuse_d *fd; in fuseioctl() local
404 struct fuse_d *fd; in fuseread() local
460 struct fuse_d *fd; in fusewrite() local
537 struct fuse_d *fd; in fusekqfilter() local
[all …]
/openbsd/usr.sbin/dvmrpd/
H A Dkmroute.c42 kmr_init(int fd) in kmr_init()
84 kmr_recv_msg(int fd, short event, void *bula) in kmr_recv_msg()
151 mrt_init(int fd) in mrt_init()
165 mrt_done(int fd) in mrt_done()
179 mrt_add_vif(int fd, struct iface *iface) in mrt_add_vif()
200 mrt_del_vif(int fd, struct iface *iface) in mrt_del_vif()
212 mrt_add_mfc(int fd, struct mfc *mfc) in mrt_add_mfc()
239 mrt_del_mfc(int fd, struct mfc *mfc) in mrt_del_mfc()
/openbsd/sys/arch/octeon/dev/
H A Dcn30xxfau.c113 cn30xxfau_op_init(struct cn30xxfau_desc *fd, size_t scroff, size_t regno) in cn30xxfau_op_init()
120 cn30xxfau_op_save(struct cn30xxfau_desc *fd) in cn30xxfau_op_save()
127 cn30xxfau_op_restore(struct cn30xxfau_desc *fd, uint64_t backup) in cn30xxfau_op_restore()
133 cn30xxfau_op_inc_8(struct cn30xxfau_desc *fd, int64_t v) in cn30xxfau_op_inc_8()
142 cn30xxfau_op_incwait_8(struct cn30xxfau_desc *fd, int v) in cn30xxfau_op_incwait_8()
151 cn30xxfau_op_add_8(struct cn30xxfau_desc *fd, int64_t v) in cn30xxfau_op_add_8()
157 cn30xxfau_op_set_8(struct cn30xxfau_desc *fd, int64_t v) in cn30xxfau_op_set_8()
/openbsd/games/fortune/fortune/
H A Dfortune.c70 typedef struct fd { struct
72 int fd, datfd; argument
81 struct fd *child, *parent; argument
82 struct fd *next, *prev; argument
391 int fd; in add_file() local
559 int fd; in all_forts() local
973 int fd; in get_tbl() local
/openbsd/usr.sbin/mopd/common/
H A Dprint.c40 mopPrintHWA(FILE *fd, u_char *ap) in mopPrintHWA()
53 mopPrintBPTY(FILE *fd, u_char bpty) in mopPrintBPTY()
69 mopPrintPGTY(FILE *fd, u_char pgty) in mopPrintPGTY()
91 mopPrintOneline(FILE *fd, u_char *pkt, int trans) in mopPrintOneline()
236 mopPrintHeader(FILE *fd, u_char *pkt, int trans) in mopPrintHeader()
295 mopPrintMopHeader(FILE *fd, u_char *pkt, int trans) in mopPrintMopHeader()
401 mopPrintDevice(FILE *fd, u_char device) in mopPrintDevice()
412 mopPrintTime(FILE *fd, u_char *ap) in mopPrintTime()
420 mopPrintInfo(FILE *fd, u_char *pkt, int *idx, u_short moplen, u_char mopcode, in mopPrintInfo()
/openbsd/games/hack/
H A Dhack.lev.c83 savelev(int fd, xchar lev) in savelev()
132 bwrite(int fd, const void *loc, ssize_t num) in bwrite()
139 saveobjchn(int fd, struct obj *otmp) in saveobjchn()
157 savemonchn(int fd, struct monst *mtmp) in savemonchn()
179 savegoldchn(int fd, struct gold *gold) in savegoldchn()
192 savetrapchn(int fd, struct trap *trap) in savetrapchn()
205 getlev(int fd, int pid, xchar lev) in getlev()
308 mread(int fd, char *buf, unsigned len) in mread()
/openbsd/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c59 FILE *fd; in cd9660_write_image() local
120 cd9660_write_volume_descriptors(iso9660_disk *diskStructure, FILE *fd) in cd9660_write_volume_descriptors()
140 cd9660_write_path_table(iso9660_disk *diskStructure, FILE *fd, off_t sector, in cd9660_write_path_table()
209 cd9660_write_path_tables(iso9660_disk *diskStructure, FILE *fd) in cd9660_write_path_tables()
235 cd9660_write_file(iso9660_disk *diskStructure, FILE *fd, cd9660node *writenode) in cd9660_write_file()
353 cd9660_write_filedata(iso9660_disk *diskStructure, FILE *fd, off_t sector, in cd9660_write_filedata()
387 cd9660_copy_file(iso9660_disk *diskStructure, FILE *fd, off_t start_sector, in cd9660_copy_file()
431 cd9660_write_rr(iso9660_disk *diskStructure, FILE *fd, cd9660node *writenode, in cd9660_write_rr()
/openbsd/usr.sbin/ldapd/
H A Devbuffer_tls.c68 buffertls_readcb(int fd, short event, void *arg) in buffertls_readcb()
149 buffertls_writecb(int fd, short event, void *arg) in buffertls_writecb()
207 buffertls_handshakecb(int fd, short event, void *arg) in buffertls_handshakecb()
253 struct tls *ctx, int fd) in buffertls_set()
263 buffertls_accept(struct buffertls *buftls, int fd) in buffertls_accept()
276 buffertls_connect(struct buffertls *buftls, int fd) in buffertls_connect()
295 evtls_read(struct evbuffer *buf, int fd, int howmuch, struct tls *ctx) in evtls_read()
325 evtls_write(struct evbuffer *buffer, int fd, struct tls *ctx) in evtls_write()
/openbsd/usr.sbin/syslogd/
H A Devbuffer_tls.c68 buffertls_readcb(int fd, short event, void *arg) in buffertls_readcb()
150 buffertls_writecb(int fd, short event, void *arg) in buffertls_writecb()
208 buffertls_handshakecb(int fd, short event, void *arg) in buffertls_handshakecb()
254 struct tls *ctx, int fd) in buffertls_set()
264 buffertls_accept(struct buffertls *buftls, int fd) in buffertls_accept()
277 buffertls_connect(struct buffertls *buftls, int fd) in buffertls_connect()
296 evtls_read(struct evbuffer *buf, int fd, int howmuch, struct tls *ctx) in evtls_read()
326 evtls_write(struct evbuffer *buffer, int fd, struct tls *ctx) in evtls_write()
/openbsd/sys/dev/isa/
H A Dfd.c248 struct fd_softc *fd = (void *)self; in fdattach() local
313 struct fd_softc *fd = (void *)self; in fdactivate() local
460 fdstart(struct fd_softc *fd) in fdstart()
475 fdfinish(struct fd_softc *fd, struct buf *bp) in fdfinish()
520 struct fd_softc *fd; in fd_set_motor() local
540 struct fd_softc *fd = arg; in fd_motor_off() local
552 struct fd_softc *fd = arg; in fd_motor_on() local
568 struct fd_softc *fd; in fdopen() local
658 struct fd_softc *fd; in fdintr() local
937 struct fd_softc *fd = arg; in fdtimeout() local
[all …]
/openbsd/sys/arch/mips64/mips64/
H A Dfp_emulate.c840 uint fd) in fpu_abs()
875 uint fd) in fpu_add()
973 uint fd) in fpu_ceil_l()
981 uint fd) in fpu_ceil_w()
989 uint fd) in fpu_cvt_d()
1017 uint fd) in fpu_cvt_l()
1048 uint fd) in fpu_cvt_s()
1076 uint fd) in fpu_cvt_w()
1107 uint fd) in fpu_div()
1130 uint fd) in fpu_floor_l()
[all …]
/openbsd/usr.sbin/ospfd/
H A Dcontrol.c46 int fd; member
53 int fd; in control_check() local
79 int fd; in control_init() local
119 control_listen(int fd) in control_listen()
190 control_connbyfd(int fd) in control_connbyfd()
216 control_close(int fd) in control_close()
241 control_dispatch_imsg(int fd, short event, void *bula) in control_dispatch_imsg()
/openbsd/usr.sbin/ospf6d/
H A Dcontrol.c46 int fd; member
53 int fd; in control_check() local
79 int fd; in control_init() local
119 control_listen(int fd) in control_listen()
190 control_connbyfd(int fd) in control_connbyfd()
216 control_close(int fd) in control_close()
241 control_dispatch_imsg(int fd, short event, void *bula) in control_dispatch_imsg()
/openbsd/bin/pax/
H A Dfile_subs.c72 int fd = -1; in file_creat() local
127 file_close(ARCHD *arcn, int fd) in file_close()
724 fset_ftime(const char *fnm, int fd, const struct timespec *mtimp, in fset_ftime()
776 fset_ids(char *fnm, int fd, uid_t uid, gid_t gid) in fset_ids()
806 fset_pmode(char *fnm, int fd, mode_t mode) in fset_pmode()
823 int fd, r; in set_attr() local
918 file_write(int fd, char *str, int cnt, int *rem, int *isempt, int sz, in file_write()
1023 file_flush(int fd, char *fname, int isempt) in file_flush()
1053 rdfile_close(ARCHD *arcn, int *fd) in rdfile_close()
1082 set_crc(ARCHD *arcn, int fd) in set_crc()
/openbsd/bin/ksh/
H A Dio.c221 can_seek(int fd) in can_seek()
258 savefd(int fd) in savefd()
278 restfd(int fd, int ofd) in restfd()
318 int fd, fl; in check_fd() local
360 coproc_read_close(int fd) in coproc_read_close()
373 coproc_readw_close(int fd) in coproc_readw_close()
385 coproc_write_close(int fd) in coproc_write_close()
399 int fd = (mode & R_OK) ? coproc.read : coproc.write; in coproc_getfd() local
441 int fd; in maketemp() local
/openbsd/regress/sys/net/pflow/
H A Dgen_traffic.c52 int fd; member
57 int fd; member
141 gen_traffic_paused(int fd, short events, void *arg) in gen_traffic_paused()
148 gen_traffic_sender_paused(int fd, short events, void *arg) in gen_traffic_sender_paused()
155 gen_traffic_accept(int fd, short events, void *arg) in gen_traffic_accept()
199 gen_traffic_request(int fd, short events, void *arg) in gen_traffic_request()
231 gen_traffic_write(int fd, short events, void *arg) in gen_traffic_write()
/openbsd/usr.sbin/ntpd/
H A Dcontrol.c43 int fd; in control_check() local
69 int fd; in control_init() local
112 control_listen(int fd) in control_listen()
123 control_shutdown(int fd) in control_shutdown()
160 control_connbyfd(int fd) in control_connbyfd()
173 control_close(int fd) in control_close()
296 session_socket_nonblockmode(int fd) in session_socket_nonblockmode()
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dfileio.c124 int fd, ret; in test_write() local
161 int fd, ret; in test_read() local
191 int fd; in test_lseek() local
226 int fd, ret; in test_close() local
281 int fd, ret; in test_fstat() local
310 int fd; in test_isatty() local

12345678910>>...62