Searched refs:subclass (Results 1 - 25 of 70) sorted by relevance

123

/linux-master/include/linux/usb/
H A Dg_hid.h12 unsigned char subclass; member in struct:hidg_func_descriptor
/linux-master/include/linux/
H A Dspinlock_rt.h36 extern void rt_spin_lock_nested(spinlock_t *lock, int subclass);
49 # define __spin_lock_nested(lock, subclass) \
50 rt_spin_lock_nested(lock, subclass)
57 # define __spin_lock_irqsave_nested(lock, flags, subclass) \
61 __spin_lock_nested(lock, subclass); \
66 * Always evaluate the 'subclass' argument to avoid that the compiler
70 # define __spin_lock_nested(lock, subclass) spin_lock(((void)(subclass), (lock)))
71 # define __spin_lock_nest_lock(lock, subclass) spin_lock(((void)(subclass), (loc
[all...]
H 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)
205 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock)
206 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock)
208 # define mutex_lock_io_nested(lock, subclass) mutex_lock_io(lock)
H 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)
245 # define down_read_killable_nested(sem, subclass) down_read_killable(sem)
247 # define down_write_nested(sem, subclass) down_write(sem)
248 # define down_write_killable_nested(sem, subclass) down_write_killable(sem)
H A Dspinlock.h219 # define raw_spin_lock_nested(lock, subclass) \
220 _raw_spin_lock_nested(lock, subclass)
229 * Always evaluate the 'subclass' argument to avoid that the compiler
233 # define raw_spin_lock_nested(lock, subclass) \
234 _raw_spin_lock(((void)(subclass), (lock)))
247 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \
250 flags = _raw_spin_lock_irqsave_nested(lock, subclass); \
253 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \
268 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \
363 #define spin_lock_nested(lock, subclass) \
[all...]
H A Drwlock_rt.h31 extern void rt_write_lock_nested(rwlock_t *rwlock, int subclass);
88 static __always_inline void write_lock_nested(rwlock_t *rwlock, int subclass) argument
90 rt_write_lock_nested(rwlock, subclass);
93 #define write_lock_nested(lock, subclass) rt_write_lock(((void)(subclass), (lock)))
H A Dtty_ldisc.h47 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) \
54 # define ldsem_down_write_nested(sem, subclass, timeout) \
H A Drtmutex.h101 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)
H A Dlockdep.h185 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
189 struct lock_class_key *key, int subclass, u8 inner, u8 outer)
191 lockdep_init_map_type(lock, name, key, subclass, inner, outer, LD_LOCK_NORMAL);
196 struct lock_class_key *key, int subclass, u8 inner)
198 lockdep_init_map_waits(lock, name, key, subclass, inner, LD_WAIT_INV);
202 struct lock_class_key *key, int subclass)
204 lockdep_init_map_wait(lock, name, key, subclass, LD_WAIT_INV);
265 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
290 struct lock_class_key *key, unsigned int subclass,
297 unsigned int subclass, unsigne
188 lockdep_init_map_waits(struct lockdep_map *lock, const char *name, struct lock_class_key *key, int subclass, u8 inner, u8 outer) argument
195 lockdep_init_map_wait(struct lockdep_map *lock, const char *name, struct lock_class_key *key, int subclass, u8 inner) argument
201 lockdep_init_map(struct lockdep_map *lock, const char *name, struct lock_class_key *key, int subclass) argument
296 lock_set_subclass(struct lockdep_map *lock, unsigned int subclass, unsigned long ip) argument
[all...]
H A Drwlock.h59 #define write_lock_nested(lock, subclass) _raw_write_lock_nested(lock, subclass)
61 #define write_lock_nested(lock, subclass) _raw_write_lock(lock)
H A Dspinlock_api_up.h59 #define _raw_spin_lock_nested(lock, subclass) __LOCK(lock)
62 #define _raw_write_lock_nested(lock, subclass) __LOCK(lock)
/linux-master/fs/xfs/
H A Dmrlock.h29 static inline void mraccess_nested(mrlock_t *mrp, int subclass) argument
31 down_read_nested(&mrp->mr_lock, subclass);
34 static inline void mrupdate_nested(mrlock_t *mrp, int subclass) argument
36 down_write_nested(&mrp->mr_lock, subclass);
/linux-master/drivers/usb/gadget/function/
H A Du_hid.h21 unsigned char subclass; member in struct:f_hid_opts
H A Du_rndis.h31 u8 subclass; member in struct:f_rndis_opts
/linux-master/kernel/locking/
H A Drtmutex_api.c25 unsigned int subclass)
30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_);
48 * @subclass: the lockdep subclass
50 void __sched rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass) argument
52 __rt_mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, NULL, subclass);
504 unsigned int subclass,
511 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip);
521 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) argument
523 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, subclass, NUL
22 __rt_mutex_lock_common(struct rt_mutex *lock, unsigned int state, struct lockdep_map *nest_lock, unsigned int subclass) argument
502 __mutex_lock_common(struct mutex *lock, unsigned int state, unsigned int subclass, struct lockdep_map *nest_lock, unsigned long ip) argument
534 mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass) argument
541 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) argument
548 mutex_lock_io_nested(struct mutex *lock, unsigned int subclass) argument
[all...]
H A Dspinlock.c305 #define __raw_write_lock_nested(lock, subclass) __raw_write_lock(((void)(subclass), (lock)))
308 void __lockfunc _raw_write_lock_nested(rwlock_t *lock, int subclass) argument
310 __raw_write_lock_nested(lock, subclass);
375 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) argument
378 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_);
384 int subclass)
390 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_);
383 _raw_spin_lock_irqsave_nested(raw_spinlock_t *lock, int subclass) argument
H A Dmutex.c569 __mutex_lock_common(struct mutex *lock, unsigned int state, unsigned int subclass, argument
603 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip);
744 __mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, argument
747 return __mutex_lock_common(lock, state, subclass, nest_lock, ip, NULL, false);
751 __ww_mutex_lock(struct mutex *lock, unsigned int state, unsigned int subclass, argument
754 return __mutex_lock_common(lock, state, subclass, NULL, ip, ww_ctx, true);
797 mutex_lock_nested(struct mutex *lock, unsigned int subclass) argument
799 __mutex_lock(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_);
812 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) argument
814 return __mutex_lock(lock, TASK_KILLABLE, subclass, NUL
819 mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass) argument
826 mutex_lock_io_nested(struct mutex *lock, unsigned int subclass) argument
[all...]
/linux-master/fs/jfs/
H A Djfs_incore.h108 #define IREAD_LOCK(ip, subclass) \
109 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
111 #define IWRITE_LOCK(ip, subclass) \
112 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
/linux-master/arch/arm/mach-omap2/
H A Dsoc.h108 #define IS_OMAP_SUBCLASS(subclass, id) \
109 static inline int is_omap ##subclass (void) \
114 #define IS_TI_SUBCLASS(subclass, id) \
115 static inline int is_ti ##subclass (void) \
120 #define IS_AM_SUBCLASS(subclass, id) \
121 static inline int is_am ##subclass (void) \
126 #define IS_DRA_SUBCLASS(subclass, id) \
127 static inline int is_dra ##subclass (void) \
134 #define IS_DRA_SUBCLASS_PACKAGE(subclass, package, id) \
135 static inline int is_dra ##subclass ##
[all...]
/linux-master/drivers/tty/
H A Dtty_ldsem.c296 int subclass, long timeout)
300 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_);
315 int subclass, long timeout)
319 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_);
417 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument
420 return __ldsem_down_read_nested(sem, subclass, timeout);
423 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, argument
427 return __ldsem_down_write_nested(sem, subclass, timeout);
295 __ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument
314 __ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, long timeout) argument
/linux-master/arch/s390/include/asm/
H A Dirq.h116 void irq_subclass_register(enum irq_subclass subclass);
117 void irq_subclass_unregister(enum irq_subclass subclass);
/linux-master/tools/usb/usbip/libsrc/
H A Dusbip_common.c296 uint8_t subclass, uint8_t protocol)
300 if (class == 0 && subclass == 0 && protocol == 0) {
301 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol);
305 p = names_protocol(class, subclass, protocol);
309 s = names_subclass(class, subclass);
311 s = "unknown subclass";
317 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol);
295 usbip_names_get_class(char *buff, size_t size, uint8_t class, uint8_t subclass, uint8_t protocol) argument
/linux-master/arch/s390/kernel/
H A Dirq.c384 void irq_subclass_register(enum irq_subclass subclass) argument
387 if (!irq_subclass_refcount[subclass])
388 ctl_set_bit(0, subclass);
389 irq_subclass_refcount[subclass]++;
394 void irq_subclass_unregister(enum irq_subclass subclass) argument
397 irq_subclass_refcount[subclass]--;
398 if (!irq_subclass_refcount[subclass])
399 ctl_clear_bit(0, subclass);
/linux-master/include/trace/events/
H A Dlock.h26 TP_PROTO(struct lockdep_map *lock, unsigned int subclass,
30 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/linux-master/include/linux/soc/ti/
H A Domap1-soc.h86 #define IS_OMAP_SUBCLASS(subclass, id) \
87 static inline int is_omap ##subclass (void) \

Completed in 576 milliseconds

123