Home
last modified time | relevance | path

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

12345678

/system/bluetooth/tools/
Dpipetest.c46 static int _close(int fd) { in _close()
72 static int _write(int fd, char *buf, int len) { in _write()
83 static int _read(int fd) { in _read()
95 static int _shutdown(int fd, int how) { in _shutdown()
106 int fd = (int)args; in thread_poll() local
116 int fd = (int)args; in thread_pollin() local
126 int fd = (int)args; in thread_pollin_rand_delay() local
138 int fd = (int)args; in thread_read() local
145 int fd = (int)args; in thread_close() local
154 int fd[2]; in do_poll_poll_close() local
[all …]
Dsocktest.c51 int fd; member
126 static int _close(int fd, int type) { in _close()
137 static int _bind(int fd, int type) { in _bind()
174 static int _listen(int fd, int type) { in _listen()
185 static int _read(int fd) { in _read()
198 static int _accept(int fd, int type) { in _accept()
251 static int _connect(int fd, int type) { in _connect()
288 static int _write(int fd, int type) { in _write()
300 static int _shutdown(int fd, int how) { in _shutdown()
339 int fd = (int)args; in thread_poll() local
[all …]
Dasocket_test.c52 int fd; member
127 static int _close(int fd, int type) { in _close()
138 static int _bind(int fd, int type) { in _bind()
175 static int _listen(int fd, int type) { in _listen()
186 static int _read(int fd) { in _read()
199 static int _accept(int fd, int type) { in _accept()
238 static int _connect(int fd, int type) { in _connect()
274 static int _write(int fd, int type) { in _write()
286 static int _shutdown(int fd, int how) { in _shutdown()
325 int fd = (int)args; in thread_poll() local
[all …]
Dsock_shutdown_test.c50 int fd; member
109 static int _close(int fd) { in _close()
120 static int _bind(int fd, int type) { in _bind()
157 static int _listen(int fd, int type) { in _listen()
168 static int _accept(int fd, int type) { in _accept()
207 static int _shutdown(int fd, int how) { in _shutdown()
226 int fd; in do_accept_shutdown() local
/system/core/libion/
Dion.c35 int fd = open("/dev/ion", O_RDWR); in ion_open() local
41 int ion_close(int fd) in ion_close()
46 static int ion_ioctl(int fd, int req, void *arg) in ion_ioctl()
57 int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, in ion_alloc()
75 int ion_free(int fd, struct ion_handle *handle) in ion_free()
83 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map()
106 int ion_share(int fd, struct ion_handle *handle, int *share_fd) in ion_share()
124 int ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask, in ion_alloc_fd()
137 int ion_import(int fd, int share_fd, struct ion_handle **handle) in ion_import()
150 int ion_sync_fd(int fd, int handle_fd) in ion_sync_fd()
Dion_test.c26 int _ion_alloc_test(int *fd, struct ion_handle **handle) in _ion_alloc_test()
43 int fd, ret; in ion_alloc_test() local
60 int fd, map_fd, ret; in ion_map_test() local
121 int fd, share_fd, ret; in ion_share_test() local
156 int fd, recv_fd; in ion_share_test() local
/system/core/libcutils/
Dashmem-dev.c44 int fd, ret; in ashmem_create_region() local
70 int ashmem_set_prot_region(int fd, int prot) in ashmem_set_prot_region()
75 int ashmem_pin_region(int fd, size_t offset, size_t len) in ashmem_pin_region()
81 int ashmem_unpin_region(int fd, size_t offset, size_t len) in ashmem_unpin_region()
87 int ashmem_get_size_region(int fd) in ashmem_get_size_region()
Dashmem-host.c42 int fd; in ashmem_create_region() local
81 int ashmem_set_prot_region(int fd, int prot) in ashmem_set_prot_region()
86 int ashmem_pin_region(int fd, size_t offset, size_t len) in ashmem_pin_region()
91 int ashmem_unpin_region(int fd, size_t offset, size_t len) in ashmem_unpin_region()
96 int ashmem_get_size_region(int fd) in ashmem_get_size_region()
Duio.c22 int readv( int fd, struct iovec* vecs, int count ) in readv()
49 int writev( int fd, const struct iovec* vecs, int count ) in writev()
/system/extras/ext4_utils/
Dext4fixup.c87 static void read_sb(int fd, struct ext4_super_block *sb) in read_sb()
103 static void write_sb(int fd, unsigned long long offset, struct ext4_super_block *sb) in write_sb()
122 static int get_fs_fixup_state(int fd) in get_fs_fixup_state()
153 static int set_fs_fixup_state(int fd, int state) in set_fs_fixup_state()
199 static int read_ext(int fd) in read_ext()
257 static int read_inode(int fd, unsigned int inum, struct ext4_inode *inode) in read_inode()
281 static int read_block(int fd, unsigned long long block_num, void *block) in read_block()
300 static int write_block(int fd, unsigned long long block_num, void *block) in write_block()
338 static void check_inode_bitmap(int fd, unsigned int bg_num) in check_inode_bitmap()
370 static int update_superblocks_and_bg_desc(int fd, int state) in update_superblocks_and_bg_desc()
[all …]
Dwipe.c33 int wipe_block_device(int fd, s64 len) in wipe_block_device()
57 int wipe_block_device(int fd, s64 len) in wipe_block_device()
/system/core/adb/
Dservices.c43 int fd; member
59 static void dns_service(int fd, void *cookie) in dns_service()
83 int fd; in recover_service() local
110 void restart_root_service(int fd, void *cookie) in restart_root_service()
135 void restart_tcp_service(int fd, void *cookie) in restart_tcp_service()
155 void restart_usb_service(int fd, void *cookie) in restart_usb_service()
165 void reboot_service(int fd, void *arg) in reboot_service()
341 static void subproc_waiter_service(int fd, void *cookie) in subproc_waiter_service()
502 static void wait_for_state(int fd, void* cookie) in wait_for_state()
553 int fd = create_service_thread(wait_for_state, sinfo); in host_service_to_socket() local
Dadb_client.c92 static int switch_socket_transport(int fd) in switch_socket_transport()
140 int adb_status(int fd) in adb_status()
180 int fd; in _adb_connect() local
222 int fd = _adb_connect("host:version"); in adb_connect() local
295 int fd = adb_connect(service); in adb_command() local
315 int fd = adb_connect(service); in adb_query() local
Dsysdeps.h79 static __inline__ void close_on_exec(int fd) in close_on_exec()
121 static __inline__ int unix_close(int fd) in unix_close()
128 static __inline__ int unix_read(int fd, void* buf, size_t len) in unix_read()
135 static __inline__ int unix_write(int fd, const void* buf, size_t len) in unix_write()
199 int fd; member
219 static __inline__ int adb_socket_setbufsize( int fd, int bufsize ) in adb_socket_setbufsize()
320 static __inline__ void close_on_exec(int fd) in close_on_exec()
350 int fd = TEMP_FAILURE_RETRY( open( pathname, options ) ); in adb_open() local
359 static __inline__ int adb_shutdown(int fd) in adb_shutdown()
366 static __inline__ int adb_close(int fd) in adb_close()
[all …]
Dremount_service.c36 int fd; in find_mount() local
92 static void write_string(int fd, const char* str) in write_string()
97 void remount_service(int fd, void *cookie) in remount_service()
Dconsole.c8 int fd, port; in connect_to_console() local
29 int fd, nn; in adb_send_emulator_command() local
Dfile_sync_client.c65 void sync_quit(int fd) in sync_quit()
77 int sync_ls(int fd, const char *path, sync_ls_cb func, void *cookie) in sync_ls()
126 int sync_readtime(int fd, const char *path, unsigned *timestamp) in sync_readtime()
151 static int sync_start_readtime(int fd, const char *path) in sync_start_readtime()
167 static int sync_finish_readtime(int fd, unsigned int *timestamp, in sync_finish_readtime()
185 int sync_readmode(int fd, const char *path, unsigned *mode) in sync_readmode()
210 static int write_data_file(int fd, const char *path, syncsendbuf *sbuf) in write_data_file()
247 static int write_data_buffer(int fd, char* file_buffer, int size, syncsendbuf *sbuf) in write_data_buffer()
273 static int write_data_link(int fd, const char *path, syncsendbuf *sbuf) in write_data_link()
297 static int sync_send(int fd, const char *lpath, const char *rpath, in sync_send()
[all …]
Dlog_service.c33 void log_service(int fd, void *cookie) in log_service()
87 void write_log_entry(int fd, struct logger_entry *buf) in write_log_entry()
/system/core/libsync/
Dsync.c30 int sync_wait(int fd, int timeout) in sync_wait()
52 struct sync_fence_info_data *sync_fence_info(int fd) in sync_fence_info()
96 int sw_sync_timeline_inc(int fd, unsigned count) in sw_sync_timeline_inc()
103 int sw_sync_fence_create(int fd, const char *name, unsigned value) in sw_sync_fence_create()
/system/vold/
DLoop.cpp41 int fd; in dumpState() local
83 int fd; in lookupActive() local
129 int fd; in create() local
236 int fd; in createImageFile() local
253 int fd; in lookupInfo() local
DDevmapper.cpp57 int fd; in dumpState() local
140 int fd; in lookupActive() local
174 int fd; in create() local
271 int fd; in destroy() local
/system/core/libsparse/
Dsparse_read.c99 int fd, int64_t offset, unsigned int blocks, unsigned int block, in process_raw_chunk()
137 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_fill_chunk()
178 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_skip_chunk()
204 static int process_crc32_chunk(int fd, unsigned int chunk_size, uint32_t crc32) in process_crc32_chunk()
225 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk()
277 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) in sparse_file_read_sparse()
359 static int sparse_file_read_normal(struct sparse_file *s, int fd) in sparse_file_read_normal()
410 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) in sparse_file_read()
423 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc) in sparse_file_import()
479 struct sparse_file *sparse_file_import_auto(int fd, bool crc) in sparse_file_import_auto()
/system/extras/tests/storage/
Dwipe_blkdev.c37 static u64 get_block_device_size(int fd) in get_block_device_size()
50 static int wipe_block_device(int fd, u64 len, int secure) in wipe_block_device()
83 int fd; in main() local
/system/core/init/
Dbootchart.c50 unix_read(int fd, void* buff, int len) in unix_read()
58 unix_write(int fd, const void* buff, int len) in unix_write()
69 int fd = open(filename, O_RDONLY); in proc_read() local
82 int fd; member
161 close_on_exec(int fd) in close_on_exec()
188 int fd, ret, len; in do_log_uptime() local
217 int fd; in do_log_file() local
258 int fd; in do_log_procs() local
342 int fd = open( LOG_ACCT, O_WRONLY|O_CREAT|O_TRUNC,0644); in bootchart_init() local
/system/core/libdiskconfig/
Ddiskconfig.c239 sync_ptable(int fd) in sync_ptable()
273 int fd; in validate() local
387 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst) in validate_and_config()
422 int fd; in process_disk_config() local
436 int fd; in apply_disk_config() local

12345678