Home
last modified time | relevance | path

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

/linux/fs/ceph/
A Dlocks.c63 static int ceph_lock_message(u8 lock_type, u16 operation, struct inode *inode, in ceph_lock_message() argument
102 "start: %llu, length: %llu, wait: %d, type: %d\n", (int)lock_type, in ceph_lock_message()
106 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
138 "length: %llu, wait: %d, type: %d, err code %d\n", (int)lock_type, in ceph_lock_message()
149 int err, lock_type; in ceph_lock_wait_for_completion() local
153 lock_type = CEPH_LOCK_FCNTL_INTR; in ceph_lock_wait_for_completion()
155 lock_type = CEPH_LOCK_FLOCK_INTR; in ceph_lock_wait_for_completion()
200 intr_req->r_args.filelock_change.rule = lock_type; in ceph_lock_wait_for_completion()
/linux/include/linux/
A Dlockdep_types.h130 u8 lock_type; member
182 u8 lock_type; member
A Dspinlock_types_raw.h45 .lock_type = LD_LOCK_PERCPU, \
A Dlocal_lock_internal.h23 .lock_type = LD_LOCK_PERCPU, \
A Dlockdep.h189 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
/linux/lib/
A Dxarray.c36 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type) in xas_lock_type() argument
38 if (lock_type == XA_LOCK_IRQ) in xas_lock_type()
40 else if (lock_type == XA_LOCK_BH) in xas_lock_type()
46 static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type) in xas_unlock_type() argument
48 if (lock_type == XA_LOCK_IRQ) in xas_unlock_type()
50 else if (lock_type == XA_LOCK_BH) in xas_unlock_type()
327 unsigned int lock_type = xa_lock_type(xas->xa); in __xas_nomem() local
336 xas_unlock_type(xas, lock_type); in __xas_nomem()
338 xas_lock_type(xas, lock_type); in __xas_nomem()
/linux/fs/afs/
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()
A Dinternal.h662 afs_lock_type_t lock_type : 8; member
/linux/fs/cifs/
A Dcifsproto.h474 const __u16 netfid, const __u8 lock_type,
485 struct file_lock *, const __u16 lock_type,
A Dcifssmb.c2277 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()
A Dcifspdu.h1107 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member
/linux/kernel/locking/
A Dlockdep.c1309 class->lock_type = lock->lock_type; in register_lock_class()
2247 if (entry->class->lock_type == LD_LOCK_PERCPU) { in usage_skip()
4776 u8 inner, u8 outer, u8 lock_type) in lockdep_init_map_type() argument
4799 lock->lock_type = lock_type; in lockdep_init_map_type()
/linux/drivers/block/
A Drbd.c1710 u8 lock_type; in rbd_object_map_lock() local
1731 RBD_LOCK_NAME, &lock_type, &lock_tag, in rbd_object_map_lock()
3836 u8 lock_type; in get_lock_owner_info() local
3844 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info()
3860 if (lock_type == CEPH_CLS_LOCK_SHARED) { in get_lock_owner_info()

Completed in 79 milliseconds