Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_user_mem.c40 ssize_t len, syscall_len; in check_usermem_access_fault() local
62 syscall_len = read(fd, ptr, len); in check_usermem_access_fault()
64 if (cur_mte_cxt.fault_valid || syscall_len < len) in check_usermem_access_fault()
89 syscall_len = read(fd, ptr + ptroff, size); in check_usermem_access_fault()
92 syscall_len = write(fd, ptr + ptroff, size); in check_usermem_access_fault()
98 syscall_len = readv(fd, iov, 1); in check_usermem_access_fault()
105 syscall_len = writev(fd, iov, 1); in check_usermem_access_fault()
121 if (mode == MTE_SYNC_ERR && syscall_len < len) { in check_usermem_access_fault()
123 } else if (mode == MTE_ASYNC_ERR && syscall_len == size) { in check_usermem_access_fault()