• Home
  • Raw
  • Download

Lines Matching refs:flags

234 	unsigned long flags;  in __down_trylock_console_sem()  local
241 printk_safe_enter_irqsave(flags); in __down_trylock_console_sem()
243 printk_safe_exit_irqrestore(flags); in __down_trylock_console_sem()
254 unsigned long flags; in __up_console_sem() local
258 printk_safe_enter_irqsave(flags); in __up_console_sem()
260 printk_safe_exit_irqrestore(flags); in __up_console_sem()
386 #define logbuf_lock_irqsave(flags) \ argument
388 printk_safe_enter_irqsave(flags); \
392 #define logbuf_unlock_irqrestore(flags) \ argument
395 printk_safe_exit_irqrestore(flags); \
503 enum log_flags flags, u64 ts_nsec, in log_store() argument
529 r.info->flags = flags & 0x1f; in log_store()
539 if (!(flags & LOG_NEWLINE)) in log_store()
616 ts_usec, info->flags & LOG_CONT ? 'c' : '-', caller); in info_print_ext_header()
1106 dest_r.info->flags = r->info->flags; in add_to_rb()
1127 unsigned long flags; in setup_log_buf() local
1185 logbuf_lock_irqsave(flags); in setup_log_buf()
1202 logbuf_unlock_irqrestore(flags); in setup_log_buf()
1830 unsigned long flags; in console_trylock_spinning() local
1835 printk_safe_enter_irqsave(flags); in console_trylock_spinning()
1856 printk_safe_exit_irqrestore(flags); in console_trylock_spinning()
1867 printk_safe_exit_irqrestore(flags); in console_trylock_spinning()
1906 if (!(con->flags & CON_ENABLED)) in call_console_drivers()
1911 !(con->flags & CON_ANYTIME)) in call_console_drivers()
1913 if (con->flags & CON_EXTENDED) in call_console_drivers()
1958 r.info->flags |= LOG_NEWLINE; in log_output()
2030 unsigned long flags; in vprintk_emit() local
2045 logbuf_lock_irqsave(flags); in vprintk_emit()
2047 logbuf_unlock_irqrestore(flags); in vprintk_emit()
2409 if ((con->flags & CON_ENABLED) && in have_callable_console()
2410 (con->flags & CON_ANYTIME)) in have_callable_console()
2446 unsigned long flags; in console_unlock() local
2491 printk_safe_enter_irqsave(flags); in console_unlock()
2551 printk_safe_exit_irqrestore(flags); in console_unlock()
2555 printk_safe_exit_irqrestore(flags); in console_unlock()
2576 printk_safe_exit_irqrestore(flags); in console_unlock()
2616 if ((c->flags & CON_ENABLED) && c->unblank) in console_unblank()
2640 unsigned long flags; in console_flush_on_panic() local
2642 logbuf_lock_irqsave(flags); in console_flush_on_panic()
2644 logbuf_unlock_irqrestore(flags); in console_flush_on_panic()
2677 console->flags &= ~CON_ENABLED; in console_stop()
2685 console->flags |= CON_ENABLED; in console_start()
2740 newcon->flags |= CON_ENABLED; in try_enable_new_console()
2742 newcon->flags |= CON_CONSDEV; in try_enable_new_console()
2753 if (newcon->flags & CON_ENABLED && c->user_specified == user_specified) in try_enable_new_console()
2780 unsigned long flags; in register_console() local
2794 if (newcon->flags & CON_BOOT) { in register_console()
2796 if (!(bcon->flags & CON_BOOT)) { in register_console()
2804 if (console_drivers && console_drivers->flags & CON_BOOT) in register_console()
2820 newcon->flags |= CON_ENABLED; in register_console()
2822 newcon->flags |= CON_CONSDEV; in register_console()
2836 if (err || newcon->flags & CON_BRL) in register_console()
2845 if (bcon && ((newcon->flags & (CON_CONSDEV | CON_BOOT)) == CON_CONSDEV)) in register_console()
2846 newcon->flags &= ~CON_PRINTBUFFER; in register_console()
2853 if ((newcon->flags & CON_CONSDEV) || console_drivers == NULL) { in register_console()
2857 newcon->next->flags &= ~CON_CONSDEV; in register_console()
2859 newcon->flags |= CON_CONSDEV; in register_console()
2865 if (newcon->flags & CON_EXTENDED) in register_console()
2868 if (newcon->flags & CON_PRINTBUFFER) { in register_console()
2873 logbuf_lock_irqsave(flags); in register_console()
2886 logbuf_unlock_irqrestore(flags); in register_console()
2899 (newcon->flags & CON_BOOT) ? "boot" : "" , in register_console()
2902 ((newcon->flags & (CON_CONSDEV | CON_BOOT)) == CON_CONSDEV) && in register_console()
2908 if (bcon->flags & CON_BOOT) in register_console()
2920 (console->flags & CON_BOOT) ? "boot" : "" , in unregister_console()
2947 if (console->flags & CON_EXTENDED) in unregister_console()
2954 if (console_drivers != NULL && console->flags & CON_CONSDEV) in unregister_console()
2955 console_drivers->flags |= CON_CONSDEV; in unregister_console()
2957 console->flags &= ~CON_ENABLED; in unregister_console()
2967 console->flags &= ~CON_ENABLED; in unregister_console()
3024 if (!(con->flags & CON_BOOT)) in printk_late_init()
3078 .flags = ATOMIC_INIT(IRQ_WORK_LAZY),
3177 unsigned long flags; in kmsg_dump_register() local
3184 spin_lock_irqsave(&dump_list_lock, flags); in kmsg_dump_register()
3191 spin_unlock_irqrestore(&dump_list_lock, flags); in kmsg_dump_register()
3206 unsigned long flags; in kmsg_dump_unregister() local
3209 spin_lock_irqsave(&dump_list_lock, flags); in kmsg_dump_unregister()
3215 spin_unlock_irqrestore(&dump_list_lock, flags); in kmsg_dump_unregister()
3253 unsigned long flags; in kmsg_dump() local
3273 logbuf_lock_irqsave(flags); in kmsg_dump()
3276 logbuf_unlock_irqrestore(flags); in kmsg_dump()
3363 unsigned long flags; in kmsg_dump_get_line() local
3366 logbuf_lock_irqsave(flags); in kmsg_dump_get_line()
3368 logbuf_unlock_irqrestore(flags); in kmsg_dump_get_line()
3399 unsigned long flags; in kmsg_dump_get_buffer() local
3411 logbuf_lock_irqsave(flags); in kmsg_dump_get_buffer()
3421 logbuf_unlock_irqrestore(flags); in kmsg_dump_get_buffer()
3463 logbuf_unlock_irqrestore(flags); in kmsg_dump_get_buffer()
3497 unsigned long flags; in kmsg_dump_rewind() local
3499 logbuf_lock_irqsave(flags); in kmsg_dump_rewind()
3501 logbuf_unlock_irqrestore(flags); in kmsg_dump_rewind()