/linux-6.14.4/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved. 50 struct nfs4_ff_layout_mirror *mirror); 59 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr() 60 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr() 61 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr() 62 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr() 63 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr() 64 return &ffl->generic_hdr; in ff_layout_alloc_layout_hdr() 75 list_for_each_entry_safe(err, n, &ffl->error_list, list) { in ff_layout_free_layout_hdr() [all …]
|
D | flexfilelayoutdev.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * 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 */ 147 if (idx < fls->mirror_array_cnt) in FF_LAYOUT_COMP() 148 return fls->mirror_array[idx]; in FF_LAYOUT_COMP() 155 struct nfs4_ff_layout_mirror *mirror = FF_LAYOUT_COMP(lseg, idx); in FF_LAYOUT_DEVID_NODE() local 157 if (mirror != NULL) { in FF_LAYOUT_DEVID_NODE() 158 struct nfs4_ff_layout_ds *mirror_ds = mirror->mirror_ds; in FF_LAYOUT_DEVID_NODE() [all …]
|
/linux-6.14.4/tools/testing/selftests/mm/ |
D | hmm-tests.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * the linux kernel to help device drivers mirror a process address space in 6 * makes communication and data exchange a lot easier. 39 void *mirror; member 58 #define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1))) 136 self->page_size = sysconf(_SC_PAGE_SIZE); in FIXTURE_SETUP() 137 self->page_shift = ffs(self->page_size) - 1; in FIXTURE_SETUP() 139 self->fd = hmm_open(variant->device_number); in FIXTURE_SETUP() 140 if (self->fd < 0 && hmm_is_coherent_type(variant->device_number)) in FIXTURE_SETUP() 142 ASSERT_GE(self->fd, 0); in FIXTURE_SETUP() [all …]
|
/linux-6.14.4/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_mirror.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #define SPX5_QFWD_MP_OFFSET 9 /* Mirror port offset in the QFWD register */ 17 /* Convert from bool ingress/egress to mirror direction */ 23 /* Get ports belonging to this mirror */ 36 /* Add port to mirror (only front ports) */ 50 /* Delete port from mirror (only front ports) */ 64 /* Check if mirror contains port */ 70 /* Check if mirror is empty */ 76 /* Get direction of mirror */ 84 /* Set direction of mirror */ [all …]
|
/linux-6.14.4/drivers/md/ |
D | dm-raid1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. 9 #include "dm-bio-record.h" 17 #include <linux/device-mapper.h> 18 #include <linux/dm-io.h> 19 #include <linux/dm-dirty-log.h> 20 #include <linux/dm-kcopyd.h> 21 #include <linux/dm-region-hash.h> 33 #define errors_handled(p) ((p)->features & DM_RAID1_HANDLE_ERRORS) 34 #define keep_log(p) ((p)->features & DM_RAID1_KEEP_LOG) [all …]
|
D | raid1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * RAID-1 management functions. 11 * Better read-balancing code written by Mika Kuoppala <[email protected]>, 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 38 #include "md-bitmap.h" 51 #include "raid1-10.c" 53 #define START(node) ((node)->start) [all …]
|
/linux-6.14.4/drivers/video/fbdev/omap/ |
D | lcd_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 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 <[email protected]> 26 #include <linux/omap-dma.h> 28 #include <linux/soc/ti/omap1-soc.h> 29 #include <linux/soc/ti/omap1-io.h> [all …]
|
/linux-6.14.4/fs/nfs/ |
D | pagelist.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 i->req = req; in nfs_page_iter_page_init() 45 i->count = 0; in nfs_page_iter_page_init() 50 const struct nfs_page *req = i->req; in nfs_page_iter_page_advance() 51 size_t tmp = i->count + sz; in nfs_page_iter_page_advance() 53 i->count = (tmp < req->wb_bytes) ? tmp : req->wb_bytes; in nfs_page_iter_page_advance() 58 const struct nfs_page *req = i->req; in nfs_page_iter_page_get() 61 if (i->count != req->wb_bytes) { in nfs_page_iter_page_get() 62 size_t base = i->count + req->wb_pgbase; in nfs_page_iter_page_get() 63 size_t len = PAGE_SIZE - offset_in_page(base); in nfs_page_iter_page_get() [all …]
|
/linux-6.14.4/drivers/crypto/marvell/octeontx/ |
D | otx_cptpf_ucode.c | 1 // SPDX-License-Identifier: GPL-2.0 25 /* tar header as defined in POSIX 1003.1-1990. */ 64 if (eng_grp->g->engs_num > OTX_CPT_MAX_ENGINES) { in get_cores_bmap() 66 eng_grp->g->engs_num); in get_cores_bmap() 71 if (eng_grp->engs[i].type) { in get_cores_bmap() 73 eng_grp->engs[i].bmap, in get_cores_bmap() 74 eng_grp->g->engs_num); in get_cores_bmap() 75 bmap.size = eng_grp->g->engs_num; in get_cores_bmap() 82 eng_grp->idx); in get_cores_bmap() 94 return is_eng_type(eng_grps->eng_types_supported, eng_type); in dev_supports_eng_type() [all …]
|
/linux-6.14.4/fs/btrfs/ |
D | bio.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "async-thread.h" 13 #include "dev-replace.h" 15 #include "file-item.h" 16 #include "raid-stripe-tree.h" 29 /* Is this a data path I/O that needs storage layer checksum and repair? */ 32 return bbio->inode && is_data_inode(bbio->inode); in is_data_bbio() 37 return is_data_bbio(bbio) && btrfs_op(&bbio->bio) == BTRFS_MAP_WRITE; in bbio_has_ordered_extent() 48 bbio->fs_info = fs_info; in btrfs_bio_init() 49 bbio->end_io = end_io; in btrfs_bio_init() [all …]
|
D | scrub.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "disk-io.h" 14 #include "ordered-data.h" 18 #include "dev-replace.h" 20 #include "block-group.h" 24 #include "file-item.h" 26 #include "raid-stripe-tree.h" 29 * This is only the first step towards a full-features scrub. It reads all 31 * is found or the extent cannot be read, good data will be written back if 35 * - In case an unrepairable extent is encountered, track which files are [all …]
|
/linux-6.14.4/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptpf_ucode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * Interval to flush dirty data for next CTX entry. The interval is measured 36 if (eng_grp->g->engs_num < 0 || in get_cores_bmap() 37 eng_grp->g->engs_num > OTX2_CPT_MAX_ENGINES) { in get_cores_bmap() 39 eng_grp->g->engs_num); in get_cores_bmap() 44 if (eng_grp->engs[i].type) { in get_cores_bmap() 46 eng_grp->engs[i].bmap, in get_cores_bmap() 47 eng_grp->g->engs_num); in get_cores_bmap() 48 bmap.size = eng_grp->g->engs_num; in get_cores_bmap() 55 eng_grp->idx); in get_cores_bmap() [all …]
|
/linux-6.14.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 …]
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved */ 34 * group - When set, the binding is of an ACL group. When cleared, 144 return jhash2((u32 *) fa_cookie->cookie, in mlxsw_afa_cookie_hash() 145 fa_cookie->cookie_len / sizeof(u32), seed); in mlxsw_afa_cookie_hash() 148 static u32 mlxsw_afa_cookie_key_hashfn(const void *data, u32 len, u32 seed) in mlxsw_afa_cookie_key_hashfn() argument 150 const struct flow_action_cookie *fa_cookie = data; in mlxsw_afa_cookie_key_hashfn() 155 static u32 mlxsw_afa_cookie_obj_hashfn(const void *data, u32 len, u32 seed) in mlxsw_afa_cookie_obj_hashfn() argument 157 const struct mlxsw_afa_cookie *cookie = data; in mlxsw_afa_cookie_obj_hashfn() 159 return mlxsw_afa_cookie_hash(&cookie->fa_cookie, seed); in mlxsw_afa_cookie_obj_hashfn() [all …]
|
/linux-6.14.4/drivers/media/platform/ti/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-6.14.4/drivers/net/dsa/qca/ |
D | qca8k-common.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2011-2012 Gabor Juhos <[email protected]> 68 return regmap_read(priv->regmap, reg, val); in qca8k_read() 73 return regmap_write(priv->regmap, reg, val); in qca8k_write() 78 return regmap_update_bits(priv->regmap, reg, mask, write_val); in qca8k_rmw() 90 regmap_reg_range(0x1000, 0x10ac), /* MIB - Port0 */ 91 regmap_reg_range(0x1100, 0x11ac), /* MIB - Port1 */ 92 regmap_reg_range(0x1200, 0x12ac), /* MIB - Port2 */ 93 regmap_reg_range(0x1300, 0x13ac), /* MIB - Port3 */ 94 regmap_reg_range(0x1400, 0x14ac), /* MIB - Port4 */ [all …]
|
/linux-6.14.4/drivers/net/dsa/microchip/ |
D | ksz8.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 dsa_fdb_dump_cb_t *cb, void *data); 45 struct dsa_mall_mirror_tc_entry *mirror, 48 struct dsa_mall_mirror_tc_entry *mirror); 58 int ksz8_pme_pread8(struct ksz_device *dev, int port, int offset, u8 *data); 59 int ksz8_pme_pwrite8(struct ksz_device *dev, int port, int offset, u8 data);
|
D | ksz9477.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2022 Microchip Technology Inc. 20 int ksz9477_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data); 35 struct dsa_mall_mirror_tc_entry *mirror, 38 struct dsa_mall_mirror_tc_entry *mirror); 44 dsa_fdb_dump_cb_t *cb, void *data);
|
/linux-6.14.4/Documentation/admin-guide/device-mapper/ |
D | dm-clone.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 4 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 …]
|
D | dm-ima.rst | 2 dm-ima 6 (including the attestation service) interact with it - both during the 7 setup and during rest of the system run-time. They share sensitive data 9 may want to verify the current run-time state of the relevant kernel 10 subsystems before fully trusting the system with business-critical 11 data/workload. 18 impact the security profile of the block device, and in-turn, of the 24 fully trusting the system with business-critical data/workload. 28 various block devices - 30 - by device mapper itself, from within the kernel, [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/display/ |
D | lvds.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: lvds-data-mapping.yaml# 13 - Laurent Pinchart <[email protected]> 14 - Thierry Reding <[email protected]> 17 This binding extends the data mapping defined in lvds-data-mapping.yaml. 19 to accommodate for even more specialized data formats, since a variety of 20 data formats and layouts is used to drive LVDS displays. 23 data-mirror: [all …]
|
/linux-6.14.4/drivers/net/dsa/b53/ |
D | b53_regs.h | 5 * Copyright (C) 2011-2013 Jonas Gorski <[email protected]> 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 101 /* Power-down mode control */ 121 * Override Ports 0-7 State on devices with xMII interfaces (8 bit) 220 /* Mirror capture control register (16 bit) */ 226 /* Ingress mirror control register (16 bit) */ 236 /* Ingress mirror divider register (16 bit) */ 240 /* Ingress mirror MAC address register (48 bit) */ 243 /* Egress mirror control register (16 bit) */ 246 /* Egress mirror divider register (16 bit) */ [all …]
|
/linux-6.14.4/drivers/pinctrl/ |
D | pinctrl-mcp23s08.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <linux/pinctrl/pinconf-generic.h> 22 #include "pinctrl-mcp23s08.h" 89 .disable_locking = true, /* mcp->lock protects the regmap */ 136 .disable_locking = true, /* mcp->lock protects the regmap */ 142 return regmap_read(mcp->regmap, reg << mcp->reg_shift, val); in mcp_read() 147 return regmap_write(mcp->regmap, reg << mcp->reg_shift, val); in mcp_write() 153 return regmap_update_bits(mcp->regmap, reg << mcp->reg_shift, in mcp_update_bits() 210 return -ENOTSUPP; in mcp_pinctrl_get_group_pins() 228 unsigned int data, status; in mcp_pinconf_get() local [all …]
|
/linux-6.14.4/drivers/hwmon/ |
D | qnap-mcu-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Driver for hwmon elements found on QNAP-MCU devices 11 #include <linux/mfd/qnap-mcu.h> 40 ret = qnap_mcu_exec(hwm->mcu, cmd, sizeof(cmd), reply, sizeof(reply)); in qnap_mcu_hwmon_get_rpm() 44 /* First 2 bytes must mirror the sent command */ in qnap_mcu_hwmon_get_rpm() 46 return -EIO; in qnap_mcu_hwmon_get_rpm() 53 static const u8 cmd[] = { '@', 'F', 'Z', '0' }; /* 0 = fan-id? */ in qnap_mcu_hwmon_get_pwm() 58 ret = qnap_mcu_exec(hwm->mcu, cmd, sizeof(cmd), reply, sizeof(reply)); in qnap_mcu_hwmon_get_pwm() 62 /* First 3 bytes must mirror the sent command */ in qnap_mcu_hwmon_get_pwm() 64 return -EIO; in qnap_mcu_hwmon_get_pwm() [all …]
|