Searched refs:lock_type (Results 1 – 6 of 6) sorted by relevance
/fs/ceph/ |
D | locks.c | 59 static int ceph_lock_message(u8 lock_type, u16 operation, struct inode *inode, in ceph_lock_message() argument 98 "start: %llu, length: %llu, wait: %d, type: %d\n", (int)lock_type, in ceph_lock_message() 102 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message() 134 "length: %llu, wait: %d, type: %d, err code %d\n", (int)lock_type, in ceph_lock_message() 145 int err, lock_type; in ceph_lock_wait_for_completion() local 149 lock_type = CEPH_LOCK_FCNTL_INTR; in ceph_lock_wait_for_completion() 151 lock_type = CEPH_LOCK_FLOCK_INTR; in ceph_lock_wait_for_completion() 196 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
|
/fs/afs/ |
D | flock.c | 93 bool exclusive = (vnode->lock_type == AFS_LOCK_WRITE); in afs_grant_locks() 119 if (vnode->lock_type == AFS_LOCK_WRITE) in afs_next_locker() 518 if (vnode->lock_type == AFS_LOCK_WRITE) { in afs_do_setlk() 552 vnode->lock_type = type; in afs_do_setlk()
|
D | internal.h | 652 afs_lock_type_t lock_type : 8; member
|
/fs/cifs/ |
D | cifsproto.h | 466 const __u16 netfid, const __u8 lock_type, 477 struct file_lock *, const __u16 lock_type,
|
D | cifssmb.c | 2389 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in cifs_lockv() argument 2409 pSMB->LockType = lock_type; in cifs_lockv() 2506 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument 2555 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock() 2605 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock() 2608 if (parm_data->lock_type == in CIFSSMBPosixLock() 2611 else if (parm_data->lock_type == in CIFSSMBPosixLock()
|
D | cifspdu.h | 1145 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member
|