Name:printk_safe_flush - flush all per-cpu nmi buffers.* The buffers are flushed automatically via IRQ work. This function* is useful only when someone wants to be sure that all buffers have* been flushed at some point. Proto:void printk_safe_flush(void) Type:void Parameter:Nothing248...
printk_safe_flush_line report_message_lost __timekeeping_inject_sleeptime __timekeeping_inject_sleeptime - Internal function to add sleep interval*@delta: pointer to a timespec delta value* Takes a timespec offset measuring a suspend interval and properly* adds the sleep offset to the timekeeping...
printf是C语言标准库函数,定义于头文件<stdio.h>。 而在linux内核中是无法使用printf函数的,取而代之的是printk函数。printk在内核源码中用来记录日志信息的函数,只能在内核源码范围内使用,用法类似于printf函数。 一个较大的差别在于printk支持多种日志级别,从而允许printk根据消息的等级选择性进行打印。 printk函数主要...
*handover = console_lock_spinning_disable_and_check(cookie); printk_safe_exit_irqrestore(flags); return progress; } /** * __nbcon_atomic_flush_pending_con - Flush specified nbcon console using its * write_atomic() callback * @con: The nbcon console to flush17...
cont_flush(LOG_NEWLINE); }if(stored) printed_len+=text_len;elseprinted_len+= log_store(facility, level, lflags,0, dict, dictlen, text, text_len); } logbuf_cpu=UINT_MAX; raw_spin_unlock(&logbuf_lock); lockdep_on(); local_irq_restore(flags);/*If called from the scheduler, we ...
It prevents the following race: CPU0 CPU1 [ task A ] nbcon_context_try_acquire() # success with NORMAL prio # .unsafe == false; // safe for takeover [ schedule: task A -> B ] WARN_ON() nbcon_atomic_flush_pending() nbcon_context_try_acquire() # success with EMERGENCY prio #...
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)
error = nfs_safe_remove(dentry);if(!error) { nfs_renew_times(dentry); nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); }elseif(need_rehash) d_rehash(dentry); unlock_kernel();returnerror; } 开发者ID:FelipeFernandes1988,项目名称:Alice-1121-Modem,代码行数:38,代码来源:dir.c ...