Home
last modified time | relevance | path

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

123

/linux/arch/arm/mach-omap2/
H 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/include/linux/
H A Drwsem.h280 extern void down_read_nested(struct rw_semaphore *sem, int subclass);
281 extern int __must_check down_read_killable_nested(struct rw_semaphore *sem, int subclass);
282 extern void down_write_nested(struct rw_semaphore *sem, int subclass);
283 extern int down_write_killable_nested(struct rw_semaphore *sem, int subclass);
301 # define down_read_nested(sem, subclass) down_read(sem) argument
302 # define down_read_killable_nested(sem, subclass) down_read_killable(sem) argument
304 # define down_write_nested(sem, subclass) down_write(sem) argument
305 # define down_write_killable_nested(sem, subclass) down_write_killable(sem) argument
H A Dspinlock.h220 # define raw_spin_lock_nested(lock, subclass) \ argument
221 _raw_spin_lock_nested(lock, subclass)
230 * Always evaluate the 'subclass' argument to avoid that the compiler
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
384 spin_lock_irqsave_nested(lock,flags,subclass) global() argument
[all...]
H A Drwlock.h59 #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
H A Dxarray.h546 #define xa_lock_nested(xa, subclass) \ argument
547 spin_lock_nested(&(xa)->xa_lock, subclass)
548 #define xa_lock_bh_nested(xa, subclass) \ argument
549 spin_lock_bh_nested(&(xa)->xa_lock, subclass)
550 #define xa_lock_irq_nested(xa, subclass) \ argument
551 spin_lock_irq_nested(&(xa)->xa_lock, subclass)
552 #define xa_lock_irqsave_nested(xa, flags, subclass) \ argument
553 spin_lock_irqsave_nested(&(xa)->xa_lock, flags, subclass)
H A Dspinlock_api_up.h59 #define _raw_spin_lock_nested(lock, subclass) __LOCK(lock) argument
62 #define _raw_write_lock_nested(lock, subclass) __LOCK(lock) argument
H A Drwlock_api_smp.h20 void __lockfunc _raw_write_lock_nested(rwlock_t *lock, int subclass) __acquires(lock);
213 static inline void __raw_write_lock_nested(rwlock_t *lock, int subclass) in __raw_write_lock_nested() argument
216 rwlock_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in __raw_write_lock_nested()
H A Dmmap_lock.h156 static inline bool vma_start_read_locked_nested(struct vm_area_struct *vma, int subclass) in vma_start_read_locked_nested() argument
340 static inline void mmap_write_lock_nested(struct mm_struct *mm, int subclass) in mmap_write_lock_nested() argument
343 down_write_nested(&mm->mmap_lock, subclass); in mmap_write_lock_nested()
/linux/tools/usb/usbip/libsrc/
H 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()
H 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/
H 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/usb/
H A Dfunctionfs-desc.rst19 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/rust/kernel/
H A Dusb.rs136 pub const fn from_device_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_device_info()
140 bDeviceSubClass: subclass, in from_device_info()
148 pub const fn from_interface_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_interface_info()
152 bInterfaceSubClass: subclass, in from_interface_info()
203 subclass: u8, in from_device_and_interface_info()
212 bInterfaceSubClass: subclass, in from_device_and_interface_info()
/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-hid12 subclass HID device subclass to use
H A Dconfigfs-usb-gadget-rndis17 subclass USB interface subclass, default is 06 (hex)
/linux/tools/include/linux/
H A Drwsem.h41 #define down_read_nested(sem, subclass) down_read(sem) argument
42 #define down_write_nested(sem, subclass) down_write(sem) argument
/linux/arch/s390/include/asm/
H A Dirq.h118 void irq_subclass_register(enum irq_subclass subclass);
119 void irq_subclass_unregister(enum irq_subclass subclass);
/linux/include/linux/soc/ti/
H A Domap1-soc.h69 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
70 static inline int is_omap ##subclass (void) \
/linux/kernel/locking/
H A Dlockdep.c730 if (class->subclass) in __print_lock_name()
731 printk(KERN_CONT "/%d", class->subclass); in __print_lock_name()
876 if (new_class->key - new_class->subclass == class->key) in count_matching_names()
887 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() argument
893 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class()
898 "BUG: looking up invalid subclass: %u\n", subclass); in look_up_lock_class()
923 key = lock->key->subkeys + subclass; in look_up_lock_class()
1285 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() argument
1294 class = look_up_lock_class(lock, subclass); in register_lock_class()
1305 key = lock->key->subkeys + subclass; in register_lock_class()
[all …]
H A Drwsem.c1659 void down_read_nested(struct rw_semaphore *sem, int subclass) in down_read_nested() argument
1662 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_nested()
1667 int down_read_killable_nested(struct rw_semaphore *sem, int subclass) in down_read_killable_nested() argument
1670 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_killable_nested()
1703 void down_write_nested(struct rw_semaphore *sem, int subclass) in down_write_nested() argument
1706 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_nested()
1711 int __sched down_write_killable_nested(struct rw_semaphore *sem, int subclass) in down_write_killable_nested() argument
1714 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_killable_nested()
/linux/tools/usb/usbip/
H 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/Documentation/translations/zh_CN/locking/
H A Dmutex-design.rst112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
118 unsigned int subclass);
/linux/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/net/bluetooth/hidp/
H A Dsock.c139 __u8 subclass; member
190 ca.subclass = ca32.subclass; in hidp_sock_compat_ioctl()
/linux/drivers/nvdimm/
H A Dsecurity.c91 key_serial_t id, int subclass) in nvdimm_lookup_user_key() argument
110 down_read_nested(&key->sem, subclass); in nvdimm_lookup_user_key()
121 key_serial_t id, int subclass, struct key **key) in nvdimm_get_user_key_payload() argument
125 if (subclass == NVDIMM_BASE_KEY) in nvdimm_get_user_key_payload()
131 *key = nvdimm_lookup_user_key(nvdimm, id, subclass); in nvdimm_get_user_key_payload()

123