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 | 663 afs_lock_type_t lock_type : 8; member
|
/fs/cifs/ |
D | cifsproto.h | 473 const __u16 netfid, const __u8 lock_type, 484 struct file_lock *, const __u16 lock_type,
|
D | cifssmb.c | 2277 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in cifs_lockv() argument 2297 pSMB->LockType = lock_type; in cifs_lockv() 2394 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument 2444 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock() 2494 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock() 2497 if (parm_data->lock_type == in CIFSSMBPosixLock() 2500 else if (parm_data->lock_type == in CIFSSMBPosixLock()
|
D | cifspdu.h | 1107 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member
|