Lines Matching +full:sync +full:- +full:write
1 // SPDX-License-Identifier: GPL-2.0
49 if (fd == -1) in check_usermem_access_fault()
52 if (write(fd, &val, sizeof(val)) != sizeof(val)) in check_usermem_access_fault()
74 tag_len = len - tag_offset; in check_usermem_access_fault()
92 syscall_len = write(fd, ptr + ptroff, size); in check_usermem_access_fault()
114 * Accessing user memory in kernel with invalid tag should fail in sync in check_usermem_access_fault()
142 void format_test_name(char* name, int name_len, int type, int sync, int map, int len, int offset) { in format_test_name() argument
152 test_type = "write"; in format_test_name()
165 switch (sync) { in format_test_name()
224 int sync = mte_sync[s]; in main() local
228 int res = check_usermem_access_fault(USE_MMAP, sync, in main()
232 t, sync, map, tag_len, offset); in main()