| /linux/kernel/locking/ |
| H A D | rtmutex_api.c | 43 unsigned int subclass) in __rt_mutex_lock_common() argument 49 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common() 69 void __sched rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass) in rt_mutex_lock_nested() argument 71 if (__rt_mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, NULL, subclass) == 0) in rt_mutex_lock_nested() 553 unsigned int subclass, in __mutex_lock_common() argument 561 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common() 578 void __sched mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument 580 __mutex_lock_common(lock, TASK_UNINTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_nested() 592 unsigned int subclass) in mutex_lock_interruptible_nested() argument 594 return __mutex_lock_common(lock, TASK_INTERRUPTIBLE, subclass, NULL, _RET_IP_); in mutex_lock_interruptible_nested() [all …]
|
| H A D | lockdep.c | 730 if (class->subclass) in __print_lock_name() 731 printk(KERN_CONT "/%d", class->subclass); in __print_lock_name() 892 if (new_class->key - new_class->subclass == class->key) in count_matching_names() 903 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() argument 909 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class() 914 "BUG: looking up invalid subclass: %u\n", subclass); in look_up_lock_class() 939 key = lock->key->subkeys + subclass; in look_up_lock_class() 968 unsigned int subclass) in lock_class_cache_is_valid() argument 984 class_subclass = subclass ? subclass : class->subclass; in lock_class_cache_is_valid() 1329 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() argument [all …]
|
| H A D | lockdep_proc.c | 72 if (class->subclass) in print_name() 73 seq_printf(m, "/%d", class->subclass); in print_name() 475 if (class->subclass) in seq_stats() 502 if (class->subclass) { in seq_stats() 503 snprintf(name+namelen, 3, "/%d", class->subclass); in seq_stats()
|
| /linux/arch/arm/mach-omap2/ |
| H A 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/include/linux/ |
| H A 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 …]
|
| H A D | spinlock.h | 222 # define raw_spin_lock_nested(lock, subclass) \ argument 223 _raw_spin_lock_nested(lock, subclass) 236 # define raw_spin_lock_nested(lock, subclass) \ argument 237 _raw_spin_lock(((void)(subclass), (lock))) 250 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument 253 flags = _raw_spin_lock_irqsave_nested(lock, subclass); \ 256 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument 271 #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 …]
|
| H A D | xarray.h | 546 #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 D | mmap_lock.h | 238 static inline bool vma_start_read_locked_nested(struct vm_area_struct *vma, int subclass) in vma_start_read_locked_nested() argument 549 static inline void mmap_write_lock_nested(struct mm_struct *mm, int subclass) in mmap_write_lock_nested() argument 552 down_write_nested(&mm->mmap_lock, subclass); in mmap_write_lock_nested()
|
| /linux/tools/usb/usbip/libsrc/ |
| H A D | usbip_common.c | 298 uint8_t subclass, uint8_t protocol) in usbip_names_get_class() argument 302 if (class == 0 && subclass == 0 && protocol == 0) { in usbip_names_get_class() 303 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); in usbip_names_get_class() 307 p = names_protocol(class, subclass, protocol); in usbip_names_get_class() 311 s = names_subclass(class, subclass); in usbip_names_get_class() 319 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); in usbip_names_get_class()
|
| H A 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/fs/jfs/ |
| H A 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/Documentation/usb/ |
| H A 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/rust/kernel/ |
| H A D | usb.rs | 150 pub const fn from_device_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_device_ver() 154 bDeviceSubClass: subclass, in from_device_info() 161 pub const fn from_interface_info(class: u8, subclass: u8, protocol: u8) -> Self { in from_device_info() 165 bInterfaceSubClass: subclass, 212 subclass: u8, in from_device_interface_number() 221 bInterfaceSubClass: subclass, in from_device_and_interface_info()
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-hid | 12 subclass HID device subclass to use
|
| H A D | configfs-usb-gadget-rndis | 17 subclass USB interface subclass, default is 06 (hex)
|
| /linux/tools/include/linux/ |
| H A 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/arch/s390/include/asm/ |
| H A D | irq.h | 118 void irq_subclass_register(enum irq_subclass subclass); 119 void irq_subclass_unregister(enum irq_subclass subclass);
|
| /linux/include/linux/soc/ti/ |
| H A D | omap1-soc.h | 69 #define IS_OMAP_SUBCLASS(subclass, id) \ argument 70 static inline int is_omap ##subclass (void) \
|
| /linux/tools/usb/usbip/ |
| H A D | README | 201 : (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 D | mutex-design.rst | 112 void mutex_lock_nested(struct mutex *lock, unsigned int subclass); 118 unsigned int subclass);
|
| /linux/drivers/nvdimm/ |
| H A D | security.c | 91 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()
|
| /linux/include/linux/usb/ |
| H A D | g_hid.h | 12 unsigned char subclass; member
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_hid.h | 21 unsigned char subclass; member
|
| H A D | u_rndis.h | 53 u8 subclass; member
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | hid.c | 152 hid_opts->subclass = iter_n->func->subclass; in hid_bind()
|