Searched refs:data_fd (Results 1 – 1 of 1) sorted by relevance
/external/mmc-utils/ |
D | mmc_cmds.c | 1721 int i, ret, dev_fd, data_fd, key_fd = -1; in do_rpmb_read_block() local 1767 data_fd = STDOUT_FILENO; in do_rpmb_read_block() 1769 data_fd = open(argv[4], O_WRONLY | O_CREAT | O_APPEND, in do_rpmb_read_block() 1771 if (data_fd < 0) { in do_rpmb_read_block() 1844 ret = DO_IO(write, data_fd, frame_out->data, sizeof(frame_out->data)); in do_rpmb_read_block() 1858 if (data_fd != STDOUT_FILENO) in do_rpmb_read_block() 1859 close(data_fd); in do_rpmb_read_block() 1868 int ret, dev_fd, key_fd, data_fd; in do_rpmb_write_block() local 1905 data_fd = STDIN_FILENO; in do_rpmb_write_block() 1907 data_fd = open(argv[3], O_RDONLY); in do_rpmb_write_block() [all …]
|