Home
last modified time | relevance | path

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

12345678910>>...43

/linux-6.15/drivers/md/dm-vdo/
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-6.15/Documentation/translations/it_IT/doc-guide/
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-6.15/include/linux/
Dlocal_lock.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * local_lock_init - Runtime initialize a lock instance
13 * local_lock - Acquire a per CPU local lock
19 * local_lock_irq - Acquire a per CPU local lock and disable interrupts
25 * local_lock_irqsave - Acquire a per CPU local lock, save and disable
34 * local_unlock - Release a per CPU local lock
40 * local_unlock_irq - Release a per CPU local lock and enable interrupts
46 * local_unlock_irqrestore - Release a per CPU local lock and restore
55 * local_lock_init - Runtime initialize a lock instance
60 * local_trylock - Try to acquire a per CPU local lock
[all …]
Ddim.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
33 ((ref) && (((100UL * abs((val) - (ref))) / (ref)) > 10))
37 * Take wrap-around and variable size into consideration.
39 #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) \
40 & (BIT_ULL(bits) - 1))
43 * struct dim_cq_moder - Structure for CQ moderation values.
68 * struct dim_irq_moder - Structure for irq moderation information.
92 * struct dim_sample - Structure for DIM sample data.
110 * struct dim_stats - Structure for DIM stats.
113 * @ppms: Packets per msec
[all …]
/linux-6.15/drivers/scsi/mpt3sas/
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-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_wrapper.c1 // SPDX-License-Identifier: MIT
21 (*dml_ctx)->v21.dml_init.dml2_instance = vzalloc(sizeof(struct dml2_instance)); in dml21_allocate_memory()
22 if (!((*dml_ctx)->v21.dml_init.dml2_instance)) in dml21_allocate_memory()
25 (*dml_ctx)->v21.mode_support.dml2_instance = (*dml_ctx)->v21.dml_init.dml2_instance; in dml21_allocate_memory()
26 (*dml_ctx)->v21.mode_programming.dml2_instance = (*dml_ctx)->v21.dml_init.dml2_instance; in dml21_allocate_memory()
28 (*dml_ctx)->v21.mode_support.display_config = &(*dml_ctx)->v21.display_config; in dml21_allocate_memory()
29 (*dml_ctx)->v21.mode_programming.display_config = (*dml_ctx)->v21.mode_support.display_config; in dml21_allocate_memory()
31 …(*dml_ctx)->v21.mode_programming.programming = vzalloc(sizeof(struct dml2_display_cfg_programming)… in dml21_allocate_memory()
32 if (!((*dml_ctx)->v21.mode_programming.programming)) in dml21_allocate_memory()
41 struct dml2_pmo_options *pmo_options = &dml_ctx->v21.dml_init.options.pmo_options; in dml21_apply_debug_options()
[all …]
/linux-6.15/Documentation/core-api/
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-6.15/Documentation/userspace-api/
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-6.15/drivers/media/platform/mediatek/mdp/
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-6.15/Documentation/mm/
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-6.15/drivers/net/ethernet/qlogic/qed/
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-6.15/drivers/media/platform/mediatek/vcodec/encoder/
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-6.15/drivers/gpu/drm/xe/
Dxe_lrc_types.h1 /* SPDX-License-Identifier: MIT */
16 * struct xe_lrc - Logical ring context (LRC) and submission ring object
20 * @bo: buffer object (memory) for logical ring context, per process HW
51 /** @fence_ctx: context for hw fence */
57 /** @bb_per_ctx_bo: buffer object for per context batch wa buffer */
/linux-6.15/sound/virtio/
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-6.15/drivers/infiniband/hw/hfi1/
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-6.15/arch/powerpc/platforms/powernv/
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-6.15/Documentation/networking/
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-6.15/drivers/net/wireless/silabs/wfx/
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-6.15/Documentation/timers/
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-6.15/drivers/gpu/drm/i915/gt/
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-6.15/drivers/gpu/drm/msm/disp/dpu1/
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-6.15/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h2 * SPDX-License-Identifier: MIT
15 #include <linux/radix-tree.h>
34 * struct i915_gem_engines - A set of engines
59 * struct i915_gem_engines_iter - Iterator for an i915_gem_engines set
70 * enum i915_gem_engine_type - Describes the type of an i915_gem_proto_engine
79 /** @I915_GEM_ENGINE_TYPE_BALANCED: A load-balanced engine set */
87 * struct i915_gem_proto_engine - prototype engine
89 * This struct describes an engine that a context may contain. Engines
92 * - I915_GEM_ENGINE_TYPE_INVALID: Invalid engines can be created but they
94 * use them by the user results in -EINVAL. They are also useful during
[all …]
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
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-6.15/drivers/gpu/drm/i915/gt/uc/
Dguc_capture_fwif.h1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2021-2022 Intel Corporation
18 * Book-keeping structure used to track read and write pointers
19 * as we extract error capture data from the GuC-log-buffer's
20 * error-capture region as a stream of dwords.
30 * struct __guc_capture_parsed_output - extracted error capture node
32 * A single unit of extracted error-capture output data grouped together
33 * at an engine-instance level. We keep these nodes in a linked list.
38 * A single set of 3 capture lists: a global-list
39 * an engine-class-list and an engine-instance list.
[all …]
/linux-6.15/include/uapi/linux/
Dfirewire-cdev.h4 * Copyright (C) 2005-2007 Kristian Hoegsberg <krh@bitplanet.net>
31 #include <linux/firewire-constants.h>
56 * struct fw_cdev_event_common - Common part of all fw_cdev_event_* types
73 * struct fw_cdev_event_bus_reset - Sent when a bus reset occurred
103 * struct fw_cdev_event_response - Sent when a response packet was received
124 * struct fw_cdev_event_response2 - Sent when a response packet was received
166 * struct fw_cdev_event_request - Old version of &fw_cdev_event_request2
170 * @offset: The offset into the 48-bit per-node address space
171 * @handle: Reference to the kernel-side pending request
190 * struct fw_cdev_event_request2 - Sent on incoming request to an address region
[all …]

12345678910>>...43