HelenOS sources

log                45 boot/arch/arm32/src/mm.c 	unsigned log = 0;
log                46 boot/arch/arm32/src/mm.c 	while (val >> log++)
log                48 boot/arch/arm32/src/mm.c 	return log - 2;
log               179 kernel/arch/amd64/src/interrupt.c 		log(LF_ARCH, LVL_DEBUG, "cpu%u: unhandled IRQ %u", CPU->id,
log               198 kernel/arch/amd64/src/interrupt.c 	log(LF_ARCH, LVL_DEBUG, "cpu%u: PIC spurious interrupt %u", CPU->id,
log               183 kernel/arch/amd64/src/smp/mps.c 	log(LF_ARCH, LVL_DEBUG, "MPS: bus=%" PRIu8 " (%s)", bus->bus_id, buf);
log               338 kernel/arch/amd64/src/smp/mps.c 			log(LF_ARCH, LVL_NOTE, "MPS: Skipping MP Configuration"
log               348 kernel/arch/amd64/src/smp/mps.c 		log(LF_ARCH, LVL_WARN, "MPS: Wrong ct->signature");
log               353 kernel/arch/amd64/src/smp/mps.c 		log(LF_ARCH, LVL_WARN, "MPS: Wrong ct checksum");
log               358 kernel/arch/amd64/src/smp/mps.c 		log(LF_ARCH, LVL_WARN, "MPS: ct->oem_table not supported");
log               409 kernel/arch/amd64/src/smp/mps.c 			log(LF_ARCH, LVL_WARN, "MPS: ct badness %" PRIu8, *cur);
log               425 kernel/arch/amd64/src/smp/mps.c 	log(LF_ARCH, LVL_WARN, "MPS: Default configuration not supported");
log               456 kernel/arch/amd64/src/smp/mps.c 	log(LF_ARCH, LVL_NOTE, "%p: MPS Floating Pointer Structure", fs);
log               460 kernel/arch/amd64/src/smp/mps.c 			log(LF_ARCH, LVL_WARN, "MPS: PIC mode not supported\n");
log               149 kernel/arch/amd64/src/smp/smp.c 			log(LF_ARCH, LVL_ERROR, "kmp: bad processor entry #%u, "
log               181 kernel/arch/amd64/src/smp/smp.c 				log(LF_ARCH, LVL_NOTE, "%s: waiting for cpu%u "
log               186 kernel/arch/amd64/src/smp/smp.c 			log(LF_ARCH, LVL_ERROR, "INIT IPI for l_apic%d failed",
log                49 kernel/arch/arm32/src/cpu/cpu.c 	unsigned log = 0;
log                52 kernel/arch/arm32/src/cpu/cpu.c 		++log;
log                55 kernel/arch/arm32/src/cpu/cpu.c 	return log;
log               151 kernel/arch/arm32/src/mach/gta02/gta02.c 		log(LF_ARCH, LVL_DEBUG, "cpu%d: spurious interrupt (inum=%d)",
log               273 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 				log(LF_ARCH, LVL_DEBUG,
log               200 kernel/arch/ia32/src/interrupt.c 		log(LF_ARCH, LVL_DEBUG, "cpu%u: unhandled IRQ %u", CPU->id,
log               219 kernel/arch/ia32/src/interrupt.c 	log(LF_ARCH, LVL_DEBUG, "cpu%u: PIC spurious interrupt %u", CPU->id,
log               183 kernel/arch/ia32/src/smp/mps.c 	log(LF_ARCH, LVL_DEBUG, "MPS: bus=%" PRIu8 " (%s)", bus->bus_id, buf);
log               338 kernel/arch/ia32/src/smp/mps.c 			log(LF_ARCH, LVL_NOTE, "MPS: Skipping MP Configuration"
log               348 kernel/arch/ia32/src/smp/mps.c 		log(LF_ARCH, LVL_WARN, "MPS: Wrong ct->signature");
log               353 kernel/arch/ia32/src/smp/mps.c 		log(LF_ARCH, LVL_WARN, "MPS: Wrong ct checksum");
log               358 kernel/arch/ia32/src/smp/mps.c 		log(LF_ARCH, LVL_WARN, "MPS: ct->oem_table not supported");
log               409 kernel/arch/ia32/src/smp/mps.c 			log(LF_ARCH, LVL_WARN, "MPS: ct badness %" PRIu8, *cur);
log               425 kernel/arch/ia32/src/smp/mps.c 	log(LF_ARCH, LVL_WARN, "MPS: Default configuration not supported");
log               456 kernel/arch/ia32/src/smp/mps.c 	log(LF_ARCH, LVL_NOTE, "%p: MPS Floating Pointer Structure", fs);
log               460 kernel/arch/ia32/src/smp/mps.c 			log(LF_ARCH, LVL_WARN, "MPS: PIC mode not supported\n");
log               149 kernel/arch/ia32/src/smp/smp.c 			log(LF_ARCH, LVL_ERROR, "kmp: bad processor entry #%u, "
log               181 kernel/arch/ia32/src/smp/smp.c 				log(LF_ARCH, LVL_NOTE, "%s: waiting for cpu%u "
log               186 kernel/arch/ia32/src/smp/smp.c 			log(LF_ARCH, LVL_ERROR, "INIT IPI for l_apic%d failed",
log               302 kernel/arch/mips32/src/debugger.c 		log(LF_OTHER, LVL_WARN, "Cannot register command %s",
log               307 kernel/arch/mips32/src/debugger.c 		log(LF_OTHER, LVL_WARN, "Cannot register command %s",
log               312 kernel/arch/mips32/src/debugger.c 		log(LF_OTHER, LVL_WARN, "Cannot register command %s",
log               317 kernel/arch/mips32/src/debugger.c 		log(LF_OTHER, LVL_WARN, "Cannot register command %s",
log               193 kernel/arch/mips32/src/exception.c 				log(LF_ARCH, LVL_DEBUG,
log                80 kernel/arch/mips32/src/mach/malta/malta.c 		log(LF_ARCH, LVL_DEBUG, "cpu%u: PIC spurious interrupt %u",
log                91 kernel/arch/mips32/src/mach/malta/malta.c 		log(LF_ARCH, LVL_DEBUG, "cpu%u: unhandled IRQ (irq=%u)",
log                71 kernel/arch/mips32/src/mach/msim/msim.c 		log(LF_ARCH, LVL_DEBUG, "cpu%u: spurious IRQ (irq=%u)",
log               224 kernel/arch/mips32/src/mm/tlb.c 		log(LF_ARCH, LVL_WARN, "%s: TLBP failed in exception handler (badvaddr=%#"
log               140 kernel/arch/ppc32/src/interrupt.c 			log(LF_ARCH, LVL_DEBUG, "cpu%u: spurious interrupt"
log                70 kernel/arch/sparc64/src/drivers/kbd.c 		log(LF_ARCH, LVL_ERROR,
log                82 kernel/arch/sparc64/src/drivers/kbd.c 		log(LF_ARCH, LVL_ERROR,
log                90 kernel/arch/sparc64/src/drivers/kbd.c 		log(LF_ARCH, LVL_ERROR,
log               101 kernel/arch/sparc64/src/drivers/kbd.c 		log(LF_ARCH, LVL_ERROR,
log               202 kernel/arch/sparc64/src/drivers/pci.c 		log(LF_ARCH, LVL_WARN, "Unsupported PCI controller model (%s).",
log                83 kernel/arch/sparc64/src/drivers/scr.c 		log(LF_ARCH, LVL_ERROR, "Unknown screen device.");
log               119 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR, "Too few screen registers.");
log               126 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               133 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               156 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               164 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               172 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               179 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               204 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               216 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               229 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_WARN, "Not implemented.");
log               235 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               244 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR, "Too few screen registers.");
log               251 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               258 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR,
log               281 kernel/arch/sparc64/src/drivers/scr.c 			log(LF_ARCH, LVL_ERROR, "Unsupported bits per pixel.");
log                69 kernel/arch/sparc64/src/drivers/tty.c 		log(LF_ARCH, LVL_ERROR,
log                81 kernel/arch/sparc64/src/drivers/tty.c 		log(LF_ARCH, LVL_ERROR,
log                89 kernel/arch/sparc64/src/drivers/tty.c 		log(LF_ARCH, LVL_ERROR,
log               100 kernel/arch/sparc64/src/drivers/tty.c 		log(LF_ARCH, LVL_ERROR,
log               337 kernel/arch/sparc64/src/mm/sun4v/tlb.c 	log(LF_ARCH, LVL_WARN, "Operation not possible on Niagara.");
log               109 kernel/arch/sparc64/src/smp/sun4u/smp.c 		log(LF_ARCH, LVL_NOTE, "%s: waiting for processor (mid = %" PRIu32
log               315 kernel/arch/sparc64/src/sun4v/md.c 		log(LF_ARCH, LVL_ERROR, "Could not retrieve machine "
log                99 kernel/arch/sparc64/src/trap/sun4u/interrupt.c 		log(LF_ARCH, LVL_DEBUG,
log               112 kernel/arch/sparc64/src/trap/sun4v/interrupt.c 			log(LF_ARCH, LVL_DEBUG, "Spurious interrupt on %" PRIu64
log               222 kernel/genarch/src/acpi/acpi.c 		log(LF_ARCH, LVL_ERROR, "RSDT: bad checksum");
log               227 kernel/genarch/src/acpi/acpi.c 		log(LF_ARCH, LVL_ERROR, "XSDT: bad checksum");
log               236 kernel/genarch/src/acpi/madt.c 			log(LF_ARCH, LVL_WARN,
log               243 kernel/genarch/src/acpi/madt.c 				log(LF_ARCH, LVL_NOTE,
log               248 kernel/genarch/src/acpi/madt.c 				log(LF_ARCH, LVL_NOTE,
log               208 kernel/genarch/src/drivers/via-cuda/cuda.c 		log(LF_OTHER, LVL_ERROR, "cuda_irq_listen: no TREQ?!");
log                61 kernel/generic/include/debug.h 		log(LF_OTHER, LVL_DEBUG, \
log                51 kernel/generic/include/log.h extern int log(log_facility_t, log_level_t, const char *, ...)
log                56 kernel/generic/include/synch/spinlock.h 		log(LF_OTHER, LVL_WARN, \
log               661 kernel/generic/src/console/cmd.c 			log(LF_OTHER, LVL_ERROR,
log               688 kernel/generic/src/console/cmd.c 		log(LF_OTHER, LVL_ERROR, "Command length overflow");
log                75 kernel/generic/src/lib/halt.c 		log(LF_OTHER, LVL_NOTE, "cpu%u: halted", CPU->id);
log                77 kernel/generic/src/lib/halt.c 		log(LF_OTHER, LVL_NOTE, "cpu: halted");
log                72 kernel/generic/src/lib/rd.c 	log(LF_OTHER, LVL_NOTE, "RAM disk at %p (size %zu bytes)", (void *) base,
log               322 kernel/generic/src/log/log.c 		log(LF_USPACE, level, "%s", data);
log               140 kernel/generic/src/main/kinit.c 				log(LF_OTHER, LVL_ERROR,
log               158 kernel/generic/src/main/kinit.c 		log(LF_OTHER, LVL_ERROR, "Unable to create kload thread");
log               172 kernel/generic/src/main/kinit.c 			log(LF_OTHER, LVL_ERROR,
log               216 kernel/generic/src/main/kinit.c 			log(LF_OTHER, LVL_ERROR,
log               262 kernel/generic/src/main/kinit.c 				log(LF_OTHER, LVL_NOTE, "Program loader at %p",
log               265 kernel/generic/src/main/kinit.c 				log(LF_OTHER, LVL_ERROR,
log               301 kernel/generic/src/main/kinit.c 			log(LF_OTHER, LVL_ERROR,
log                48 kernel/generic/src/main/shutdown.c 	log(LF_OTHER, LVL_DEBUG, "Rebooting the system");
log               132 kernel/generic/src/mm/backend_user.c 		log(LF_USPACE, LVL_FATAL,
log               106 kernel/generic/src/mm/frame.c 		log(LF_OTHER, LVL_ERROR, "Maximum zone count %u exceeded!",
log               127 kernel/generic/src/mm/frame.c 				log(LF_OTHER, LVL_WARN,
log               945 kernel/generic/src/mm/frame.c 		log(LF_OTHER, LVL_DEBUG,
log               971 kernel/generic/src/mm/frame.c 		log(LF_OTHER, LVL_DEBUG, "Thread %" PRIu64 " woken up.",
log               184 kernel/generic/src/proc/program.c 		log(LF_OTHER, LVL_ERROR,
log               192 kernel/generic/src/proc/program.c 		log(LF_OTHER, LVL_ERROR, "Cannot spawn loader (%s)",
log               324 kernel/generic/src/proc/scheduler.c 	log(LF_OTHER, LVL_DEBUG,
log               654 kernel/generic/src/proc/scheduler.c 		log(LF_OTHER, LVL_DEBUG,
log               167 kernel/generic/src/syscall/syscall.c 		log(LF_OTHER, LVL_ERROR,
log               113 uspace/app/kio/kio.c 	FILE *log = fopen(LOG_FNAME, "a");
log               114 uspace/app/kio/kio.c 	if (log == NULL)
log               125 uspace/app/kio/kio.c 		if (log != NULL) {
log               127 uspace/app/kio/kio.c 				fputuc(item->data[i], log);
log               129 uspace/app/kio/kio.c 			fflush(log);
log               130 uspace/app/kio/kio.c 			vfs_sync(fileno(log));
log               137 uspace/app/kio/kio.c 	fclose(log);
log                77 uspace/lib/c/generic/io/log.c static errno_t logger_message(async_sess_t *session, log_t log, log_level_t level, char *message)
log                83 uspace/lib/c/generic/io/log.c 	if (log == LOG_DEFAULT)
log                84 uspace/lib/c/generic/io/log.c 		log = default_log_id;
log                90 uspace/lib/c/generic/io/log.c 	    log, level, NULL);
log                48 uspace/lib/c/generic/pio_trace.c 	trace_fnc log;
log                57 uspace/lib/c/generic/pio_trace.c     trace_fnc log, void *data)
log                65 uspace/lib/c/generic/pio_trace.c 		new_reg->log = log;
log                95 uspace/lib/c/generic/pio_trace.c 			if (reg->log)
log                96 uspace/lib/c/generic/pio_trace.c 				reg->log(r, val, reg->base,
log               104 uspace/lib/c/generic/pio_trace.c errno_t pio_trace_enable(void *base, size_t size, trace_fnc log, void *data)
log               109 uspace/lib/c/generic/pio_trace.c 	region_t *region = region_create(base, size, log, data);
log               197 uspace/lib/c/include/math.h double log(double);
log               246 uspace/lib/ext4/src/superblock.c 	uint32_t log = 0;
log               251 uspace/lib/ext4/src/superblock.c 		log++;
log               255 uspace/lib/ext4/src/superblock.c 	ext4_superblock_set_log_block_size(sb, log);
log               302 uspace/lib/ext4/src/superblock.c 	uint32_t log = 0;
log               307 uspace/lib/ext4/src/superblock.c 		log++;
log               311 uspace/lib/ext4/src/superblock.c 	ext4_superblock_set_log_frag_size(sb, log);
log               197 uspace/lib/posix/include/libc/math.h double log(double);
log                53 uspace/srv/logger/ctl.c 	logger_log_t *log = find_log_by_name_and_lock(full_name);
log                55 uspace/srv/logger/ctl.c 	if (log == NULL)
log                58 uspace/srv/logger/ctl.c 	log->logged_level = new_level;
log                60 uspace/srv/logger/ctl.c 	log_unlock(log);
log                64 uspace/srv/logger/initlvl.c 	logger_log_t *log = find_or_create_log_and_lock(key, 0);
log                65 uspace/srv/logger/initlvl.c 	if (log == NULL)
log                68 uspace/srv/logger/initlvl.c 	log->logged_level = level;
log                69 uspace/srv/logger/initlvl.c 	log->ref_counter++;
log                71 uspace/srv/logger/initlvl.c 	log_unlock(log);
log                44 uspace/srv/logger/logs.c 	list_foreach(log_list, link, logger_log_t, log) {
log                45 uspace/srv/logger/logs.c 		if ((parent == log->parent) && (str_cmp(log->name, name) == 0))
log                46 uspace/srv/logger/logs.c 			return log;
log               145 uspace/srv/logger/logs.c 	list_foreach(log_list, link, logger_log_t, log) {
log               146 uspace/srv/logger/logs.c 		if (str_cmp(log->full_name, name) == 0) {
log               147 uspace/srv/logger/logs.c 			fibril_mutex_lock(&log->guard);
log               148 uspace/srv/logger/logs.c 			result = log;
log               162 uspace/srv/logger/logs.c 	list_foreach(log_list, link, logger_log_t, log) {
log               163 uspace/srv/logger/logs.c 		if ((sysarg_t) log == id) {
log               164 uspace/srv/logger/logs.c 			fibril_mutex_lock(&log->guard);
log               165 uspace/srv/logger/logs.c 			result = log;
log               174 uspace/srv/logger/logs.c static log_level_t get_actual_log_level(logger_log_t *log)
log               177 uspace/srv/logger/logs.c 	if (log->logged_level == LOG_LEVEL_USE_DEFAULT) {
log               178 uspace/srv/logger/logs.c 		if (log->parent == NULL)
log               181 uspace/srv/logger/logs.c 			return get_actual_log_level(log->parent);
log               183 uspace/srv/logger/logs.c 	return log->logged_level;
log               186 uspace/srv/logger/logs.c bool shall_log_message(logger_log_t *log, log_level_t level)
log               189 uspace/srv/logger/logs.c 	bool result = level <= get_actual_log_level(log);
log               194 uspace/srv/logger/logs.c void log_unlock(logger_log_t *log)
log               196 uspace/srv/logger/logs.c 	assert(fibril_mutex_is_locked(&log->guard));
log               197 uspace/srv/logger/logs.c 	fibril_mutex_unlock(&log->guard);
log               207 uspace/srv/logger/logs.c void log_release(logger_log_t *log)
log               209 uspace/srv/logger/logs.c 	assert(fibril_mutex_is_locked(&log->guard));
log               210 uspace/srv/logger/logs.c 	assert(log->ref_counter > 0);
log               213 uspace/srv/logger/logs.c 	if (log->ref_counter > 1) {
log               214 uspace/srv/logger/logs.c 		log->ref_counter--;
log               215 uspace/srv/logger/logs.c 		fibril_mutex_unlock(&log->guard);
log               226 uspace/srv/logger/logs.c 	fibril_mutex_unlock(&log->guard);
log               234 uspace/srv/logger/logs.c 	fibril_mutex_lock(&log->guard);
log               235 uspace/srv/logger/logs.c 	assert(log->ref_counter > 0);
log               236 uspace/srv/logger/logs.c 	log->ref_counter--;
log               238 uspace/srv/logger/logs.c 	if (log->ref_counter > 0) {
log               243 uspace/srv/logger/logs.c 		fibril_mutex_unlock(&log->guard);
log               256 uspace/srv/logger/logs.c 	assert(log->ref_counter == 0);
log               258 uspace/srv/logger/logs.c 	list_remove(&log->link);
log               260 uspace/srv/logger/logs.c 	fibril_mutex_unlock(&log->guard);
log               262 uspace/srv/logger/logs.c 	if (log->parent == NULL) {
log               267 uspace/srv/logger/logs.c 		if (log->dest->logfile != NULL) {
log               268 uspace/srv/logger/logs.c 			fclose(log->dest->logfile);
log               270 uspace/srv/logger/logs.c 		free(log->dest->filename);
log               271 uspace/srv/logger/logs.c 		free(log->dest);
log               273 uspace/srv/logger/logs.c 		fibril_mutex_lock(&log->parent->guard);
log               274 uspace/srv/logger/logs.c 		log_release(log->parent);
log               277 uspace/srv/logger/logs.c 	logger_log("Destroyed log %s.\n", log->full_name);
log               279 uspace/srv/logger/logs.c 	free(log->name);
log               280 uspace/srv/logger/logs.c 	free(log->full_name);
log               282 uspace/srv/logger/logs.c 	free(log);
log               285 uspace/srv/logger/logs.c void write_to_log(logger_log_t *log, log_level_t level, const char *message)
log               287 uspace/srv/logger/logs.c 	assert(fibril_mutex_is_locked(&log->guard));
log               288 uspace/srv/logger/logs.c 	assert(log->dest != NULL);
log               289 uspace/srv/logger/logs.c 	fibril_mutex_lock(&log->dest->guard);
log               290 uspace/srv/logger/logs.c 	if (log->dest->logfile == NULL)
log               291 uspace/srv/logger/logs.c 		log->dest->logfile = fopen(log->dest->filename, "a");
log               293 uspace/srv/logger/logs.c 	if (log->dest->logfile != NULL) {
log               294 uspace/srv/logger/logs.c 		fprintf(log->dest->logfile, "[%s] %s: %s\n",
log               295 uspace/srv/logger/logs.c 		    log->full_name, log_level_str(level),
log               297 uspace/srv/logger/logs.c 		fflush(log->dest->logfile);
log               300 uspace/srv/logger/logs.c 	fibril_mutex_unlock(&log->dest->guard);
log               326 uspace/srv/logger/logs.c 		logger_log_t *log = logs->logs[i];
log               327 uspace/srv/logger/logs.c 		fibril_mutex_lock(&log->guard);
log               328 uspace/srv/logger/logs.c 		log_release(log);
log                57 uspace/srv/logger/writer.c 	logger_log_t *log = find_or_create_log_and_lock(name, parent);
log                61 uspace/srv/logger/writer.c 	return log;
log                66 uspace/srv/logger/writer.c 	logger_log_t *log = find_log_by_id_and_lock(log_id);
log                67 uspace/srv/logger/writer.c 	if (log == NULL)
log                75 uspace/srv/logger/writer.c 	if (!shall_log_message(log, level)) {
log                81 uspace/srv/logger/writer.c 	    log->full_name, log_level_str(level),
log                83 uspace/srv/logger/writer.c 	write_to_log(log, level, message);
log                88 uspace/srv/logger/writer.c 	log_unlock(log);
log                96 uspace/srv/logger/writer.c 	logger_log_t *log;
log               118 uspace/srv/logger/writer.c 			log = handle_create_log(ipc_get_arg1(&call));
log               119 uspace/srv/logger/writer.c 			if (log == NULL) {
log               123 uspace/srv/logger/writer.c 			if (!register_log(&registered_logs, log)) {
log               124 uspace/srv/logger/writer.c 				log_unlock(log);
log               128 uspace/srv/logger/writer.c 			log_unlock(log);
log               129 uspace/srv/logger/writer.c 			async_answer_1(&call, EOK, (sysarg_t) log);
HelenOS homepage, sources at GitHub