• Home
  • Raw
  • Download

Lines Matching refs:flags

229 	unsigned long flags;  in __down_trylock_console_sem()  local
236 printk_safe_enter_irqsave(flags); in __down_trylock_console_sem()
238 printk_safe_exit_irqrestore(flags); in __down_trylock_console_sem()
249 unsigned long flags; in __up_console_sem() local
253 printk_safe_enter_irqsave(flags); in __up_console_sem()
255 printk_safe_exit_irqrestore(flags); in __up_console_sem()
374 u8 flags:5; /* internal record flags */ member
408 #define logbuf_lock_irqsave(flags) \ argument
410 printk_safe_enter_irqsave(flags); \
414 #define logbuf_unlock_irqrestore(flags) \ argument
417 printk_safe_exit_irqrestore(flags); \
605 enum log_flags flags, u64 ts_nsec, in log_store() argument
647 msg->flags = flags & 0x1f; in log_store()
732 msg->flags & LOG_CONT ? 'c' : '-', caller); in msg_print_ext_header()
1151 unsigned long flags; in setup_log_buf() local
1171 logbuf_lock_irqsave(flags); in setup_log_buf()
1177 logbuf_unlock_irqrestore(flags); in setup_log_buf()
1714 unsigned long flags; in console_trylock_spinning() local
1719 printk_safe_enter_irqsave(flags); in console_trylock_spinning()
1740 printk_safe_exit_irqrestore(flags); in console_trylock_spinning()
1751 printk_safe_exit_irqrestore(flags); in console_trylock_spinning()
1781 if (!(con->flags & CON_ENABLED)) in call_console_drivers()
1786 !(con->flags & CON_ANYTIME)) in call_console_drivers()
1788 if (con->flags & CON_EXTENDED) in call_console_drivers()
1828 enum log_flags flags; /* prefix, newline flags */ member
1836 log_store(cont.caller_id, cont.facility, cont.level, cont.flags, in cont_flush()
1842 enum log_flags flags, const char *text, size_t len) in cont_add() argument
1855 cont.flags = flags; in cont_add()
1863 if (flags & LOG_NEWLINE) { in cont_add()
1864 cont.flags |= LOG_NEWLINE; in cont_add()
1960 unsigned long flags; in vprintk_emit() local
1976 logbuf_lock_irqsave(flags); in vprintk_emit()
1980 logbuf_unlock_irqrestore(flags); in vprintk_emit()
2334 if ((con->flags & CON_ENABLED) && in have_callable_console()
2335 (con->flags & CON_ANYTIME)) in have_callable_console()
2371 unsigned long flags; in console_unlock() local
2413 printk_safe_enter_irqsave(flags); in console_unlock()
2477 printk_safe_exit_irqrestore(flags); in console_unlock()
2481 printk_safe_exit_irqrestore(flags); in console_unlock()
2502 printk_safe_exit_irqrestore(flags); in console_unlock()
2542 if ((c->flags & CON_ENABLED) && c->unblank) in console_unblank()
2566 unsigned long flags; in console_flush_on_panic() local
2568 logbuf_lock_irqsave(flags); in console_flush_on_panic()
2571 logbuf_unlock_irqrestore(flags); in console_flush_on_panic()
2604 console->flags &= ~CON_ENABLED; in console_stop()
2612 console->flags |= CON_ENABLED; in console_start()
2651 unsigned long flags; in register_console() local
2667 if (console_drivers && newcon->flags & CON_BOOT) { in register_console()
2670 if (!(bcon->flags & CON_BOOT)) { in register_console()
2678 if (console_drivers && console_drivers->flags & CON_BOOT) in register_console()
2694 newcon->flags |= CON_ENABLED; in register_console()
2696 newcon->flags |= CON_CONSDEV; in register_console()
2729 newcon->flags |= CON_ENABLED; in register_console()
2731 newcon->flags |= CON_CONSDEV; in register_console()
2737 if (!(newcon->flags & CON_ENABLED)) in register_console()
2746 if (bcon && ((newcon->flags & (CON_CONSDEV | CON_BOOT)) == CON_CONSDEV)) in register_console()
2747 newcon->flags &= ~CON_PRINTBUFFER; in register_console()
2754 if ((newcon->flags & CON_CONSDEV) || console_drivers == NULL) { in register_console()
2758 newcon->next->flags &= ~CON_CONSDEV; in register_console()
2764 if (newcon->flags & CON_EXTENDED) in register_console()
2767 if (newcon->flags & CON_PRINTBUFFER) { in register_console()
2772 logbuf_lock_irqsave(flags); in register_console()
2786 logbuf_unlock_irqrestore(flags); in register_console()
2799 (newcon->flags & CON_BOOT) ? "boot" : "" , in register_console()
2802 ((newcon->flags & (CON_CONSDEV | CON_BOOT)) == CON_CONSDEV) && in register_console()
2808 if (bcon->flags & CON_BOOT) in register_console()
2820 (console->flags & CON_BOOT) ? "boot" : "" , in unregister_console()
2843 if (!res && (console->flags & CON_EXTENDED)) in unregister_console()
2850 if (console_drivers != NULL && console->flags & CON_CONSDEV) in unregister_console()
2851 console_drivers->flags |= CON_CONSDEV; in unregister_console()
2853 console->flags &= ~CON_ENABLED; in unregister_console()
2910 if (!(con->flags & CON_BOOT)) in printk_late_init()
2964 .flags = IRQ_WORK_LAZY,
3056 unsigned long flags; in kmsg_dump_register() local
3063 spin_lock_irqsave(&dump_list_lock, flags); in kmsg_dump_register()
3070 spin_unlock_irqrestore(&dump_list_lock, flags); in kmsg_dump_register()
3085 unsigned long flags; in kmsg_dump_unregister() local
3088 spin_lock_irqsave(&dump_list_lock, flags); in kmsg_dump_unregister()
3094 spin_unlock_irqrestore(&dump_list_lock, flags); in kmsg_dump_unregister()
3115 unsigned long flags; in kmsg_dump() local
3128 logbuf_lock_irqsave(flags); in kmsg_dump()
3133 logbuf_unlock_irqrestore(flags); in kmsg_dump()
3215 unsigned long flags; in kmsg_dump_get_line() local
3218 logbuf_lock_irqsave(flags); in kmsg_dump_get_line()
3220 logbuf_unlock_irqrestore(flags); in kmsg_dump_get_line()
3248 unsigned long flags; in kmsg_dump_get_buffer() local
3260 logbuf_lock_irqsave(flags); in kmsg_dump_get_buffer()
3269 logbuf_unlock_irqrestore(flags); in kmsg_dump_get_buffer()
3311 logbuf_unlock_irqrestore(flags); in kmsg_dump_get_buffer()
3347 unsigned long flags; in kmsg_dump_rewind() local
3349 logbuf_lock_irqsave(flags); in kmsg_dump_rewind()
3351 logbuf_unlock_irqrestore(flags); in kmsg_dump_rewind()