Home
last modified time | relevance | path

Searched refs:lock_type (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/fs/ceph/
Dlocks.c35 static int ceph_lock_message(u8 lock_type, u16 operation, struct file *file, in ceph_lock_message() argument
64 "start: %llu, length: %llu, wait: %d, type: %d", (int)lock_type, in ceph_lock_message()
68 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
101 "length: %llu, wait: %d, type: %d, err code %d", (int)lock_type, in ceph_lock_message()
112 int err, lock_type; in ceph_lock_wait_for_completion() local
116 lock_type = CEPH_LOCK_FCNTL_INTR; in ceph_lock_wait_for_completion()
118 lock_type = CEPH_LOCK_FLOCK_INTR; in ceph_lock_wait_for_completion()
140 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
/linux-4.1.27/fs/cifs/
Dcifsproto.h408 const __u16 netfid, const __u8 lock_type,
419 struct file_lock *, const __u16 lock_type,
Dcifssmb.c2280 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in cifs_lockv() argument
2299 pSMB->LockType = lock_type; in cifs_lockv()
2396 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument
2444 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock()
2495 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock()
2498 if (parm_data->lock_type == in CIFSSMBPosixLock()
2501 else if (parm_data->lock_type == in CIFSSMBPosixLock()
Dcifspdu.h1140 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member