Home
last modified time | relevance | path

Searched refs:file_fd (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/auxprogs/
Dvalgrind-di-server.c184 int file_fd; member
740 if (conn_state[conn_no].file_fd == 0) { in handle_transaction()
745 conn_state[conn_no].file_fd, in handle_transaction()
758 if (conn_state[conn_no].file_fd != 0) { in handle_transaction()
786 conn_state[conn_no].file_fd = fd; in handle_transaction()
811 if (ok && conn_state[conn_no].file_fd == 0) { in handle_transaction()
828 size_t nRead = pread(conn_state[conn_no].file_fd, in handle_transaction()
917 if (conn_state[conn_no].file_fd > 0) in handle_transaction()
918 close(conn_state[conn_no].file_fd); in handle_transaction()
1189 conn_state[i].file_fd = 0; /* not known yet */ in main()
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c880 int write_block(int file_fd, char *buffer, int size, long long hole, int sparse) in write_block() argument
886 int error = lseek(file_fd, off, SEEK_CUR); in write_block()
905 if(write_bytes(file_fd, zero_data, avail_bytes) in write_block()
912 if(write_bytes(file_fd, buffer, size) == -1) in write_block()
962 void queue_file(char *pathname, int file_fd, struct inode *inode) in queue_file() argument
968 file->fd = file_fd; in queue_file()
1001 unsigned int file_fd, i; in write_file() local
1008 file_fd = open_wait(pathname, O_CREAT | O_WRONLY | in write_file()
1010 if(file_fd == -1) { in write_file()
1027 queue_file(pathname, file_fd, inode); in write_file()
[all …]