Lines Matching refs:p
30 void pin_kill(struct fs_pin *p) in pin_kill() argument
34 if (!p) { in pin_kill()
39 spin_lock_irq(&p->wait.lock); in pin_kill()
40 if (likely(!p->done)) { in pin_kill()
41 p->done = -1; in pin_kill()
42 spin_unlock_irq(&p->wait.lock); in pin_kill()
44 p->kill(p); in pin_kill()
47 if (p->done > 0) { in pin_kill()
48 spin_unlock_irq(&p->wait.lock); in pin_kill()
52 __add_wait_queue(&p->wait, &wait); in pin_kill()
55 spin_unlock_irq(&p->wait.lock); in pin_kill()
62 spin_lock_irq(&p->wait.lock); in pin_kill()
63 if (p->done > 0) { in pin_kill()
64 spin_unlock_irq(&p->wait.lock); in pin_kill()
74 struct hlist_node *p; in mnt_pin_kill() local
76 p = READ_ONCE(m->mnt_pins.first); in mnt_pin_kill()
77 if (!p) { in mnt_pin_kill()
81 pin_kill(hlist_entry(p, struct fs_pin, m_list)); in mnt_pin_kill()
85 void group_pin_kill(struct hlist_head *p) in group_pin_kill() argument
90 q = READ_ONCE(p->first); in group_pin_kill()