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

/linux-4.4.14/fs/ceph/
H A Dlocks.c35 static int ceph_lock_message(u8 lock_type, u16 operation, struct file *file, ceph_lock_message() argument
64 "start: %llu, length: %llu, wait: %d, type: %d", (int)lock_type, ceph_lock_message()
68 req->r_args.filelock_change.rule = lock_type; ceph_lock_message()
101 "length: %llu, wait: %d, type: %d, err code %d", (int)lock_type, ceph_lock_message()
112 int err, lock_type; ceph_lock_wait_for_completion() local
116 lock_type = CEPH_LOCK_FCNTL_INTR; ceph_lock_wait_for_completion()
118 lock_type = CEPH_LOCK_FLOCK_INTR; ceph_lock_wait_for_completion()
140 intr_req->r_args.filelock_change.rule = lock_type; ceph_lock_wait_for_completion()
/linux-4.4.14/fs/cifs/
H A Dcifsproto.h406 const __u16 netfid, const __u8 lock_type,
417 struct file_lock *, const __u16 lock_type,
H A Dcifssmb.c2286 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, cifs_lockv()
2305 pSMB->LockType = lock_type; cifs_lockv()
2402 struct file_lock *pLockData, const __u16 lock_type, CIFSSMBPosixLock()
2450 parm_data->lock_type = cpu_to_le16(lock_type); CIFSSMBPosixLock()
2501 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) CIFSSMBPosixLock()
2504 if (parm_data->lock_type == CIFSSMBPosixLock()
2507 else if (parm_data->lock_type == CIFSSMBPosixLock()
2285 cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon, const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, const __u32 num_lock, LOCKING_ANDX_RANGE *buf) cifs_lockv() argument
2399 CIFSSMBPosixLock(const unsigned int xid, struct cifs_tcon *tcon, const __u16 smb_file_id, const __u32 netpid, const loff_t start_offset, const __u64 len, struct file_lock *pLockData, const __u16 lock_type, const bool waitFlag) CIFSSMBPosixLock() argument
H A Dcifspdu.h1140 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member in struct:cifs_posix_lock

Completed in 249 milliseconds