Home
last modified time | relevance | path

Searched +full:per +full:- +full:context (Results 1 – 25 of 1061) sorted by relevance

12345678910>>...43

/linux/drivers/md/dm-vdo/
H A Daction-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 #include "admin-state.h"
13 * An action_manager provides a generic mechanism for applying actions to multi-zone entities (such
14 * as the block map or slab depot). Each action manager is tied to a specific context for which it
15 * manages actions. The manager ensures that only one action is active on that context at a time,
28 * an optional method to be run on the initiator thread once the per-zone method has been
38 * @context: The object which holds the per-zone context for the action
42 typedef void (*vdo_zone_action_fn)(void *context, zone_count_t zone_number,
48 * @context: The object which holds the per-zone context for the action
51 typedef void (*vdo_action_preamble_fn)(void *context, struct vdo_completion *parent);
[all …]
/linux/Documentation/translations/it_IT/doc-guide/
H A Dkernel-doc.rst1 .. include:: ../disclaimer-ita.rst
3 .. note:: Per leggere la documentazione originale in inglese:
4 :ref:`Documentation/doc-guide/index.rst <doc_guide>`
6 .. title:: Commenti in kernel-doc
11 Scrivere i commenti in kernel-doc
15 strutturanti secondo il formato kernel-doc. Essi possono descrivere funzioni,
18 .. note:: Il formato kernel-doc può sembrare simile a gtk-doc o Doxygen ma
19 in realtà è molto differente per ragioni storiche. I sorgenti del kernel
20 contengono decine di migliaia di commenti kernel-doc. Siete pregati
23 La struttura kernel-doc è estratta a partire dai commenti; da questi viene
[all …]
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_config.c5 * Copyright (C) 2012-2014 LSI Corporation
6 * Copyright (C) 2013-2014 Avago Technologies
7 * (mailto: MPT-FusionLinux.pdl@avagotech.com)
22 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
41 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
74 * struct config_request - obtain dma memory via routine
87 * _config_display_some_debug - debug routine
88 * @ioc: per adapter object
92 * Context: none.
105 switch (mpi_request->Header.PageType & MPI2_CONFIG_PAGETYPE_MASK) { in _config_display_some_debug()
[all …]
/linux/Documentation/core-api/
H A Dlocal_ops.rst29 Local atomic operations are meant to provide fast and highly reentrant per CPU
34 Having fast per CPU atomic counters is interesting in many cases: it does not
41 CPU writes to the ``local_t`` data. This is done by using per cpu data and
42 making sure that we modify it from within a preemption safe context. It is
54 ``asm-generic/local.h`` in your architecture's ``local.h`` is sufficient.
66 * Variables touched by local ops must be per cpu variables.
68 * This CPU can use local ops from any context (process, irq, softirq, nmi, ...)
71 process context to make sure the process won't be migrated to a
72 different CPU between getting the per-cpu variable and doing the
74 * When using local ops in interrupt context, no special care must be
[all …]
/linux/Documentation/userspace-api/
H A Dunshare.rst10 ----------
14 --------
26 -----------
37 outside the confinement of all-or-nothing shared resources of legacy
45 Al Viro in the August of 2000, on the Linux-Kernel mailing list, as part
53 -----------
59 even non-threaded applications if they have a need to disassociate
60 from default shared namespace. The following lists two use-cases
63 2.1 Per-security context namespaces
67 the kernel's per-process namespace mechanism. Polyinstantiated directories,
[all …]
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015-2016 MediaTek Inc.
12 #include <media/v4l2-ctrls.h>
13 #include <media/v4l2-device.h>
14 #include <media/v4l2-mem2mem.h>
15 #include <media/videobuf2-core.h>
16 #include <media/videobuf2-dma-contig.h>
22 #define MTK_MDP_MODULE_NAME "mtk-mdp"
34 * struct mtk_mdp_pix_align - alignment of image
48 * struct mtk_mdp_fmt - the driver's internal color format data
[all …]
/linux/Documentation/mm/
H A Dpage_frags.rst5 A page fragment is an arbitrary-length arbitrary-offset area of memory
13 memory for use as either an sk_buff->head, or to be used in the "frags"
22 either a per-cpu limitation, or a per-cpu limitation and forcing interrupts
25 The network stack uses two separate caches per CPU to handle fragment
29 main difference between these two calls is the context in which they may be
30 called. The "netdev" prefixed functions are usable in any context as these
32 only usable within the softirq context.
41 avoid calling get_page per allocation.
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_cxt.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
31 * qed_cxt_get_cid_info(): Returns the context info for a specific cidi.
96 * qed_cxt_mngr_alloc(): Allocate and init the context manager struct.
105 * qed_cxt_mngr_free() - Context manager free.
130 * qed_cxt_hw_init_common(): Initailze ILT and DQ, common phase, per path.
139 * qed_cxt_hw_init_pf(): Initailze ILT and DQ, PF phase, per path.
149 * qed_qm_init_pf(): Initailze the QM PF phase, per path.
183 * _qed_cxt_release_cid(): Release a cid belonging to a vf-queue.
[all …]
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * enum venc_yuv_fmt - The type of input yuv format
30 * enum venc_start_opt - encode frame option used in venc_if_encode()
40 * enum venc_set_param_type - The type of set parameter used in
66 * struct venc_enc_prm - encoder settings for VENC_SET_PARAM_ENC used in
95 * struct venc_frame_info - per-frame information to pass to the firmware.
102 unsigned int frm_count; /* per frame update */
103 unsigned int skip_frm_count; /* per frame update */
104 unsigned int frm_type; /* per frame update */
108 * struct venc_frm_buf - frame buffer information used in venc_if_encode()
[all …]
/linux/sound/virtio/
H A Dvirtio_chmap.c1 // SPDX-License-Identifier: GPL-2.0+
3 * virtio-snd: Virtio sound device
10 /* VirtIO->ALSA channel position map */
52 * virtsnd_chmap_parse_cfg() - Parse the channel map configuration.
57 * Context: Any context that permits to sleep.
58 * Return: 0 on success, -errno on failure.
62 struct virtio_device *vdev = snd->vdev; in virtsnd_chmap_parse_cfg()
66 virtio_cread_le(vdev, struct virtio_snd_config, chmaps, &snd->nchmaps); in virtsnd_chmap_parse_cfg()
67 if (!snd->nchmaps) in virtsnd_chmap_parse_cfg()
70 snd->chmaps = devm_kcalloc(&vdev->dev, snd->nchmaps, in virtsnd_chmap_parse_cfg()
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dvas.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2016-17 IBM Corp.
36 * Hypervisor Window Context (HVWC) of size VAS_HVWC_SIZE bytes
38 * OS/User Window Context (UWC) of size VAS_UWC_SIZE bytes.
40 * A window context can be viewed as a set of 64-bit registers. The settings
56 * /proc/device-tree/vasm@.../reg
69 * As mentioned, a window context is used to "configure" a window. Besides
79 * (again, see vas_probe() for ->paste_base_addr and ->paste_win_id_shift).
85 * NOTE: In the initial version, senders can only in-kernel drivers/threads.
86 * Support for user space threads will be added in follow-on patches.
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpio.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright(c) 2015-2017 Intel Corporation.
8 /* send context types */
13 #define SC_MAX 4 /* count of send context types */
15 /* invalid send context index */
21 /* PIO release codes - in bits, as there could more than one that apply */
28 #define PRC_SC_DISABLE 0x20 /* clean-up after a context disable */
39 struct send_context *sc;/* back pointer to owning send context */
43 void __iomem *end; /* context end address */
55 /* per-NUMA send context */
[all …]
/linux/tools/perf/pmu-events/arch/common/common/
H A Dsoftware.json4 "EventName": "cpu-clock",
5 "BriefDescription": "Per-CPU high-resolution timer based event",
10 "EventName": "task-clock",
11 "BriefDescription": "Per-task high-resolution timer based event",
17 "BriefDescription": "Number of page faults [This event is an alias of page-faults]",
22 "EventName": "page-faults",
28 "EventName": "context-switches",
29 "BriefDescription": "Number of context switches [This event is an alias of cs]",
35 "BriefDescription": "Number of context switches [This event is an alias of context-switches]",
40 "EventName": "cpu-migrations",
[all …]
/linux/drivers/net/wireless/silabs/wfx/
H A Ddebug.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
38 for (i = 0; symbol_array[i].mask != -1; i++) { in get_symbol()
64 struct wfx_dev *wdev = seq->private; in wfx_counters_show()
72 return -EIO; in wfx_counters_show()
75 seq_printf(seq, "%-24s %12s %12s %12s\n", "", "global", "iface 0", "iface 1"); in wfx_counters_show()
78 seq_printf(seq, "%-24s %12d %12d %12d\n", #name, \ in wfx_counters_show()
153 struct wfx_dev *wdev = seq->private; in wfx_rx_stats_show()
154 struct wfx_hif_rx_stats *st = &wdev->rx_stats; in wfx_rx_stats_show()
[all …]
/linux/Documentation/timers/
H A Dhighres.rst8 https://www.kernel.org/doc/ols/2006/ols2006v1-pages-333-346.pdf
11 http://www.cs.columbia.edu/~nahum/w6998/papers/ols2006-hrtimers-slides.pdf
23 - hrtimer base infrastructure
24 - timeofday and clock source management
25 - clock event management
26 - high resolution timer functionality
27 - dynamic ticks
31 ---------------------------
40 - time ordered enqueueing into a rb-tree
41 - independent of ticks (the processing is based on nanoseconds)
[all …]
/linux/Documentation/networking/
H A Dnapi.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
18 NAPI processing usually happens in the software interrupt context,
22 All in all NAPI abstracts away from the drivers the context and configuration
30 of the NAPI instance while the method is the driver-specific event
37 -----------
55 ------------
64 argument - drivers can process completions for any number of Tx
96 or return ``budget - 1``.
101 -------------
109 As mentioned in the :ref:`drv_ctrl` section - napi_disable() and subsequent
[all …]
/linux/drivers/gpu/drm/xe/abi/
H A Dguc_klvs_abi.h1 /* SPDX-License-Identifier: MIT */
14 * +---+-------+--------------------------------------------------------------+
17 * | 0 | 31:16 | **KEY** - KLV key identifier |
18 * | | | - `GuC Self Config KLVs`_ |
19 * | | | - `GuC Opt In Feature KLVs`_ |
20 * | | | - `GuC Scheduling Policies KLVs`_ |
21 * | | | - `GuC VGT Policy KLVs`_ |
22 * | | | - `GuC VF Configuration KLVs`_ |
24 * | +-------+--------------------------------------------------------------+
25 * | | 15:0 | **LEN** - length of VALUE (in 32bit dwords) |
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_mocs.h1 /* SPDX-License-Identifier: MIT */
14 * part of the batch. In Gen9 this has changed to be a single table (per ring)
19 * in context (The GFX_MOCS_0 - GFX_MOCS_64 and the LNCFCMOCS0 - LNCFCMOCS32
22 * This table needs to be set at system start-up because the way the table
28 * The tables (one per supported platform) are defined in intel_mocs.c
29 * and are programmed in the first batch after the context is loaded
31 * context handling keep the MOCS in step.
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
H A Dgpc.fuc27 * - bracket certain functions with scratch writes, useful for debugging
28 * - watchdog timer around ctx operations
116 // CC_SCRATCH[1]: context base
122 // 31:0: GPC context size
188 // initialise context base, and size tracking
190 clear b32 $r3 // track GPC context size here
198 // calculate GPC mmio context size
205 // calculate per-TPC mmio context size
215 // calculate per-UNK mmio context size
235 // calculate size of strand context data
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_top.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
19 * @bpc_denom : denominator of byte per clk
20 * @bpc_numer : numerator of byte per clk
31 * struct split_pipe_cfg - pipe configuration for dual display panels
56 * struct dpu_vsync_source_cfg - configure vsync source and configure the
78 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions
87 * @mdp : mdp top context driver
95 * @mdp : mdp top context driver
102 * setup_clk_force_ctrl - set clock force control
[all …]
/linux/Documentation/admin-guide/
H A Dperf-security.rst7 --------
29 3. Content of kernel software counters (e.g., for context switches, page
34 uncore counters) without direct attribution to any execution context
37 4. Content of architectural execution context registers (e.g., RIP, RSP,
44 of execution context registers or data from process memory then access
50 -------------------------------
66 independently enabled and disabled on per-thread basis for processes and
103 ---------------------------------
105 Mechanisms of capabilities, privileged capability-dumb files [6]_,
118 # ls -alhF
[all …]
/linux/arch/arm/mach-omap2/
H A Dpm34xx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation
13 * Richard Woodruff <r-woodruff2@ti.com>
42 #include "cm-regbits-34xx.h"
43 #include "prm-regbits-34xx.h"
47 #include "omap-secure.h"
82 /* Save the Interrupt controller context */ in omap3_core_save_context()
84 /* Save the system control module context, padconf already save above*/ in omap3_core_save_context()
90 /* Restore the control module context, padconf restored by h/w */ in omap3_core_restore_context()
92 /* Restore the interrupt controller context */ in omap3_core_restore_context()
[all …]
/linux/include/uapi/drm/
H A Damdxdna_accel.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (C) 2022-2024, Advanced Micro Devices, Inc.
23 AMDXDNA_DEV_TYPE_UNKNOWN = -1,
41 * struct qos_info - QoS information for driver.
42 * @gops: Giga operations per second.
43 * @fps: Frames per secon
[all...]
/linux/include/linux/
H A Dpreempt.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * include/linux/preempt.h - macros for accessing and manipulating
18 * - bits 0-7 are the preemption count (max preemption depth: 256)
19 * - bits 8-15 are the softirq count (max # of softirqs: 256)
43 #define __IRQ_MASK(x) ((1UL << (x))-1)
60 * Disable preemption until the scheduler is running -- use an unconditional
63 * Reset by start_kernel()->sched_init()->init_idle()->init_idle_preempt_count().
69 * which states that during context switches:
82 * interrupt_context_level - return interrupt context level
84 * Returns the current interrupt context level.
[all …]
/linux/scripts/gdb/linux/
H A Dcpus.py4 # per-cpu tools
6 # Copyright (c) Siemens AG, 2011-2013
27 return gdb.selected_thread().num - 1
36 if cpu == -1:
77 entry = -1
129 super(LxCpus, self).__init__("lx-cpus", gdb.COMMAND_DATA)
142 """Return per-cpu variable.
144 $lx_per_cpu(VAR[, CPU]): Return the per-cpu variable called VAR for the
145 given CPU number. If CPU is omitted, the CPU of the current context is used.
151 def invoke(self, var, cpu=-1):
[all …]

12345678910>>...43