Home
last modified time | relevance | path

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

1234

/linux/include/linux/
A Dspinlock_rt.h49 # 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
73 spin_lock_irqsave(((void)(subclass), (lock)), flags)
76 #define spin_lock_nested(lock, subclass) \ argument
77 __spin_lock_nested(lock, subclass)
82 #define spin_lock_irqsave_nested(lock, flags, subclass) \ argument
[all …]
A Dspinlock.h218 # define raw_spin_lock_nested(lock, subclass) \ argument
219 _raw_spin_lock_nested(lock, subclass)
232 # define raw_spin_lock_nested(lock, subclass) \ argument
233 _raw_spin_lock(((void)(subclass), (lock)))
246 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
249 flags = _raw_spin_lock_irqsave_nested(lock, subclass); \
252 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
267 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
362 #define spin_lock_nested(lock, subclass) \ argument
364 raw_spin_lock_nested(spinlock_check(lock), subclass); \
[all …]
A Dmutex.h178 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
182 unsigned int subclass);
184 unsigned int subclass);
185 extern void mutex_lock_io_nested(struct mutex *lock, unsigned int subclass);
204 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) argument
205 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) argument
206 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) argument
208 # define mutex_lock_io_nested(lock, subclass) mutex_lock_io(lock) argument
A Drwsem.h223 extern void down_read_nested(struct rw_semaphore *sem, int subclass);
224 extern int __must_check down_read_killable_nested(struct rw_semaphore *sem, int subclass);
225 extern void down_write_nested(struct rw_semaphore *sem, int subclass);
226 extern int down_write_killable_nested(struct rw_semaphore *sem, int subclass);
244 # define down_read_nested(sem, subclass) down_read(sem) argument
245 # define down_read_killable_nested(sem, subclass) down_read_killable(sem) argument
247 # define down_write_nested(sem, subclass) down_write(sem) argument
248 # define down_write_killable_nested(sem, subclass) down_write_killable(sem) argument
A Dlockdep.h193 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits() argument
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()
290 struct lock_class_key *key, unsigned int subclass,
294 unsigned int subclass, unsigned long ip) in lock_set_subclass() argument
296 lock_set_class(lock, lock->name, lock->key, subclass, ip); in lock_set_subclass()
568 # define might_lock_nested(lock, subclass) \ argument
571 lock_acquire(&(lock)->dep_map, subclass, 0, 1, 1, NULL, \
[all …]
A Dtty_ldisc.h168 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,
170 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
173 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument
175 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument
A Drtmutex.h101 extern void rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass);
105 #define rt_mutex_lock_nested(lock, subclass) rt_mutex_lock(lock) argument
/linux/kernel/locking/
A Drtmutex_api.c24 unsigned int subclass) in __rt_mutex_lock_common() argument
29 mutex_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in __rt_mutex_lock_common()
49 void __sched rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass) in rt_mutex_lock_nested() argument
51 __rt_mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, subclass); in rt_mutex_lock_nested()
482 unsigned int subclass, in __mutex_lock_common() argument
489 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
499 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument
501 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested()
513 unsigned int subclass) in mutex_lock_interruptible_nested() argument
520 unsigned int subclass) in mutex_lock_killable_nested() argument
[all …]
A Dmutex.c607 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
737 __mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, in __mutex_lock() argument
747 return __mutex_lock_common(lock, state, subclass, NULL, ip, ww_ctx, true); in __ww_mutex_lock()
790 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument
792 __mutex_lock(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested()
805 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_killable_nested() argument
807 return __mutex_lock(lock, TASK_KILLABLE, subclass, NULL, _RET_IP_); in mutex_lock_killable_nested()
812 mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_interruptible_nested() argument
814 return __mutex_lock(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested()
819 mutex_lock_io_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_io_nested() argument
[all …]
A Dspinlock.c365 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_nested() argument
368 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested()
374 int subclass) in _raw_spin_lock_irqsave_nested() argument
380 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested()
A Dlockdep.c696 if (class->subclass) in __print_lock_name()
893 key = lock->key->subkeys + subclass; in look_up_lock_class()
1269 key = lock->key->subkeys + subclass; in register_lock_class()
1303 class->subclass = subclass; in register_lock_class()
1338 if (!subclass || force) in register_lock_class()
1341 lock->class_cache[subclass] = class; in register_lock_class()
1347 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
4821 if (subclass) { in lockdep_init_map_type()
4829 register_lock_class(lock, subclass, 1); in lockdep_init_map_type()
4901 class = lock->class_cache[subclass]; in __lock_acquire()
[all …]
A Drwsem.c1592 void down_read_nested(struct rw_semaphore *sem, int subclass) in down_read_nested() argument
1595 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_nested()
1600 int down_read_killable_nested(struct rw_semaphore *sem, int subclass) in down_read_killable_nested() argument
1603 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_killable_nested()
1630 void down_write_nested(struct rw_semaphore *sem, int subclass) in down_write_nested() argument
1633 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_nested()
1638 int __sched down_write_killable_nested(struct rw_semaphore *sem, int subclass) in down_write_killable_nested() argument
1641 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_killable_nested()
/linux/arch/arm/mach-omap2/
A 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 …]
/linux/drivers/tty/
A 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()
/linux/fs/xfs/
A 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()
/linux/arch/s390/kernel/
A Dirq.c384 void irq_subclass_register(enum irq_subclass subclass) in irq_subclass_register() argument
387 if (!irq_subclass_refcount[subclass]) in irq_subclass_register()
388 ctl_set_bit(0, subclass); in irq_subclass_register()
389 irq_subclass_refcount[subclass]++; in irq_subclass_register()
394 void irq_subclass_unregister(enum irq_subclass subclass) in irq_subclass_unregister() argument
397 irq_subclass_refcount[subclass]--; in irq_subclass_unregister()
398 if (!irq_subclass_refcount[subclass]) in irq_subclass_unregister()
399 ctl_clear_bit(0, subclass); in irq_subclass_unregister()
/linux/tools/usb/usbip/libsrc/
A 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()
A 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()
/linux/fs/jfs/
A Djfs_incore.h108 #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/Documentation/ABI/testing/
A Dconfigfs-usb-gadget-hid12 subclass HID device subclass to use
A Dconfigfs-usb-gadget-rndis17 subclass USB interface subclass, default is 06 (hex)
/linux/arch/s390/include/asm/
A Dirq.h111 void irq_subclass_register(enum irq_subclass subclass);
112 void irq_subclass_unregister(enum irq_subclass subclass);
/linux/include/trace/events/
A Dlock.h15 TP_PROTO(struct lockdep_map *lock, unsigned int subclass,
19 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/linux/tools/usb/usbip/
A 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)
/linux/arch/arm/mach-omap1/include/mach/
A Dsoc.h94 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
95 static inline int is_omap ##subclass (void) \

Completed in 58 milliseconds

1234