| /Linux-v5.4/fs/nfs/flexfilelayout/ | 
| D | flexfilelayout.c | 1 // SPDX-License-Identifier: GPL-2.0-only5  * Copyright (c) 2014, Primary Data, Inc. All rights reserved.
 42 			      struct nfs4_ff_layout_mirror *mirror);
 51 		INIT_LIST_HEAD(&ffl->error_list);  in ff_layout_alloc_layout_hdr()
 52 		INIT_LIST_HEAD(&ffl->mirrors);  in ff_layout_alloc_layout_hdr()
 53 		ffl->last_report_time = ktime_get();  in ff_layout_alloc_layout_hdr()
 54 		return &ffl->generic_hdr;  in ff_layout_alloc_layout_hdr()
 64 	list_for_each_entry_safe(err, n, &FF_LAYOUT_FROM_HDR(lo)->error_list,  in ff_layout_free_layout_hdr()
 66 		list_del(&err->list);  in ff_layout_free_layout_hdr()
 78 		return -ENOBUFS;  in decode_pnfs_stateid()
 [all …]
 
 | 
| D | flexfilelayoutdev.c | 1 // SPDX-License-Identifier: GPL-2.05  * Copyright (c) 2014, Primary Data, Inc. All rights reserved.
 29 		nfs4_put_deviceid_node(&mirror_ds->id_node);  in nfs4_ff_layout_put_deviceid()
 34 	nfs4_print_deviceid(&mirror_ds->id_node.deviceid);  in nfs4_ff_layout_free_deviceid()
 35 	nfs4_pnfs_ds_put(mirror_ds->ds);  in nfs4_ff_layout_free_deviceid()
 36 	kfree(mirror_ds->ds_versions);  in nfs4_ff_layout_free_deviceid()
 40 /* Decode opaque device data and construct new_ds using it */
 55 	int i, ret = -ENOMEM;  in nfs4_ff_alloc_deviceid_node()
 66 	nfs4_init_deviceid_node(&new_ds->id_node,  in nfs4_ff_alloc_deviceid_node()
 68 				&pdev->dev_id);  in nfs4_ff_alloc_deviceid_node()
 [all …]
 
 | 
| D | flexfilelayout.h | 1 /* SPDX-License-Identifier: GPL-2.0 */3  * NFSv4 flexfile layout driver data structures.
 5  * Copyright (c) 2014, Primary Data, Inc. All rights reserved.
 20 /* XXX: Let's filter out insanely large mirror count for now to avoid oom
 45 	struct list_head		list; /* linked in mirror error_list */
 146 	if (idx < fls->mirror_array_cnt)  in FF_LAYOUT_COMP()
 147 		return fls->mirror_array[idx];  in FF_LAYOUT_COMP()
 154 	struct nfs4_ff_layout_mirror *mirror = FF_LAYOUT_COMP(lseg, idx);  in FF_LAYOUT_DEVID_NODE()  local
 156 	if (mirror != NULL) {  in FF_LAYOUT_DEVID_NODE()
 157 		struct nfs4_ff_layout_ds *mirror_ds = mirror->mirror_ds;  in FF_LAYOUT_DEVID_NODE()
 [all …]
 
 | 
| /Linux-v5.4/drivers/md/ | 
| D | dm-raid1.c | 3  * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.8 #include "dm-bio-record.h"
 16 #include <linux/device-mapper.h>
 17 #include <linux/dm-io.h>
 18 #include <linux/dm-dirty-log.h>
 19 #include <linux/dm-kcopyd.h>
 20 #include <linux/dm-region-hash.h>
 30 #define errors_handled(p)	((p)->features & DM_RAID1_HANDLE_ERRORS)
 31 #define keep_log(p)		((p)->features & DM_RAID1_KEEP_LOG)
 35 /*-----------------------------------------------------------------
 [all …]
 
 | 
| D | raid1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later9  * RAID-1 management functions.
 11  * Better read-balancing code written by Mika Kuoppala <miku@iki.fi>, 2000
 19  *      - bitmap marked during normal i/o
 20  *      - bitmap used to skip nondirty blocks during sync
 22  * Additions to bitmap code, (C) 2003-2004 Paul Clements, SteelEye Technology:
 23  * - persistent bitmap code
 37 #include "md-bitmap.h"
 49 	do { if ((md)->queue) blk_add_trace_msg((md)->queue, "raid1 " fmt, ##args); } while (0)
 51 #include "raid1-10.c"
 [all …]
 
 | 
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only18 	---help---
 29 	  Software RAID mini-HOWTO, available from
 39 	---help---
 44 	  a several-second delay in the boot time due to various
 52 	---help---
 54 	  use the so-called linear mode, i.e. it will combine the hard disk
 63 	tristate "RAID-0 (striping) mode"
 65 	---help---
 67 	  use the so-called raid0 mode, i.e. it will combine the hard disk
 [all …]
 
 | 
| /Linux-v5.4/arch/arm/mach-omap1/ | 
| D | lcd_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * linux/arch/arm/mach-omap1/lcd_dma.c
 5  * Extracted from arch/arm/plat-omap/dma.c
 6  * Copyright (C) 2003 - 2008 Nokia Corporation
 11  * OMAP2/3 support Copyright (C) 2004-2007 Texas Instruments, Inc.
 13  * Some functions based on earlier dma-omap.c Copyright (C) 2001 RidgeRun, Inc.
 16  * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com>
 26 #include <linux/omap-dma.h>
 52 	void (*callback)(u16 status, void *data);
 59 	int mirror;  member
 [all …]
 
 | 
| /Linux-v5.4/fs/nfs/ | 
| D | pagelist.c | 1 // SPDX-License-Identifier: GPL-2.0-only37 		&desc->pg_mirrors[desc->pg_mirror_idx] :  in nfs_pgio_current_mirror()
 38 		&desc->pg_mirrors[0];  in nfs_pgio_current_mirror()
 46 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);  in nfs_pgheader_init()  local
 49 	hdr->req = nfs_list_entry(mirror->pg_list.next);  in nfs_pgheader_init()
 50 	hdr->inode = desc->pg_inode;  in nfs_pgheader_init()
 51 	hdr->cred = nfs_req_openctx(hdr->req)->cred;  in nfs_pgheader_init()
 52 	hdr->io_start = req_offset(hdr->req);  in nfs_pgheader_init()
 53 	hdr->good_bytes = mirror->pg_count;  in nfs_pgheader_init()
 54 	hdr->io_completion = desc->pg_io_completion;  in nfs_pgheader_init()
 [all …]
 
 | 
| D | read.c | 1 // SPDX-License-Identifier: GPL-2.0-only43 		p->rw_mode = FMODE_READ;  in nfs_readhdr_alloc()
 69 	if (server->pnfs_curr_ld && !force_mds)  in nfs_pageio_init_read()
 70 		pg_ops = server->pnfs_curr_ld->pg_read_ops;  in nfs_pageio_init_read()
 73 			server->rsize, 0);  in nfs_pageio_init_read()
 79 	struct nfs_pgio_mirror *mirror;  in nfs_pageio_reset_read_mds()  local
 81 	if (pgio->pg_ops && pgio->pg_ops->pg_cleanup)  in nfs_pageio_reset_read_mds()
 82 		pgio->pg_ops->pg_cleanup(pgio);  in nfs_pageio_reset_read_mds()
 84 	pgio->pg_ops = &nfs_pgio_rw_ops;  in nfs_pageio_reset_read_mds()
 86 	/* read path should never have more than one mirror */  in nfs_pageio_reset_read_mds()
 [all …]
 
 | 
| /Linux-v5.4/Documentation/vm/ | 
| D | hmm.rst | 7 Provide infrastructure and helpers to integrate non-conventional memory (device23 CPU page-table mirroring works and the purpose of HMM in this context. The
 52 For flat data sets (array, grid, image, ...) this isn't too hard to achieve but
 53 for complex data sets (list, tree, ...) it's hard to get right. Duplicating a
 54 complex data set needs to re-map all the pointer relations between each of its
 56 duplicate data set and addresses.
 58 Split address space also means that libraries cannot transparently use data
 60 might have to duplicate its input data set using the device specific memory
 71 are only do-able with a shared address space. It is also more reasonable to use
 97 two-way cache coherency between CPU and device and allow all atomic operations the
 [all …]
 
 | 
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ | 
| D | amdgpu_mn.h | 48  * @mirror: HMM mirror function support50  * Data for each amdgpu device and process address space.
 61 	/* protected by adev->mn_lock */
 69 	/* HMM mirror */
 70 	struct hmm_mirror	mirror;  member
 94 	return -ENODEV;  in amdgpu_mn_register()
 
 | 
| /Linux-v5.4/drivers/staging/fbtft/ | 
| D | fb_uc1611.c | 1 // SPDX-License-Identifier: GPL-2.0+5  * The display is 4-bit grayscale (16 shades) 240x160.
 29  * V_LCD = (C_V0 + C_PM × pot) * (1 + (T - 25) * temp)
 34 /* BR -> actual ratio: 0-3 -> 5, 10, 11, 13 */
 37 MODULE_PARM_DESC(ratio, "BR[1:0] Bias voltage ratio: 0-3 (default: 2)");
 41 MODULE_PARM_DESC(gain, "GN[1:0] Bias voltage gain: 0-3 (default: 3)");
 45 MODULE_PARM_DESC(pot, "PM[6:0] Bias voltage pot.: 0-63 (default: 16)");
 47 /* TC -> % compensation per deg C: 0-3 -> -.05, -.10, -.015, -.20 */
 50 MODULE_PARM_DESC(temp, "TC[1:0] Temperature compensation: 0-3 (default: 0)");
 52 /* PC[1:0] -> LCD capacitance: 0-3 -> <20nF, 20-28 nF, 29-40 nF, 40-56 nF */
 [all …]
 
 | 
| D | fb_ili9163.c | 1 // SPDX-License-Identifier: GPL-2.0+35 #define CMD_FRMCTR2	0xB2 /* Frame Rate Control (In Idle mode/8-colors) */
 58  * http://www.ebay.com/itm/Replace-Nokia-5110-LCD-1-44-Red-Serial-128X128-SPI-
 59  * Color-TFT-LCD-Display-Module-/271422122271
 71 #define __OFFSET		32 /*see note 2 - this is the red version */
 73 #define __OFFSET		0  /*see note 2 - this is the black version */
 78 	par->fbtftops.reset(par);  in init_display()
 80 	if (par->gpio.cs)  in init_display()
 81 		gpiod_set_value(par->gpio.cs, 0);  /* Activate chip */  in init_display()
 118 	switch (par->info->var.rotate) {  in set_addr_win()
 [all …]
 
 | 
| /Linux-v5.4/drivers/media/platform/omap/ | 
| D | omap_voutdef.h | 14 #include <media/videobuf2-dma-contig.h>15 #include <media/v4l2-ctrls.h>
 119 	/* common v4l buffer stuff -- must be first */
 131 /* per-device data structure */
 151 	/* Lock to protect the shared data structures in ioctl */
 155 	bool mirror;  member
 186 	return (vout->rotation == dss_rotation_90_degree ||  in is_rotation_90_or_270()
 187 			vout->rotation == dss_rotation_270_degree);  in is_rotation_90_or_270()
 195 	return vout->rotation || vout->mirror;  in is_rotation_enabled()
 203 	if (!vout->mirror)  in calc_rotation()
 [all …]
 
 | 
| /Linux-v5.4/fs/btrfs/ | 
| D | disk-io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */31 static inline u64 btrfs_sb_offset(int mirror)  in btrfs_sb_offset()  argument
 34 	if (mirror)  in btrfs_sb_offset()
 35 		return start << (BTRFS_SUPER_MIRROR_SHIFT * mirror);  in btrfs_sb_offset()
 96  * 	fs_info->subvol_srcu
 100 	if (refcount_inc_not_zero(&root->refs))  in btrfs_grab_fs_root()
 107 	if (refcount_dec_and_test(&root->refs))  in btrfs_put_fs_root()
 134 int btree_lock_page_hook(struct page *page, void *data,
 
 | 
| D | scrub.c | 1 // SPDX-License-Identifier: GPL-2.012 #include "disk-io.h"
 13 #include "ordered-data.h"
 17 #include "dev-replace.h"
 18 #include "check-integrity.h"
 19 #include "rcu-string.h"
 21 #include "block-group.h"
 24  * This is only the first step towards a full-features scrub. It reads all
 26  * is found or the extent cannot be read, good data will be written back if
 30  *  - In case an unrepairable extent is encountered, track which files are
 [all …]
 
 | 
| /Linux-v5.4/Documentation/admin-guide/device-mapper/ | 
| D | dm-clone.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only4 dm-clone
 10 dm-clone is a device mapper target which produces a one-to-one copy of an
 11 existing, read-only source device into a writable destination device: It
 12 presents a virtual block device which makes all data appear immediately, and
 15 The main use case of dm-clone is to clone a potentially remote, high-latency,
 16 read-only, archival-type block device into a writable, fast, primary-type device
 17 for fast, low-latency I/O. The cloned device is visible/mountable immediately
 21 For example, one could restore an application backup from a read-only copy,
 26 When the cloning completes, the dm-clone table can be removed altogether and be
 [all …]
 
 | 
| /Linux-v5.4/drivers/gpu/drm/nouveau/ | 
| D | nouveau_svm.c | 70 #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)
 83 	list_for_each_entry(ivmm, &svm->inst, head) {  in nouveau_ivmm_find()
 84 		if (ivmm->inst == inst)  in nouveau_ivmm_find()
 100 	struct hmm_mirror mirror;  member
 104 	NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
 106 	NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a)
 109 nouveau_svmm_bind(struct drm_device *dev, void *data,  in nouveau_svmm_bind()  argument
 113 	struct drm_nouveau_svm_bind *args = data;  in nouveau_svmm_bind()
 118 	args->va_start &= PAGE_MASK;  in nouveau_svmm_bind()
 [all …]
 
 | 
| /Linux-v5.4/Documentation/m68k/ | 
| D | buddha-driver.rst | 8 ------------------------------------------------------------------------11 Buddha-part of the Catweasel Zorro-II version
 21   product number: 0 (42 for Catweasel Z-II)
 23   Rom-vector: $1000
 25 The  card  should be a Z-II board, size 64K, not for freemem
 26 list, Rom-Vektor is valid, no second Autoconfig-board on the
 30 as  the Amiga Kickstart does:  The lower nibble of the 8-Bit
 36 otherwise your chance is only 1:16 to find the board :-).
 38 The local memory-map is even active when mapped to $e8:
 41 $0-$7e		Autokonfig-space, see Z-II docs.
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/dsa/b53/ | 
| D | b53_regs.h | 5  * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org>15  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 101 /* Power-down mode control */
 120  * Override Ports 0-7 State on devices with xMII interfaces (8 bit)
 218 /* Mirror capture control register (16 bit) */
 224 /* Ingress mirror control register (16 bit) */
 234 /* Ingress mirror divider register (16 bit) */
 238 /* Ingress mirror MAC address register (48 bit) */
 241 /* Egress mirror control register (16 bit) */
 244 /* Egress mirror divider register (16 bit) */
 [all …]
 
 | 
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ | 
| D | dcn20_hubp.c | 2  * Copyright 2012-17 Advanced Micro Devices, Inc.34 	hubp2->hubp_regs->reg
 37 	hubp2->base.ctx
 41 	hubp2->hubp_shift->field_name, hubp2->hubp_mask->field_name
 53 	mc_vm_apt_default.quad_part = apt->sys_default.quad_part >> 12;  in hubp2_set_vm_system_aperture_settings()
 56 	mc_vm_apt_low.quad_part = apt->sys_low.quad_part >> 18;  in hubp2_set_vm_system_aperture_settings()
 57 	mc_vm_apt_high.quad_part = apt->sys_high.quad_part >> 18;  in hubp2_set_vm_system_aperture_settings()
 84 	/* DLG - Per hubp */  in hubp2_program_deadline()
 86 		REFCYC_H_BLANK_END, dlg_attr->refcyc_h_blank_end,  in hubp2_program_deadline()
 87 		DLG_V_BLANK_END, dlg_attr->dlg_vblank_end);  in hubp2_program_deadline()
 [all …]
 
 | 
| /Linux-v5.4/drivers/mtd/nand/raw/ | 
| D | nand_bbt.c | 1 // SPDX-License-Identifier: GPL-2.0-only18  * based BBT is created. If a mirrored BBT is selected then the mirror is
 19  * searched too and the versions are compared. If the mirror has a greater
 20  * version number, then the mirror BBT is used to build the memory based BBT.
 26  * For manufacturer created BBTs like the one found on M-SYS DOC devices
 35  * course): it moves the ident pattern and the version byte into the data area
 52  * - bbts start at a page boundary, if autolocated on a block boundary
 53  * - the space necessary for a bbt in FLASH does not exceed a block boundary
 78 	uint8_t entry = chip->bbt[block >> BBT_ENTRY_SHIFT];  in bbt_get_entry()
 87 	chip->bbt[block >> BBT_ENTRY_SHIFT] |= msk;  in bbt_mark_entry()
 [all …]
 
 | 
| /Linux-v5.4/fs/ntfs/ | 
| D | mft.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project.
 5  * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
 27  * map_mft_record_page - map the page in which a specific mft record resides
 39 	ntfs_volume *vol = ni->vol;  in map_mft_record_page()
 40 	struct inode *mft_vi = vol->mft_ino;  in map_mft_record_page()
 45 	BUG_ON(ni->page);  in map_mft_record_page()
 52 	index = (u64)ni->mft_no << vol->mft_record_size_bits >>  in map_mft_record_page()
 54 	ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_MASK;  in map_mft_record_page()
 57 	/* The maximum valid index into the page cache for $MFT's data. */  in map_mft_record_page()
 [all …]
 
 | 
| /Linux-v5.4/drivers/media/platform/mtk-mdp/ | 
| 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"
 36  *  struct mtk_mdp_pix_align - alignment of image
 50  * struct mtk_mdp_fmt - the driver's internal color format data
 [all …]
 
 | 
| /Linux-v5.4/Documentation/arm/omap/ | 
| D | dss.rst | 7 TV-out and multiple display support, but there are lots of small improvements10 The DSS2 driver (omapdss module) is in arch/arm/plat-omap/dss/, and the FB,
 15 --------
 19 - MIPI DPI (parallel) output
 20 - MIPI DSI output in command mode
 21 - MIPI DBI (RFBI) output
 22 - SDI output
 23 - TV output
 24 - All pieces can be compiled as a module or inside kernel
 25 - Use DISPC to update any of the outputs
 [all …]
 
 |