• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/dlm/

Lines Matching defs:proc

4076 	spin_lock(&ua->proc->locks_spin);
4078 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks);
4079 spin_unlock(&ua->proc->locks_spin);
4173 spin_lock(&ua->proc->locks_spin);
4174 /* dlm_user_add_ast() may have already taken lkb off the proc list */
4176 list_move(&lkb->lkb_ownqueue, &ua->proc->unlocking);
4177 spin_unlock(&ua->proc->locks_spin);
4267 struct dlm_user_proc *proc)
4272 if (list_empty(&proc->locks))
4275 lkb = list_entry(proc->locks.next, struct dlm_lkb, lkb_ownqueue);
4288 1) references lkb->ua which we free here and 2) adds lkbs to proc->asts,
4292 void dlm_clear_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc)
4299 lkb = del_proc_lock(ls, proc);
4307 /* this removes the reference for the proc->locks list
4317 list_for_each_entry_safe(lkb, safe, &proc->unlocking, lkb_ownqueue) {
4323 list_for_each_entry_safe(lkb, safe, &proc->asts, lkb_astqueue) {
4332 static void purge_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc)
4338 spin_lock(&proc->locks_spin);
4339 if (!list_empty(&proc->locks)) {
4340 lkb = list_entry(proc->locks.next, struct dlm_lkb,
4344 spin_unlock(&proc->locks_spin);
4351 dlm_put_lkb(lkb); /* ref from proc->locks list */
4354 spin_lock(&proc->locks_spin);
4355 list_for_each_entry_safe(lkb, safe, &proc->unlocking, lkb_ownqueue) {
4360 spin_unlock(&proc->locks_spin);
4362 spin_lock(&proc->asts_spin);
4363 list_for_each_entry_safe(lkb, safe, &proc->asts, lkb_astqueue) {
4367 spin_unlock(&proc->asts_spin);
4403 int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc,
4413 purge_proc_locks(ls, proc);