Lines Matching defs:conflock
613 struct lockd_lock *conflock)
633 locks_init_lock(&conflock->fl);
635 conflock->fl.c.flc_file = lock->fl.c.flc_file;
636 conflock->fl.fl_start = lock->fl.fl_start;
637 conflock->fl.fl_end = lock->fl.fl_end;
638 conflock->fl.c.flc_owner = lock->fl.c.flc_owner;
639 error = vfs_test_lock(lock->fl.c.flc_file, &conflock->fl);
645 if (conflock->fl.c.flc_type == F_UNLCK) {
651 conflock->fl.c.flc_type, (long long)conflock->fl.fl_start,
652 (long long)conflock->fl.fl_end);
653 conflock->caller = "somehost"; /* FIXME */
654 conflock->len = strlen(conflock->caller);
655 conflock->oh.len = 0; /* don't return OH info */
656 conflock->svid = conflock->fl.c.flc_pid;
657 locks_release_private(&conflock->fl);