Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_util.h94 void pq_reset(void *d, struct phl_queue *q, enum lock_type type);
95 u8 pq_push(void *d, struct phl_queue *q, _os_list *obj, u8 pos, enum lock_type type);
96 u8 pq_pop(void *d, struct phl_queue *q, _os_list **obj, u8 pos, enum lock_type type);
98 _os_list **obj, enum lock_type type);
100 enum lock_type type);
101 u8 pq_get_tail(void *d, struct phl_queue *q, _os_list **obj, enum lock_type type);
103 _os_list **obj, enum lock_type type);
104 void pq_del_node(void *d, struct phl_queue *q, _os_list *obj, enum lock_type type);
107 enum lock_type type, bool bdel, void *priv,
109 u8 pq_insert(void *d, struct phl_queue *q, enum lock_type type, void *priv, _os_list *input,
H A Dphl_util.c32 void pq_reset(void *d, struct phl_queue *q, enum lock_type type) in pq_reset()
42 u8 pq_push(void *d, struct phl_queue *q, _os_list *obj, u8 pos, enum lock_type type) in pq_push()
56 u8 pq_pop(void *d, struct phl_queue *q, _os_list **obj, u8 pos, enum lock_type type) in pq_pop()
75 u8 pq_get_front(void *d, struct phl_queue *q, _os_list **obj, enum lock_type type) in pq_get_front()
89 _os_list **obj, enum lock_type type) in pq_get_next()
102 u8 pq_get_tail(void *d, struct phl_queue *q, _os_list **obj, enum lock_type type) in pq_get_tail()
116 _os_list **obj, enum lock_type type) in pq_get_prev()
130 enum lock_type type, bool bdel, void *priv, in pq_search_node()
165 void pq_del_node(void *d, struct phl_queue *q, _os_list *obj, enum lock_type type) in pq_del_node()
177 u8 pq_insert(void *d, struct phl_queue *q, enum lock_type type, void *priv, _os_list *input, in pq_insert()
H A Dpltfm_ops_macos.h235 enum lock_type type, _os_spinlockfg *flags) in _os_spinlock()
240 enum lock_type type, _os_spinlockfg *flags) in _os_spinunlock()
H A Dphl_types.h24 enum lock_type { enum
H A Dpltfm_ops_none.h342 enum lock_type type, _os_spinlockfg *flags) in _os_spinlock()
346 enum lock_type type, _os_spinlockfg *flags) in _os_spinunlock()
H A Dpltfm_ops_windows.h471 enum lock_type type, _os_spinlockfg *flags) in _os_spinlock()
476 enum lock_type type, _os_spinlockfg *flags) in _os_spinunlock()
H A Dpltfm_ops_linux.h482 enum lock_type type, _os_spinlockfg *flags in _os_spinlock()
498 enum lock_type type, _os_spinlockfg *flags in _os_spinunlock()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_util.h94 void pq_reset(void *d, struct phl_queue *q, enum lock_type type);
95 u8 pq_push(void *d, struct phl_queue *q, _os_list *obj, u8 pos, enum lock_type type);
96 u8 pq_pop(void *d, struct phl_queue *q, _os_list **obj, u8 pos, enum lock_type type);
98 _os_list **obj, enum lock_type type);
100 enum lock_type type);
101 u8 pq_get_tail(void *d, struct phl_queue *q, _os_list **obj, enum lock_type type);
103 _os_list **obj, enum lock_type type);
104 void pq_del_node(void *d, struct phl_queue *q, _os_list *obj, enum lock_type type);
107 enum lock_type type, bool bdel, void *priv,
109 u8 pq_insert(void *d, struct phl_queue *q, enum lock_type type, void *priv, _os_list *input,
H A Dphl_util.c32 void pq_reset(void *d, struct phl_queue *q, enum lock_type type) in pq_reset()
42 u8 pq_push(void *d, struct phl_queue *q, _os_list *obj, u8 pos, enum lock_type type) in pq_push()
56 u8 pq_pop(void *d, struct phl_queue *q, _os_list **obj, u8 pos, enum lock_type type) in pq_pop()
75 u8 pq_get_front(void *d, struct phl_queue *q, _os_list **obj, enum lock_type type) in pq_get_front()
89 _os_list **obj, enum lock_type type) in pq_get_next()
102 u8 pq_get_tail(void *d, struct phl_queue *q, _os_list **obj, enum lock_type type) in pq_get_tail()
116 _os_list **obj, enum lock_type type) in pq_get_prev()
130 enum lock_type type, bool bdel, void *priv, in pq_search_node()
165 void pq_del_node(void *d, struct phl_queue *q, _os_list *obj, enum lock_type type) in pq_del_node()
177 u8 pq_insert(void *d, struct phl_queue *q, enum lock_type type, void *priv, _os_list *input, in pq_insert()
H A Dpltfm_ops_macos.h244 enum lock_type type, _os_spinlockfg *flags) in _os_spinlock()
249 enum lock_type type, _os_spinlockfg *flags) in _os_spinunlock()
H A Dphl_types.h30 enum lock_type { enum
H A Dpltfm_ops_none.h351 enum lock_type type, _os_spinlockfg *flags) in _os_spinlock()
355 enum lock_type type, _os_spinlockfg *flags) in _os_spinunlock()
H A Dpltfm_ops_windows.h480 enum lock_type type, _os_spinlockfg *flags) in _os_spinlock()
485 enum lock_type type, _os_spinlockfg *flags) in _os_spinunlock()
H A Dpltfm_ops_linux.h573 enum lock_type type, _os_spinlockfg *flags in _os_spinlock()
589 enum lock_type type, _os_spinlockfg *flags in _os_spinunlock()
/OK3568_Linux_fs/kernel/fs/ceph/
H 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dlockdep_types.h130 u8 lock_type; member
182 u8 lock_type; member
H A Dlockdep.h189 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
221 (lock)->dep_map.lock_type)
227 (lock)->dep_map.lock_type)
233 (lock)->dep_map.lock_type)
239 (lock)->dep_map.lock_type)
H A Dlocal_lock_internal.h21 .lock_type = LD_LOCK_PERCPU, \
/OK3568_Linux_fs/kernel/lib/
H 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifsproto.h466 const __u16 netfid, const __u8 lock_type,
477 struct file_lock *, const __u16 lock_type,
H A Dcifssmb.c2389 const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, in cifs_lockv() argument
2409 pSMB->LockType = lock_type; in cifs_lockv()
2506 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument
2555 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock()
2605 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock()
2608 if (parm_data->lock_type == in CIFSSMBPosixLock()
2611 else if (parm_data->lock_type == in CIFSSMBPosixLock()
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dlockdep.c1295 class->lock_type = lock->lock_type; in register_lock_class()
4703 u8 inner, u8 outer, u8 lock_type) in lockdep_init_map_type() argument
4726 lock->lock_type = lock_type; in lockdep_init_map_type()
5145 lock->lock_type); in __lock_set_class()
/OK3568_Linux_fs/buildroot/package/oracle-mysql/
H A D0005-bison_3_breaks_mysql_server_build.patch3056 thr_lock_type lock_type= (thr_lock_type) $3;
3057 - if (!Select->add_table_to_list(YYTHD, $1, $2, 0, lock_type))
3058 + if (!Select->add_table_to_list(thd, $1, $2, 0, lock_type))
3061 if (lock_type >= TL_WRITE_ALLOW_WRITE)
/OK3568_Linux_fs/kernel/drivers/block/
H A Drbd.c1772 u8 lock_type; in rbd_object_map_lock() local
1793 RBD_LOCK_NAME, &lock_type, &lock_tag, in rbd_object_map_lock()
3899 u8 lock_type; in get_lock_owner_info() local
3907 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info()
3923 if (lock_type == CEPH_CLS_LOCK_SHARED) { in get_lock_owner_info()

12