Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 25 of 126) sorted by relevance

123456

/Linux-v5.4/Documentation/admin-guide/device-mapper/
Dsnapshot.rst12 - To merge a snapshot of a block device back into the snapshot's origin
20 the origin device.
24 snapshot, snapshot-origin, and snapshot-merge.
26 - snapshot-origin <origin>
34 - snapshot <origin> <COW device> <persistent?> <chunksize>
37 A snapshot of the <origin> block device is created. Changed chunks of
40 from <origin> for unchanged data. <COW device> will often be
41 smaller than the origin and if it fills up the snapshot will become
55 snapshot-origin or snapshot-merge target must be suspended. A failure to
56 suspend the origin target could result in data corruption.
[all …]
Dcache.rst39 The origin device always contains a copy of the logical block, which
52 1. An origin device - the big, slow one.
66 The origin is divided up into blocks of a fixed size. This block size
89 complete until it has hit both the origin and cache devices. Clean
93 to be coherent with the origin device, then all reads are served from
94 the origin device (all reads miss the cache) and all writes are
95 forwarded to the origin device; additionally, write hits cause cache
121 Migrating data between the origin and cache device uses bandwidth.
170 state for all of the origin device (compare with the dirty bitset
181 cache <metadata dev> <cache dev> <origin dev> <block size>
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.h61 enum fb_op_origin origin,
76 enum fb_op_origin origin) in intel_frontbuffer_invalidate() argument
87 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate()
92 enum fb_op_origin origin,
104 enum fb_op_origin origin) in intel_frontbuffer_flush() argument
115 __intel_fb_flush(front, origin, frontbuffer_bits); in intel_frontbuffer_flush()
Dintel_frontbuffer.c80 enum fb_op_origin origin) in frontbuffer_flush() argument
92 intel_psr_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
93 intel_fbc_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush()
164 enum fb_op_origin origin, in __intel_fb_invalidate() argument
169 if (origin == ORIGIN_CS) { in __intel_fb_invalidate()
177 intel_psr_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
179 intel_fbc_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate()
183 enum fb_op_origin origin, in __intel_fb_flush() argument
188 if (origin == ORIGIN_CS) { in __intel_fb_flush()
197 frontbuffer_flush(i915, frontbuffer_bits, origin); in __intel_fb_flush()
Dintel_fbc.h35 enum fb_op_origin origin);
37 unsigned int frontbuffer_bits, enum fb_op_origin origin);
Dintel_psr.h26 enum fb_op_origin origin);
29 enum fb_op_origin origin);
/Linux-v5.4/security/loadpin/
Dloadpin.c20 static void report_load(const char *origin, struct file *file, char *operation) in report_load() argument
28 origin, operation, in report_load()
122 const char *origin = kernel_read_file_id_str(id); in loadpin_read_file() local
127 report_load(origin, file, "pinning-excluded"); in loadpin_read_file()
134 report_load(origin, NULL, "old-api-pinning-ignored"); in loadpin_read_file()
138 report_load(origin, NULL, "old-api-denied"); in loadpin_read_file()
160 report_load(origin, file, "pinned"); in loadpin_read_file()
167 report_load(origin, file, "pinning-ignored"); in loadpin_read_file()
171 report_load(origin, file, "denied"); in loadpin_read_file()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_common.h45 #define roce_get_field(origin, mask, shift) \ argument
46 (((le32_to_cpu(origin)) & (mask)) >> (shift))
48 #define roce_get_bit(origin, shift) \ argument
49 roce_get_field((origin), (1ul << (shift)), (shift))
51 #define roce_set_field(origin, mask, shift, val) \ argument
53 (origin) &= ~cpu_to_le32(mask); \
54 (origin) |= cpu_to_le32(((u32)(val) << (shift)) & (mask)); \
57 #define roce_set_bit(origin, shift, val) \ argument
58 roce_set_field((origin), (1ul << (shift)), (shift), (val))
/Linux-v5.4/fs/overlayfs/
Dnamei.c324 struct dentry *origin = NULL; in ovl_check_origin_fh() local
328 origin = ovl_decode_real_fh(fh, ofs->lower_layers[i].mnt, in ovl_check_origin_fh()
330 if (origin) in ovl_check_origin_fh()
334 if (!origin) in ovl_check_origin_fh()
336 else if (IS_ERR(origin)) in ovl_check_origin_fh()
337 return PTR_ERR(origin); in ovl_check_origin_fh()
340 ((d_inode(origin)->i_mode ^ d_inode(upperdentry)->i_mode) & S_IFMT)) in ovl_check_origin_fh()
346 dput(origin); in ovl_check_origin_fh()
350 .dentry = origin, in ovl_check_origin_fh()
359 d_inode(origin)->i_mode & S_IFMT); in ovl_check_origin_fh()
[all …]
Dexport.c704 struct ovl_path origin = { }; in ovl_lower_fh_to_d() local
705 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d()
716 if (!d_is_dir(origin.dentry) || in ovl_lower_fh_to_d()
717 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
718 inode = ovl_lookup_inode(sb, origin.dentry, false); in ovl_lower_fh_to_d()
754 if (d_is_dir(origin.dentry)) { in ovl_lower_fh_to_d()
755 dput(origin.dentry); in ovl_lower_fh_to_d()
756 origin.dentry = NULL; in ovl_lower_fh_to_d()
762 err = ovl_verify_origin(index, origin.dentry, false); in ovl_lower_fh_to_d()
768 dentry = ovl_get_dentry(sb, NULL, &origin, index); in ovl_lower_fh_to_d()
[all …]
/Linux-v5.4/arch/s390/kernel/
Dnmi.c78 unsigned long origin, cr0, size; in nmi_init() local
89 origin = (unsigned long) kmem_cache_alloc(mcesa_cache, GFP_KERNEL); in nmi_init()
90 if (!origin) in nmi_init()
93 kmemleak_not_leak((void *) origin); in nmi_init()
97 S390_lowcore.mcesad = origin | mcesa_origin_lc; in nmi_init()
105 unsigned long origin; in nmi_alloc_per_cpu() local
109 origin = (unsigned long) kmem_cache_alloc(mcesa_cache, GFP_KERNEL); in nmi_alloc_per_cpu()
110 if (!origin) in nmi_alloc_per_cpu()
113 kmemleak_not_leak((void *) origin); in nmi_alloc_per_cpu()
114 lc->mcesad = origin | mcesa_origin_lc; in nmi_alloc_per_cpu()
/Linux-v5.4/block/partitions/
Dmsdos.c217 sector_t offset, sector_t size, int origin) in parse_solaris_x86() argument
235 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); in parse_solaris_x86()
274 sector_t offset, sector_t size, int origin, char *flavour, in parse_bsd() argument
290 snprintf(tmp, sizeof(tmp), " %s%d: <%s:", state->name, origin, flavour); in parse_bsd()
328 sector_t offset, sector_t size, int origin) in parse_freebsd() argument
331 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd()
336 sector_t offset, sector_t size, int origin) in parse_netbsd() argument
339 parse_bsd(state, offset, size, origin, "netbsd", BSD_MAXPARTITIONS); in parse_netbsd()
344 sector_t offset, sector_t size, int origin) in parse_openbsd() argument
347 parse_bsd(state, offset, size, origin, "openbsd", in parse_openbsd()
[all …]
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_reg.h1043 #define dsaf_set_field(origin, mask, shift, val) \ argument
1045 (origin) &= (~(mask)); \
1046 (origin) |= (((val) << (shift)) & (mask)); \
1049 #define dsaf_set_bit(origin, shift, val) \ argument
1050 dsaf_set_field((origin), (1ull << (shift)), (shift), (val))
1055 u32 origin = dsaf_read_reg(base, reg); in dsaf_set_reg_field() local
1057 dsaf_set_field(origin, mask, shift, val); in dsaf_set_reg_field()
1058 dsaf_write_reg(base, reg, origin); in dsaf_set_reg_field()
1067 #define dsaf_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
1069 #define dsaf_get_bit(origin, shift) \ argument
[all …]
Dhnae.h699 #define hnae_set_field(origin, mask, shift, val) \ argument
701 (origin) &= (~(mask)); \
702 (origin) |= ((val) << (shift)) & (mask); \
705 #define hnae_set_bit(origin, shift, val) \ argument
706 hnae_set_field((origin), (0x1 << (shift)), (shift), (val))
708 #define hnae_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
710 #define hnae_get_bit(origin, shift) \ argument
711 hnae_get_field((origin), (0x1 << (shift)), (shift))
Dhns_dsaf_xgmac.c185 u32 origin = dsaf_read_dev(drv, XGMAC_PMA_FEC_CONTROL_REG); in hns_xgmac_pma_fec_enable() local
187 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_TX_B, !!tx_value); in hns_xgmac_pma_fec_enable()
188 dsaf_set_bit(origin, XGMAC_PMA_FEC_CTL_RX_B, !!rx_value); in hns_xgmac_pma_fec_enable()
189 dsaf_write_dev(drv, XGMAC_PMA_FEC_CONTROL_REG, origin); in hns_xgmac_pma_fec_enable()
234 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_CONTROL_REG); in hns_xgmac_config_pad_and_crc() local
236 dsaf_set_bit(origin, XGMAC_CTL_TX_PAD_B, !!newval); in hns_xgmac_config_pad_and_crc()
237 dsaf_set_bit(origin, XGMAC_CTL_TX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
238 dsaf_set_bit(origin, XGMAC_CTL_RX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc()
239 dsaf_write_dev(drv, XGMAC_MAC_CONTROL_REG, origin); in hns_xgmac_config_pad_and_crc()
250 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG); in hns_xgmac_pausefrm_cfg() local
[all …]
/Linux-v5.4/drivers/net/ethernet/hisilicon/
Dhns_mdio.c108 #define mdio_set_field(origin, mask, shift, val) \ argument
110 (origin) &= (~((mask) << (shift))); \
111 (origin) |= (((val) & (mask)) << (shift)); \
114 #define mdio_get_field(origin, mask, shift) (((origin) >> (shift)) & (mask)) argument
119 u32 origin = mdio_read_reg(base, reg); in mdio_set_reg_field() local
121 mdio_set_field(origin, mask, shift, val); in mdio_set_reg_field()
122 mdio_write_reg(base, reg, origin); in mdio_set_reg_field()
130 u32 origin; in mdio_get_reg_field() local
132 origin = mdio_read_reg(base, reg); in mdio_get_reg_field()
133 return mdio_get_field(origin, mask, shift); in mdio_get_reg_field()
/Linux-v5.4/drivers/md/
Ddm-snap.c51 struct dm_dev *origin; member
173 return s->origin; in dm_snap_origin()
311 struct origin { struct
385 static struct origin *__lookup_origin(struct block_device *origin) in __lookup_origin() argument
388 struct origin *o; in __lookup_origin()
390 ol = &_origins[origin_hash(origin)]; in __lookup_origin()
392 if (bdev_equal(o->bdev, origin)) in __lookup_origin()
398 static void __insert_origin(struct origin *o) in __insert_origin()
404 static struct dm_origin *__lookup_dm_origin(struct block_device *origin) in __lookup_dm_origin() argument
409 ol = &_dm_origins[origin_hash(origin)]; in __lookup_dm_origin()
[all …]
/Linux-v5.4/arch/s390/mm/
Dpgalloc.c379 static int base_page_walk(unsigned long origin, unsigned long addr, in base_page_walk() argument
386 pte = (unsigned long *) origin; in base_page_walk()
395 static int base_segment_walk(unsigned long origin, unsigned long addr, in base_segment_walk() argument
401 ste = (unsigned long *) origin; in base_segment_walk()
424 static int base_region3_walk(unsigned long origin, unsigned long addr, in base_region3_walk() argument
430 rtte = (unsigned long *) origin; in base_region3_walk()
452 static int base_region2_walk(unsigned long origin, unsigned long addr, in base_region2_walk() argument
458 rste = (unsigned long *) origin; in base_region2_walk()
480 static int base_region1_walk(unsigned long origin, unsigned long addr, in base_region1_walk() argument
486 rfte = (unsigned long *) origin; in base_region1_walk()
/Linux-v5.4/fs/
Dpnode.c150 struct mount *origin) in propagation_next() argument
159 if (master == origin->mnt_master) { in propagation_next()
161 return (next == origin) ? NULL : next; in propagation_next()
171 struct mount *origin) in skip_propagation_subtree() argument
183 static struct mount *next_group(struct mount *m, struct mount *origin) in next_group() argument
191 if (m->mnt_group_id == origin->mnt_group_id) { in next_group()
192 if (next == origin) in next_group()
204 if (master->mnt_group_id == origin->mnt_group_id) in next_group()
210 if (m == origin) in next_group()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h653 #define hnae3_set_field(origin, mask, shift, val) \ argument
655 (origin) &= (~(mask)); \
656 (origin) |= ((val) << (shift)) & (mask); \
658 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
660 #define hnae3_set_bit(origin, shift, val) \ argument
661 hnae3_set_field((origin), (0x1 << (shift)), (shift), (val))
662 #define hnae3_get_bit(origin, shift) \ argument
663 hnae3_get_field((origin), (0x1 << (shift)), (shift))
/Linux-v5.4/arch/um/drivers/
Dmconsole_user.c48 msg.msg_name = &(req->origin); in mconsole_reply_v0()
83 req->originlen = sizeof(req->origin); in mconsole_get_request()
85 (struct sockaddr *) req->origin, &req->originlen); in mconsole_get_request()
157 (struct sockaddr *) req->origin, req->originlen); in mconsole_reply_len()
/Linux-v5.4/drivers/acpi/acpica/
Dpstree.c169 union acpi_parse_object *acpi_ps_get_depth_next(union acpi_parse_object *origin, in acpi_ps_get_depth_next() argument
204 while (arg && (arg != origin) && (arg != op)) { in acpi_ps_get_depth_next()
210 if (arg == origin) { in acpi_ps_get_depth_next()
/Linux-v5.4/tools/scripts/
DMakefile.include3 ifeq ($(origin O), command line)
50 $(if $(or $(findstring environment,$(origin $(1))),\
51 $(findstring command line,$(origin $(1)))),,\
/Linux-v5.4/arch/arm/kernel/
Dunwind.c104 const struct unwind_idx *origin, in search_index() argument
110 __func__, addr, start, origin, stop); in search_index()
118 stop = origin; in search_index()
121 start = origin; in search_index()
196 table->origin, in unwind_find_idx()
515 tab->origin = unwind_find_origin(tab->start, tab->stop); in unwind_table_add()
/Linux-v5.4/tools/build/
DMakefile10 $(if $(or $(findstring environment,$(origin $(1))),\
11 $(findstring command line,$(origin $(1)))),,\

123456