Searched refs:lock_type (Results 1 – 10 of 10) sorted by relevance
| /linux/fs/ceph/ |
| H A D | locks.c | 76 static int ceph_lock_message(u8 lock_type, u16 operation, struct inode *inode, in ceph_lock_message() argument 117 (int)lock_type, (int)operation, owner, in ceph_lock_message() 121 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message() 154 (int)lock_type, (int)operation, (u64) fl->c.flc_pid, in ceph_lock_message() 165 int err, lock_type; in ceph_lock_wait_for_completion() local 169 lock_type = CEPH_LOCK_FCNTL_INTR; in ceph_lock_wait_for_completion() 171 lock_type = CEPH_LOCK_FLOCK_INTR; in ceph_lock_wait_for_completion() 215 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
|
| /linux/include/linux/ |
| H A D | lockdep_types.h | 140 u8 lock_type; member 192 u8 lock_type; member
|
| H A D | spinlock_types_raw.h | 45 .lock_type = LD_LOCK_PERCPU, \
|
| /linux/lib/ |
| H A D | xarray.c | 38 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type) in xas_lock_type() argument 40 if (lock_type == XA_LOCK_IRQ) in xas_lock_type() 42 else if (lock_type == XA_LOCK_BH) in xas_lock_type() 48 static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type) in xas_unlock_type() argument 50 if (lock_type == XA_LOCK_IRQ) in xas_unlock_type() 52 else if (lock_type == XA_LOCK_BH) in xas_unlock_type() 331 unsigned int lock_type = xa_lock_type(xas->xa); in __xas_nomem() local 340 xas_unlock_type(xas, lock_type); in __xas_nomem() 342 xas_lock_type(xas, lock_type); in __xas_nomem()
|
| /linux/fs/afs/ |
| H A 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() 517 if (vnode->lock_type == AFS_LOCK_WRITE) { in afs_do_setlk() 551 vnode->lock_type = type; in afs_do_setlk()
|
| H A D | internal.h | 721 afs_lock_type_t lock_type : 8; member
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 1347 class->lock_type = lock->lock_type; in register_lock_class() 2253 if (entry->class->lock_type == LD_LOCK_NORMAL) in usage_skip() 2282 if (entry->class->lock_type == LD_LOCK_PERCPU && in usage_skip() 4896 if (unlikely(class->lock_type == LD_LOCK_WAIT_OVERRIDE)) in check_wait_context() 4939 u8 inner, u8 outer, u8 lock_type) in lockdep_init_map_type() argument 4962 lock->lock_type = lock_type; in lockdep_init_map_type() 5438 lock->lock_type); in __lock_set_class()
|
| /linux/fs/smb/client/ |
| H A D | cifsproto.h | 532 const __u16 netfid, const __u8 lock_type, 543 struct file_lock *, const __u16 lock_type,
|
| H A D | cifssmb.c | 2007 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in cifs_lockv() argument 2029 pSMB->LockType = lock_type; in cifs_lockv() 2129 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument 2178 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock() 2231 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock() 2234 if (parm_data->lock_type == in CIFSSMBPosixLock() 2237 else if (parm_data->lock_type == in CIFSSMBPosixLock()
|
| /linux/kernel/ |
| H A D | softirq.c | 136 .lock_type = LD_LOCK_PERCPU,
|