Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ceph/
Dlocks.c59 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()
/linux-4.19.296/fs/afs/
Dflock.c66 bool exclusive = (vnode->lock_type == AFS_LOCK_WRITE); in afs_grant_locks()
91 if (vnode->lock_type == AFS_LOCK_WRITE) in afs_next_locker()
411 if (vnode->lock_type == AFS_LOCK_WRITE) { in afs_do_setlk()
433 vnode->lock_type = type; in afs_do_setlk()
Dinternal.h537 afs_lock_type_t lock_type : 8; member
/linux-4.19.296/fs/cifs/
Dcifsproto.h438 const __u16 netfid, const __u8 lock_type,
449 struct file_lock *, const __u16 lock_type,
Dcifssmb.c2377 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in cifs_lockv() argument
2397 pSMB->LockType = lock_type; in cifs_lockv()
2494 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument
2543 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock()
2593 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock()
2596 if (parm_data->lock_type == in CIFSSMBPosixLock()
2599 else if (parm_data->lock_type == in CIFSSMBPosixLock()
Dcifspdu.h1140 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member