Searched refs:copy_size (Results 1 – 3 of 3) sorted by relevance
/trusty/kernel/app/usercopytest/ |
D | usercopytest.c | 410 int copy_size, in usercopy_test_strlcpy_from_user_inner() argument 417 int copy_len = copy_size ? copy_size - 1 : 0; in usercopy_test_strlcpy_from_user_inner() 431 addr + TEST_BUF_COPY_START, copy_size); in usercopy_test_strlcpy_from_user_inner() 434 if (copy_size) { in usercopy_test_strlcpy_from_user_inner() 439 null_off, copy_size); in usercopy_test_strlcpy_from_user_inner() 445 null_off, copy_size); in usercopy_test_strlcpy_from_user_inner() 454 " null_off=%d, copy_size=%d\n", null_off, copy_size); in usercopy_test_strlcpy_from_user_inner() 467 null_off, copy_size); in usercopy_test_strlcpy_from_user_inner() 469 " null_off=%d, copy_size=%d\n", null_off, copy_size); in usercopy_test_strlcpy_from_user_inner() 477 copy_size); in usercopy_test_strlcpy_from_user_inner() [all …]
|
/trusty/user/app/storage/storage_mock/ |
D | storage_mock.c | 282 size_t copy_size = size; in storage_read() local 283 if (off + copy_size > file_info->size) { in storage_read() 284 copy_size = file_info->size - off; in storage_read() 286 memcpy(buf, file_info->buf + off, copy_size); in storage_read() 287 return copy_size; in storage_read()
|
/trusty/kernel/lib/trusty/ |
D | trusty_app.c | 1329 size_t copy_size; in alloc_address_map() local 1365 copy_size = MIN(file_size, PAGE_SIZE); in alloc_address_map() 1366 memcpy(load_kvaddr, (void*)img_kvaddr, copy_size); in alloc_address_map() 1367 file_size -= copy_size; in alloc_address_map() 1368 vaddr += copy_size; in alloc_address_map() 1369 img_kvaddr += copy_size; in alloc_address_map()
|