Home
last modified time | relevance | path

Searched +full:compound +full:- +full:device (Results 1 – 25 of 208) sorted by relevance

123456789

/kernel/linux/linux-6.6/include/linux/
Drmap.h1 /* SPDX-License-Identifier: GPL-2.0 */
45 * have ->parent pointing to this one, including itself.
51 /* Count of VMAs whose ->anon_vma pointer points to this object. */
70 * The copy-on-write semantics of fork mean that an anon_vma
86 struct rb_node rb; /* locked by anon_vma->rwsem */
108 atomic_inc(&anon_vma->refcount); in get_anon_vma()
115 if (atomic_dec_and_test(&anon_vma->refcount)) in put_anon_vma()
121 down_write(&anon_vma->root->rwsem); in anon_vma_lock_write()
126 up_write(&anon_vma->root->rwsem); in anon_vma_unlock_write()
131 down_read(&anon_vma->root->rwsem); in anon_vma_lock_read()
[all …]
Dpage-flags.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Macros for manipulating and testing page->flags
18 * Various page->flags bits:
23 * - Pages part of the kernel image (including vDSO) and similar (e.g. BIOS,
25 * - Pages reserved or allocated early during boot (before the page allocator
30 * - Pages falling into physical memory gaps - not IORESOURCE_SYSRAM. Trying
32 * - The zero page(s)
33 * - Pages not added to the page allocator when onlining a section because
36 * - Pages allocated in the context of kexec/kdump (loaded kernel image,
38 * - MMIO/DMA pages. Some architectures don't allow to ioremap pages that are
[all …]
/kernel/linux/linux-5.10/Documentation/core-api/
Dpin_user_pages.rst1 .. SPDX-License-Identifier: GPL-2.0
35 In other words, use pin_user_pages*() for DMA-pinned pages, and
54 flags the caller provides. The caller is required to pass in a non-null struct
58 For huge pages (and in fact, any compound page of more than 2 pages), the
60 is achieved, by using the 3rd struct page in the compound page. A new struct
63 This approach for compound pages avoids the counting upper limit problems that
69 This also means that huge pages and compound pages (of order > 1) do not suffer
73 --------
80 but the caller passed in a non-null struct pages* array, then the function
85 --------
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/
Dpagemap.rst14 physical frame each virtual page is mapped to. It contains one 64-bit
18 * Bits 0-54 page frame number (PFN) if present
19 * Bits 0-4 swap type if swapped
20 * Bits 5-54 swap offset if swapped
21 * Bit 55 pte is soft-dirty (see
22 :ref:`Documentation/admin-guide/mm/soft-dirty.rst <soft_dirty>`)
24 * Bits 57-60 zero
25 * Bit 61 page is file-page or shared-anon (since 3.5)
30 In 4.0 and 4.1 opens by unprivileged fail with -EPERM. Starting from
44 * ``/proc/kpagecount``. This file contains a 64-bit count of the number of
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/mm/
Dpagemap.rst12 physical frame each virtual page is mapped to. It contains one 64-bit
16 * Bits 0-54 page frame number (PFN) if present
17 * Bits 0-4 swap type if swapped
18 * Bits 5-54 swap offset if swapped
19 * Bit 55 pte is soft-dirty (see
20 Documentation/admin-guide/mm/soft-dirty.rst)
22 * Bit 57 pte is uffd-wp write-protected (since 5.13) (see
23 Documentation/admin-guide/mm/userfaultfd.rst)
24 * Bits 58-60 zero
25 * Bit 61 page is file-page or shared-anon (since 3.5)
[all …]
/kernel/linux/linux-5.10/mm/
Drmap.c2 * mm/rmap.c - physical to virtual reverse mappings
23 * inode->i_mutex (while writing or truncating, not reading or faulting)
24 * mm->mmap_lock
25 * page->flags PG_locked (lock_page) * (see huegtlbfs below)
27 * mapping->i_mmap_rwsem
29 * anon_vma->rwsem
30 * mm->page_table_lock or pte_lock
31 * pgdat->lru_lock (in mark_page_accessed, isolate_lru_page)
34 * mapping->private_lock (in __set_page_dirty_buffers)
35 * mem_cgroup_{begin,end}_page_stat (memcg->move_lock)
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-queryctrl.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the
60 driver returns the next supported non-compound control, or ``EINVAL`` if
62 can be specified to enumerate all compound controls (i.e. controls with
66 order to enumerate all controls, compound or not. Drivers which do not
70 support controls that can use compound types, and to expose additional
72 :ref:`v4l2_queryctrl <v4l2-queryctrl>` since that structure is full.
80 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the
85 :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``minimum`` to ``maximum``,
[all …]
Dvidioc-g-ext-ctrls.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co…
44 :ref:`ctrl-class`) and all controls in the control array must belong
57 ``string`` field. Controls of compound types
61 relevant for pointer-type controls like strings), then the driver will
63 should re-allocate the memory to this new size and try again. For the
70 N-dimensional arrays are set and retrieved row-by-row. You cannot set a
97 If ``request_fd`` is set to a not-yet-queued :ref:`request <media-request-api>`
102 If the device does not support requests, then ``EACCES`` will be returned.
118 were set/get. Only low-level errors (e. g. a failed i2c command) can
[all …]
/kernel/linux/linux-5.10/include/media/
Dv4l2-ctrls.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 #include <media/media-request.h>
17 * Include the stateless codec compound control definitions.
20 #include <media/mpeg2-ctrls.h>
21 #include <media/fwht-ctrls.h>
22 #include <media/h264-ctrls.h>
23 #include <media/vp8-ctrls.h>
24 #include <media/hevc-ctrls.h>
39 * union v4l2_ctrl_ptr - A pointer to a control value.
40 * @p_s32: Pointer to a 32-bit signed value.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
3 The device node for the configuration of a Microchip USB251x/xBi USB 2.0
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 #define PNV_IODA_PE_DEV (1 << 0) /* PE has single PCI device */
28 #define PNV_IODA_PE_MASTER (1 << 3) /* Master PE in compound case */
29 #define PNV_IODA_PE_SLAVE (1 << 4) /* Slave PE in compound case */
35 * This is needed because of the behaviour of PCIe-to-PCI bridges. The PHB uses
36 * the Requester ID field of the PCIe request header to determine the device
38 * requests aren't tagged with the RID. To work around this the PCIe-to-PCI
41 * PCIe-to-X bridges have a similar issue even though PCI-X requests also have
42 * a RID in the transaction header. The PCIe-to-X bridge is permitted to "take
43 * ownership" of a transaction by a PCI-X device when forwarding it to the PCIe
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dnpu-dma.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * devices all point to the same iommu table as the parent PCI device.
18 #include <asm/ppc-pci.h>
28 pdev = pci_get_domain_bus_and_slot(pci_domain_nr(pdn->phb->bus), in get_pci_dev()
29 pdn->busno, pdn->devfn); in get_pci_dev()
33 * the PCI device, but callers don't need that actually as the PE in get_pci_dev()
34 * already holds a reference to the device. Since callers aren't in get_pci_dev()
44 /* Given a NPU device get the associated PCI device. */
53 if (WARN_ON(!npdev->dev.of_node)) in pnv_pci_get_gpu_dev()
56 /* Get assoicated PCI device */ in pnv_pci_get_gpu_dev()
[all …]
Dpci.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 #define PNV_IODA_PE_DEV (1 << 0) /* PE has single PCI device */
32 #define PNV_IODA_PE_MASTER (1 << 3) /* Master PE in compound case */
33 #define PNV_IODA_PE_SLAVE (1 << 4) /* Slave PE in compound case */
39 * This is needed because of the behaviour of PCIe-to-PCI bridges. The PHB uses
40 * the Requester ID field of the PCIe request header to determine the device
42 * requests aren't tagged with the RID. To work around this the PCIe-to-PCI
45 * PCIe-to-X bridges have a similar issue even though PCI-X requests also have
46 * a RID in the transaction header. The PCIe-to-X bridge is permitted to "take
47 * ownership" of a transaction by a PCI-X device when forwarding it to the PCIe
[all …]
/kernel/linux/linux-6.6/mm/
Drmap.c2 * mm/rmap.c - physical to virtual reverse mappings
23 * inode->i_rwsem (while writing or truncating, not reading or faulting)
24 * mm->mmap_lock
25 * mapping->invalidate_lock (in filemap_fault)
26 * page->flags PG_locked (lock_page)
29 * mapping->i_mmap_rwsem
30 * anon_vma->rwsem
31 * mm->page_table_lock or pte_lock
34 * mapping->private_lock (in block_dirty_folio)
37 * lruvec->lru_lock (in folio_lruvec_lock_irq)
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpage-flags.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Macros for manipulating and testing page->flags
18 * Various page->flags bits:
23 * - Pages part of the kernel image (including vDSO) and similar (e.g. BIOS,
25 * - Pages reserved or allocated early during boot (before the page allocator
30 * - Pages falling into physical memory gaps - not IORESOURCE_SYSRAM. Trying
32 * - The zero page(s)
33 * - Pages not added to the page allocator when onlining a section because
36 * - Pages allocated in the context of kexec/kdump (loaded kernel image,
38 * - MMIO/DMA pages. Some architectures don't allow to ioremap pages that are
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
Dvidioc-queryctrl.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the
60 driver returns the next supported non-compound control, or ``EINVAL`` if
62 can be specified to enumerate all compound controls (i.e. controls with
66 order to enumerate all controls, compound or not. Drivers which do not
70 support controls that can use compound types, and to expose additional
72 :ref:`v4l2_queryctrl <v4l2-queryctrl>` since that structure is full.
80 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the
85 :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``minimum`` to ``maximum``,
[all …]
/kernel/linux/linux-6.6/include/media/
Dv4l2-ctrls.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 #include <media/media-request.h>
29 * union v4l2_ctrl_ptr - A pointer to a control value.
30 * @p_s32: Pointer to a 32-bit signed value.
31 * @p_s64: Pointer to a 64-bit signed value.
32 * @p_u8: Pointer to a 8-bit unsigned value.
33 * @p_u16: Pointer to a 16-bit unsigned value.
34 * @p_u32: Pointer to a 32-bit unsigned value.
59 * @p: Pointer to a compound value.
60 * @p_const: Pointer to a constant compound value.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Dusb251xb.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip USB 2.0 Hi-Speed Hub Controller
10 - Richard Leitner <richard.leitner@skidata.com>
15 - microchip,usb2422
16 - microchip,usb2512b
17 - microchip,usb2512bi
18 - microchip,usb2513b
19 - microchip,usb2513bi
[all …]
/kernel/linux/linux-5.10/Documentation/vm/
Dpage_frags.rst7 A page fragment is an arbitrary-length arbitrary-offset area of memory
8 which resides within a 0 or higher order compound page. Multiple
14 network stack and network device drivers to provide a backing region of
15 memory for use as either an sk_buff->head, or to be used in the "frags"
24 either a per-cpu limitation, or a per-cpu limitation and forcing interrupts
36 Many network device drivers use a similar methodology for allocating page
/kernel/linux/linux-6.6/Documentation/mm/
Dpage_frags.rst5 A page fragment is an arbitrary-length arbitrary-offset area of memory
6 which resides within a 0 or higher order compound page. Multiple
12 network stack and network device drivers to provide a backing region of
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
34 Many network device drivers use a similar methodology for allocating page
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
Dkhugepaged.c170 if (fd == -1) in read_file()
173 numread = read(fd, buf, buflen - 1); in read_file()
191 if (fd == -1) { in write_file()
197 numwritten = write(fd, buf, buflen - 1); in write_file()
233 memmove(buf, c, sizeof(buf) - (c - buf)); in read_string()
321 struct khugepaged_settings *khugepaged = &settings->khugepaged; in write_settings()
323 write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in write_settings()
324 write_string("defrag", thp_defrag_strings[settings->thp_defrag]); in write_settings()
326 shmem_enabled_strings[settings->shmem_enabled]); in write_settings()
327 write_num("use_zero_page", settings->use_zero_page); in write_settings()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
Dgraph.txt1 Common bindings for device graphs
4 ---------------
6 The hierarchical organisation of the device tree is well suited to describe
8 devices that work together to form a logical compound device, following an
12 can not be inferred from device tree parent-child relationships. The device
22 Documentation/devicetree/bindings/media/video-interfaces.txt.
28 -----------------------------------
30 Ports are described by child 'port' nodes contained in the device node.
31 Each port node contains an 'endpoint' subnode for each remote device port
33 remote device, an 'endpoint' child node must be provided for each link.
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_svm.c70 #define SVM_DBG(s,f,a...) NV_DEBUG((s)->drm, "svm: "f"\n", ##a)
71 #define SVM_ERR(s,f,a...) NV_WARN((s)->drm, "svm: "f"\n", ##a)
89 list_for_each_entry(ivmm, &svm->inst, head) { in nouveau_ivmm_find()
90 if (ivmm->inst == inst) in nouveau_ivmm_find()
97 NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
99 NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
111 args->va_start &= PAGE_MASK; in nouveau_svmm_bind()
112 args->va_end = ALIGN(args->va_end, PAGE_SIZE); in nouveau_svmm_bind()
115 if (args->reserved0 || args->reserved1) in nouveau_svmm_bind()
116 return -EINVAL; in nouveau_svmm_bind()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
23 #define XFS_BUF_DADDR_NULL ((xfs_daddr_t) (-1LL))
25 #define XBF_READ (1 << 0) /* buffer intended for reading from device */
26 #define XBF_WRITE (1 << 1) /* buffer intended for writing to device */
27 #define XBF_READ_AHEAD (1 << 2) /* asynchronous read-ahead */
28 #define XBF_NO_IOACCT (1 << 3) /* bypass I/O accounting (non-LRU bufs) */
76 * The xfs_buftarg contains 2 notions of "sector size" -
80 * 2) The device logical sector size
82 * The first is specified at mkfs time, and is stored on-disk in the
[all …]
/kernel/linux/linux-6.6/fs/xfs/
Dxfs_buf.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
25 #define XFS_BUF_DADDR_NULL ((xfs_daddr_t) (-1LL))
27 #define XBF_READ (1u << 0) /* buffer intended for reading from device */
28 #define XBF_WRITE (1u << 1) /* buffer intended for writing to device */
29 #define XBF_READ_AHEAD (1u << 2) /* asynchronous read-ahead */
30 #define XBF_NO_IOACCT (1u << 3) /* bypass I/O accounting (non-LRU bufs) */
87 * The xfs_buftarg contains 2 notions of "sector size" -
91 * 2) The device logical sector size
93 * The first is specified at mkfs time, and is stored on-disk in the
[all …]

123456789