/linux/Documentation/translations/it_IT/doc-guide/ |
H A D | kernel-doc.rst | 1 .. 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/md/dm-vdo/ |
H A D | action-manager.h | 1 /* 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/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_config.c | 5 * 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/arch/powerpc/ |
H A D | cxl.rst | 17 Coherent in this context means that the accelerator and CPUs can 28 +----------+ +---------+ 34 +----------+ +---------+ 36 | +------+ | PSL | 37 | | CAPP |<------>| | 38 +---+------+ PCIE +---------+ 62 the fault. The context to which this fault is serviced is based on 65 - POWER8 and PSL Version 8 are compliant to the CAIA Version 1.0. 66 - POWER9 and PSL Version 9 are compliant to the CAIA Version 2.0. 85 When using dedicated mode only one MMU context is supported. In [all …]
|
H A D | cxlflash.rst | 12 purpose co-processors which can read or write an application's 40 - Any flash device (LUN) can be configured to be accessed as a 43 - Any flash device (LUN) can be configured to be accessed from 47 or physical LUN access) or access to a kernel/AFU-mediated 56 concept of a master context. A master typically has special privileges 63 The CXL Flash Adapter Driver establishes a master context with the 67 +-------------------------------+ 69 | (per context) | 71 +-------------------------------+ 72 | 512 * 128 B per context | [all …]
|
/linux/Documentation/core-api/ |
H A D | local_ops.rst | 29 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/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_wrapper.c | 1 // SPDX-License-Identifier: MIT 20 …(*dml_ctx)->v21.dml_init.dml2_instance = (struct dml2_instance *)kzalloc(sizeof(struct dml2_instan… in dml21_allocate_memory() 21 if (!((*dml_ctx)->v21.dml_init.dml2_instance)) in dml21_allocate_memory() 24 (*dml_ctx)->v21.mode_support.dml2_instance = (*dml_ctx)->v21.dml_init.dml2_instance; in dml21_allocate_memory() 25 (*dml_ctx)->v21.mode_programming.dml2_instance = (*dml_ctx)->v21.dml_init.dml2_instance; in dml21_allocate_memory() 27 (*dml_ctx)->v21.mode_support.display_config = &(*dml_ctx)->v21.display_config; in dml21_allocate_memory() 28 (*dml_ctx)->v21.mode_programming.display_config = (*dml_ctx)->v21.mode_support.display_config; in dml21_allocate_memory() 30 …(*dml_ctx)->v21.mode_programming.programming = (struct dml2_display_cfg_programming *)kzalloc(size… in dml21_allocate_memory() 31 if (!((*dml_ctx)->v21.mode_programming.programming)) in dml21_allocate_memory() 40 struct dml2_pmo_options *pmo_options = &dml_ctx->v21.dml_init.options.pmo_options; in dml21_apply_debug_options() [all …]
|
/linux/Documentation/userspace-api/ |
H A D | unshare.rst | 10 ---------- 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/scsi/cxlflash/ |
H A D | sislite.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 24 * except for SCSI CDB which remains big endian per SCSI standards. 49 * 0x1 -> port#0 can be selected, 50 * 0x2 -> port#1 can be selected. 65 #define SISL_MSI_ASYNC_ERROR 3 /* master only - for AFU async error */ 147 #define SISL_FC_RC_NOLOGI 0x54 /* port not logged in, in-flight cmds */ 150 #define SISL_FC_RC_LINKDOWN 0x57 /* link down, in-flight cmds */ 222 /* MMIO space is required to support only 64-bit access */ 225 * This AFU has two mechanisms to deal with endian-ness. 227 * below that specifies the endian-ness of the host. [all …]
|
H A D | ocxl_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #define OCXL_MAX_IRQS 4 /* Max interrupts per process */ 21 struct ocxlflash_context *ocxl_ctx; /* Host context */ 34 phys_addr_t ppmmio_phys; /* Per process MMIO space */ 53 bool master; /* Whether this is a master context */ 61 struct mutex state_mutex; /* Mutex to update context state */ 62 enum ocxlflash_ctx_state state; /* Context state */ 66 bool pending_irq; /* Pending interrupt on the context */
|
/linux/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_core.h | 1 /* 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 D | page_frags.rst | 5 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/include/linux/ |
H A D | dim.h | 1 /* 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/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_cxt.h | 1 /* 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/arch/powerpc/platforms/powernv/ |
H A D | vas.h | 1 /* 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/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_drv_if.h | 1 /* 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 D | virtio_chmap.c | 1 // 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/drivers/infiniband/hw/hfi1/ |
H A D | pio.h | 1 /* 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/Documentation/timers/ |
H A D | highres.rst | 8 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/drivers/net/wireless/silabs/wfx/ |
H A D | debug.c | 1 // 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/drivers/gpu/drm/msm/ |
H A D | msm_gpu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include <linux/adreno-smmu-priv.h> 107 * struct msm_gpu_devfreq - devfreq related state 150 * Used to delay clamping to idle freq on active->idle transition. 199 * The ctx->seqno value of the last context to submit rendering, 201 * that support per-context pgtables). Tracked by seqno rather 212 * TODO move to per-ring locking where feasible (ie. submit/retire 271 /* work for handling active-list retiring: */ 292 * switch-over happened early enough in mesa a6xx bringup that we 322 for (i = 0; i < gpu->nr_rings; i++) { in msm_gpu_active() [all …]
|
/linux/include/uapi/linux/ |
H A D | firewire-cdev.h | 4 * 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 …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
H A D | gpc.fuc | 27 * - 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/i915/gem/ |
H A D | i915_gem_context_types.h | 2 * 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/Documentation/admin-guide/ |
H A D | perf-security.rst | 7 -------- 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 …]
|