Home
last modified time | relevance | path

Searched refs:victim (Results 1 – 25 of 62) sorted by relevance

123

/linux/mm/
A Doom_kill.c451 pr_cont(",task=%s,pid=%d,uid=%d\n", victim->comm, victim->pid, in dump_oom_summary()
871 message, task_pid_nr(victim), victim->comm); in __oom_kill_process()
877 victim = p; in __oom_kill_process()
881 mm = victim->mm; in __oom_kill_process()
894 mark_oom_victim(victim); in __oom_kill_process()
896 message, task_pid_nr(victim), victim->comm, K(mm->total_vm), in __oom_kill_process()
902 task_unlock(victim); in __oom_kill_process()
923 task_pid_nr(victim), victim->comm, in __oom_kill_process()
971 task_lock(victim); in oom_kill_process()
975 task_unlock(victim); in oom_kill_process()
[all …]
A Dreadahead.c67 struct page *victim; in read_cache_pages_invalidate_pages() local
70 victim = lru_to_page(pages); in read_cache_pages_invalidate_pages()
71 list_del(&victim->lru); in read_cache_pages_invalidate_pages()
72 read_cache_pages_invalidate_page(mapping, victim); in read_cache_pages_invalidate_pages()
/linux/drivers/usb/core/
A Durb.c811 struct urb *victim; in usb_kill_anchored_urbs() local
820 usb_get_urb(victim); in usb_kill_anchored_urbs()
824 usb_put_urb(victim); in usb_kill_anchored_urbs()
849 struct urb *victim; in usb_poison_anchored_urbs() local
908 struct urb *victim; in usb_unlink_anchored_urbs() local
912 usb_put_urb(victim); in usb_unlink_anchored_urbs()
981 struct urb *victim; in usb_get_from_anchor() local
988 usb_get_urb(victim); in usb_get_from_anchor()
991 victim = NULL; in usb_get_from_anchor()
995 return victim; in usb_get_from_anchor()
[all …]
/linux/lib/
A Drbtree.c556 struct rb_node *parent = rb_parent(victim); in rb_replace_node()
559 *new = *victim; in rb_replace_node()
562 if (victim->rb_left) in rb_replace_node()
563 rb_set_parent(victim->rb_left, new); in rb_replace_node()
564 if (victim->rb_right) in rb_replace_node()
565 rb_set_parent(victim->rb_right, new); in rb_replace_node()
576 *new = *victim; in rb_replace_node_rcu()
579 if (victim->rb_left) in rb_replace_node_rcu()
580 rb_set_parent(victim->rb_left, new); in rb_replace_node_rcu()
581 if (victim->rb_right) in rb_replace_node_rcu()
[all …]
A Dbtree.c639 int btree_merge(struct btree_head *target, struct btree_head *victim, in btree_merge() argument
647 BUG_ON(target == victim); in btree_merge()
651 target->node = victim->node; in btree_merge()
652 target->height = victim->height; in btree_merge()
653 __btree_init(victim); in btree_merge()
661 if (!btree_last(victim, geo, key)) in btree_merge()
663 val = btree_lookup(victim, geo, key); in btree_merge()
670 btree_remove(victim, geo, dup); in btree_merge()
/linux/fs/cachefiles/
A Dnamei.c864 struct dentry *victim; in cachefiles_check_active() local
874 if (IS_ERR(victim)) in cachefiles_check_active()
885 dput(victim); in cachefiles_check_active()
909 return victim; in cachefiles_check_active()
914 dput(victim); in cachefiles_check_active()
951 if (IS_ERR(victim)) in cachefiles_cull()
955 victim, d_backing_inode(victim) ? "positive" : "negative"); in cachefiles_cull()
974 dput(victim); in cachefiles_cull()
981 dput(victim); in cachefiles_cull()
1011 if (IS_ERR(victim)) in cachefiles_check_in_use()
[all …]
/linux/arch/powerpc/kvm/
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;
70 __entry->victim, __entry->tid, __entry->word0,
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/arch/powerpc/platforms/cell/spufs/
A Dsched.c640 (!victim || tmp->prio > victim->prio)) { in find_victim()
641 victim = spu->ctx; in find_victim()
644 if (victim) in find_victim()
645 get_spu_context(victim); in find_victim()
648 if (victim) { in find_victim()
660 put_spu_context(victim); in find_victim()
661 victim = NULL; in find_victim()
665 spu = victim->spu; in find_victim()
674 victim = NULL; in find_victim()
688 spu_add_to_rq(victim); in find_victim()
[all …]
/linux/tools/lib/
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()
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/kernel/
A Daudit_tree.c572 while (!list_empty(&victim->chunks)) { in prune_tree_chunks()
603 prune_tree_chunks(victim, false); in prune_one()
604 put_tree(victim); in prune_one()
766 struct audit_tree *victim; in prune_tree_thread() local
768 victim = list_entry(prune_list.next, in prune_tree_thread()
770 list_del_init(&victim->list); in prune_tree_thread()
774 prune_one(victim); in prune_tree_thread()
980 struct audit_tree *victim; in audit_kill_trees() local
983 kill_rules(context, victim); in audit_kill_trees()
984 list_del_init(&victim->list); in audit_kill_trees()
[all …]
/linux/drivers/mmc/core/
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()
426 struct sdio_func_tuple *tuple, *victim; in sdio_free_func_cis() local
431 victim = tuple; in sdio_free_func_cis()
433 kfree(victim); in sdio_free_func_cis()
/linux/include/linux/
A Drbtree.h54 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
56 extern void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new,
131 static inline void rb_replace_node_cached(struct rb_node *victim, in rb_replace_node_cached() argument
135 if (root->rb_leftmost == victim) in rb_replace_node_cached()
137 rb_replace_node(victim, new, &root->rb_root); in rb_replace_node_cached()
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()
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/fs/erofs/
A Ddecompressor.c75 struct page *victim; in z_erofs_lz4_prepare_dstpages() local
103 victim = availables[--top]; in z_erofs_lz4_prepare_dstpages()
104 get_page(victim); in z_erofs_lz4_prepare_dstpages()
106 victim = erofs_allocpage(pagepool, in z_erofs_lz4_prepare_dstpages()
108 set_page_private(victim, Z_EROFS_SHORTLIVED_PAGE); in z_erofs_lz4_prepare_dstpages()
110 rq->out[i] = victim; in z_erofs_lz4_prepare_dstpages()
/linux/init/
A Dinitramfs.c207 static __initdata char *victim; variable
213 victim += n; in eat()
225 collected = victim; in read_into()
249 memcpy(collect, victim, n); in do_collect()
302 while (byte_count && *victim == '\0') in do_reset()
384 if (xwrite(wfile, victim, body_len, &wfile_pos) != body_len) in do_copy()
396 if (xwrite(wfile, victim, byte_count, &wfile_pos) != byte_count) in do_copy()
430 victim = buf; in write_buffer()
/linux/tools/include/linux/
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/fs/btrfs/
A Dzstd.c116 struct workspace *victim = container_of(pos, struct workspace, in zstd_reclaim_timer_fn() local
120 if (time_after(victim->last_used, reclaim_threshold)) in zstd_reclaim_timer_fn()
124 if (victim->req_level) in zstd_reclaim_timer_fn()
127 level = victim->level; in zstd_reclaim_timer_fn()
128 list_del(&victim->lru_list); in zstd_reclaim_timer_fn()
129 list_del(&victim->list); in zstd_reclaim_timer_fn()
130 zstd_free_workspace(&victim->list); in zstd_reclaim_timer_fn()
/linux/fs/
A Dlibfs.c273 struct dentry *victim = NULL, *child; in simple_recursive_removal() local
279 while ((child = find_next_child(this, victim)) == NULL) { in simple_recursive_removal()
285 victim = this; in simple_recursive_removal()
289 if (simple_positive(victim)) { in simple_recursive_removal()
290 d_invalidate(victim); // avoid lost mounts in simple_recursive_removal()
291 if (d_is_dir(victim)) in simple_recursive_removal()
292 fsnotify_rmdir(inode, victim); in simple_recursive_removal()
294 fsnotify_unlink(inode, victim); in simple_recursive_removal()
296 callback(victim); in simple_recursive_removal()
297 dput(victim); // unpin it in simple_recursive_removal()
[all …]
A Ddcache.c1523 struct dentry *victim; member
1568 data->victim = dentry; in select_collect2()
1610 data.victim = NULL; in shrink_dcache_parent()
1612 if (data.victim) { in shrink_dcache_parent()
1621 if (parent != data.victim) in shrink_dcache_parent()
1623 __dentry_kill(data.victim); in shrink_dcache_parent()
1687 *victim = dentry; in find_submount()
1714 struct dentry *victim = NULL; in d_invalidate() local
1716 if (!victim) { in d_invalidate()
1722 detach_mounts(victim); in d_invalidate()
[all …]
/linux/drivers/dax/
A Dbus.c437 struct device *victim; in delete_store() local
444 victim = device_find_child_by_name(dax_region->dev, buf); in delete_store()
445 if (!victim) in delete_store()
449 device_lock(victim); in delete_store()
450 dev_dax = to_dev_dax(victim); in delete_store()
451 if (victim->driver || dev_dax_size(dev_dax)) in delete_store()
463 if (dax_region->seed == victim) in delete_store()
465 if (dax_region->youngest == victim) in delete_store()
470 device_unlock(victim); in delete_store()
474 devm_release_action(dev, unregister_dev_dax, victim); in delete_store()
[all …]
/linux/security/selinux/ss/
A Dsidtab.c556 struct sidtab_str_cache *cache, *victim = NULL; in sidtab_sid2str_put() local
579 victim = container_of(s->cache_lru_list.prev, in sidtab_sid2str_put()
581 list_del(&victim->lru_member); in sidtab_sid2str_put()
582 rcu_assign_pointer(victim->parent->cache, NULL); in sidtab_sid2str_put()
595 kfree_rcu(victim, rcu_member); in sidtab_sid2str_put()
/linux/tools/testing/selftests/bpf/progs/
A Dlocal_storage.c48 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) in BPF_PROG() argument
62 is_self_unlink = storage->exec_inode == victim->d_inode; in BPF_PROG()
/linux/drivers/mtd/ubi/
A Dfastmap-wl.c29 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() local
34 victim = e; in find_anchor_wl_entry()
39 return victim; in find_anchor_wl_entry()

Completed in 61 milliseconds

123