Home
last modified time | relevance | path

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

123456789

/linux/fs/nfs/flexfilelayout/
H A 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 */
52 struct net *net = server->nfs_client->cl_net; in nfs4_ff_alloc_deviceid_node()
56 int i, ret = -ENOMEM; in nfs4_ff_alloc_deviceid_node()
67 nfs4_init_deviceid_node(&new_ds->id_node, in nfs4_ff_alloc_deviceid_node()
[all …]
H A 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
47 struct list_head list; /* linked in mirror error_list */
79 struct nfs4_ff_layout_mirror *mirror; member
160 if (idx < fls->mirror_array_cnt)
161 return fls->mirror_arra
164 struct nfs4_ff_layout_mirror *mirror = FF_LAYOUT_COMP(lseg, idx); FF_LAYOUT_DEVID_NODE() local
194 nfs4_ff_layout_ds_version(const struct nfs4_ff_layout_mirror * mirror,u32 dss_id) nfs4_ff_layout_ds_version() argument
[all...]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_mirror.c1 // 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/tools/testing/selftests/mm/
H A 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;
63 #define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1)))
144 self->page_size = sysconf(_SC_PAGE_SIZE); in FIXTURE_SETUP()
145 self->page_shif in FIXTURE_SETUP()
41 void *mirror; global() member
[all...]
/linux/fs/nfs/
H A Dpagelist.c1 // 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_byte in nfs_page_iter_page_advance()
99 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); nfs_pgheader_init() local
614 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); nfs_generic_pg_test() local
798 nfs_pageio_mirror_init(struct nfs_pgio_mirror * mirror,unsigned int bsize) nfs_pageio_mirror_init() argument
878 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); nfs_generic_pgio() local
1111 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); nfs_pageio_do_add_request() local
1147 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); nfs_pageio_doio() local
1183 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); __nfs_pageio_add_request() local
1242 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); nfs_do_recoalesce() local
1286 struct nfs_pgio_mirror *mirror; nfs_pageio_error_cleanup() local
1353 struct nfs_pgio_mirror *mirror; nfs_pageio_complete_mirror() local
1436 struct nfs_pgio_mirror *mirror; nfs_pageio_cond_complete() local
[all...]
/linux/fs/btrfs/
H A Dscrub.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "disk-io.h"
13 #include "ordered-data.h"
17 #include "dev-replace.h"
19 #include "block-group.h"
23 #include "file-item.h"
25 #include "raid-strip
913 calc_next_mirror(int mirror,int num_copies) calc_next_mirror() argument
954 scrub_stripe_submit_repair_read(struct scrub_stripe * stripe,int mirror,int blocksize,bool wait) scrub_stripe_submit_repair_read() argument
1163 int mirror; scrub_stripe_read_repair_worker() local
1794 int mirror = stripe->mirror_num; scrub_submit_extent_sector_read() local
1873 int mirror = stripe->mirror_num; scrub_submit_initial_read() local
[all...]
H A Dzoned.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "disk-io.h"
13 #include "block-group.h"
14 #include "dev-replace.h"
15 #include "space-info.h"
25 #define WP_MISSING_DEV ((u64)-1)
27 #define WP_CONVENTIONAL ((u64)-2)
32 * - primar
79 copy_zone_info_cb(struct blk_zone * zone,unsigned int idx,void * data) copy_zone_info_cb() argument
166 sb_zone_number(int shift,int mirror) sb_zone_number() argument
875 btrfs_sb_log_location_bdev(struct block_device * bdev,int mirror,int rw,u64 * bytenr_ret) btrfs_sb_log_location_bdev() argument
915 btrfs_sb_log_location(struct btrfs_device * device,int mirror,int rw,u64 * bytenr_ret) btrfs_sb_log_location() argument
942 is_sb_log_zone(struct btrfs_zoned_device_info * zinfo,int mirror) is_sb_log_zone() argument
959 btrfs_advance_sb_log(struct btrfs_device * device,int mirror) btrfs_advance_sb_log() argument
1014 btrfs_reset_sb_log_zones(struct block_device * bdev,int mirror) btrfs_reset_sb_log_zones() argument
[all...]
/linux/drivers/staging/fbtft/
H A 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/drivers/net/ethernet/mellanox/mlxsw/
H A 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/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_ucode.c1 // SPDX-License-Identifier: GPL-2.0-only
22 * Interval to flush dirty data for next CTX entry. The interval is measured
38 if (eng_grp->g->engs_num < 0 || in get_cores_bmap()
39 eng_grp->g->engs_num > OTX2_CPT_MAX_ENGINES) { in get_cores_bmap()
41 eng_grp->g->engs_num); in get_cores_bmap()
46 if (eng_grp->engs[i].type) { in get_cores_bmap()
48 eng_grp->engs[i].bmap, in get_cores_bmap()
49 eng_grp->g->engs_num); in get_cores_bmap()
50 bmap.size = eng_grp->g->engs_num; in get_cores_bmap()
57 eng_grp->idx); in get_cores_bmap()
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A 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 …]
H A 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/drivers/md/
H A 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-200
168 r1buf_pool_alloc(gfp_t gfp_flags,void * data) r1buf_pool_alloc() argument
242 r1buf_pool_free(void * __r1_bio,void * data) r1buf_pool_free() argument
371 int mirror; find_bio_disk() local
475 int mirror = find_bio_disk(r1_bio, bio); raid1_end_write_request() local
749 struct raid1_info *mirror = &conf->mirrors[disk]; should_choose_next() local
1339 struct raid1_info *mirror; raid1_read_request() local
1935 int mirror = 0, repl_slot = -1; raid1_add_disk() local
[all...]
/linux/drivers/net/dsa/microchip/
H A Dksz8.h1 /* SPDX-License-Identifier: GPL-2.0 */
/linux/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/pinctrl/pinconf-generic.h>
22 #include "pinctrl-mcp23s08.h"
77 .disable_locking = true, /* mcp->lock protects the regmap */
112 .disable_locking = true, /* mcp->lock protects the regmap */
118 return regmap_read(mcp->regmap, reg << mcp->reg_shift, val); in mcp_read()
123 return regmap_write(mcp->regmap, reg << mcp->reg_shift, val); in mcp_write()
129 return regmap_update_bits(mcp->regmap, reg << mcp->reg_shift, in mcp_update_bits()
186 return -ENOTSUPP; in mcp_pinctrl_get_group_pins()
204 unsigned int data, status; in mcp_pinconf_get() local
[all …]
/linux/drivers/mtd/nand/raw/
H A 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 …]
/linux/drivers/net/dsa/b53/
H A 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
106 /* Power-down mode control (8 bit) */
133 * Override Ports 0-7 State on devices with xMII interfaces (8 bit)
239 /* Mirror capture control register (16 bit) */
245 /* Ingress mirror control register (16 bit) */
255 /* Ingress mirror divider register (16 bit) */
259 /* Ingress mirror MAC address register (48 bit) */
262 /* Egress mirror control register (16 bit) */
265 /* Egress mirror divider register (16 bit) */
[all …]
/linux/Documentation/arch/m68k/
H A 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/drivers/crypto/marvell/octeontx/
H A 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/Documentation/devicetree/bindings/display/
H A Dlvds.yaml1 # 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 <laurent.pinchart+renesas@ideasonboard.com>
14 - Thierry Reding <thierry.reding@gmail.com>
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/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.h1 /* 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/arch/arm/omap/
H A Ddss.rst7 TV-out and multiple display support, but there are lots of small improvements
10 The DSS2 driver (omapdss module) is in arch/arm/plat-omap/dss/, and the FB,
15 --------
[all...]
/linux/Documentation/filesystems/
H A Dfiemap.rst1 .. SPDX-License-Identifier: GPL-2.0
8 extent mappings. Instead of block-by-block mapping (such as bmap), fiemap
13 --------------
17 .. kernel-doc:: include/uapi/linux/fiemap.h
21 which the process would like mappings for. Extents returned mirror
22 those on disk - that is, the logical offset of the 1st returned extent
50 extended attribute lookup tree, instead of its data tree.
56 --------------
73 .. kernel-doc:: include/uapi/linux/fiemap.h
76 All offsets and lengths are in bytes and mirror those on disk. It is valid
[all …]
/linux/drivers/comedi/drivers/
H A Dme_daq.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Hardware driver for Meilhaus data acquisition cards:
5 * ME-2000i, ME-2600i, ME-3000vm1
12 * Description: Meilhaus PCI data acquisition cards
13 * Devices: [Meilhaus] ME-2600i (me-260
151 me_dio_insn_config(struct comedi_device * dev,struct comedi_subdevice * s,struct comedi_insn * insn,unsigned int * data) me_dio_insn_config() argument
184 me_dio_insn_bits(struct comedi_device * dev,struct comedi_subdevice * s,struct comedi_insn * insn,unsigned int * data) me_dio_insn_bits() argument
230 me_ai_insn_read(struct comedi_device * dev,struct comedi_subdevice * s,struct comedi_insn * insn,unsigned int * data) me_ai_insn_read() argument
297 me_ao_insn_write(struct comedi_device * dev,struct comedi_subdevice * s,struct comedi_insn * insn,unsigned int * data) me_ao_insn_write() argument
339 me2600_xilinx_download(struct comedi_device * dev,const u8 * data,size_t size,unsigned long context) me2600_xilinx_download() argument
[all...]
/linux/fs/ntfs/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
11 #include <linux/backing-dev.h>
41 { "remount-ro", ON_ERRORS_REMOUNT_RO },
125 struct ntfs_volume *vol = fc->s_fs_info; in ntfs_parse_param()
135 vol->ui in ntfs_parse_param()
[all...]

123456789