Home
last modified time | relevance | path

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

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw() function
317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); in gpt2_set_boot_chain()
337 r = blk_rw(fd, 0, pentries_start_offset, pentries, pentries_array_size); in gpt2_set_boot_chain()
349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); in gpt2_set_boot_chain()
373 r = blk_rw(fd, 1, gpt2_header_offset, gpt_header, blk_size); in gpt2_set_boot_chain()
376 r = blk_rw(fd, 1, pentries_start_offset, pentries, in gpt2_set_boot_chain()
430 if (blk_rw(fd, 0, gpt_header_offset, gpt_header, blk_size)) { in gpt_get_state()
493 if (blk_rw(fd, 0, gpt_header_offset, gpt_header, blk_size)) { in gpt_set_state()
513 if (blk_rw(fd, 1, gpt_header_offset, gpt_header, blk_size)) { in gpt_set_state()
1173 if (blk_rw(fd, 1, gpt_header_offset, gpt_header, block_size)) { in gpt_set_header()
[all …]