Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/security/loadpin/
Dloadpin.c22 static void report_load(const char *origin, struct file *file, char *operation) in report_load() argument
30 origin, operation, in report_load()
124 const char *origin = kernel_read_file_id_str(id); in loadpin_check() local
129 report_load(origin, file, "pinning-excluded"); in loadpin_check()
136 report_load(origin, NULL, "old-api-pinning-ignored"); in loadpin_check()
140 report_load(origin, NULL, "old-api-denied"); in loadpin_check()
162 report_load(origin, file, "pinned"); in loadpin_check()
169 report_load(origin, file, "pinning-ignored"); in loadpin_check()
173 report_load(origin, file, "denied"); in loadpin_check()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_common.h41 #define roce_get_field(origin, mask, shift) \ argument
42 (((le32_to_cpu(origin)) & (mask)) >> (shift))
44 #define roce_get_bit(origin, shift) \ argument
45 roce_get_field((origin), (1ul << (shift)), (shift))
47 #define roce_set_field(origin, mask, shift, val) \ argument
49 (origin) &= ~cpu_to_le32(mask); \
50 (origin) |= cpu_to_le32(((u32)(val) << (shift)) & (mask)); \
53 #define roce_set_bit(origin, shift, val) \ argument
54 roce_set_field((origin), (1ul << (shift)), (shift), (val))
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.h91 enum fb_op_origin origin,
106 enum fb_op_origin origin) in intel_frontbuffer_invalidate() argument
117 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate()
122 enum fb_op_origin origin,
134 enum fb_op_origin origin) in intel_frontbuffer_flush() argument
145 __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.h33 enum fb_op_origin origin);
35 unsigned int frontbuffer_bits, enum fb_op_origin origin);
Dintel_psr.h32 enum fb_op_origin origin);
35 enum fb_op_origin origin);
/kernel/linux/linux-5.10/fs/overlayfs/
Dnamei.c345 struct dentry *origin = NULL; in ovl_check_origin_fh() local
357 origin = ovl_decode_real_fh(fh, ofs->layers[i].mnt, in ovl_check_origin_fh()
359 if (origin) in ovl_check_origin_fh()
363 if (!origin) in ovl_check_origin_fh()
365 else if (IS_ERR(origin)) in ovl_check_origin_fh()
366 return PTR_ERR(origin); in ovl_check_origin_fh()
369 inode_wrong_type(d_inode(upperdentry), d_inode(origin)->i_mode)) in ovl_check_origin_fh()
375 dput(origin); in ovl_check_origin_fh()
379 .dentry = origin, in ovl_check_origin_fh()
388 d_inode(origin)->i_mode & S_IFMT); in ovl_check_origin_fh()
[all …]
Dexport.c697 struct ovl_path origin = { }; in ovl_lower_fh_to_d() local
698 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d()
709 if (!d_is_dir(origin.dentry) || in ovl_lower_fh_to_d()
710 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
711 inode = ovl_lookup_inode(sb, origin.dentry, false); in ovl_lower_fh_to_d()
747 if (d_is_dir(origin.dentry)) { in ovl_lower_fh_to_d()
748 dput(origin.dentry); in ovl_lower_fh_to_d()
749 origin.dentry = NULL; in ovl_lower_fh_to_d()
755 err = ovl_verify_origin(ofs, index, origin.dentry, false); in ovl_lower_fh_to_d()
761 dentry = ovl_get_dentry(sb, NULL, &origin, index); in ovl_lower_fh_to_d()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
251 u32 origin = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG); in hns_xgmac_pausefrm_cfg() local
[all …]
/kernel/linux/linux-5.10/block/partitions/
Dmsdos.c250 sector_t offset, sector_t size, int origin) in parse_solaris_x86() argument
268 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); in parse_solaris_x86()
355 sector_t offset, sector_t size, int origin, char *flavour, in parse_bsd() argument
371 snprintf(tmp, sizeof(tmp), " %s%d: <%s:", state->name, origin, flavour); in parse_bsd()
409 sector_t offset, sector_t size, int origin) in parse_freebsd() argument
412 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd()
417 sector_t offset, sector_t size, int origin) in parse_netbsd() argument
420 parse_bsd(state, offset, size, origin, "netbsd", BSD_MAXPARTITIONS); in parse_netbsd()
425 sector_t offset, sector_t size, int origin) in parse_openbsd() argument
428 parse_bsd(state, offset, size, origin, "openbsd", in parse_openbsd()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-snap.c51 struct dm_dev *origin; member
178 return s->origin; in dm_snap_origin()
316 struct origin { struct
390 static struct origin *__lookup_origin(struct block_device *origin) in __lookup_origin() argument
393 struct origin *o; in __lookup_origin()
395 ol = &_origins[origin_hash(origin)]; in __lookup_origin()
397 if (bdev_equal(o->bdev, origin)) in __lookup_origin()
403 static void __insert_origin(struct origin *o) in __insert_origin()
409 static struct dm_origin *__lookup_dm_origin(struct block_device *origin) in __lookup_dm_origin() argument
414 ol = &_dm_origins[origin_hash(origin)]; in __lookup_dm_origin()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/mm/
Dpgalloc.c391 static int base_page_walk(unsigned long origin, unsigned long addr, in base_page_walk() argument
398 pte = (unsigned long *) origin; in base_page_walk()
407 static int base_segment_walk(unsigned long origin, unsigned long addr, in base_segment_walk() argument
413 ste = (unsigned long *) origin; in base_segment_walk()
436 static int base_region3_walk(unsigned long origin, unsigned long addr, in base_region3_walk() argument
442 rtte = (unsigned long *) origin; in base_region3_walk()
464 static int base_region2_walk(unsigned long origin, unsigned long addr, in base_region2_walk() argument
470 rste = (unsigned long *) origin; in base_region2_walk()
492 static int base_region1_walk(unsigned long origin, unsigned long addr, in base_region1_walk() argument
498 rfte = (unsigned long *) origin; in base_region1_walk()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_object.h507 enum fb_op_origin origin);
509 enum fb_op_origin origin);
513 enum fb_op_origin origin) in i915_gem_object_flush_frontbuffer() argument
516 __i915_gem_object_flush_frontbuffer(obj, origin); in i915_gem_object_flush_frontbuffer()
521 enum fb_op_origin origin) in i915_gem_object_invalidate_frontbuffer() argument
524 __i915_gem_object_invalidate_frontbuffer(obj, origin); in i915_gem_object_invalidate_frontbuffer()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h742 #define hnae3_set_field(origin, mask, shift, val) \ argument
744 (origin) &= (~(mask)); \
745 (origin) |= ((val) << (shift)) & (mask); \
747 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) argument
749 #define hnae3_set_bit(origin, shift, val) \ argument
750 hnae3_set_field((origin), (0x1 << (shift)), (shift), (val))
751 #define hnae3_get_bit(origin, shift) \ argument
752 hnae3_get_field((origin), (0x1 << (shift)), (shift))
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
520 tab->origin = unwind_find_origin(tab->start, tab->stop); in unwind_table_add()
/kernel/linux/linux-5.10/arch/s390/kvm/
Dinterrupt.c289 word = READ_ONCE(gi->origin->u64.word[0]); in gisa_get_ipm_or_restore_iam()
295 } while (cmpxchg(&gi->origin->u64.word[0], word, _word) != word); in gisa_get_ipm_or_restore_iam()
340 if (gi->origin) in pending_irqs()
341 pending_mask |= gisa_get_ipm(gi->origin) << IRQ_PEND_IO_ISC_7; in pending_irqs()
1213 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
1317 if (gi->origin && in kvm_s390_handle_wait()
1744 if (!gi->origin) in get_top_gisa_isc()
1747 active_mask = (isc_mask & gisa_get_ipm(gi->origin) << 24) << 32; in get_top_gisa_isc()
1750 if (gisa_tac_ipm_gisc(gi->origin, isc)) in get_top_gisa_isc()
1791 gisa_set_ipm_gisc(gi->origin, isc); in kvm_s390_get_io_int()
[all …]

123456