/openbmc/linux/mm/kmsan/ |
H A D | instrumentation.c | 139 depot_stack_handle_t *origin) in get_param0_metadata() argument 144 *origin = ctx->cstate.param_origin_tls[0]; in get_param0_metadata() 147 static inline void set_retval_metadata(u64 shadow, depot_stack_handle_t origin) in set_retval_metadata() argument 152 ctx->cstate.retval_origin_tls = origin; in set_retval_metadata() 159 depot_stack_handle_t origin; in __msan_memmove() local 163 get_param0_metadata(&shadow, &origin); in __msan_memmove() 175 set_retval_metadata(shadow, origin); in __msan_memmove() 184 depot_stack_handle_t origin; in __msan_memcpy() local 188 get_param0_metadata(&shadow, &origin); in __msan_memcpy() 202 set_retval_metadata(shadow, origin); in __msan_memcpy() [all …]
|
H A D | init.c | 97 struct page *shadow, *origin; member 116 struct page *shadow, *origin; in kmsan_memblock_free_pages() local 122 if (!held_back[order].origin) { in kmsan_memblock_free_pages() 123 held_back[order].origin = page; in kmsan_memblock_free_pages() 127 origin = held_back[order].origin; in kmsan_memblock_free_pages() 128 kmsan_setup_meta(page, shadow, origin, order); in kmsan_memblock_free_pages() 131 held_back[order].origin = NULL; in kmsan_memblock_free_pages() 168 struct page *page, *shadow, *origin; in do_collection() local 173 origin = smallstack_pop(&collect); in do_collection() 174 kmsan_setup_meta(page, shadow, origin, collect.order); in do_collection() [all …]
|
H A D | report.c | 84 void kmsan_print_origin(depot_stack_handle_t origin) in kmsan_print_origin() argument 94 if (!origin) in kmsan_print_origin() 98 nr_entries = stack_depot_fetch(origin, &entries); in kmsan_print_origin() 99 depth = kmsan_depth_from_eb(stack_depot_get_extra_bits(origin)); in kmsan_print_origin() 121 origin = entries[2]; in kmsan_print_origin() 148 void kmsan_report(depot_stack_handle_t origin, void *address, int size, in kmsan_report() argument 162 if (!origin) in kmsan_report() 169 is_uaf = kmsan_uaf_from_eb(stack_depot_get_extra_bits(origin)); in kmsan_report() 194 kmsan_print_origin(origin); in kmsan_report()
|
H A D | shadow.c | 102 ret.origin = kmsan_get_metadata(address, KMSAN_META_ORIGIN); in kmsan_get_shadow_origin_ptr() 109 ret.origin = dummy_store_page; in kmsan_get_shadow_origin_ptr() 113 ret.origin = dummy_load_page; in kmsan_get_shadow_origin_ptr() 175 struct page *shadow, *origin; in kmsan_alloc_page() local 183 origin = origin_page_for(page); in kmsan_alloc_page() 187 __memset(page_address(origin), 0, PAGE_SIZE * pages); in kmsan_alloc_page() 204 ((depot_stack_handle_t *)page_address(origin))[i] = handle; in kmsan_alloc_page() 280 void *shadow, *origin; in kmsan_init_alloc_meta_for_range() local 287 origin = memblock_alloc(size, PAGE_SIZE); in kmsan_init_alloc_meta_for_range() 293 origin_p = virt_to_page_or_null((char *)origin + addr); in kmsan_init_alloc_meta_for_range() [all …]
|
H A D | hooks.c | 156 struct page *shadow, *origin; in kmsan_ioremap_page_range() local 167 origin = alloc_pages(gfp_mask, 1); in kmsan_ioremap_page_range() 168 if (!shadow || !origin) { in kmsan_ioremap_page_range() 183 vmalloc_origin(start + off + PAGE_SIZE), prot, &origin, in kmsan_ioremap_page_range() 192 origin = NULL; in kmsan_ioremap_page_range() 206 if (origin) in kmsan_ioremap_page_range() 207 __free_pages(origin, 1); in kmsan_ioremap_page_range() 224 struct page *shadow, *origin; in kmsan_iounmap_page_range() local 237 origin = kmsan_vmalloc_to_page_or_null((void *)v_origin); in kmsan_iounmap_page_range() 242 if (origin) in kmsan_iounmap_page_range() [all …]
|
H A D | kmsan.h | 64 void *shadow, *origin; member 78 void kmsan_print_origin(depot_stack_handle_t origin); 98 void kmsan_report(depot_stack_handle_t origin, void *address, int size, 183 u32 origin, bool checked); 194 struct page *origin, int order);
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | snapshot.rst | 12 - 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 …]
|
H A D | cache.rst | 39 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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_frontbuffer.c | 81 enum fb_op_origin origin) in frontbuffer_flush() argument 91 trace_intel_frontbuffer_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush() 95 intel_psr_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush() 96 intel_fbc_flush(i915, frontbuffer_bits, origin); in frontbuffer_flush() 167 enum fb_op_origin origin, in __intel_fb_invalidate() argument 172 if (origin == ORIGIN_CS) { in __intel_fb_invalidate() 179 trace_intel_frontbuffer_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate() 182 intel_psr_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate() 184 intel_fbc_invalidate(i915, frontbuffer_bits, origin); in __intel_fb_invalidate() 188 enum fb_op_origin origin, in __intel_fb_flush() argument [all …]
|
H A D | intel_frontbuffer.h | 81 enum fb_op_origin origin, 96 enum fb_op_origin origin) in intel_frontbuffer_invalidate() argument 107 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate() 112 enum fb_op_origin origin, 124 enum fb_op_origin origin) in intel_frontbuffer_flush() argument 135 __intel_fb_flush(front, origin, frontbuffer_bits); in intel_frontbuffer_flush()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_common.h | 42 #define roce_get_field(origin, mask, shift) \ argument 43 ((le32_to_cpu(origin) & (mask)) >> (u32)(shift)) 45 #define roce_get_bit(origin, shift) \ argument 46 roce_get_field((origin), (1ul << (shift)), (shift)) 48 #define roce_set_field(origin, mask, shift, val) \ argument 50 (origin) &= ~cpu_to_le32(mask); \ 51 (origin) |= \ 55 #define roce_set_bit(origin, shift, val) \ argument 56 roce_set_field((origin), (1ul << (shift)), (shift), (val))
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kmsan.rst | 95 incorrect shadow/origin values, likely leading to false positives. Functions 163 Every four bytes of kernel memory also have a so-called origin mapped to them. 164 This origin describes the point in program execution at which the uninitialized 165 value was created. Every origin is associated with either the full allocation 169 When an uninitialized variable is allocated on stack or heap, a new origin 170 value is created, and that variable's origin is filled with that value. When a 171 value is read from memory, its origin is also read and kept together with the 172 shadow. For every instruction that takes one or more values, the origin of the 174 If a poisoned value is written into memory, its origin is written to the 183 In this case the origin of ``b`` is generated upon function entry, and is [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | ipaddress.cpp | 51 stdplus::SubnetAny addr, AddressOrigin origin) : in IPAddress() argument 52 IPAddress(bus, makeObjPath(objRoot, addr), parent, addr, origin) in IPAddress() 58 stdplus::SubnetAny addr, AddressOrigin origin) : in IPAddress() argument 67 IP::origin(origin, true); in IPAddress() 86 IP::AddressOrigin IPAddress::origin(IP::AddressOrigin /*origin*/) in origin() function in phosphor::network::IPAddress 92 if (origin() != IP::AddressOrigin::Static) in delete_()
|
H A D | ipaddress.hpp | 44 stdplus::SubnetAny addr, IP::AddressOrigin origin); 50 IP::AddressOrigin origin(IP::AddressOrigin origin) override; 58 using IP::origin; 76 stdplus::SubnetAny addr, IP::AddressOrigin origin);
|
/openbmc/linux/fs/overlayfs/ |
H A D | namei.c | 418 struct dentry *origin = NULL; in ovl_check_origin_fh() local 430 origin = ovl_decode_real_fh(ofs, fh, ofs->layers[i].mnt, in ovl_check_origin_fh() 432 if (origin) in ovl_check_origin_fh() 436 if (!origin) in ovl_check_origin_fh() 438 else if (IS_ERR(origin)) in ovl_check_origin_fh() 439 return PTR_ERR(origin); in ovl_check_origin_fh() 442 inode_wrong_type(d_inode(upperdentry), d_inode(origin)->i_mode)) in ovl_check_origin_fh() 448 dput(origin); in ovl_check_origin_fh() 452 .dentry = origin, in ovl_check_origin_fh() 461 d_inode(origin)->i_mode & S_IFMT); in ovl_check_origin_fh() [all …]
|
H A D | export.c | 723 struct ovl_path origin = { }; in ovl_lower_fh_to_d() local 724 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d() 735 if (!d_is_dir(origin.dentry) || in ovl_lower_fh_to_d() 736 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d() 737 inode = ovl_lookup_inode(sb, origin.dentry, false); in ovl_lower_fh_to_d() 773 if (d_is_dir(origin.dentry)) { in ovl_lower_fh_to_d() 774 dput(origin.dentry); in ovl_lower_fh_to_d() 775 origin.dentry = NULL; in ovl_lower_fh_to_d() 781 err = ovl_verify_origin(ofs, index, origin.dentry, false); in ovl_lower_fh_to_d() 787 dentry = ovl_get_dentry(sb, NULL, &origin, index); in ovl_lower_fh_to_d() [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/kea/files/ |
H A D | 0002-Fix-unittests-Typo-in-Name-Name-append-to-ndata_-not.patch | 18 @@ -347,7 +347,7 @@ Name::Name(const char* namedata, size_t data_len, const Name* origin, 20 // the origin's data 22 - ndata_.insert(ndata.end(), origin->ndata_.begin(), origin->ndata_.end()); 23 + ndata_.insert(ndata_.end(), origin->ndata_.begin(), origin->ndata_.end());
|
H A D | 0001-Replace-Name-NameString-with-vector-of-uint8_t.patch | 33 @@ -336,7 +336,7 @@ Name::Name(const char* namedata, size_t data_len, const Name* origin, 42 @@ -347,7 +347,7 @@ Name::Name(const char* namedata, size_t data_len, const Name* origin, 44 // the origin's data 46 - ndata_.append(origin->ndata_); 47 + ndata_.insert(ndata.end(), origin->ndata_.begin(), origin->ndata_.end());
|
/openbmc/qemu/docs/system/ |
H A D | barrier.rst | 25 [,x-origin=<x-origin>][,y-origin=<y-origin>] 36 ``<port>`` is ``24800``, ``<x-origin>`` and ``<y-origin>`` are set to ``0``,
|
/openbmc/linux/security/loadpin/ |
H A D | loadpin.c | 26 static void report_load(const char *origin, struct file *file, char *operation) in report_load() argument 34 origin, operation, in report_load() 132 const char *origin = kernel_read_file_id_str(id); in loadpin_check() local 139 report_load(origin, file, "pinning-excluded"); in loadpin_check() 146 report_load(origin, NULL, "old-api-pinning-ignored"); in loadpin_check() 150 report_load(origin, NULL, "old-api-denied"); in loadpin_check() 173 report_load(origin, file, "pinned"); in loadpin_check() 179 report_load(origin, file, "pinning-ignored"); in loadpin_check() 183 report_load(origin, file, "denied"); in loadpin_check()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_reg.h | 1043 #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 …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-snap.c | 52 struct dm_dev *origin; member 174 return s->origin; in dm_snap_origin() 314 struct origin { struct 388 static struct origin *__lookup_origin(struct block_device *origin) in __lookup_origin() argument 391 struct origin *o; in __lookup_origin() 393 ol = &_origins[origin_hash(origin)]; in __lookup_origin() 395 if (bdev_equal(o->bdev, origin)) in __lookup_origin() 401 static void __insert_origin(struct origin *o) in __insert_origin() 408 static struct dm_origin *__lookup_dm_origin(struct block_device *origin) in __lookup_dm_origin() argument 413 ol = &_dm_origins[origin_hash(origin)]; in __lookup_dm_origin() [all …]
|
/openbmc/linux/block/partitions/ |
H A D | msdos.c | 251 sector_t offset, sector_t size, int origin) in parse_solaris_x86() argument 269 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); in parse_solaris_x86() 356 sector_t offset, sector_t size, int origin, char *flavour, in parse_bsd() argument 372 snprintf(tmp, sizeof(tmp), " %s%d: <%s:", state->name, origin, flavour); in parse_bsd() 410 sector_t offset, sector_t size, int origin) in parse_freebsd() argument 413 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd() 418 sector_t offset, sector_t size, int origin) in parse_netbsd() argument 421 parse_bsd(state, offset, size, origin, "netbsd", BSD_MAXPARTITIONS); in parse_netbsd() 426 sector_t offset, sector_t size, int origin) in parse_openbsd() argument 429 parse_bsd(state, offset, size, origin, "openbsd", in parse_openbsd() [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | amd_iommu.c | 1068 static int amdvi_get_irte(AMDVIState *s, MSIMessage *origin, uint64_t *dte, in amdvi_get_irte() argument 1074 offset = (origin->data & AMDVI_IRTE_OFFSET) << 2; in amdvi_get_irte() 1090 MSIMessage *origin, in amdvi_int_remap_legacy() argument 1100 ret = amdvi_get_irte(iommu, origin, dte, &irte, sid); in amdvi_int_remap_legacy() 1129 static int amdvi_get_irte_ga(AMDVIState *s, MSIMessage *origin, uint64_t *dte, in amdvi_get_irte_ga() argument 1135 offset = (origin->data & AMDVI_IRTE_OFFSET) << 4; in amdvi_get_irte_ga() 1149 MSIMessage *origin, in amdvi_int_remap_ga() argument 1159 ret = amdvi_get_irte_ga(iommu, origin, dte, &irte, sid); in amdvi_int_remap_ga() 1194 MSIMessage *origin, in __amdvi_int_remap_msi() argument 1208 memcpy(translated, origin, sizeof(*origin)); in __amdvi_int_remap_msi() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/ |
H A D | hns_mdio.c | 108 #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()
|