Lines Matching refs:bytes_to_put
920 size_t bytes_to_put = (char *)dst_next_page - (char *)dst_iter; in lwp_data_put() local
921 if (bytes_to_put > size) in lwp_data_put()
923 bytes_to_put = size; in lwp_data_put()
926 if (ALIGNED(dst_iter) && bytes_to_put == ARCH_PAGE_SIZE) in lwp_data_put()
942 memcpy(temp_page + (dst_iter - dst_iter_aligned), src_iter, bytes_to_put); in lwp_data_put()
947 src_iter = src_iter + bytes_to_put; in lwp_data_put()
948 dst_iter = dst_iter + bytes_to_put; in lwp_data_put()
949 size -= bytes_to_put; in lwp_data_put()
951 copy_len += bytes_to_put; in lwp_data_put()
981 size_t bytes_to_put = (char *)dst_next_page - (char *)dst_iter; in lwp_data_set() local
982 if (bytes_to_put > size) in lwp_data_set()
984 bytes_to_put = size; in lwp_data_set()
988 if (!ALIGNED(dst_iter) || bytes_to_put != ARCH_PAGE_SIZE) in lwp_data_set()
992 memset(temp_page + (dst_iter - dst_iter_aligned), byte, bytes_to_put); in lwp_data_set()
996 dst_iter = dst_iter + bytes_to_put; in lwp_data_set()
997 size -= bytes_to_put; in lwp_data_set()
999 copy_len += bytes_to_put; in lwp_data_set()