Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 25 of 87) sorted by relevance

1234

/kernel/linux/linux-5.10/include/linux/
Dmutex.h158 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
162 unsigned int subclass);
164 unsigned int subclass);
165 extern void mutex_lock_io_nested(struct mutex *lock, unsigned int subclass);
184 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) argument
185 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) argument
186 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) argument
188 # define mutex_lock_io_nested(lock, subclass) mutex_lock_io(lock) argument
Drwsem.h174 extern void down_read_nested(struct rw_semaphore *sem, int subclass);
175 extern int __must_check down_read_killable_nested(struct rw_semaphore *sem, int subclass);
176 extern void down_write_nested(struct rw_semaphore *sem, int subclass);
177 extern int down_write_killable_nested(struct rw_semaphore *sem, int subclass);
195 # define down_read_nested(sem, subclass) down_read(sem) argument
196 # define down_read_killable_nested(sem, subclass) down_read_killable(sem) argument
198 # define down_write_nested(sem, subclass) down_write(sem) argument
199 # define down_write_killable_nested(sem, subclass) down_write_killable(sem) argument
Dspinlock.h228 # define raw_spin_lock_nested(lock, subclass) \ argument
229 _raw_spin_lock_nested(lock, subclass)
242 # define raw_spin_lock_nested(lock, subclass) \ argument
243 _raw_spin_lock(((void)(subclass), (lock)))
256 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
259 flags = _raw_spin_lock_irqsave_nested(lock, subclass); \
262 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
277 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
367 #define spin_lock_nested(lock, subclass) \ argument
369 raw_spin_lock_nested(spinlock_check(lock), subclass); \
[all …]
Dlockdep.h189 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
193 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits() argument
195 lockdep_init_map_type(lock, name, key, subclass, inner, outer, LD_LOCK_NORMAL); in lockdep_init_map_waits()
200 struct lock_class_key *key, int subclass, u8 inner) in lockdep_init_map_wait() argument
202 lockdep_init_map_waits(lock, name, key, subclass, inner, LD_WAIT_INV); in lockdep_init_map_wait()
206 struct lock_class_key *key, int subclass) in lockdep_init_map() argument
208 lockdep_init_map_wait(lock, name, key, subclass, LD_WAIT_INV); in lockdep_init_map()
269 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
289 struct lock_class_key *key, unsigned int subclass,
293 unsigned int subclass, unsigned long ip) in lock_set_subclass() argument
[all …]
Dtty_ldisc.h163 extern int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,
165 extern int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
168 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument
170 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument
Dmmap_lock.h19 static inline void mmap_write_lock_nested(struct mm_struct *mm, int subclass) in mmap_write_lock_nested() argument
21 down_write_nested(&mm->mmap_lock, subclass); in mmap_write_lock_nested()
Drtmutex.h110 extern void rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass);
114 #define rt_mutex_lock_nested(lock, subclass) rt_mutex_lock(lock) argument
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dsoc.h108 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
109 static inline int is_omap ##subclass (void) \
114 #define IS_TI_SUBCLASS(subclass, id) \ argument
115 static inline int is_ti ##subclass (void) \
120 #define IS_AM_SUBCLASS(subclass, id) \ argument
121 static inline int is_am ##subclass (void) \
126 #define IS_DRA_SUBCLASS(subclass, id) \ argument
127 static inline int is_dra ##subclass (void) \
134 #define IS_DRA_SUBCLASS_PACKAGE(subclass, package, id) \ argument
135 static inline int is_dra ##subclass ##_ ##package (void) \
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dmrlock.h29 static inline void mraccess_nested(mrlock_t *mrp, int subclass) in mraccess_nested() argument
31 down_read_nested(&mrp->mr_lock, subclass); in mraccess_nested()
34 static inline void mrupdate_nested(mrlock_t *mrp, int subclass) in mrupdate_nested() argument
36 down_write_nested(&mrp->mr_lock, subclass); in mrupdate_nested()
/kernel/linux/linux-5.10/drivers/tty/
Dtty_ldsem.c296 int subclass, long timeout) in __ldsem_down_read_nested() argument
300 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in __ldsem_down_read_nested()
315 int subclass, long timeout) in __ldsem_down_write_nested() argument
319 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in __ldsem_down_write_nested()
417 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) in ldsem_down_read_nested() argument
420 return __ldsem_down_read_nested(sem, subclass, timeout); in ldsem_down_read_nested()
423 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, in ldsem_down_write_nested() argument
427 return __ldsem_down_write_nested(sem, subclass, timeout); in ldsem_down_write_nested()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dirq.c313 void irq_subclass_register(enum irq_subclass subclass) in irq_subclass_register() argument
316 if (!irq_subclass_refcount[subclass]) in irq_subclass_register()
317 ctl_set_bit(0, subclass); in irq_subclass_register()
318 irq_subclass_refcount[subclass]++; in irq_subclass_register()
323 void irq_subclass_unregister(enum irq_subclass subclass) in irq_subclass_unregister() argument
326 irq_subclass_refcount[subclass]--; in irq_subclass_unregister()
327 if (!irq_subclass_refcount[subclass]) in irq_subclass_unregister()
328 ctl_clear_bit(0, subclass); in irq_subclass_unregister()
/kernel/linux/linux-5.10/kernel/locking/
Dmutex.c936 __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock_common() argument
968 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
1106 __mutex_lock(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock() argument
1109 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock()
1113 __ww_mutex_lock(struct mutex *lock, long state, unsigned int subclass, in __ww_mutex_lock() argument
1117 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, ww_ctx, true); in __ww_mutex_lock()
1122 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument
1124 __mutex_lock(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested()
1137 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_killable_nested() argument
1139 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
[all …]
Dspinlock.c358 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_nested() argument
361 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested()
367 int subclass) in _raw_spin_lock_irqsave_nested() argument
373 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested()
Dlockdep.c693 if (class->subclass) in __print_lock_name()
694 printk(KERN_CONT "/%d", class->subclass); in __print_lock_name()
833 if (new_class->key - new_class->subclass == class->key) in count_matching_names()
844 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() argument
850 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class()
854 "BUG: looking up invalid subclass: %u\n", subclass); in look_up_lock_class()
878 key = lock->key->subkeys + subclass; in look_up_lock_class()
1235 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() argument
1244 class = look_up_lock_class(lock, subclass); in register_lock_class()
1255 key = lock->key->subkeys + subclass; in register_lock_class()
[all …]
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
Dusbip_common.c296 uint8_t subclass, uint8_t protocol) in usbip_names_get_class() argument
300 if (class == 0 && subclass == 0 && protocol == 0) { in usbip_names_get_class()
301 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); in usbip_names_get_class()
305 p = names_protocol(class, subclass, protocol); in usbip_names_get_class()
309 s = names_subclass(class, subclass); in usbip_names_get_class()
317 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); in usbip_names_get_class()
Dnames.c43 struct subclass { struct
44 struct subclass *next; argument
80 static struct subclass *subclasses[HASHSZ] = { NULL, };
118 struct subclass *s; in names_subclass()
249 struct subclass *s; in new_subclass()
256 s = my_malloc(sizeof(struct subclass) + strlen(name)); in new_subclass()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_incore.h100 #define IREAD_LOCK(ip, subclass) \ argument
101 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
103 #define IWRITE_LOCK(ip, subclass) \ argument
104 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-hid12 subclass HID device subclass to use
Dconfigfs-usb-gadget-rndis17 subclass USB interface subclass, default is 06 (hex)
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/
Dcommon.h41 struct lock_class_key *key, int subclass);
42 void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dirq.h111 void irq_subclass_register(enum irq_subclass subclass);
112 void irq_subclass_unregister(enum irq_subclass subclass);
/kernel/linux/linux-5.10/include/trace/events/
Dlock.h15 TP_PROTO(struct lockdep_map *lock, unsigned int subclass,
19 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/kernel/linux/linux-5.10/arch/arm/mach-omap1/include/mach/
Dsoc.h94 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
95 static inline int is_omap ##subclass (void) \
/kernel/linux/linux-5.10/tools/usb/usbip/
DREADME201 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
206 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
211 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
212 : 0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)
216 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
217 : 0 - Data / unknown subclass / unknown protocol (0a/ff/00)
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem.h129 void msm_gem_purge(struct drm_gem_object *obj, enum msm_gem_lock subclass);
130 void msm_gem_vunmap(struct drm_gem_object *obj, enum msm_gem_lock subclass);

1234