Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dspinlock.h191 # define raw_spin_lock_nested(lock, subclass) \ argument
192 _raw_spin_lock_nested(lock, subclass)
193 # define raw_spin_lock_bh_nested(lock, subclass) \ argument
194 _raw_spin_lock_bh_nested(lock, subclass)
207 # define raw_spin_lock_nested(lock, subclass) \ argument
208 _raw_spin_lock(((void)(subclass), (lock)))
210 # define raw_spin_lock_bh_nested(lock, subclass) _raw_spin_lock_bh(lock) argument
222 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
225 flags = _raw_spin_lock_irqsave_nested(lock, subclass); \
228 #define raw_spin_lock_irqsave_nested(lock, flags, subclass) \ argument
[all …]
Dmutex.h138 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
142 unsigned int subclass);
144 unsigned int subclass);
161 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) argument
162 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) argument
163 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) argument
Dtty_ldisc.h167 extern int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass,
169 extern int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
172 # define ldsem_down_read_nested(sem, subclass, timeout) \ argument
174 # define ldsem_down_write_nested(sem, subclass, timeout) \ argument
Drwsem.h154 extern void down_read_nested(struct rw_semaphore *sem, int subclass);
155 extern void down_write_nested(struct rw_semaphore *sem, int subclass);
173 # define down_read_nested(sem, subclass) down_read(sem) argument
175 # define down_write_nested(sem, subclass) down_write(sem) argument
Dlockdep.h77 unsigned int subclass; member
280 struct lock_class_key *key, int subclass);
332 extern void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
344 struct lock_class_key *key, unsigned int subclass,
348 unsigned int subclass, unsigned long ip) in lock_set_subclass() argument
350 lock_set_class(lock, lock->name, lock->key, subclass, ip); in lock_set_subclass()
Dspinlock_api_smp.h23 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass)
25 void __lockfunc _raw_spin_lock_bh_nested(raw_spinlock_t *lock, int subclass)
37 _raw_spin_lock_irqsave_nested(raw_spinlock_t *lock, int subclass)
Dspinlock_api_up.h59 #define _raw_spin_lock_nested(lock, subclass) __LOCK(lock) argument
60 #define _raw_spin_lock_bh_nested(lock, subclass) __LOCK(lock) argument
Drwsem-spinlock.h37 extern void __down_write_nested(struct rw_semaphore *sem, int subclass);
Dseqlock.h251 static inline void write_seqcount_begin_nested(seqcount_t *s, int subclass) in write_seqcount_begin_nested() argument
254 seqcount_acquire(&s->dep_map, subclass, 0, _RET_IP_); in write_seqcount_begin_nested()
Dnetdevice.h3303 int subclass = SINGLE_DEPTH_NESTING; in netif_addr_lock_nested() local
3306 subclass = dev->netdev_ops->ndo_get_lock_subclass(dev); in netif_addr_lock_nested()
3308 spin_lock_nested(&dev->addr_list_lock, subclass); in netif_addr_lock_nested()
/linux-4.1.27/fs/xfs/
Dmrlock.h41 static inline void mraccess_nested(mrlock_t *mrp, int subclass) in mraccess_nested() argument
43 down_read_nested(&mrp->mr_lock, subclass); in mraccess_nested()
46 static inline void mrupdate_nested(mrlock_t *mrp, int subclass) in mrupdate_nested() argument
48 down_write_nested(&mrp->mr_lock, subclass); in mrupdate_nested()
Dxfs_inode.c372 xfs_lock_inumorder(int lock_mode, int subclass) in xfs_lock_inumorder() argument
375 ASSERT(subclass + XFS_LOCK_INUMORDER < in xfs_lock_inumorder()
377 lock_mode |= (subclass + XFS_LOCK_INUMORDER) << XFS_IOLOCK_SHIFT; in xfs_lock_inumorder()
381 ASSERT(subclass + XFS_LOCK_INUMORDER < in xfs_lock_inumorder()
383 lock_mode |= (subclass + XFS_LOCK_INUMORDER) << in xfs_lock_inumorder()
388 lock_mode |= (subclass + XFS_LOCK_INUMORDER) << XFS_ILOCK_SHIFT; in xfs_lock_inumorder()
/linux-4.1.27/arch/s390/kernel/
Dirq.c292 void irq_subclass_register(enum irq_subclass subclass) in irq_subclass_register() argument
295 if (!irq_subclass_refcount[subclass]) in irq_subclass_register()
296 ctl_set_bit(0, subclass); in irq_subclass_register()
297 irq_subclass_refcount[subclass]++; in irq_subclass_register()
302 void irq_subclass_unregister(enum irq_subclass subclass) in irq_subclass_unregister() argument
305 irq_subclass_refcount[subclass]--; in irq_subclass_unregister()
306 if (!irq_subclass_refcount[subclass]) in irq_subclass_unregister()
307 ctl_clear_bit(0, subclass); in irq_subclass_unregister()
Dhead.S105 lctl %c6,%c6,.Lcr6 # set IO subclass mask
/linux-4.1.27/kernel/locking/
Drwsem.c116 void down_read_nested(struct rw_semaphore *sem, int subclass) in down_read_nested() argument
119 rwsem_acquire_read(&sem->dep_map, subclass, 0, _RET_IP_); in down_read_nested()
146 void down_write_nested(struct rw_semaphore *sem, int subclass) in down_write_nested() argument
149 rwsem_acquire(&sem->dep_map, subclass, 0, _RET_IP_); in down_write_nested()
Dspinlock.c358 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_nested() argument
361 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_nested()
366 void __lockfunc _raw_spin_lock_bh_nested(raw_spinlock_t *lock, int subclass) in _raw_spin_lock_bh_nested() argument
369 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_bh_nested()
375 int subclass) in _raw_spin_lock_irqsave_nested() argument
381 spin_acquire(&lock->dep_map, subclass, 0, _RET_IP_); in _raw_spin_lock_irqsave_nested()
Dmutex.c505 __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass, in __mutex_lock_common() argument
521 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, ip); in __mutex_lock_common()
617 mutex_lock_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_nested() argument
621 subclass, NULL, _RET_IP_, NULL, 0); in mutex_lock_nested()
637 mutex_lock_killable_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_killable_nested() argument
641 subclass, NULL, _RET_IP_, NULL, 0); in mutex_lock_killable_nested()
646 mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass) in mutex_lock_interruptible_nested() argument
650 subclass, NULL, _RET_IP_, NULL, 0); in mutex_lock_interruptible_nested()
Dlockdep.c524 if (class->subclass) in __print_lock_name()
525 printk("/%d", class->subclass); in __print_lock_name()
651 if (new_class->key - new_class->subclass == class->key) in count_matching_names()
666 look_up_lock_class(struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class() argument
686 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class()
689 "BUG: looking up invalid subclass: %u\n", subclass); in look_up_lock_class()
712 key = lock->key->subkeys + subclass; in look_up_lock_class()
742 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class() argument
750 class = look_up_lock_class(lock, subclass); in register_lock_class()
767 key = lock->key->subkeys + subclass; in register_lock_class()
[all …]
Dlockdep_proc.c52 if (class->subclass) in print_name()
53 seq_printf(m, "/%d", class->subclass); in print_name()
442 if (class->subclass) in seq_stats()
469 if (class->subclass) { in seq_stats()
470 snprintf(name+namelen, 3, "/%d", class->subclass); in seq_stats()
Drwsem-spinlock.c194 void __sched __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested() argument
/linux-4.1.27/drivers/tty/
Dtty_ldsem.c322 int subclass, long timeout) in __ldsem_down_read_nested() argument
326 lockdep_acquire_read(sem, subclass, 0, _RET_IP_); in __ldsem_down_read_nested()
341 int subclass, long timeout) in __ldsem_down_write_nested() argument
345 lockdep_acquire(sem, subclass, 0, _RET_IP_); in __ldsem_down_write_nested()
443 int ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) in ldsem_down_read_nested() argument
446 return __ldsem_down_read_nested(sem, subclass, timeout); in ldsem_down_read_nested()
449 int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, in ldsem_down_write_nested() argument
453 return __ldsem_down_write_nested(sem, subclass, timeout); in ldsem_down_write_nested()
/linux-4.1.27/tools/usb/usbip/libsrc/
Dusbip_common.c263 uint8_t subclass, uint8_t protocol) in usbip_names_get_class() argument
267 if (class == 0 && subclass == 0 && protocol == 0) { in usbip_names_get_class()
268 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); in usbip_names_get_class()
272 p = names_protocol(class, subclass, protocol); in usbip_names_get_class()
276 s = names_subclass(class, subclass); in usbip_names_get_class()
284 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); in usbip_names_get_class()
Dnames.c61 struct subclass { struct
62 struct subclass *next; argument
98 static struct subclass *subclasses[HASHSZ] = { NULL, };
136 struct subclass *s; in names_subclass()
267 struct subclass *s; in new_subclass()
274 s = my_malloc(sizeof(struct subclass) + strlen(name)); in new_subclass()
Dusbip_common.h135 uint8_t subclass, uint8_t protocol);
/linux-4.1.27/fs/jfs/
Djfs_incore.h110 #define IREAD_LOCK(ip, subclass) \ argument
111 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
113 #define IWRITE_LOCK(ip, subclass) \ argument
114 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
/linux-4.1.27/Documentation/ABI/testing/
Dconfigfs-usb-gadget-hid11 subclass - HID device subclass to use
Dconfigfs-usb-gadget20 bDeviceSubClass - USB device subclass code
/linux-4.1.27/arch/arm/mach-omap2/
Dsoc.h186 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
187 static inline int is_omap ##subclass (void) \
192 #define IS_TI_SUBCLASS(subclass, id) \ argument
193 static inline int is_ti ##subclass (void) \
198 #define IS_AM_SUBCLASS(subclass, id) \ argument
199 static inline int is_am ##subclass (void) \
/linux-4.1.27/tools/lib/lockdep/include/liblockdep/
Dcommon.h40 struct lock_class_key *key, int subclass);
41 void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
/linux-4.1.27/tools/usb/usbip/
DREADME148 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
153 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
158 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
159 : 0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)
163 : (Defined at Interface level) / unknown subclass / unknown protocol (00/00/00)
164 : 0 - Data / unknown subclass / unknown protocol (0a/ff/00)
/linux-4.1.27/arch/s390/include/asm/
Dirq.h99 void irq_subclass_register(enum irq_subclass subclass);
100 void irq_subclass_unregister(enum irq_subclass subclass);
Drwsem.h93 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested() argument
/linux-4.1.27/include/trace/events/
Dlock.h14 TP_PROTO(struct lockdep_map *lock, unsigned int subclass,
18 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/linux-4.1.27/arch/arm/mach-omap1/include/mach/
Dsoc.h104 #define IS_OMAP_SUBCLASS(subclass, id) \ argument
105 static inline int is_omap ##subclass (void) \
/linux-4.1.27/net/bluetooth/hidp/
Dsock.c133 __u8 subclass; member
179 put_user(ca.subclass, &uca->subclass) || in hidp_sock_compat_ioctl()
Dhidp.h96 __u8 subclass; member
Dcore.c671 if (req->subclass & 0x40) { in hidp_setup_input()
687 if (req->subclass & 0x80) { in hidp_setup_input()
/linux-4.1.27/include/linux/usb/
Dg_hid.h25 unsigned char subclass; member
/linux-4.1.27/drivers/usb/gadget/function/
Du_hid.h24 unsigned char subclass; member
Df_hid.c772 F_HID_OPT(subclass, 8, 255);
945 hidg->bInterfaceSubClass = opts->subclass; in hidg_alloc()
/linux-4.1.27/drivers/usb/storage/
Dscsiglue.c171 if (us->subclass != USB_SC_SCSI && us->subclass != USB_SC_CYP_ATACB) in slave_configure()
316 if (us->subclass == USB_SC_UFI) in target_alloc()
Dusb.h123 u8 subclass; member
Dtransport.c706 if (us->subclass == USB_SC_RBC || us->subclass == USB_SC_SCSI || in usb_stor_invoke_transport()
707 us->subclass == USB_SC_CYP_ATACB) in usb_stor_invoke_transport()
977 if (us->subclass == USB_SC_UFI) { in usb_stor_CB_transport()
Dusb.c584 us->subclass = (unusual_dev->useProtocol == USB_SC_DEVICE) ? in get_device_info()
625 us->subclass == idesc->bInterfaceSubClass) in get_device_info()
679 switch (us->subclass) { in get_protocol()
/linux-4.1.27/drivers/usb/gadget/legacy/
Dhid.c171 hid_opts->subclass = n->func->subclass; in hid_bind()
DKconfig168 This driver implements USB CDC NCM subclass standard. NCM is
/linux-4.1.27/fs/nfsd/
Dnfsfh.h254 fh_lock_nested(struct svc_fh *fhp, unsigned int subclass) in fh_lock_nested() argument
268 mutex_lock_nested(&inode->i_mutex, subclass); in fh_lock_nested()
/linux-4.1.27/arch/x86/include/asm/
Drwsem.h102 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested() argument
/linux-4.1.27/arch/sparc/include/asm/
Drwsem.h48 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested() argument
/linux-4.1.27/arch/sh/include/asm/
Drwsem.h117 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested() argument
/linux-4.1.27/include/asm-generic/
Drwsem.h56 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested() argument
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dtwlxxxx-usb.txt11 if it is twl6030 or ldousb if it is twl6032 subclass.
/linux-4.1.27/Documentation/locking/
Dlockstat.txt163 Line 48 shows statistics for the second subclass (/1) of &rq->lock class
164 (subclass starts from 0), since in this case, as line 50 suggests,
Dmutex-design.txt126 void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
131 unsigned int subclass);
/linux-4.1.27/fs/ocfs2/
Ddlmglue.h123 int subclass);
Ddlmglue.c2322 int subclass) in ocfs2_inode_lock_full_nested() argument
2359 arg_flags, subclass, _RET_IP_); in ocfs2_inode_lock_full_nested()
/linux-4.1.27/net/8021q/
Dvlan_dev.c489 static void vlan_dev_set_lockdep_class(struct net_device *dev, int subclass) in vlan_dev_set_lockdep_class() argument
493 subclass); in vlan_dev_set_lockdep_class()
494 netdev_for_each_tx_queue(dev, vlan_dev_set_lockdep_one, &subclass); in vlan_dev_set_lockdep_class()
/linux-4.1.27/Documentation/usb/
Dhotplug.txt100 USB_INTERFACE_INFO (class, subclass, protocol)
102 USB_DEVICE_INFO (class, subclass, protocol)
Dgadget_hid.txt26 .subclass = 0, /* No subclass */
Dgadget-testing.txt191 subclass - HID subclass to use
193 For a keyboard the protocol and the subclass are 1, the report_length is 8,
/linux-4.1.27/tools/lguest/
Dlguest.c145 u8 revid, prog_if, subclass, class; member
1214 pci_host_bridge.config.subclass = 0; /* host bridge */ in init_pci_host_bridge()
2478 u8 class, u8 subclass) in init_pci_config() argument
2505 pci->subclass = subclass; in init_pci_config()
2623 u8 class, u8 subclass) in new_pci_device() argument
2640 init_pci_config(&dev->config, type, class, subclass); in new_pci_device()
/linux-4.1.27/Documentation/virtual/kvm/devices/
Ds390_flic.txt64 id contains the unique id for the adapter, isc the I/O interruption subclass
/linux-4.1.27/fs/
Deventpoll.c473 unsigned long events, int subclass) in ep_wake_up_nested() argument
477 spin_lock_irqsave_nested(&wqueue->lock, flags, subclass); in ep_wake_up_nested()
483 unsigned long events, int subclass) in ep_wake_up_nested() argument
Dpipe.c56 static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) in pipe_lock_nested() argument
59 mutex_lock_nested(&pipe->mutex, subclass); in pipe_lock_nested()
/linux-4.1.27/scripts/mod/
Dfile2alias.c409 unsigned char baseclass, subclass, interface, in do_pci_entry() local
427 subclass = (class) >> 8; in do_pci_entry()
441 ADD(alias, "sc", subclass_mask == 0xFF, subclass); in do_pci_entry()
/linux-4.1.27/Documentation/
DCodingStyle602 when there are users of different "classes". The subclass count counts
603 the number of subclass users, and decrements the global count just once
604 when the subclass count goes to zero.
/linux-4.1.27/net/core/
Dsock.c2365 void lock_sock_nested(struct sock *sk, int subclass) in lock_sock_nested() argument
2376 mutex_acquire(&sk->sk_lock.dep_map, subclass, 0, _RET_IP_); in lock_sock_nested()
/linux-4.1.27/fs/reiserfs/
Dreiserfs.h820 reiserfs_mutex_lock_nested_safe(struct mutex *m, unsigned int subclass, in reiserfs_mutex_lock_nested_safe() argument
826 mutex_lock_nested(m, subclass); in reiserfs_mutex_lock_nested_safe()
/linux-4.1.27/include/net/
Dsock.h1493 void lock_sock_nested(struct sock *sk, int subclass);
/linux-4.1.27/Documentation/PCI/
Dpci.txt136 class Device class, subclass, and "interface" to match.
/linux-4.1.27/Documentation/security/
Dkeys.txt147 length string that describes the key "subclass". The subclass is
/linux-4.1.27/fs/ext4/
Dsuper.c5275 static void lockdep_set_quota_inode(struct inode *inode, int subclass) in lockdep_set_quota_inode() argument
5286 lockdep_set_subclass(&ei->i_data_sem, subclass); in lockdep_set_quota_inode()
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt2373 interruption subclass)