Home
last modified time | relevance | path

Searched full:victim (Results 1 – 25 of 82) sorted by relevance

1234

/linux/arch/powerpc/kvm/
H A Dtrace.h49 TP_PROTO(unsigned int victim, unsigned int tid, unsigned int word0,
51 TP_ARGS(victim, tid, word0, word1, word2),
54 __field( unsigned int, victim )
62 __entry->victim = victim;
69 TP_printk("victim %u tid %u w0 %u w1 %u w2 %u",
70 __entry->victim, __entry->tid, __entry->word0,
H A De500_mmu.c39 unsigned int victim; in gtlb0_get_next_victim() local
41 victim = vcpu_e500->gtlb_nv[0]++; in gtlb0_get_next_victim()
45 return victim; in gtlb0_get_next_victim()
130 unsigned int victim, tsized; in kvmppc_e500_deliver_tlb_miss() local
135 victim = (tlbsel == 0) ? gtlb0_get_next_victim(vcpu_e500) : 0; in kvmppc_e500_deliver_tlb_miss()
138 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(victim) in kvmppc_e500_deliver_tlb_miss()
366 int victim; in kvmppc_e500_emul_tlbsx() local
370 victim = (tlbsel == 0) ? gtlb0_get_next_victim(vcpu_e500) : 0; in kvmppc_e500_emul_tlbsx()
373 | MAS0_ESEL(victim) in kvmppc_e500_emul_tlbsx()
/linux/fs/cachefiles/
H A Dnamei.c714 struct dentry *victim; in cachefiles_lookup_for_cull() local
717 victim = start_removing(&nop_mnt_idmap, dir, &QSTR(filename)); in cachefiles_lookup_for_cull()
719 if (IS_ERR(victim)) in cachefiles_lookup_for_cull()
721 if (d_inode(victim)->i_flags & S_KERNEL_FILE) in cachefiles_lookup_for_cull()
723 return victim; in cachefiles_lookup_for_cull()
727 end_removing(victim); in cachefiles_lookup_for_cull()
731 ret = PTR_ERR(victim); in cachefiles_lookup_for_cull()
752 struct dentry *victim; in cachefiles_cull() local
758 victim = cachefiles_lookup_for_cull(cache, dir, filename); in cachefiles_cull()
759 if (IS_ERR(victim)) in cachefiles_cull()
[all …]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dsched.c613 struct spu_context *victim = NULL; in find_victim() local
639 (!victim || tmp->prio > victim->prio)) { in find_victim()
640 victim = spu->ctx; in find_victim()
643 if (victim) in find_victim()
644 get_spu_context(victim); in find_victim()
647 if (victim) { in find_victim()
658 if (!mutex_trylock(&victim->state_mutex)) { in find_victim()
659 put_spu_context(victim); in find_victim()
660 victim = NULL; in find_victim()
664 spu = victim->spu; in find_victim()
[all …]
/linux/drivers/usb/core/
H A Durb.c814 struct urb *victim; in usb_kill_anchored_urbs() local
820 victim = list_entry(anchor->urb_list.prev, in usb_kill_anchored_urbs()
823 usb_get_urb(victim); in usb_kill_anchored_urbs()
826 usb_kill_urb(victim); in usb_kill_anchored_urbs()
827 usb_put_urb(victim); in usb_kill_anchored_urbs()
852 struct urb *victim; in usb_poison_anchored_urbs() local
859 victim = list_entry(anchor->urb_list.prev, in usb_poison_anchored_urbs()
862 usb_get_urb(victim); in usb_poison_anchored_urbs()
865 usb_poison_urb(victim); in usb_poison_anchored_urbs()
866 usb_put_urb(victim); in usb_poison_anchored_urbs()
[all …]
/linux/tools/lib/
H A Drbtree.c545 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() argument
548 struct rb_node *parent = rb_parent(victim); in rb_replace_node()
550 /* Copy the pointers/colour from the victim to the replacement */ in rb_replace_node()
551 *new = *victim; in rb_replace_node()
554 if (victim->rb_left) in rb_replace_node()
555 rb_set_parent(victim->rb_left, new); in rb_replace_node()
556 if (victim->rb_right) in rb_replace_node()
557 rb_set_parent(victim->rb_right, new); in rb_replace_node()
558 __rb_change_child(victim, new, parent, root); in rb_replace_node()
/linux/drivers/mmc/core/
H A Dsdio_cis.c385 struct sdio_func_tuple *tuple, *victim; in sdio_free_common_cis() local
390 victim = tuple; in sdio_free_common_cis()
392 kfree(victim); in sdio_free_common_cis()
420 struct sdio_func_tuple *tuple, *victim; in sdio_free_func_cis() local
425 victim = tuple; in sdio_free_func_cis()
427 kfree(victim); in sdio_free_func_cis()
/linux/include/linux/
H A Dbtree.h147 * @victim: the tree that gets merged into @target
151 * The two trees @target and @victim may not contain the same keys,
156 * @victim to @target.
158 int btree_merge(struct btree_head *target, struct btree_head *victim,
H A Dbtree-128.h78 struct btree_head128 *victim, in btree_merge128() argument
81 return btree_merge(&target->h, &victim->h, &btree_geo128, gfp); in btree_merge128()
H A Dbtree-type.h31 BTREE_TYPE_HEAD *victim, in BTREE_FN()
34 return btree_merge(&target->h, &victim->h, BTREE_TYPE_GEO, gfp); in BTREE_FN()
/linux/Documentation/admin-guide/hw-vuln/
H A Dcore-scheduling.rst16 A cross-HT attack involves the attacker and victim running on different Hyper
135 HT1 (attack) HT2 (victim)
142 (victim) to enter idle mode. This is because the sending of the IPI would bring
177 IPI. Even though cache is flushed on entry to user mode, victim tasks on siblings
195 guest or host victim. This is because the guest attacker can craft invalid
H A Dgather_data_sampling.rst20 The victim does not need to do anything special other than use the vector
21 registers. The victim does not need to use gather instructions to be
/linux/tools/perf/pmu-events/arch/x86/ivybridge/
H A Dfrontend.json39 …"BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both ca…
43 …"PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both c…
57 "BriefDescription": "Instruction cache, streaming buffer and victim cache misses",
61 …"PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Inclu…
/linux/tools/perf/pmu-events/arch/x86/ivytown/
H A Dfrontend.json39 …"BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both ca…
43 …"PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both c…
57 "BriefDescription": "Instruction cache, streaming buffer and victim cache misses",
61 …"PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Inclu…
/linux/fs/erofs/
H A Ddecompressor.c53 struct page *page, *victim; in z_erofs_lz4_prepare_dstpages()
69 victim = __erofs_allocpage(pagepool, rq->gfp, true); in z_erofs_lz4_prepare_dstpages()
70 if (!victim) in z_erofs_lz4_prepare_dstpages()
72 set_page_private(victim, Z_EROFS_SHORTLIVED_PAGE); in z_erofs_lz4_prepare_dstpages()
73 rq->out[i] = victim; in z_erofs_lz4_prepare_dstpages()
67 struct page *victim; z_erofs_lz4_prepare_dstpages() local
/linux/lib/
H A Dbtree.c634 int btree_merge(struct btree_head *target, struct btree_head *victim, in btree_merge() argument
642 BUG_ON(target == victim); in btree_merge()
646 target->node = victim->node; in btree_merge()
647 target->height = victim->height; in btree_merge()
648 __btree_init(victim); in btree_merge()
653 * walks to remove a single object from the victim. in btree_merge()
656 val = btree_last(victim, geo, key); in btree_merge()
665 btree_remove(victim, geo, dup); in btree_merge()
/linux/fs/btrfs/
H A Dzstd.c125 struct workspace *victim = container_of(pos, struct workspace, in zstd_reclaim_timer_fn() local
129 if (time_after(victim->last_used, reclaim_threshold)) in zstd_reclaim_timer_fn()
133 if (victim->req_level) in zstd_reclaim_timer_fn()
136 level = victim->level; in zstd_reclaim_timer_fn()
137 list_del(&victim->lru_list); in zstd_reclaim_timer_fn()
138 list_del(&victim->list); in zstd_reclaim_timer_fn()
139 zstd_free_workspace(&victim->list); in zstd_reclaim_timer_fn()
/linux/tools/include/linux/
H A Drbtree.h63 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
146 static inline void rb_replace_node_cached(struct rb_node *victim, in rb_replace_node_cached() argument
150 if (root->rb_leftmost == victim) in rb_replace_node_cached()
152 rb_replace_node(victim, new, &root->rb_root); in rb_replace_node_cached()
/linux/arch/powerpc/mm/nohash/
H A Dmmu_context.c106 /* Pick up the victim mm */ in steal_context_smp()
109 /* We have a candidate victim, check if it's active, on SMP in steal_context_smp()
156 /* Pick up the victim mm */ in steal_all_contexts()
187 /* Pick up the victim mm */ in steal_context_up()
/linux/tools/perf/pmu-events/arch/x86/broadwellx/
H A Dfrontend.json20 "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches",
24 "PublicDescription": "This event counts the number of both cacheable and noncacheable Instruction Cache, Streaming Buffer and Victim Cache Reads including UC fetches.",
38 "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes Uncacheable accesses.",
42 "PublicDescription": "This event counts the number of instruction cache, streaming buffer and victim cache misses. Counting includes UC accesses.",
/linux/tools/perf/pmu-events/arch/x86/broadwellde/
H A Dfrontend.json20 "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches",
24 "PublicDescription": "This event counts the number of both cacheable and noncacheable Instruction Cache, Streaming Buffer and Victim Cache Reads including UC fetches.",
38 "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes Uncacheable accesses.",
42 "PublicDescription": "This event counts the number of instruction cache, streaming buffer and victim cache misses. Counting includes UC accesses.",
/linux/tools/perf/pmu-events/arch/x86/broadwell/
H A Dfrontend.json20 "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches",
24 "PublicDescription": "This event counts the number of both cacheable and noncacheable Instruction Cache, Streaming Buffer and Victim Cache Reads including UC fetches.",
38 "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes Uncacheable accesses.",
42 "PublicDescription": "This event counts the number of instruction cache, streaming buffer and victim cache misses. Counting includes UC accesses.",
/linux/security/selinux/ss/
H A Dsidtab.c566 struct sidtab_str_cache *cache, *victim = NULL; in sidtab_sid2str_put() local
589 victim = container_of(s->cache_lru_list.prev, in sidtab_sid2str_put()
591 list_del(&victim->lru_member); in sidtab_sid2str_put()
592 rcu_assign_pointer(victim->parent->cache, NULL); in sidtab_sid2str_put()
605 kfree_rcu(victim, rcu_member); in sidtab_sid2str_put()
/linux/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c62 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() argument
83 is_self_unlink = storage->exec_inode == victim->d_inode; in BPF_PROG()
/linux/tools/perf/pmu-events/arch/x86/sandybridge/
H A Dfrontend.json52 …"BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both ca…
60 "BriefDescription": "Instruction cache, streaming buffer and victim cache misses.",
64 …"This event counts the number of instruction cache, streaming buffer and victim cache misses. Coun…

1234