| /linux/mm/kmsan/ |
| H A D | instrumentation.c | 140 depot_stack_handle_t *origin) in get_param0_metadata() argument 145 *origin = ctx->cstate.param_origin_tls[0]; in get_param0_metadata() 148 static inline void set_retval_metadata(u64 shadow, depot_stack_handle_t origin) in set_retval_metadata() argument 153 ctx->cstate.retval_origin_tls = origin; in set_retval_metadata() 160 depot_stack_handle_t origin; in __msan_memmove() local 164 get_param0_metadata(&shadow, &origin); in __msan_memmove() 176 set_retval_metadata(shadow, origin); in __msan_memmove() 185 depot_stack_handle_t origin; in __msan_memcpy() local 189 get_param0_metadata(&shadow, &origin); in __msan_memcpy() 203 set_retval_metadata(shadow, origin); in __msan_memcpy() [all …]
|
| H A D | report.c | 86 void kmsan_print_origin(depot_stack_handle_t origin) in kmsan_print_origin() argument 96 if (!origin) in kmsan_print_origin() 100 nr_entries = stack_depot_fetch(origin, &entries); in kmsan_print_origin() 101 depth = kmsan_depth_from_eb(stack_depot_get_extra_bits(origin)); in kmsan_print_origin() 123 origin = entries[2]; in kmsan_print_origin() 150 void kmsan_report(depot_stack_handle_t origin, void *address, int size, in kmsan_report() argument 164 if (!origin) in kmsan_report() 171 is_uaf = kmsan_uaf_from_eb(stack_depot_get_extra_bits(origin)); in kmsan_report() 196 kmsan_print_origin(origin); in kmsan_report()
|
| H A D | kmsan.h | 42 void *shadow, *origin; member 55 void kmsan_print_origin(depot_stack_handle_t origin); 75 void kmsan_report(depot_stack_handle_t origin, void *address, int size, 159 u32 origin, bool checked); 170 struct page *origin, int order);
|
| H A D | core.c | 134 * origin value. in kmsan_internal_memmove_metadata() 193 u32 origin, bool checked) in kmsan_internal_set_shadow_origin() 205 * and origin pages are NULL, or all are non-NULL. in kmsan_internal_set_shadow_origin() 229 * If the new origin is non-zero, assume that the shadow byte is also non-zero, in kmsan_internal_set_shadow_origin() 230 * and unconditionally overwrite the old origin slot. in kmsan_internal_set_shadow_origin() 231 * If the new origin is zero, overwrite the old origin slot iff the in kmsan_internal_set_shadow_origin() 235 if (origin || !aligned_shadow[i]) in kmsan_internal_set_shadow_origin() 236 origin_start[i] = origin; in kmsan_internal_set_shadow_origin() 256 depot_stack_handle_t *origin in kmsan_internal_check_memory() 192 kmsan_internal_set_shadow_origin(void * addr,size_t size,int b,u32 origin,bool checked) kmsan_internal_set_shadow_origin() argument 258 depot_stack_handle_t *origin = NULL; kmsan_internal_check_memory() local [all...] |
| /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 …]
|
| /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))
|
| /linux/fs/netfs/ |
| H A D | objects.c | 20 enum netfs_io_origin origin) in netfs_alloc_request() argument 32 if (origin == NETFS_WRITEBACK || origin == NETFS_WRITEBACK_SINGLE) { in netfs_alloc_request() 51 rreq->origin = origin; in netfs_alloc_request() 71 if (origin == NETFS_READAHEAD || in netfs_alloc_request() 72 origin == NETFS_READPAGE || in netfs_alloc_request() 73 origin == NETFS_READ_GAPS || in netfs_alloc_request() 74 origin == NETFS_READ_SINGLE || in netfs_alloc_request() 75 origin == NETFS_READ_FOR_WRITE || in netfs_alloc_request() 76 origin == NETFS_UNBUFFERED_READ || in netfs_alloc_request() 77 origin == NETFS_DIO_READ) { in netfs_alloc_request()
|
| H A D | read_collect.c | 265 if (rreq->origin == NETFS_READAHEAD || in netfs_collect_read_results() 266 rreq->origin == NETFS_READPAGE || in netfs_collect_read_results() 267 rreq->origin == NETFS_READ_FOR_WRITE) in netfs_collect_read_results() 423 if (rreq->origin == NETFS_UNBUFFERED_READ || in netfs_rreq_assess_dio() 424 rreq->origin == NETFS_DIO_READ) { in netfs_rreq_assess_dio() 444 if (rreq->origin == NETFS_UNBUFFERED_READ || in netfs_rreq_assess_dio() 445 rreq->origin == NETFS_DIO_READ) in netfs_rreq_assess_dio() 505 switch (rreq->origin) { in netfs_read_collection() 567 (rreq->origin == NETFS_READAHEAD || in netfs_read_subreq_progress() 568 rreq->origin == NETFS_READPAGE || in netfs_read_subreq_progress() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_relay.c | 131 * @remote: PF/VF identifier of the origin (or target) of the relay 275 relay_new_incoming_transaction(struct xe_guc_relay *relay, u32 origin, u32 rid, in relay_new_incoming_transaction() argument 278 return __relay_get_transaction(relay, true, origin, rid, action, len, NULL, 0); in relay_new_incoming_transaction() 574 static int relay_handle_reply(struct xe_guc_relay *relay, u32 origin, in relay_handle_reply() argument 582 if (pending->remote != origin || pending->rid != rid) { in relay_handle_reply() 606 static int relay_handle_failure(struct xe_guc_relay *relay, u32 origin, in relay_handle_failure() argument 614 origin, rid, error, ERR_PTR(-error), hint, 4 * (len - 1), msg + 1); in relay_handle_failure() 616 return relay_handle_reply(relay, origin, rid, error ?: -EREMOTEIO, NULL, 0); in relay_handle_failure() 619 static int relay_testloop_action_handler(struct xe_guc_relay *relay, u32 origin, in relay_testloop_action_handler() argument 679 static int relay_action_handler(struct xe_guc_relay *relay, u32 origin, in relay_action_handler() argument 809 relay_queue_action_msg(struct xe_guc_relay * relay,u32 origin,u32 rid,const u32 * msg,u32 len) relay_queue_action_msg() argument 826 relay_process_msg(struct xe_guc_relay * relay,u32 origin,u32 rid,const u32 * msg,u32 len) relay_process_msg() argument 931 u32 origin, rid; xe_guc_relay_process_guc2pf() local [all...] |
| H A D | xe_gt_sriov_pf_monitor.c | 46 char origin[8]; in pf_handle_vf_threshold_event() local 50 xe_sriov_function_name(vfid, origin, sizeof(origin)); in pf_handle_vf_threshold_event() 55 threshold, origin); in pf_handle_vf_threshold_event() 60 origin, xe_gt_sriov_pf_config_get_threshold(gt, vfid, e), in pf_handle_vf_threshold_event()
|
| H A D | xe_gt_sriov_pf_service.h | 21 int xe_gt_sriov_pf_service_process_request(struct xe_gt *gt, u32 origin, 26 xe_gt_sriov_pf_service_process_request(struct xe_gt *gt, u32 origin, in xe_gt_sriov_pf_service_process_request() argument
|
| /linux/security/loadpin/ |
| H A D | loadpin.c | 28 static void report_load(const char *origin, struct file *file, char *operation) in report_load() argument 36 origin, operation, in report_load() 130 const char *origin = kernel_read_file_id_str(id); in loadpin_check() local 136 report_load(origin, file, "pinning-excluded"); in loadpin_check() 143 report_load(origin, NULL, "old-api-pinning-ignored"); in loadpin_check() 147 report_load(origin, NULL, "old-api-denied"); in loadpin_check() 169 report_load(origin, file, "pinned"); in loadpin_check() 175 report_load(origin, file, "pinning-ignored"); in loadpin_check() 179 report_load(origin, file, "denied"); in loadpin_check()
|
| /linux/fs/9p/ |
| H A D | vfs_addr.c | 130 if (subreq->rreq->origin != NETFS_UNBUFFERED_READ && in v9fs_issue_read() 131 subreq->rreq->origin != NETFS_DIO_READ) in v9fs_issue_read() 155 bool writing = (rreq->origin == NETFS_READ_FOR_WRITE || in v9fs_init_request() 156 rreq->origin == NETFS_UNBUFFERED_WRITE || in v9fs_init_request() 157 rreq->origin == NETFS_DIO_WRITE); in v9fs_init_request() 159 if (rreq->origin == NETFS_WRITEBACK) in v9fs_init_request() 194 WARN_ON(rreq->origin == NETFS_READ_FOR_WRITE && !(fid->mode & P9_ORDWR)); in v9fs_init_request()
|
| /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 …]
|
| /linux/drivers/md/ |
| H A D | dm-snap.c | 57 struct dm_dev *origin; member 133 * => use the origin; forget about the snapshot. 136 * (We can't use the intermediate origin state.) 179 return s->origin; in dm_snap_origin() 239 * Hash table mapping origin volumes to lists of snapshots and 317 * One of these per registered origin, held in the snapshot_origins hash 319 struct origin { struct 320 /* The origin device */ 325 /* List of snapshots for this origin */ argument 330 * This structure is allocated for each origin targe argument 390 __lookup_origin(struct block_device * origin) __lookup_origin() argument 410 __lookup_dm_origin(struct block_device * origin) __lookup_dm_origin() argument 2559 do_origin(struct dm_dev * origin,struct bio * bio,bool limit) do_origin() argument [all...] |
| /linux/arch/s390/mm/ |
| H A D | pgalloc.c | 214 static int base_page_walk(unsigned long *origin, unsigned long addr, in base_page_walk() argument 221 pte = origin; in base_page_walk() 230 static int base_segment_walk(unsigned long *origin, unsigned long addr, in base_segment_walk() argument 236 ste = origin; in base_segment_walk() 258 static int base_region3_walk(unsigned long *origin, unsigned long addr, in base_region3_walk() argument 264 rtte = origin; in base_region3_walk() 286 static int base_region2_walk(unsigned long *origin, unsigned long addr, in base_region2_walk() argument 292 rste = origin; in base_region2_walk() 314 static int base_region1_walk(unsigned long *origin, unsigned long addr, in base_region1_walk() argument 320 rfte = origin; in base_region1_walk()
|
| /linux/fs/ |
| H A D | pnode.c | 178 struct mount *origin) in __propagation_next() argument 183 if (master == origin->mnt_master) { in __propagation_next() 185 return (next == origin) ? NULL : next; in __propagation_next() 205 struct mount *origin) in propagation_next() argument 211 return __propagation_next(m, origin); in propagation_next() 215 struct mount *origin) in skip_propagation_subtree() argument 220 struct mount *p = __propagation_next(m, origin); in skip_propagation_subtree() 223 p = __propagation_next(p, origin); in skip_propagation_subtree() 228 static struct mount *next_group(struct mount *m, struct mount *origin) in next_group() argument 236 if (m->mnt_group_id == origin->mnt_group_id) { in next_group() [all …]
|
| /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 in mdio_get_reg_field() [all...] |
| /linux/drivers/media/mc/ |
| H A D | mc-entity.c | 616 struct media_pad *origin; in media_pipeline_explore_next_link() 623 origin = entry->pad; in media_pipeline_explore_next_link() 639 if (link->source->entity == origin->entity) { in media_pipeline_explore_next_link() 651 if (origin != local && in media_pipeline_explore_next_link() 652 !media_entity_has_pad_interdep(origin->entity, origin->index, in media_pipeline_explore_next_link() 691 origin->entity->name, origin->index); in media_pipeline_explore_next_link() 693 media_entity_for_each_pad(origin->entity, local) { in media_pipeline_explore_next_link() 695 * Skip the origin pa in media_pipeline_explore_next_link() 611 struct media_pad *origin; media_pipeline_explore_next_link() local 771 __media_pipeline_start(struct media_pad * origin,struct media_pipeline * pipe) __media_pipeline_start() argument 917 media_pipeline_start(struct media_pad * origin,struct media_pipeline * pipe) media_pipeline_start() argument [all...] |
| /linux/arch/um/drivers/ |
| H A D | mconsole_user.c | 48 msg.msg_name = &(req->origin); in mconsole_reply_v0() 85 req->originlen = sizeof(req->origin); in mconsole_get_request() 87 (struct sockaddr *) req->origin, &req->originlen); in mconsole_get_request() 159 (struct sockaddr *) req->origin, req->originlen); in mconsole_reply_len()
|
| /linux/arch/s390/kvm/s390/ |
| H A D | interrupt.c | 249 word = READ_ONCE(gi->origin->u64.word[0]); in gisa_get_ipm_or_restore_iam() 256 } while (!try_cmpxchg(&gi->origin->u64.word[0], &word, _word)); in gisa_get_ipm_or_restore_iam() 296 if (gi->origin) in pending_irqs() 297 pending_mask |= gisa_get_ipm(gi->origin) << IRQ_PEND_IO_ISC_7; in pending_irqs() 1177 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io() 1281 if (gi->origin && in kvm_s390_handle_wait() 1723 if (!gi->origin) in get_top_gisa_isc() 1726 active_mask = (isc_mask & gisa_get_ipm(gi->origin) << 24) << 32; in get_top_gisa_isc() 1729 if (gisa_tac_ipm_gisc(gi->origin, is in get_top_gisa_isc() 3386 u32 final, gisa_phys, origin = 0UL; process_gib_alert_list() local [all...] |
| /linux/arch/s390/kernel/ |
| H A D | nmi.c | 73 void *origin; in nmi_alloc_mcesa() local 79 origin = kmalloc(size, GFP_KERNEL); in nmi_alloc_mcesa() 80 if (!origin) in nmi_alloc_mcesa() 83 kmemleak_not_leak(origin); in nmi_alloc_mcesa() 84 *mcesad = __pa(origin); in nmi_alloc_mcesa()
|
| /linux/arch/arm/kernel/ |
| H A D | unwind.c | 105 const struct unwind_idx *origin, in search_index() argument 111 __func__, addr, start, origin, stop); in search_index() 119 stop = origin; in search_index() 122 start = origin; in search_index() 197 table->origin, in unwind_find_idx() 587 tab->origin = unwind_find_origin(tab->start, tab->stop); in unwind_table_add()
|
| /linux/tools/tracing/rtla/ |
| H A D | Makefile.rtla | 4 $(if $(or $(findstring environment,$(origin $(1))),\ 5 $(findstring command line,$(origin $(1)))),,\
|