Searched refs:open_flags (Results 1 – 10 of 10) sorted by relevance
/system/core/trusty/storage/proxy/ |
D | storage.c | 52 static uint32_t insert_fd(int open_flags, int fd) in insert_fd() argument 56 if (open_flags & O_CREAT) { in insert_fd() 62 if (open_flags & O_TRUNC) { in insert_fd() 67 if (open_flags & (O_TRUNC | O_CREAT)) { in insert_fd() 244 int open_flags = O_RDWR; in storage_file_open() local 247 open_flags |= O_TRUNC; in storage_file_open() 253 open_flags |= O_CREAT | O_EXCL; in storage_file_open() 254 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); in storage_file_open() 257 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); in storage_file_open() 260 open_flags |= O_CREAT; in storage_file_open() [all …]
|
/system/extras/ioshark/ |
D | convert_format.c | 254 new_disk_file_op.open_flags = in main() 258 new_disk_file_op.open_flags = in main() 259 htobe32(new_disk_file_op.open_flags); in main()
|
D | ioshark_bench.c | 307 if (file_op->open_flags & O_CREAT) { in do_one_io() 309 file_op->open_flags, in do_one_io() 325 file_op->open_flags, in do_one_io() 332 file_op->open_flags); in do_one_io() 334 if (file_op->open_flags & O_DIRECTORY) { in do_one_io() 342 file_op->open_flags, in do_one_io()
|
D | ioshark.h | 110 #define open_flags u.open_a.flags macro
|
D | compile_ioshark_subr.c | 265 file_op->open_flags = htobe32(file_op->open_flags); in ioshark_write_file_op()
|
D | README | 96 #define open_flags u.open_a.flags
|
D | ioshark_bench_subr.c | 705 file_op->open_flags = be32toh(file_op->open_flags); in ioshark_read_file_op()
|
D | compile_ioshark.c | 622 disk_file_op->open_flags = in main()
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_dev.c | 523 int open_flags; in main() local 594 open_flags = O_RDWR | O_SYNC; in main() 596 open_flags |= O_CREAT | O_TRUNC; in main() 598 s.data_fd = open(data_file_name, open_flags, S_IWUSR | S_IRUSR); in main()
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 688 int open_flags = O_RDWR | O_CLOEXEC; in Open() local 693 open_flags |= O_CREAT | O_TRUNC; in Open() 696 TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags, S_IRUSR | S_IWUSR))); in Open()
|