| /linux/drivers/iommu/ |
| H A D | io-pgfault.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include "iommu-priv.h" 23 struct dev_iommu *param = dev->iommu; in iopf_get_dev_fault_param() 27 fault_param = rcu_dereference(param->fault_param); in iopf_get_dev_fault_param() 28 if (fault_param && !refcount_inc_not_zero(&fault_param->users)) in iopf_get_dev_fault_param() 38 if (refcount_dec_and_test(&fault_param->users)) in iopf_put_dev_fault_param() 42 static void __iopf_free_group(struct iopf_group *group) in __iopf_free_group() argument 46 list_for_each_entry_safe(iopf, next, &group->faults, list) { in __iopf_free_group() 47 if (!(iopf->fault.prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) in __iopf_free_group() 52 iopf_put_dev_fault_param(group->fault_param); in __iopf_free_group() [all …]
|
| /linux/fs/notify/ |
| H A D | notification.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Basic idea behind the notification queue: An fsnotify group (like inotify) 10 * event to the group notify queue. Since a single event might need to be on 11 * multiple group's notification queues we can't add the event directly to each 12 * queue and instead add a small "event_holder" to each queue. This event_holder 14 * going to end up on one, and only one, notification queue we embed one 17 * another group a new event_holder (from fsnotify_event_holder_cachep) will be 41 * fsnotify_get_cookie - return a unique cookie for use in synchronizing events. 50 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() argument 53 /* Overflow events are per-group and we don't want to free them */ in fsnotify_destroy_event() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/amdzen3/ |
| H A D | other.json | 5 "BriefDescription": "Cycles where the Micro-Op Queue is empty." 22 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 52 …group is valid but does not get dispatched due to a Token Stall. Also counts cycles when the threa… 58 …group is valid but does not get dispatched due to a Token Stall. Also counts cycles when the threa… 64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T… 70 …ion": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall. In… [all …]
|
| /linux/block/ |
| H A D | bfq-iosched.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include "blk-cgroup-rwstat.h" 29 * Soft real-time applications are extremely more latency sensitive 30 * than interactive ones. Over-raise the weight of the former to 38 * per-actuator data. The current value is hopefully a good upper 46 * struct bfq_service_tree - per ioprio_class service tree. 48 * Each service tree represents a B-WF2Q+ scheduler on its own. Each 50 * bfq_service_tree. All the fields are protected by the queue lock 71 * struct bfq_sched_data - multi-class scheduler. 73 * bfq_sched_data is the basic scheduler queue. It supports three [all …]
|
| H A D | bfq-cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include "bfq-iosched.h" 23 ret = percpu_counter_init(&stat->cpu_cnt, 0, gfp); in bfq_stat_init() 27 atomic64_set(&stat->aux_cnt, 0); in bfq_stat_init() 33 percpu_counter_destroy(&stat->cpu_cnt); in bfq_stat_exit() 37 * bfq_stat_add - add a value to a bfq_stat 42 * don't re-enter this function for the same counter. 46 percpu_counter_add_batch(&stat->cpu_cnt, val, BLKG_STAT_CPU_BATCH); in bfq_stat_add() 50 * bfq_stat_read - read the current value of a bfq_stat 55 return percpu_counter_sum_positive(&stat->cpu_cnt); in bfq_stat_read() [all …]
|
| /linux/Documentation/block/ |
| H A D | bfq-iosched.rst | 5 BFQ is a proportional-share I/O scheduler, with some extra 6 low-latency capabilities. In addition to cgroups support (blkio or io 9 - BFQ guarantees a high system and application responsiveness, and a 10 low latency for time-sensitive applications, such as audio or video 12 - BFQ distributes bandwidth, not just time, among processes or 19 goal, for a given device, is to achieve the maximum-possible 20 throughput at all times, then do switch off all low-latency heuristics 25 As every I/O scheduler, BFQ adds some overhead to per-I/O-request 27 single-lock-protected, per-request processing time of BFQ---i.e., the 29 completion hooks---is, e.g., 1.9 us on an Intel Core i7-2760QM@2.40GHz [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | net_shaper.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: net-shaper 18 scheduling group, that can be placed in an arbitrary location of 23 the @group operation, to create and update a scheduling 24 group. Only the @group operation can create @node scope shapers. 33 @cap-get operation. 36 - 40 render-max: true 42 - name: unspec [all …]
|
| /linux/kernel/time/ |
| H A D | timer_migration.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 /* Per group capacity. Must be a power of 2! */ 9 * struct tmigr_event - a timer event associated to a CPU 10 * @nextevt: The node to enqueue an event in the parent group queue 13 * CPU or group is active; 22 * struct tmigr_group - timer migration hierarchy group 23 * @lock: Lock protecting the event information and group hierarchy 25 * @parent: Pointer to the parent group. Pointer is updated when a 36 * @groupevt: Next event of the group which is only used when the 37 * group is !active. The group event is then queued into [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/amdzen2/ |
| H A D | other.json | 5 "BriefDescription": "Cycles where the Micro-Op Queue is empty." 28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 58 …escription": "Cycles where a dispatch group is valid but does not get dispatched due to a token st… 64 …Description": "Cycles where a dispatch group is valid but does not get dispatched due to a token s… 70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… 76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t… [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pow.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 31 * New, starting with SDK 1.7.0, cvmx-pow supports a number of 36 * enabled. For example, cvmx-pow will check for the following 38 * - Requesting a POW operation with an active tag switch in 40 * - Waiting for a tag switch to complete for an excessively 43 * - Illegal tag switches from NULL_NULL. 44 * - Illegal tag switches from NULL. 45 * - Illegal deschedule request. [all …]
|
| /linux/drivers/accel/ivpu/ |
| H A D | vpu_jsm_api.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright (c) 2020-2024, Intel Corporation. 74 /* Job status returned when the job was preempted mid-inference */ 79 * Host <-> VPU IPC channels. 80 * ASYNC commands use a high priority channel, other messages use low-priority ones. 100 * When set, the object in job queue is an inline command (see struct vpu_inline_cmd below). 101 * When cleared, the object in job queue is a job (see struct vpu_job_queue_entry below). 113 * Job queue flags bit masks. 119 * job from this queue. When cleared, indicates that job done notification 120 * should be sent for every job completed from this queue. [all …]
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 * Copyright 2002-2009, 2011-2013 Freescale Semiconductor, Inc. 16 * -Add support for module parameters 17 * -Add patch for ethtool phys id 67 #define DRV_NAME "gfar-enet" 92 #define GFAR_RXB_SIZE rounddown(GFAR_RXB_TRUESIZE - GFAR_SKBFRAG_OVR, 64) 95 #define TX_RING_MOD_MASK(size) (size-1) 96 #define RX_RING_MOD_MASK(size) (size-1) 281 /* weighted round-robin scheduling (WRRS) */ 381 * to the 3-bit hash value generated */ [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_hw_engine_group.c | 1 // SPDX-License-Identifier: MIT 19 struct xe_hw_engine_group *group = container_of(w, struct xe_hw_engine_group, resume_work); in hw_engine_group_resume_lr_jobs_func() local 23 err = xe_hw_engine_group_get_mode(group, EXEC_MODE_LR, &previous_mode); in hw_engine_group_resume_lr_jobs_func() 30 list_for_each_entry(q, &group->exec_queue_list, hw_engine_group_link) { in hw_engine_group_resume_lr_jobs_func() 31 if (!xe_vm_in_fault_mode(q->vm)) in hw_engine_group_resume_lr_jobs_func() 34 q->ops->resume(q); in hw_engine_group_resume_lr_jobs_func() 38 xe_hw_engine_group_put(group); in hw_engine_group_resume_lr_jobs_func() 44 struct xe_hw_engine_group *group; in hw_engine_group_alloc() local 47 group = drmm_kzalloc(&xe->drm, sizeof(*group), GFP_KERNEL); in hw_engine_group_alloc() 48 if (!group) in hw_engine_group_alloc() [all …]
|
| /linux/fs/jfs/ |
| H A D | jfs_logmgr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 4 * Portions Copyright (C) Christoph Hellwig, 2001-2002 23 * group commit: 24 * transactions which wrote COMMIT records in the same in-memory 34 * . a per log lock serialize group commit. 38 * careful-write (ping-pong) of last logpage to recover from crash 40 * detection of split (out-of-order) write of physical sectors 45 * lsn - 64-bit monotonically increasing integer vs 46 * 32-bit lspn and page eor. [all …]
|
| /linux/include/uapi/drm/ |
| H A D | panthor_drm.h | 1 /* SPDX-License-Identifier: MIT */ 19 * - Structures must be aligned on 64-bit/8-byte. If the object is not 21 * - Fields must be explicitly aligned to their natural type alignment with 23 * - All padding fields will be checked by the driver to make sure they are 25 * - Flags can be added, but not removed/replaced. 26 * - New fields can be added to the main structures (the structures 31 * - Ne [all...] |
| /linux/include/linux/ |
| H A D | fsnotify_backend.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 60 #define FS_PRE_ACCESS 0x00100000 /* Pre-content access hook */ 80 * Directory entry modification events - reported only to directory 93 /* Pre-content events can be used to fill file content */ 139 * Each group much define these ops. The fsnotify infrastructure will call 140 * these operations for each relevant group. 142 * handle_event - main call for a group to handle an fs event 143 * @group: group to notify 147 * @dir: optional directory associated with event - 152 * @iter_info: array of marks from this group that are interested in the event [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | datapath.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2024-2025 Intel Corporation 4 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation 5 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 6 * Copyright (C) 2016-2017 Intel Deutschland GmbH 12 * enum iwl_data_path_subcmd_ids - data path group commands 82 * @SCD_QUEUE_CONFIG_CMD: new scheduler queue allocation/config/removal 143 * struct iwl_mu_group_mgmt_cmd - VHT MU-MIMO group configuration 147 * @user_position:the position of station in a group. If the station is in the 148 * group then bits (group * 2) is the position -1 [all …]
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf.h | 1 /* SPDX-License-Identifier: GPL-2.0 22 #define otx_cpt_device_ready(cpt) ((cpt)->flags & OTX_CPT_FLAG_DEVICE_READY) 23 /* Default command queue length */ 36 u32 idx; /* Command queue host write idx */ 39 * Command queue head, instructions 47 u32 qchunksize; /* Command queue chunk size */ 48 struct otx_cpt_cmd_queue queue[OTX_CPT_NUM_QS_PER_VF]; member 53 struct otx_cpt_pending_queue queue[OTX_CPT_NUM_QS_PER_VF]; member 57 for (i = 0, q = &qinfo->queue[i]; i < qinfo->num_queues; i++, \ 58 q = &qinfo->queue[i]) [all …]
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | blkio-controller.rst | 22 ----------------------------- 33 mount -t cgroup -o blkio none /sys/fs/cgroup/blkio 35 Specify a bandwidth rate on particular device for root group. The format 40 This will put a limit of 1MB/second on reads happening for root group 98 -------------------------------- 101 Specifies per cgroup weight. This is default weight of the group 106 see Documentation/block/bfq-iosched.rst. 109 Specifies per cgroup per device weights, overriding the default group 110 weight. For more details, see Documentation/block/bfq-iosched.rst. 141 third field specifies the disk time allocated to group in [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | fsl,gianfar.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Three-Speed Ethernet Controller (TSEC), "Gianfar" 10 - J. Neuschäfer <j.ne@posteo.net> 12 # This is needed to distinguish gianfar.yaml and gianfar-mdio.yaml, because 16 - properties: 23 - device_type 25 - properties: 30 - compatible [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | uncore-memory.json | 177 … "DRAM CAS (Column Address Strobe) Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Read Major Mo… 183 … number of Opportunistic DRAM Write CAS commands issued on this channel while in Read-Major-Mode.", 188 … "DRAM CAS (Column Address Strobe) Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Write Major M… 193 …nts the total number or DRAM Write CAS commands issued on this channel while in Write-Major-Mode.", 206 … "BriefDescription": "Clockticks in the Memory Controller using a dedicated 48-bit Fixed Counter", 263 …on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; … 274 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 285 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 296 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 436 …-refresh and has a clock. This happens in some ACPI CPU package C-states for the sleep levels. For… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | uncore-memory.json | 177 … "DRAM CAS (Column Address Strobe) Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Read Major Mo… 183 … number of Opportunistic DRAM Write CAS commands issued on this channel while in Read-Major-Mode.", 188 … "DRAM CAS (Column Address Strobe) Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Write Major M… 193 …nts the total number or DRAM Write CAS commands issued on this channel while in Write-Major-Mode.", 206 … "BriefDescription": "Clockticks in the Memory Controller using a dedicated 48-bit Fixed Counter", 281 …on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; … 292 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 303 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 314 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 324 "ScaleUnit": "6.103515625E-5MB/sec", [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_clientmgr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1998-2001 by Frank van de Pol <fvdpol@coil.demon.nl> 44 /* number of kernel non-card clients */ 83 switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) { in snd_seq_file_flags() 95 return snd_seq_total_cells(client->pool) > 0; in snd_seq_write_pool_allocated() 138 request_module("snd-se in client_use_ptr() 617 update_timestamp_of_queue(struct snd_seq_event * event,int queue,int real_time) update_timestamp_of_queue() argument 1721 struct snd_seq_queue *queue; snd_seq_ioctl_get_queue_status() local 1750 struct snd_seq_queue *queue; snd_seq_ioctl_get_queue_tempo() local 1800 struct snd_seq_queue *queue; snd_seq_ioctl_get_queue_timer() local 2032 struct snd_seq_port_subs_info *group; snd_seq_ioctl_query_subs() local 2630 snd_seq_info_dump_subscribers(struct snd_info_buffer * buffer,struct snd_seq_port_subs_info * group,int is_src,char * msg) snd_seq_info_dump_subscribers() argument [all...] |
| /linux/include/uapi/linux/ |
| H A D | vhost.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 /* Userspace interface for in-kernel virtio accelerators. */ 18 #define VHOST_FILE_UNBIND -1 74 /* Base value where queue looks for available descriptors */ 80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 82 * returns -EBUSY. 130 * used for transmit. Pass fd -1 to unbind from the socket and the transmit 152 * the device id defined in virtio-spec. 156 * of the device status defined in virtio-spec. 161 * definition of the device config defined in virtio-spec. [all …]
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | vhost.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 /* Userspace interface for in-kernel virtio accelerators. */ 18 #define VHOST_FILE_UNBIND -1 74 /* Base value where queue looks for available descriptors */ 80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 82 * returns -EBUSY. 130 * used for transmit. Pass fd -1 to unbind from the socket and the transmit 152 * the device id defined in virtio-spec. 156 * of the device status defined in virtio-spec. 161 * definition of the device config defined in virtio-spec. [all …]
|