Lines Matching refs:from

58 #	define va_copy(to, from)	__va_copy(to, from)
64 const void* from;
70 const char* from;
78 // separates panic() message from command list to execute
571 // swap the current line with something from the history
837 "can't read from.\n", thread);
857 "address we can't read from.\n", thread->team);
1141 // Our output caused older syslog output to be evicted from the
1264 // from the syslog ring buffer
1399 sSyslogMessage->from = 0;
1479 memcpy(parameters->to, parameters->from, parameters->size);
1488 parameters->result = strlcpy(parameters->to, parameters->from,
1930 /*! Similar to user_memcpy(), but can only be invoked from within the kernel
1938 debug_memcpy(team_id teamID, void* to, const void* from, size_t size)
1941 if ((addr_t)from + size < (addr_t)from || (addr_t)to + size < (addr_t)to)
1946 if ((IS_KERNEL_ADDRESS(from) && IS_KERNEL_ADDRESS(to))
1948 debug_memcpy_parameters parameters = {to, from, size};
1963 if (((addr_t)from + toCopy) % B_PAGE_SIZE < toCopy)
1964 toCopy -= ((addr_t)from + toCopy) % B_PAGE_SIZE;
1968 if (vm_debug_copy_page_memory(teamID, (void*)from, buffer, toCopy,
1975 from = (const uint8*)from + toCopy;
1984 /*! Similar to user_strlcpy(), but can only be invoked from within the kernel
1992 debug_strlcpy(team_id teamID, char* to, const char* from, size_t size)
1994 if (from == NULL || (to == NULL && size > 0))
1999 ~(addr_t)0 - std::max((addr_t)from, (addr_t)to) + 1);
2000 // NOTE: Since strlcpy() determines the length of \a from, the source
2005 if ((IS_KERNEL_ADDRESS(from) && IS_KERNEL_ADDRESS(to))
2007 debug_strlcpy_parameters parameters = {to, from, maxSize};
2028 if (((addr_t)from + toCopy) % B_PAGE_SIZE < toCopy)
2029 toCopy -= ((addr_t)from + toCopy) % B_PAGE_SIZE;
2033 // copy the next part of the string from the source
2034 if (vm_debug_copy_page_memory(teamID, (void*)from, buffer, toCopy,
2044 from = (const char*)from + toCopy;