Home
last modified time | relevance | path

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

12345678910>>...93

/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Dfile.h42 struct fd { struct
44 int fd_number; argument
47 static inline struct fd argument
50 struct fd fd; in fdget() local
59 fdput(struct fd fd) in fdput()
67 fget(int fd) in fget()
73 fd_install(int fd, struct file *fp) in fd_install()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dlockf.c65 int lutil_lockf ( int fd ) { in lutil_lockf()
70 int lutil_unlockf ( int fd ) { in lutil_unlockf()
77 int lutil_lockf ( int fd ) { in lutil_lockf()
82 int lutil_unlockf ( int fd ) { in lutil_unlockf()
88 int lutil_lockf ( int fd ) { in lutil_lockf()
101 int lutil_unlockf ( int fd ) { in lutil_unlockf()
115 int lutil_lockf ( int fd ) { in lutil_lockf()
120 int lutil_unlockf ( int fd ) { in lutil_unlockf()
/netbsd-src/sbin/wsconsctl/
H A Dmouse.c95 mouse_get_values(int fd) in mouse_get_values()
122 mouse_get_parameters(int fd) in mouse_get_parameters()
164 mouse_get_calibration(int fd) in mouse_get_calibration()
216 mouse_get_repeat(int fd) in mouse_get_repeat()
234 mouse_put_values(int fd) in mouse_put_values()
272 mouse_put_parameters(int fd) in mouse_put_parameters()
307 mouse_put_calibration(int fd) in mouse_put_calibration()
371 mouse_put_repeat(int fd) in mouse_put_repeat()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcs_key_ps.c33 int fd; in ps_init_disk_cache() local
56 int fd; in ps_close_disk_cache() local
72 int fd; in ps_is_key_registered() local
165 int fd = -1; in ps_remove_key() local
213 clean_disk_cache(int fd) in clean_disk_cache()
251 int fd = -1; in ps_get_key_by_uuid() local
266 int fd = -1; in ps_get_key_by_cache_entry() local
281 int fd = -1; in ps_get_vendor_data() local
296 int fd = -1; in ps_is_pub_registered() local
314 int fd = -1; in ps_get_uuid_by_pub() local
[all …]
/netbsd-src/tests/kernel/
H A Dt_memfd_create.c59 int fd; in ATF_TC_BODY() local
75 int fd; in ATF_TC_BODY() local
98 int fd; in ATF_TC_BODY() local
134 int fd; in ATF_TC_BODY() local
180 int fd; in ATF_TC_BODY() local
202 int fd; in ATF_TC_BODY() local
220 int fd; in ATF_TC_BODY() local
237 test_all_seals_except(int fd, int except) in test_all_seals_except()
306 int fd; in ATF_TC_BODY() local
328 int fd; in ATF_TC_BODY() local
[all …]
/netbsd-src/tests/modules/
H A Dt_kcov.c51 int fd; in open_kcov() local
104 int fd; in ATF_TC_BODY() local
117 int fd; in ATF_TC_BODY() local
133 int fd; in ATF_TC_BODY() local
155 int fd; in ATF_TC_BODY() local
171 int fd; in ATF_TC_BODY() local
187 int fd; in kcov_mmap_enable_thread() local
210 int fd; in ATF_TC_BODY() local
225 int fd; in ATF_TC_BODY() local
264 int fd; in ATF_TC_BODY() local
[all …]
/netbsd-src/tests/crypto/opencrypto/
H A Dh_ioctl.c65 wait_for_read(int fd) in wait_for_read()
97 test_ngsession(int fd) in test_ngsession()
127 test_nfsession(int fd) in test_nfsession()
150 test_ncryptm(int fd) in test_ncryptm()
182 test_ncryptretm(int fd) in test_ncryptretm()
263 test_ncryptret_noent(int fd) in test_ncryptret_noent()
283 test_ncryptret_ent(int fd) in test_ncryptret_ent()
346 test_ncryptret(int fd) in test_ncryptret()
382 test_asymfeat_each(int fd, u_int32_t *asymfeat, int userasym) in test_asymfeat_each()
394 test_asymfeat(int fd) in test_asymfeat()
[all …]
/netbsd-src/sys/arch/mips/cavium/dev/
H A Docteon_fau.c103 octfau_op_init(struct octfau_desc *fd, size_t scroff, size_t regno) in octfau_op_init()
111 octfau_op_save(struct octfau_desc *fd) in octfau_op_save()
119 octfau_op_restore(struct octfau_desc *fd, uint64_t backup) in octfau_op_restore()
126 octfau_op_inc_8(struct octfau_desc *fd, int64_t v) in octfau_op_inc_8()
136 octfau_op_incwait_8(struct octfau_desc *fd, int v) in octfau_op_incwait_8()
148 octfau_op_add_8(struct octfau_desc *fd, int64_t v) in octfau_op_add_8()
155 octfau_op_set_8(struct octfau_desc *fd, int64_t v) in octfau_op_set_8()
/netbsd-src/lib/lua/gpio/
H A Dgpio.c70 int *fd; in gpio_open() local
87 int *fd; in gpio_close() local
101 int *fd; in gpio_info() local
130 int *fd; in gpio_set() local
145 int *fd; in gpio_unset() local
159 int *fd; in gpio_read() local
175 int *fd, val; in gpio_write() local
194 int *fd; in gpio_toggle() local
209 int *fd; in gpio_attach() local
/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Dcontrol.c59 control_queue_free(struct fd_list *fd) in control_queue_free()
81 control_free(struct fd_list *fd) in control_free()
97 control_hangup(struct fd_list *fd) in control_hangup()
110 control_handle_read(struct fd_list *fd) in control_handle_read()
149 control_handle_write(struct fd_list *fd) in control_handle_write()
207 struct fd_list *fd = arg; in control_handle_data() local
225 control_recvdata(struct fd_list *fd, char *data, size_t len) in control_recvdata()
280 control_new(struct dhcpcd_ctx *ctx, int fd, unsigned int flags) in control_new()
306 int fd, flags; in control_handle1() local
390 int fd; in make_sock() local
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ps/
H A Dtspps.c174 get_file(int *fd) in get_file()
224 put_file(int fd) in put_file()
242 psfile_close(int fd) in psfile_close()
250 psfile_is_key_registered(int fd, TSS_UUID *uuid, TSS_BOOL *answer) in psfile_is_key_registered()
266 psfile_get_parent_uuid_by_uuid(int fd, TSS_UUID *uuid, TSS_UUID *ret_uuid) in psfile_get_parent_uuid_by_uuid()
280 psfile_get_parent_ps_type(int fd, TSS_UUID *uuid, UINT32 *type) in psfile_get_parent_ps_type()
300 psfile_get_key_by_uuid(int fd, TSS_UUID *uuid, BYTE *key) in psfile_get_key_by_uuid()
338 psfile_get_key_by_pub(int fd, TSS_UUID *uuid, UINT32 pub_size, BYTE *pub, BYTE *key) in psfile_get_key_by_pub()
376 psfile_get_uuid_by_pub(int fd, UINT32 pub_size, BYTE *pub, TSS_UUID *uuid) in psfile_get_uuid_by_pub()
390 psfile_change_num_keys(int fd, BYTE increment) in psfile_change_num_keys()
[all …]
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dopenat.h62 chownat (int fd, char const *file, uid_t owner, gid_t group) in chownat()
68 lchownat (int fd, char const *file, uid_t owner, gid_t group) in lchownat()
82 chmodat (int fd, char const *file, mode_t mode) in chmodat()
88 lchmodat (int fd, char const *file, mode_t mode) in lchmodat()
103 statat (int fd, char const *name, struct stat *st) in statat()
110 lstatat (int fd, char const *name, struct stat *st) in lstatat()
/netbsd-src/sys/arch/zaurus/stand/zboot/
H A Dpathfs.c34 pathfs_open(const char *path, struct open_file *fd) in pathfs_open()
45 pathfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid) in pathfs_read()
65 pathfs_write(struct open_file *fd, void *vbuf, size_t size, size_t *resid) in pathfs_write()
72 pathfs_seek(struct open_file *fd, off_t offset, int whence) in pathfs_seek()
79 pathfs_close(struct open_file *fd) in pathfs_close()
86 pathfs_stat(struct open_file *fd, struct stat *sb) in pathfs_stat()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A 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, Tid *tid, StackID *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 …]
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_fd.cc43 static bool bogusfd(int fd) { in bogusfd()
72 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()
92 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init()
141 bool FdLocation(uptr addr, int *fd, int *tid, u32 *stack) { in FdLocation()
158 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire()
169 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease()
180 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess()
188 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose()
216 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate()
242 void FdEventCreate(ThreadState *thr, uptr pc, int fd) { in FdEventCreate()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_fd.cc45 static bool bogusfd(int fd) { in bogusfd()
74 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 …]
/netbsd-src/usr.bin/scmdctl/
H A Dcommon.c59 int common_clear(struct function_block *fb, int fd, bool debug) in common_clear()
65 common_identify(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_identify_r… in common_identify()
89 int common_diag(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_diag_respo… in common_diag()
113 common_get_motor(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_motor_res… in common_get_motor()
189 common_set_motor(struct function_block *fb, int fd, bool debug, int a_module, char a_motor, int8_t … in common_set_motor()
217 common_invert_motor(struct function_block *fb, int fd, bool debug, int a_module, char a_motor) in common_invert_motor()
259 common_bridge_motor(struct function_block *fb, int fd, bool debug, int a_module) in common_bridge_motor()
294 common_enable_disable(struct function_block *fb, int fd, bool debug, int subcmd) in common_enable_disable()
324 common_control_1(struct function_block *fb, int fd, bool debug, int subcmd) in common_control_1()
351 common_get_update_rate(struct function_block *fb, int fd, bool debug, uint8_t *rate) in common_get_update_rate()
[all …]
H A Duart.c64 uart_clear(int fd, bool debug) in uart_clear()
91 pure_uart_send_cmd(int fd, const char *s, char *ibuf, int len) in pure_uart_send_cmd()
111 uart_get_response(int fd, bool debug, char *obuf, int len) in uart_get_response()
150 uart_phy_read_register(int fd, bool debug, uint8_t reg, uint8_t *buf) in uart_phy_read_register()
245 uart_phy_write_register(int fd, bool debug, uint8_t reg, uint8_t buf) in uart_phy_write_register()
309 uart_local_read_register(int fd, bool debug, uint8_t reg, uint8_t reg_end, uint8_t *r) in uart_local_read_register()
328 uart_set_view_port(int fd, bool debug, int a_module, uint8_t vpi2creg) in uart_set_view_port()
345 uart_remote_read_register(int fd, bool debug, int a_module, uint8_t reg, uint8_t reg_end, uint8_t *… in uart_remote_read_register()
399 uart_read_register(int fd, bool debug, int a_module, uint8_t reg, uint8_t reg_end, uint8_t *r) in uart_read_register()
423 uart_remote_write_register(int fd, bool debug, int a_module, uint8_t reg, uint8_t reg_v) in uart_remote_write_register()
[all …]
/netbsd-src/usr.sbin/mopd/common/
H A Dprint.c46 mopPrintHWA(FILE *fd, const u_char *ap) in mopPrintHWA()
59 mopPrintBPTY(FILE *fd, u_char bpty) in mopPrintBPTY()
75 mopPrintPGTY(FILE *fd, u_char pgty) in mopPrintPGTY()
97 mopPrintOneline(FILE *fd, const u_char *pkt, int trans) in mopPrintOneline()
245 mopPrintHeader(FILE *fd, const u_char *pkt, int trans) in mopPrintHeader()
306 mopPrintMopHeader(FILE *fd, const u_char *pkt, int trans) in mopPrintMopHeader()
415 mopPrintDevice(FILE *fd, u_char device) in mopPrintDevice()
426 mopPrintTime(FILE *fd, const u_char *ap) in mopPrintTime()
435 mopPrintInfo(FILE *fd, const u_char *pkt, int *idx, in mopPrintInfo()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ps/
H A Dtcsps.c93 put_file(int fd) in put_file()
109 close_file(int fd) in close_file()
116 psfile_get_parent_uuid_by_uuid(int fd, TSS_UUID *uuid, TSS_UUID *ret_uuid) in psfile_get_parent_uuid_by_uuid()
159 psfile_get_key_by_uuid(int fd, TSS_UUID *uuid, BYTE *ret_buffer, UINT16 *ret_buffer_size) in psfile_get_key_by_uuid()
211 psfile_get_key_by_cache_entry(int fd, struct key_disk_cache *c, BYTE *ret_buffer, in psfile_get_key_by_cache_entry()
248 psfile_get_vendor_data(int fd, struct key_disk_cache *c, UINT32 *size, BYTE **data) in psfile_get_vendor_data()
279 psfile_get_ps_type_by_uuid(int fd, TSS_UUID *uuid, UINT32 *ret_ps_type) in psfile_get_ps_type_by_uuid()
307 psfile_is_pub_registered(int fd, TCPA_STORE_PUBKEY *pub, TSS_BOOL *is_reg) in psfile_is_pub_registered()
366 psfile_get_uuid_by_pub(int fd, TCPA_STORE_PUBKEY *pub, TSS_UUID **ret_uuid) in psfile_get_uuid_by_pub()
436 psfile_get_key_by_pub(int fd, TCPA_STORE_PUBKEY *pub, UINT32 *size, BYTE **ret_key) in psfile_get_key_by_pub()
[all …]
/netbsd-src/games/hack/
H A Dhack.lev.c85 savelev(int fd, xchar lev) in savelev()
134 bwrite(int fd, const void *loc, size_t num) in bwrite()
142 saveobjchn(int fd, struct obj *otmp) in saveobjchn()
160 savemonchn(int fd, struct monst *mtmp) in savemonchn()
183 savegoldchn(int fd, struct gold *gold) in savegoldchn()
196 savetrapchn(int fd, struct trap *trap) in savetrapchn()
209 getlev(int fd, int pid, xchar lev) in getlev()
311 mread(int fd, void *buf, size_t len) in mread()
/netbsd-src/games/fortune/fortune/
H A Dfortune.c91 typedef struct fd { struct
93 int fd, datfd; argument
103 struct fd *child, *parent; argument
104 struct fd *next, *prev; argument
194 int fd; in main() local
450 int fd; in add_file() local
642 int fd; in all_forts() local
1072 int fd; in get_pos() local
1102 int fd; in get_tbl() local
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_ps.c65 int fd; in ps_get_registered_keys() local
81 int fd; in ps_get_registered_keys2() local
98 int fd; in ps_is_key_registered() local
114 int fd; in ps_write_key() local
136 int fd; in ps_remove_key() local
151 int fd; in ps_get_key_by_pub() local
174 int fd; in ps_get_key_by_uuid() local
196 int fd; in ps_get_parent_uuid_by_uuid() local
211 int fd; in ps_get_parent_ps_type_by_uuid() local
228 int fd; in ps_close() local
/netbsd-src/crypto/external/bsd/openssl/dist/include/internal/
H A Dktls.h50 static ossl_inline int ktls_enable(int fd) in ktls_enable()
65 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *tls_en, int is_tx) in ktls_start()
85 static ossl_inline int ktls_send_ctrl_message(int fd, unsigned char record_type, in ktls_send_ctrl_message()
113 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record()
127 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record()
188 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, in ktls_sendfile()
271 static ossl_inline int ktls_enable(int fd) in ktls_enable()
284 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *crypto_info, in ktls_start()
298 static ossl_inline int ktls_send_ctrl_message(int fd, unsigned char record_type, in ktls_send_ctrl_message()
332 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, size_t size, int flags) in ktls_sendfile()
[all …]
/netbsd-src/usr.sbin/sdpd/
H A Dserver.c150 int opt, fd; in server_open_control() local
219 int fd; in server_open_l2cap() local
279 int fd; in server_shutdown() local
308 int n, fd; in server_do() local
346 server_accept_client(server_t *srv, int fd) in server_accept_client()
410 server_process_request(server_t *srv, int fd) in server_process_request()
554 server_close_fd(server_t *srv, int fd) in server_close_fd()

12345678910>>...93