/linux-6.12.1/include/linux/ |
D | spinlock_rt.h | 36 extern void rt_spin_lock_nested(spinlock_t *lock, int subclass); 49 # define __spin_lock_nested(lock, subclass) \ argument 50 rt_spin_lock_nested(lock, subclass) 57 # define __spin_lock_irqsave_nested(lock, flags, subclass) \ argument 61 __spin_lock_nested(lock, subclass); \ 70 # define __spin_lock_nested(lock, subclass) spin_lock(((void)(subclass), (lock))) argument 71 # define __spin_lock_nest_lock(lock, subclass) spin_lock(((void)(subclass), (lock))) argument 72 # define __spin_lock_irqsave_nested(lock, flags, subclass) \ argument 73 spin_lock_irqsave(((void)(subclass), (lock)), flags) 76 #define spin_lock_nested(lock, subclass) \ argument [all …]
|
D | mutex.h | 157 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass); 161 unsigned int subclass); 163 unsigned int subclass); 164 extern void mutex_lock_io_nested(struct mutex *lock, unsigned int subclass); 183 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) argument 184 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) argument 185 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) argument 187 # define mutex_lock_io_nested(lock, subclass) mutex_lock_io(lock) argument
|
D | rwsem.h | 267 extern void down_read_nested(struct rw_semaphore *sem, int subclass); 268 extern int __must_check down_read_killable_nested(struct rw_semaphore *sem, int subclass); 269 extern void down_write_nested(struct rw_semaphore *sem, int subclass); 270 extern int down_write_killable_nested(struct rw_semaphore *sem, int subclass); 288 # define down_read_nested(sem, subclass) down_read(sem) argument 289 # define down_read_killable_nested(sem, subclass) down_read_killable(sem) argument 291 # define down_write_nested(sem, subclass) down_write(sem) argument 292 # define down_write_killable_nested(sem, subclass) down_write_killable(sem) argument
|
D | spinlock.h | 220 # define raw_spin_lock_nested(lock, subclass) \ argument 221 _raw_spin_lock_nested(lock, subclass) 234 # define raw_spin_lock_nested(lock, subclass) \ argument 235 _raw_spin_lock(((void)(subclass), (lock))) 248 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument 251 flags = _raw_spin_lock_irqsave_nested(lock, subclass); \ 254 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument 269 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument 364 #define spin_lock_nested(lock, subclass) \ argument 366 raw_spin_lock_nested(spinlock_check(lock), subclass); \ [all …]
|
D | lockdep.h | 129 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type); 133 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits() argument 135 lockdep_init_map_type(lock, name, key, subclass, inner, outer, LD_LOCK_NORMAL); in lockdep_init_map_waits() 140 struct lock_class_key *key, int subclass, u8 inner) in lockdep_init_map_wait() argument 142 lockdep_init_map_waits(lock, name, key, subclass, inner, LD_WAIT_INV); in lockdep_init_map_wait() 146 struct lock_class_key *key, int subclass) in lockdep_init_map() argument 148 lockdep_init_map_wait(lock, name, key, subclass, LD_WAIT_INV); in lockdep_init_map() 227 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass, 233 extern void lock_sync(struct lockdep_map *lock, unsigned int subclass, 256 struct lock_class_key *key, unsigned int subclass, [all …]
|
D | rwlock_rt.h | 31 extern void rt_write_lock_nested(rwlock_t *rwlock, int subclass); 88 static __always_inline void write_lock_nested(rwlock_t *rwlock, int subclass) in write_lock_nested() argument 90 rt_write_lock_nested(rwlock, subclass); in write_lock_nested() 93 #define write_lock_nested(lock, subclass) rt_write_lock(((void)(subclass), (lock))) argument
|
D | tty_ldisc.h | 47 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, 49 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, 52 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument 54 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument
|
D | rwlock.h | 59 #define write_lock_nested(lock, subclass) _raw_write_lock_nested(lock, subclass) argument 61 #define write_lock_nested(lock, subclass) _raw_write_lock(lock) argument
|
D | rtmutex.h | 101 extern void rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass); 112 #define rt_mutex_lock_nested(lock, subclass) rt_mutex_lock(lock) argument
|
/linux-6.12.1/kernel/locking/ |
D | rtmutex_api.c | 25 unsigned int subclass) in __rt_mutex_lock_common() argument 30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common() 50 void __sched rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass) in rt_mutex_lock_nested() argument 52 __rt_mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, NULL, subclass); in rt_mutex_lock_nested() 504 unsigned int subclass, in __mutex_lock_common() argument 511 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 521 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument 523 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested() 535 unsigned int subclass) in mutex_lock_interruptible_nested() argument 537 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested() [all …]
|
D | spinlock.c | 305 #define __raw_write_lock_nested(lock, subclass) __raw_write_lock(((void)(subclass), (lock))) argument 308 void __lockfunc _raw_write_lock_nested(rwlock_t *lock, int subclass) in _raw_write_lock_nested() argument 310 __raw_write_lock_nested(lock, subclass); in _raw_write_lock_nested() 375 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_nested() argument 378 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested() 384 int subclass) in _raw_spin_lock_irqsave_nested() argument 390 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested()
|
D | mutex.c | 574 __mutex_lock_common(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock_common() argument 608 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 749 __mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock() argument 752 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false); in __mutex_lock() 756 __ww_mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __ww_mutex_lock() argument 759 return __mutex_lock_common(lock, state, subclass, NULL, ip, ww_ctx, true); in __ww_mutex_lock() 802 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument 804 __mutex_lock(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested() 817 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_killable_nested() argument 819 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested() [all …]
|
D | spinlock_rt.c | 62 void __sched rt_spin_lock_nested(spinlock_t *lock, int subclass) in rt_spin_lock_nested() argument 64 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in rt_spin_lock_nested() 249 void __sched rt_write_lock_nested(rwlock_t *rwlock, int subclass) in rt_write_lock_nested() argument 252 rwlock_acquire(&rwlock->dep_map, subclass, 0, _RET_IP_); in rt_write_lock_nested()
|
/linux-6.12.1/arch/arm/mach-omap2/ |
D | soc.h | 108 #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 …]
|
/linux-6.12.1/drivers/tty/ |
D | tty_ldsem.c | 296 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()
|
/linux-6.12.1/arch/s390/kernel/ |
D | irq.c | 387 void irq_subclass_register(enum irq_subclass subclass) in irq_subclass_register() argument 390 if (!irq_subclass_refcount[subclass]) in irq_subclass_register() 391 system_ctl_set_bit(0, subclass); in irq_subclass_register() 392 irq_subclass_refcount[subclass]++; in irq_subclass_register() 397 void irq_subclass_unregister(enum irq_subclass subclass) in irq_subclass_unregister() argument 400 irq_subclass_refcount[subclass]--; in irq_subclass_unregister() 401 if (!irq_subclass_refcount[subclass]) in irq_subclass_unregister() 402 system_ctl_clear_bit(0, subclass); in irq_subclass_unregister()
|
/linux-6.12.1/tools/usb/usbip/libsrc/ |
D | usbip_common.c | 296 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()
|
D | names.c | 43 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()
|
/linux-6.12.1/fs/jfs/ |
D | jfs_incore.h | 108 #define IREAD_LOCK(ip, subclass) \ argument 109 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass) 111 #define IWRITE_LOCK(ip, subclass) \ argument 112 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
|
/linux-6.12.1/Documentation/usb/ |
D | functionfs-desc.rst | 19 Standard USB interface descriptors may be written. The class/subclass of the 26 Class-specific descriptors are accepted only for the class/subclass of the 33 When the interface class is USB_CLASS_APP_SPEC and the interface subclass
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | configfs-usb-gadget-hid | 12 subclass HID device subclass to use
|
D | configfs-usb-gadget-rndis | 17 subclass USB interface subclass, default is 06 (hex)
|
/linux-6.12.1/tools/include/linux/ |
D | rwsem.h | 41 #define down_read_nested(sem, subclass) down_read(sem) argument 42 #define down_write_nested(sem, subclass) down_write(sem) argument
|
/linux-6.12.1/arch/s390/include/asm/ |
D | irq.h | 119 void irq_subclass_register(enum irq_subclass subclass); 120 void irq_subclass_unregister(enum irq_subclass subclass);
|
/linux-6.12.1/include/linux/soc/ti/ |
D | omap1-soc.h | 69 #define IS_OMAP_SUBCLASS(subclass, id) \ argument 70 static inline int is_omap ##subclass (void) \
|