/linux/kernel/locking/ |
H A D | semaphore.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * See mutex.c for single-acquisition sleeping locks which enforce 16 * down_trylock() and up() can be called from interrupt context, so we 23 * The ->count variable represents how many more tasks can acquire this 48 WRITE_ONCE((sem)->last_holder, (unsigned long)current); in hung_task_sem_set_holder() 53 if (READ_ONCE((sem)->last_holder) == (unsigned long)current) in hung_task_sem_clear_if_holder() 54 WRITE_ONCE((sem)->last_holder, 0UL); in hung_task_sem_clear_if_holder() 59 return READ_ONCE(sem->last_holder); in sem_last_holder() 76 sem->count--; in __sem_acquire() 81 * down - acquire the semaphore [all …]
|
H A D | rwsem.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Derived from asm-i386/semaphore.h 7 * Writer lock-stealing by Alex Shi <alex.shi@intel.com> 13 * Rwsem count bit fields re-definition and rwsem rearchitecture by 39 * - Bit 0: RWSEM_READER_OWNED - rwsem may be owned by readers (just a hint) 40 * - Bit 1: RWSEM_NONSPINNABLE - Cannot spin on a reader-owned lock 42 * When the rwsem is reader-owned and a spinning writer has timed out, 51 * for a free or reader-owned rwsem, the owner value may contain 61 * - rwsem is not currently writer owned 62 * - the handoff isn't set. [all …]
|
/linux/kernel/ |
H A D | user.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * (C) Copyright 1991-2000 Linus Torvalds 7 * We have a per-user structure to keep track of how many 9 * able to have per-user limits for system resources. 34 * userns count is 1 for root user, 1 for init_uts_ns, 43 .count = 4294967295U, 53 .count = 4294967295U, 63 .count = 4294967295U, 88 * UID task count cache, to get fast user lookup in "alloc_uid" 94 #define UIDHASH_MASK (UIDHASH_SZ - 1) [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-cache.json | 15 … by filtering the Cb0 occupancy count captured in Counter 0. The filtering available is found in… 24 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 34 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 44 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 54 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 64 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 209 "BriefDescription": "LRU Queue; Non-0 Aged Victim", 214 "PublicDescription": "How often we picked a victim that had a non-zero age", 224 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the UP direction … 234 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the UP direction … [all …]
|
/linux/drivers/net/ethernet/intel/libeth/ |
H A D | xdp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 spin_lock_init(&lock->lock); in __libeth_xdpsq_get() 23 lock->share = true; in __libeth_xdpsq_get() 41 lock->share = false; in __libeth_xdpsq_put() 45 void __acquires(&lock->lock) 48 spin_lock(&lock->lock); in __libeth_xdpsq_lock() 52 void __releases(&lock->lock) 55 spin_unlock(&lock->lock); in __libeth_xdpsq_unlock() 59 /* XDPSQ clean-up timers */ 62 * libeth_xdpsq_init_timer - initialize an XDPSQ clean-up timer [all …]
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_aspeed_vuart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 61 * to the host on the Host <-> BMC LPC bus. It could be different on a 67 return readb(vuart->port->port.membase + reg); in aspeed_vuart_readb() 72 writeb(val, vuart->port->port.membase + reg); in aspeed_vuart_writeb() 90 return -EINVAL; in aspeed_vuart_set_lpc_address() 100 const char *buf, size_t count) in lpc_address_store() argument 111 return err ? : count; in lpc_address_store() 134 return -EINVAL; in aspeed_vuart_set_sirq() 148 const char *buf, size_t count) in sirq_store() argument 159 return err ? : count; in sirq_store() [all …]
|
/linux/Documentation/filesystems/ |
H A D | files.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 Up until 2.6.12, the file descriptor table has been protected 11 with a lock (files->file_lock) and reference count (files->count). 12 ->file_lock protected accesses to all the file related fields 13 of the table. ->count was used for sharing the file descriptor 19 reference count (->f_count). 21 In the new lock-free model of file descriptor management, 24 elements - the fd sets (open_fds and close_on_exec, the 27 a lock-free reader, all the elements of the file descriptor 28 table are in a separate structure - struct fdtable. [all …]
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-cache.json | 15 … by filtering the Cb0 occupancy count captured in Counter 0. The filtering available is found in… 31 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 41 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 51 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 61 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 161 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the 'UP' directio… 171 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the 'UP' directio… 176 "BriefDescription": "AD Ring In Use; Up and Even", 181 …-- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the 'UP' directio… 186 "BriefDescription": "AD Ring In Use; Up and Odd", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-cache.json | 9 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 21 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 27 "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode", 33 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 45 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 57 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 69 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 81 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 93 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DR [all...] |
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-cache.json | 9 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 21 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 27 "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode", 33 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 45 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 57 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 69 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 81 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select MISS_OPC_MATCH and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode.", 93 "PublicDescription": "Counts the number of entries successfully inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DR [all...] |
/linux/drivers/hid/bpf/progs/ |
H A D | Thrustmaster__TCA-Yoke-Boeing.bpf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * an Input field that shows up as an axis, ABS_MISC in Linux. But it is not possible 19 * to assign an actual physical control to this axis as they're all taken up. There 20 * are 2 vendor-defined inputs where the Input type appears to be defined wrongly. 21 * This bpf attempts to fix this by changing the Inputs so that it doesn't show up in 38 * 0x95, 0x01, // Report Count (1) 23 47 * 0x95, 0x12, // Report Count (18) 41 49 * 0x95, 0x02, // Report Count (2) 45 61 * 0x95, 0x06, // Report Count (6) 72 68 * 0x95, 0x01, // Report Count (1) 88 [all …]
|
/linux/drivers/ufs/core/ |
H A D | ufs-sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "ufs-sysfs.h" 13 #include "ufshcd-priv.h" 134 const char *buf, size_t count, in ufs_sysfs_pm_lvl_store() argument 138 struct ufs_dev_info *dev_info = &hba->dev_info; in ufs_sysfs_pm_lvl_store() 142 return -EINVAL; in ufs_sysfs_pm_lvl_store() 145 return -EINVAL; in ufs_sysfs_pm_lvl_store() 148 (!(hba->caps & UFSHCD_CAP_DEEPSLEEP) || in ufs_sysfs_pm_lvl_store() 149 !(dev_info->wspecversion >= 0x310))) in ufs_sysfs_pm_lvl_store() 150 return -EINVAL; in ufs_sysfs_pm_lvl_store() [all …]
|
/linux/tools/testing/radix-tree/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/radix-tree.h> 15 void __gang_check(unsigned long middle, long down, long up, int chunk, int hop) in __gang_check() argument 22 for (idx = -down; idx < up; idx++) in __gang_check() 25 item_check_absent(&tree, middle - down - 1); in __gang_check() 26 for (idx = -down; idx < up; idx++) in __gang_check() 28 item_check_absent(&tree, middle + up); in __gang_check() 31 item_gang_check_present(&tree, middle - down, up + down, in __gang_check() 33 item_full_scan(&tree, middle - down, down + up, chunk); in __gang_check() 112 i--; in dynamic_height_check() [all …]
|
/linux/drivers/hid/ |
H A D | hid-elecom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * - BM084 Bluetooth Mouse 5 * - EX-G Trackballs (M-XT3DRBK, M-XT3URBK, M-XT4DRBK) 6 * - DEFT Trackballs (M-DT1DRBK, M-DT1URBK, M-DT2DRBK, M-DT2URBK) 7 * - HUGE Trackballs (M-HT1DRBK, M-HT1URBK) 13 * Copyright (c) 2017 Tomasz Kramkowski <tk@the-tk.com> 14 * Copyright (c) 2020 YOSHIOKA Takuma <lo48576@hard-wi.red> 25 #include "hid-ids.h" 28 * Certain ELECOM mice misreport their button count meaning that they only work 33 * solution seems to involve fixing up the report descriptor. [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_tcp_unreplied.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 if ! nft --version > /dev/null 2>&1;then 14 if ! conntrack --version > /dev/null 2>&1;then 29 echo -n 192.168."$1".2 39 if ! ip netns exec "$ns2" nft list counter inet filter "$name" | grep -q "$expect"; then 54 ip -net "$ns1" link add name veth1 type veth peer name veth2 55 ip -net "$ns1" link set netns "$ns2" dev veth2 57 ip -net "$ns1" link set up dev lo 58 ip -net "$ns2" link set up dev lo 59 ip -net "$ns1" link set up dev veth1 [all …]
|
/linux/tools/lib/bpf/ |
H A D | bpf.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 75 * -EAGAIN. This field determines how many attempts libbpf has to 182 * @param keys pointer to an array of *count* keys 183 * @param count input and output parameter; on input **count** represent 602 __u32 count; global() member [all...] |
/linux/drivers/gpu/drm/ |
H A D | drm_gem.c | 28 #include <linux/dma-buf.h> 32 #include <linux/iosys-map.h> 62 * synchronization and migration strategies, implementing that is left up to 63 * the driver, and all that the general API provides should be generic -- 65 * Even there, platform-dependent optimizations for reading/writing data with 66 * the CPU mean we'll likely hook those out to driver-specific calls. However, 69 * The goal was to have swap-backed object allocation managed through 72 * - Process limits prevent more than 1024 or so being used at a time by 74 * - Inability to allocate high fds will aggravate the X Server's select() 81 * up at a later date, and as our interface with shmfs for memory allocation. [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | uncore-cache.json | 23 "PublicDescription": "Since occupancy counts can only be captured in the Cbo's 0 counter, this event allows a user to capture occupancy related information by filtering the Cb0 occupancy count captured in Counter 0. The filtering available is found in the control register - threshold, invert and edge detect. E.g. setting threshold to 1 can effectively monitor how many cycles the monitored queue has an entry.", 32 "PublicDescription": "Counts the number of cycles either the local distress or incoming distress signals are asserted. Incoming distress includes both up and dn.", 41 "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.; Filters for any transaction originating from the IPQ or IRQ. This does not include lookups originating from the ISMQ.", 51 "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count request [all...] |
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * ice_prgm_fdir_fltr - Program a Flow Director filter 46 return -ENOENT; in ice_prgm_fdir_fltr() 47 tx_ring = vsi->tx_rings[0]; in ice_prgm_fdir_fltr() 48 if (!tx_ring || !tx_ring->desc) in ice_prgm_fdir_fltr() 49 return -ENOENT; in ice_prgm_fdir_fltr() 50 dev = tx_ring->dev; in ice_prgm_fdir_fltr() 53 for (i = ICE_FDIR_CLEAN_DELAY; ICE_DESC_UNUSED(tx_ring) < 2; i--) { in ice_prgm_fdir_fltr() 55 return -EAGAIN; in ice_prgm_fdir_fltr() 63 return -EINVAL; in ice_prgm_fdir_fltr() [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_fdb_learning_limit.sh | 2 # SPDX-License-Identifier: GPL-2.0 45 ip link set dev br0 up 47 ip link set dev "$swp1" up 48 ip link set dev "$swp2" up 49 ip link set dev "$swp3" up 105 ip -d -j link show dev br0 type bridge | \ 113 bridge -j fdb show br br0 | \ 183 if ! ip link help bridge 2>&1 | grep -q "fdb_max_learned"; then 206 [ "$learned" -ne "$is_counted" ] 207 check_fail $? "Inserted FDB type ${type}: Expected the count ${is_counted}, but got ${learned}" [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rif_mac_profile_scale.sh | 2 # SPDX-License-Identifier: GPL-2.0 14 local count=$1; shift 18 for ((i = 1; i <= count; i++)); do 22 cat >> $batch_file <<-EOF 29 ip -b $batch_file &> /dev/null 32 rm -f $batch_file 37 local count=$1; shift 40 rif_mac_profiles_create $count $should_fail 42 occ=$(devlink -j resource show $DEVLINK_DEV \ 45 [[ $occ -eq $count ]] [all …]
|
H A D | rif_mac_profiles_occ.sh | 2 # SPDX-License-Identifier: GPL-2.0 18 # Disable IPv6 on the two interfaces to avoid IPv6 link-local addresses 23 ip link set $h1 up 24 ip link set $h2 up 43 local count=$1; shift 46 for ((i = 1; i <= count; i++)); do 50 cat >> $batch_file <<-EOF 57 ip -b $batch_file &> /dev/null 58 rm -f $batch_file 77 local count=$1; shift [all …]
|
/linux/arch/arm/mach-s5pv210/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2010-2014 Samsung Electronics Co., Ltd. 6 // S5PV210 - Power Management support 8 // Based on arch/arm/mach-s3c2410/pm.c 16 #include <linux/soc/samsung/s3c-pm.h> 22 #include "regs-clock.h" 34 * s3c_pm_do_save() - save a set of registers for restoration on resume. 36 * @count: Size of the ptr array. 41 static void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save() argument 43 for (; count > 0; count--, ptr++) { in s3c_pm_do_save() [all …]
|
/linux/drivers/greybus/ |
H A D | manifest.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2014-2015 Google Inc. 6 * Copyright 2014-2015 Linaro Ltd. 47 list_del(&descriptor->links); in release_manifest_descriptor() 56 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in release_manifest_descriptors() 66 desc_cport = desc->data; in release_cport_descriptors() 68 if (desc->type != GREYBUS_TYPE_CPORT) in release_cport_descriptors() 71 if (desc_cport->bundle == bundle_id) in release_cport_descriptors() 81 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in get_next_bundle_desc() 82 if (descriptor->type == GREYBUS_TYPE_BUNDLE) in get_next_bundle_desc() [all …]
|
/linux/drivers/s390/char/ |
H A D | con3215.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Aug-2000: Added tab support 72 int residual; /* residual count for read request */ 86 int count; /* number of bytes in output buffer */ member 117 raw3215_freelist = req->next; in raw3215_alloc_req() 129 if (req->type == RAW3215_FREE) in raw3215_free_req() 131 req->type = RAW3215_FREE; in raw3215_free_req() 133 req->next = raw3215_freelist; in raw3215_free_req() 139 * Set up a read request that reads up to 160 byte from the 3215 device. 150 req = raw->queued_read; in raw3215_mk_read_req() [all …]
|