Searched refs:fl_type (Results 1 – 10 of 10) sorted by relevance
/linux-2.4.37.9/fs/ |
D | locks.c | 173 fl->fl_type = 0; in locks_init_lock() 204 new->fl_type = fl->fl_type; in locks_copy_lock() 224 fl->fl_type = type; in flock_make_lock() 240 fl->fl_type = type; in assign_type() 341 fl->fl_type = l->l_type; in flock64_to_posix_lock() 420 waiter->fl_start, waiter->fl_end, waiter->fl_type); in locks_insert_block() 534 fl->fl_type = F_UNLCK; in locks_unlock_delete() 545 switch (caller_fl->fl_type) { in locks_conflict() 547 return (sys_fl->fl_type == F_WRLCK); in locks_conflict() 554 caller_fl->fl_type); in locks_conflict() [all …]
|
/linux-2.4.37.9/fs/lockd/ |
D | xdr4.c | 138 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm4_decode_lock() 200 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; in nlm4_encode_testres() 216 resp->status, fl->fl_pid, fl->fl_type, in nlm4_encode_testres() 260 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_testargs() 285 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_lockargs() 305 argp->lock.fl.fl_type = F_WRLCK; in nlm4svc_decode_cancargs() 315 argp->lock.fl.fl_type = F_UNLCK; in nlm4svc_decode_unlockargs() 425 *p++ = (lock->fl.fl_type == F_WRLCK)? xdr_one : xdr_zero; in nlm4clt_encode_testargs() 451 fl->fl_type = excl? F_WRLCK : F_RDLCK; in nlm4clt_decode_testres() 474 *p++ = (lock->fl.fl_type == F_WRLCK)? xdr_one : xdr_zero; in nlm4clt_encode_lockargs() [all …]
|
D | xdr.c | 139 fl->fl_type = F_RDLCK; /* as good as anything else */ in nlm_decode_lock() 199 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; in nlm_encode_testres() 254 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_testargs() 279 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_lockargs() 299 argp->lock.fl.fl_type = F_WRLCK; in nlmsvc_decode_cancargs() 309 argp->lock.fl.fl_type = F_UNLCK; in nlmsvc_decode_unlockargs() 419 *p++ = (lock->fl.fl_type == F_WRLCK)? xdr_one : xdr_zero; in nlmclt_encode_testargs() 445 fl->fl_type = excl? F_WRLCK : F_RDLCK; in nlmclt_decode_testres() 468 *p++ = (lock->fl.fl_type == F_WRLCK)? xdr_one : xdr_zero; in nlmclt_encode_lockargs() 485 *p++ = (lock->fl.fl_type == F_WRLCK)? xdr_one : xdr_zero; in nlmclt_encode_cancargs()
|
D | svclock.c | 113 (long long)lock->fl.fl_end, lock->fl.fl_type); in nlmsvc_lookup_block() 119 (long long)fl->fl_end, fl->fl_type, in nlmsvc_lookup_block() 249 fl->fl_type = F_UNLCK; in nlmsvc_delete_block() 316 lock->fl.fl_type, lock->fl.fl_pid, in nlmsvc_lock() 399 lock->fl.fl_type, in nlmsvc_testlock() 405 fl->fl_type, (long long)fl->fl_start, in nlmsvc_testlock() 438 lock->fl.fl_type = F_UNLCK; in nlmsvc_unlock()
|
D | clntproc.c | 148 && fl->fl_type == F_UNLCK in nlmclnt_proc() 172 if (fl->fl_type != F_UNLCK) { in nlmclnt_proc() 393 fl->fl_type = F_UNLCK; in nlmclnt_test()
|
D | svcsubs.c | 176 lock.fl_type = F_UNLCK; in nlm_traverse_locks()
|
/linux-2.4.37.9/include/linux/lockd/ |
D | lockd.h | 203 &&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK); in nlm_compare_locks()
|
/linux-2.4.37.9/fs/nfs/ |
D | file.c | 341 fl->fl_type, fl->fl_flags, in nfs_lock() 370 if (fl->fl_type == F_UNLCK) in nfs_lock()
|
D | write.c | 294 && fl->fl_type == F_WRLCK in region_locked()
|
/linux-2.4.37.9/include/linux/ |
D | fs.h | 633 unsigned char fl_type; member
|