• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/dlm/

Lines Matching defs:proc

4591 	spin_lock(&ua->proc->locks_spin);
4593 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks);
4594 spin_unlock(&ua->proc->locks_spin);
4691 spin_lock(&ua->proc->locks_spin);
4692 /* dlm_user_add_ast() may have already taken lkb off the proc list */
4694 list_move(&lkb->lkb_ownqueue, &ua->proc->unlocking);
4695 spin_unlock(&ua->proc->locks_spin);
4832 struct dlm_user_proc *proc)
4837 if (list_empty(&proc->locks))
4840 lkb = list_entry(proc->locks.next, struct dlm_lkb, lkb_ownqueue);
4853 1) references lkb->ua which we free here and 2) adds lkbs to proc->asts,
4857 void dlm_clear_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc)
4864 lkb = del_proc_lock(ls, proc);
4873 /* this removes the reference for the proc->locks list
4883 list_for_each_entry_safe(lkb, safe, &proc->unlocking, lkb_ownqueue) {
4889 list_for_each_entry_safe(lkb, safe, &proc->asts, lkb_astqueue) {
4899 static void purge_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc)
4905 spin_lock(&proc->locks_spin);
4906 if (!list_empty(&proc->locks)) {
4907 lkb = list_entry(proc->locks.next, struct dlm_lkb,
4911 spin_unlock(&proc->locks_spin);
4918 dlm_put_lkb(lkb); /* ref from proc->locks list */
4921 spin_lock(&proc->locks_spin);
4922 list_for_each_entry_safe(lkb, safe, &proc->unlocking, lkb_ownqueue) {
4927 spin_unlock(&proc->locks_spin);
4929 spin_lock(&proc->asts_spin);
4930 list_for_each_entry_safe(lkb, safe, &proc->asts, lkb_astqueue) {
4934 spin_unlock(&proc->asts_spin);
4970 int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc,
4980 purge_proc_locks(ls, proc);