Home
last modified time | relevance | path

Searched +full:data +full:- +full:mirror (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/Linux-v5.15/fs/nfs/flexfilelayout/
Dflexfilelayout.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved.
43 struct nfs4_ff_layout_mirror *mirror);
52 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr()
53 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr()
54 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr()
55 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr()
56 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr()
57 return &ffl->generic_hdr; in ff_layout_alloc_layout_hdr()
68 list_for_each_entry_safe(err, n, &ffl->error_list, list) { in ff_layout_free_layout_hdr()
[all …]
Dflexfilelayoutdev.c1 // 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 …]
Dflexfilelayout.h1 /* 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.15/tools/testing/selftests/vm/
Dhmm-tests.c1 // 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.
42 void *mirror; member
54 #define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1)))
86 self->page_size = sysconf(_SC_PAGE_SIZE); in FIXTURE_SETUP()
87 self->page_shift = ffs(self->page_size) - 1; in FIXTURE_SETUP()
89 self->fd = hmm_open(0); in FIXTURE_SETUP()
90 ASSERT_GE(self->fd, 0); in FIXTURE_SETUP()
95 self->page_size = sysconf(_SC_PAGE_SIZE); in FIXTURE_SETUP()
[all …]
/Linux-v5.15/drivers/md/
Ddm-raid1.c3 * 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 …]
Draid1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * 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
38 #include "md-bitmap.h"
50 do { if ((md)->queue) blk_add_trace_msg((md)->queue, "raid1 " fmt, ##args); } while (0)
52 #include "raid1-10.c"
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
30 Software RAID mini-HOWTO, available from
45 a several-second delay in the boot time due to various
55 use the so-called linear mode, i.e. it will combine the hard disk
64 tristate "RAID-0 (striping) mode"
68 use the so-called raid0 mode, i.e. it will combine the hard disk
74 Software-RAID mini-HOWTO, available from
84 tristate "RAID-1 (mirroring) mode"
87 A RAID-1 set consists of several disk drives which are exact copies
88 of each other. In the event of a mirror failure, the RAID driver
[all …]
/Linux-v5.15/arch/arm/mach-omap1/
Dlcd_dma.c1 // 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 <santosh.shilimkar@ti.com>
26 #include <linux/omap-dma.h>
52 void (*callback)(u16 status, void *data);
59 int mirror; member
[all …]
/Linux-v5.15/fs/nfs/
Dpagelist.c1 // SPDX-License-Identifier: GPL-2.0-only
37 if (desc->pg_ops->pg_get_mirror) in nfs_pgio_get_mirror()
38 return desc->pg_ops->pg_get_mirror(desc, idx); in nfs_pgio_get_mirror()
39 return &desc->pg_mirrors[0]; in nfs_pgio_get_mirror()
45 return nfs_pgio_get_mirror(desc, desc->pg_mirror_idx); in nfs_pgio_current_mirror()
52 if (desc->pg_ops->pg_set_mirror) in nfs_pgio_set_current_mirror()
53 return desc->pg_ops->pg_set_mirror(desc, idx); in nfs_pgio_set_current_mirror()
54 return desc->pg_mirror_idx; in nfs_pgio_set_current_mirror()
61 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in nfs_pgheader_init() local
64 hdr->req = nfs_list_entry(mirror->pg_list.next); in nfs_pgheader_init()
[all …]
/Linux-v5.15/drivers/crypto/marvell/octeontx/
Dotx_cptpf_ucode.c1 // 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 …]
Dotx_cptpf_mbox.c1 // SPDX-License-Identifier: GPL-2.0
67 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg()
71 get_mbox_opcode_str(mbox_msg->msg), raw_data_str); in dump_mbox_msg()
78 writeq(mbx->data, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 1)); in otx_cpt_send_msg_to_vf()
79 writeq(mbx->msg, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 0)); in otx_cpt_send_msg_to_vf()
89 mbx->data = 0ull; in otx_cpt_mbox_send_ack()
90 mbx->msg = OTX_CPT_MSG_ACK; in otx_cpt_mbox_send_ack()
98 mbx->data = 0ull; in otx_cptpf_mbox_send_nack()
99 mbx->msg = OTX_CPT_MSG_NACK; in otx_cptpf_mbox_send_nack()
106 writeq(1ull << vf, cpt->reg_base + OTX_CPT_PF_MBOX_INTX(0)); in otx_cpt_clear_mbox_intr()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c1 // 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-v5.15/drivers/staging/fbtft/
Dfb_uc1611.c1 // 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-v5.15/fs/btrfs/
Ddisk-io.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 static inline u64 btrfs_sb_offset(int mirror) in btrfs_sb_offset() argument
33 if (mirror) in btrfs_sb_offset()
34 return start << (BTRFS_SUPER_MIRROR_SHIFT * mirror); in btrfs_sb_offset()
86 int mirror);
98 * fs_info->subvol_srcu
104 if (refcount_inc_not_zero(&root->refs)) in btrfs_grab_root()
135 int btree_lock_page_hook(struct page *page, void *data,
Dzoned.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "rcu-string.h"
11 #include "disk-io.h"
12 #include "block-group.h"
14 #include "dev-replace.h"
15 #include "space-info.h"
20 #define WP_MISSING_DEV ((u64)-1)
22 #define WP_CONVENTIONAL ((u64)-2)
27 * - primary superblock: 0B (zone 0)
28 * - first copy: 512G (zone starting at that offset)
[all …]
/Linux-v5.15/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_ucode.c1 // SPDX-License-Identifier: GPL-2.0-only
32 if (eng_grp->g->engs_num > OTX2_CPT_MAX_ENGINES) { in get_cores_bmap()
34 eng_grp->g->engs_num); in get_cores_bmap()
39 if (eng_grp->engs[i].type) { in get_cores_bmap()
41 eng_grp->engs[i].bmap, in get_cores_bmap()
42 eng_grp->g->engs_num); in get_cores_bmap()
43 bmap.size = eng_grp->g->engs_num; in get_cores_bmap()
50 eng_grp->idx); in get_cores_bmap()
61 if (eng_grp->ucode[1].type) in is_2nd_ucode_used()
70 strlcpy(ucode->filename, filename, OTX2_CPT_NAME_LENGTH); in set_ucode_filename()
[all …]
/Linux-v5.15/drivers/media/platform/omap/
Domap_voutdef.h14 #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.15/Documentation/networking/device_drivers/ethernet/marvell/
Docteontx2.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
12 - `Overview`_
13 - `Drivers`_
14 - `Basic packet flow`_
15 - `Devlink health reporters`_
22 PCI-compatible physical and virtual functions. Each functional block
30 - Network pool or buffer allocator (NPA)
31 - Network interface controller (NIX)
32 - Network parser CAM (NPC)
33 - Schedule/Synchronize/Order unit (SSO)
[all …]
/Linux-v5.15/Documentation/admin-guide/device-mapper/
Ddm-clone.rst1 .. 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 …]
Ddm-ima.rst2 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-v5.15/drivers/pinctrl/
Dpinctrl-mcp23s08.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/pinctrl/pinconf-generic.h>
21 #include "pinctrl-mcp23s08.h"
139 return regmap_read(mcp->regmap, reg << mcp->reg_shift, val); in mcp_read()
144 return regmap_write(mcp->regmap, reg << mcp->reg_shift, val); in mcp_write()
151 return regmap_update_bits(mcp->regmap, reg << mcp->reg_shift, in mcp_set_mask()
208 return -ENOTSUPP; in mcp_pinctrl_get_group_pins()
226 unsigned int data, status; in mcp_pinconf_get() local
231 ret = mcp_read(mcp, MCP_GPPU, &data); in mcp_pinconf_get()
234 status = (data & BIT(pin)) ? 1 : 0; in mcp_pinconf_get()
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/i2c/
Dov2680.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 #include <media/v4l2-subdev.h>
28 #include <media/v4l2-device.h>
29 #include <media/v4l2-ctrls.h>
30 #include <linux/v4l2-mediabus.h>
31 #include <media/media-entity.h>
58 * bits 31-16: numerator, bits 15-0: denominator
63 * current f-number bits definition:
64 * bits 31-16: numerator, bits 15-0: denominator
69 * f-number range bits definition:
[all …]
/Linux-v5.15/drivers/net/dsa/b53/
Db53_regs.h5 * 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 */
121 * Override Ports 0-7 State on devices with xMII interfaces (8 bit)
219 /* Mirror capture control register (16 bit) */
225 /* Ingress mirror control register (16 bit) */
235 /* Ingress mirror divider register (16 bit) */
239 /* Ingress mirror MAC address register (48 bit) */
242 /* Egress mirror control register (16 bit) */
245 /* Egress mirror divider register (16 bit) */
[all …]
/Linux-v5.15/Documentation/m68k/
Dbuddha-driver.rst8 ------------------------------------------------------------------------
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.15/drivers/mtd/nand/raw/
Dnand_bbt.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * 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 …]

12345678910>>...13