Function report |
Source Code:kernel\irq\debugfs.c |
Create Date:2022-07-28 10:16:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:irq_debug_write
Proto:static ssize_t irq_debug_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
const char __user * | user_buf | |
size_t | count | |
loff_t * | ppos |
185 | char buf[8] = {0, } |
188 | size = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value( size of buf - 1, count) |
189 | If copy_from_user(buf, user_buf, size) Then Return -EFAULT |
207 | raw_spin_lock_irqsave( & lock, flags) |
209 | If irq_settings_is_level(desc) || istate & IRQS_NMI Then |
212 | Else |
213 | istate |= IRQS_PENDING |
215 | err = 0 |
218 | raw_spin_unlock_irqrestore( & lock, flags) |
219 | chip_bus_sync_unlock(desc) |
224 | Return count |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |