• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/lockd/

Lines Matching defs:fl

109 	struct file_lock	*fl;
112 file, lock->fl.fl_pid,
113 (long long)lock->fl.fl_start,
114 (long long)lock->fl.fl_end, lock->fl.fl_type);
116 fl = &block->b_call->a_args.lock.fl;
118 block->b_file, fl->fl_pid,
119 (long long)fl->fl_start,
120 (long long)fl->fl_end, fl->fl_type,
122 if (block->b_file == file && nlm_compare_locks(fl, &lock->fl)) {
201 call->a_args.lock.fl.fl_flags |= FL_SLEEP;
202 call->a_args.lock.fl.fl_lmops = &nlmsvc_lock_operations;
242 status = posix_unblock_lock(block->b_file->f_file, &block->b_call->a_args.lock.fl);
306 locks_copy_lock(&call->a_args.lock.fl, &lock->fl);
313 call->a_args.lock.svid = lock->fl.fl_pid;
331 locks_release_private(&call->a_args.lock.fl);
375 lock->fl.fl_type, lock->fl.fl_pid,
376 (long long)lock->fl.fl_start,
377 (long long)lock->fl.fl_end,
393 lock->fl.fl_flags &= ~FL_SLEEP;
422 lock->fl.fl_flags &= ~FL_SLEEP;
423 error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
424 lock->fl.fl_flags &= ~FL_SLEEP;
482 lock->fl.fl_type,
483 (long long)lock->fl.fl_start,
484 (long long)lock->fl.fl_end);
502 dprintk("lockd: nlmsvc_testlock deferred block %p flags %d fl %p\n",
513 lock->fl = *block->b_fl;
528 error = vfs_test_lock(file->f_file, &lock->fl);
537 if (lock->fl.fl_type == F_UNLCK) {
544 lock->fl.fl_type, (long long)lock->fl.fl_start,
545 (long long)lock->fl.fl_end);
549 conflock->svid = lock->fl.fl_pid;
550 conflock->fl.fl_type = lock->fl.fl_type;
551 conflock->fl.fl_start = lock->fl.fl_start;
552 conflock->fl.fl_end = lock->fl.fl_end;
575 lock->fl.fl_pid,
576 (long long)lock->fl.fl_start,
577 (long long)lock->fl.fl_end);
582 lock->fl.fl_type = F_UNLCK;
583 error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
604 lock->fl.fl_pid,
605 (long long)lock->fl.fl_start,
606 (long long)lock->fl.fl_end);
616 &block->b_call->a_args.lock.fl);
648 static int nlmsvc_grant_deferred(struct file_lock *fl, struct file_lock *conf,
656 if (nlm_compare_locks(&block->b_call->a_args.lock.fl, fl)) {
688 nlmsvc_notify_blocked(struct file_lock *fl)
692 dprintk("lockd: VFS unblock notification for block %p\n", fl);
694 if (nlm_compare_locks(&block->b_call->a_args.lock.fl, fl)) {
749 lock->fl.fl_flags |= FL_SLEEP;
750 error = vfs_lock_file(file->f_file, F_SETLK, &lock->fl, NULL);
751 lock->fl.fl_flags &= ~FL_SLEEP;