HelenOS sources
LOG_LENGTH 62 kernel/generic/src/log/log.c uint8_t log_buffer[LOG_LENGTH] __attribute__((aligned(PAGE_SIZE)));
LOG_LENGTH 101 kernel/generic/src/log/log.c for (size_t i = 0; i < len; i++, pos = (pos + 1) % LOG_LENGTH) {
LOG_LENGTH 109 kernel/generic/src/log/log.c for (size_t i = 0; i < len; i++, pos = (pos + 1) % LOG_LENGTH) {
LOG_LENGTH 122 kernel/generic/src/log/log.c if (len > LOG_LENGTH - log_current_len) {
LOG_LENGTH 123 kernel/generic/src/log/log.c len = LOG_LENGTH - log_current_len;
LOG_LENGTH 129 kernel/generic/src/log/log.c size_t log_free = LOG_LENGTH - log_used - log_current_len;
LOG_LENGTH 135 kernel/generic/src/log/log.c log_start = (log_start + entry_len) % LOG_LENGTH;
LOG_LENGTH 141 kernel/generic/src/log/log.c size_t pos = (log_current_start + log_current_len) % LOG_LENGTH;
LOG_LENGTH 156 kernel/generic/src/log/log.c log_current_start = (log_start + log_used) % LOG_LENGTH;
LOG_LENGTH 339 kernel/generic/src/log/log.c size_t pos = (log_start + next_for_uspace) % LOG_LENGTH;
HelenOS homepage, sources at GitHub