Home
last modified time | relevance | path

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

/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_lock_management.robot56 # client_id lock_type
67 # client_id lock_type
81 # client_id lock_type
106 # client_id lock_type
115 # client_id lock_type
137 # client_id lock_type
187 # client_id lock_type
211 # client_id lock_type
538 [Arguments] ${lock_type}
577 [Arguments] ${lock_type}
[all …]
/openbmc/linux/fs/ceph/
H A Dlocks.c76 static int ceph_lock_message(u8 lock_type, u16 operation, struct inode *inode, in ceph_lock_message() argument
115 "start: %llu, length: %llu, wait: %d, type: %d\n", (int)lock_type, in ceph_lock_message()
119 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
151 "length: %llu, wait: %d, type: %d, err code %d\n", (int)lock_type, in ceph_lock_message()
162 int err, lock_type; in ceph_lock_wait_for_completion() local
166 lock_type = CEPH_LOCK_FCNTL_INTR; in ceph_lock_wait_for_completion()
168 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()
/openbmc/linux/include/linux/
H A Dlockdep_types.h139 u8 lock_type; member
191 u8 lock_type; member
H A Dlockdep.h186 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
218 (lock)->dep_map.lock_type)
224 (lock)->dep_map.lock_type)
230 (lock)->dep_map.lock_type)
236 (lock)->dep_map.lock_type)
355 .lock_type = LD_LOCK_WAIT_OVERRIDE, }
H A Dspinlock_types_raw.h45 .lock_type = LD_LOCK_PERCPU, \
H A Dlocal_lock_internal.h23 .lock_type = LD_LOCK_PERCPU, \
/openbmc/linux/lib/
H A Dxarray.c38 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()
328 unsigned int lock_type = xa_lock_type(xas->xa); in __xas_nomem() local
337 xas_unlock_type(xas, lock_type); in __xas_nomem()
339 xas_lock_type(xas, lock_type); in __xas_nomem()
/openbmc/linux/fs/afs/
H A Dflock.c93 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()
H A Dinternal.h656 afs_lock_type_t lock_type : 8; member
/openbmc/linux/kernel/locking/
H A Dlockdep.c1335 class->lock_type = lock->lock_type; in register_lock_class()
2265 if (entry->class->lock_type == LD_LOCK_NORMAL) in usage_skip()
2294 if (entry->class->lock_type == LD_LOCK_PERCPU && in usage_skip()
4815 if (unlikely(class->lock_type == LD_LOCK_WAIT_OVERRIDE)) in check_wait_context()
4858 u8 inner, u8 outer, u8 lock_type) in lockdep_init_map_type() argument
4881 lock->lock_type = lock_type; in lockdep_init_map_type()
5332 lock->lock_type); in __lock_set_class()
/openbmc/linux/fs/smb/client/
H A Dcifsproto.h514 const __u16 netfid, const __u8 lock_type,
525 struct file_lock *, const __u16 lock_type,
H A Dcifssmb.c1851 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in cifs_lockv() argument
1871 pSMB->LockType = lock_type; in cifs_lockv()
1968 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument
2018 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock()
2068 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock()
2071 if (parm_data->lock_type == in CIFSSMBPosixLock()
2074 else if (parm_data->lock_type == in CIFSSMBPosixLock()
H A Dcifspdu.h1098 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member
/openbmc/linux/drivers/block/
H A Drbd.c1732 u8 lock_type; in rbd_object_map_lock() local
1753 RBD_LOCK_NAME, &lock_type, &lock_tag, in rbd_object_map_lock()
3877 u8 lock_type; in get_lock_owner_info() local
3884 &lock_type, &lock_tag, &lockers, &num_lockers); in get_lock_owner_info()
3902 if (lock_type != CEPH_CLS_LOCK_EXCLUSIVE) { in get_lock_owner_info()