| /linux/fs/ceph/ |
| H A D | locks.c | 74 static int ceph_lock_message(u8 lock_type, u16 operation, struct inode *inode, in ceph_lock_message() argument 115 (int)lock_type, (int)operation, owner, in ceph_lock_message() 119 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message() 152 (int)lock_type, (int)operation, (u64) fl->c.flc_pid, in ceph_lock_message() 163 int err, lock_type; in ceph_lock_wait_for_completion() local 167 lock_type = CEPH_LOCK_FCNTL_INTR; in ceph_lock_wait_for_completion() 169 lock_type = CEPH_LOCK_FLOCK_INTR; in ceph_lock_wait_for_completion() 213 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 | lockdep.h | 129 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type); 161 (lock)->dep_map.lock_type) 167 (lock)->dep_map.lock_type) 173 (lock)->dep_map.lock_type) 179 (lock)->dep_map.lock_type) 319 .lock_type = LD_LOCK_WAIT_OVERRIDE, }
|
| H A D | local_lock_internal.h | 37 .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 | 724 afs_lock_type_t lock_type : 8; member
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 1391 class->lock_type = lock->lock_type; in register_lock_class() 2297 if (entry->class->lock_type == LD_LOCK_NORMAL) in usage_skip() 2326 if (entry->class->lock_type == LD_LOCK_PERCPU && in usage_skip() 4940 if (unlikely(class->lock_type == LD_LOCK_WAIT_OVERRIDE)) in check_wait_context() 4983 u8 inner, u8 outer, u8 lock_type) in lockdep_init_map_type() argument 5006 lock->lock_type = lock_type; in lockdep_init_map_type() 5489 lock->lock_type); in __lock_set_class()
|
| /linux/kernel/ |
| H A D | softirq.c | 159 .lock_type = LD_LOCK_PERCPU,
|
| /linux/fs/smb/client/ |
| H A D | cifssmb.c | 2172 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in CIFSSMBWrite2() 2194 pSMB->LockType = lock_type; in cifs_lockv() 2293 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBLock() 2342 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock() 2403 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock() 2406 if (parm_data->lock_type == in CIFSSMBPosixLock() 2409 else if (parm_data->lock_type == in CIFSSMBPosixLock() 2177 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 2299 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
|
| /linux/drivers/block/ |
| H A D | rbd.c | 1723 u8 lock_type; in rbd_object_map_lock() 1744 RBD_LOCK_NAME, &lock_type, &lock_tag, in rbd_object_map_lock() 3891 u8 lock_type; in get_lock_owner_info() 3898 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info() 3916 if (lock_type != CEPH_CLS_LOCK_EXCLUSIVE) { in get_lock_owner_info() 1725 u8 lock_type; rbd_object_map_lock() local 3893 u8 lock_type; get_lock_owner_info() local
|