Searched refs:open_flags (Results 1 – 8 of 8) sorted by relevance
52 static uint32_t insert_fd(int open_flags, int fd) in insert_fd() argument56 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() local247 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 …]
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()
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()
110 #define open_flags u.open_a.flags macro
265 file_op->open_flags = htobe32(file_op->open_flags); in ioshark_write_file_op()
96 #define open_flags u.open_a.flags
710 file_op->open_flags = be32toh(file_op->open_flags); in ioshark_read_file_op()
622 disk_file_op->open_flags = in main()