Searched refs:victim (Results 1 - 12 of 12) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/spufs/
H A Dsched.c264 struct spu_context *victim = NULL; local
287 (!victim || tmp->rt_priority < victim->rt_priority))
288 victim = spu->ctx;
292 if (victim) {
299 if (!mutex_trylock(&victim->state_mutex)) {
300 victim = NULL;
304 spu = victim->spu;
311 mutex_unlock(&victim->state_mutex);
312 victim
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysfs/
H A Dfile.c506 struct dentry * victim; local
510 victim = lookup_one_len(attr->name, dir, strlen(attr->name));
511 if (!IS_ERR(victim)) {
513 if (victim->d_inode &&
514 (victim->d_parent->d_inode == dir->d_inode)) {
515 victim->d_inode->i_mtime = CURRENT_TIME;
516 fsnotify_modify(victim);
519 d_drop(victim);
524 dput(victim);
542 struct dentry *victim; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Drbtree.c375 void rb_replace_node(struct rb_node *victim, struct rb_node *new, argument
378 struct rb_node *parent = rb_parent(victim);
382 if (victim == parent->rb_left)
389 if (victim->rb_left)
390 rb_set_parent(victim->rb_left, new);
391 if (victim->rb_right)
392 rb_set_parent(victim->rb_right, new);
394 /* Copy the pointers/colour from the victim to the replacement */
395 *new = *victim;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/init/
H A Dinitramfs.c130 static __initdata char *victim; variable
138 victim += n;
150 collected = victim;
174 memcpy(collect, victim, n);
231 while(count && *victim == '\0')
305 sys_write(wfd, victim, body_len);
311 sys_write(wfd, victim, count);
343 victim = buf;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drbtree.h149 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dswap.c87 struct page *victim; local
89 victim = list_entry(pages->prev, struct page, lru);
90 list_del(&victim->lru);
91 page_cache_release(victim);
H A Dswapfile.c1160 struct file *swap_file, *victim; local
1175 victim = filp_open(pathname, O_RDWR|O_LARGEFILE, 0);
1177 err = PTR_ERR(victim);
1178 if (IS_ERR(victim))
1181 mapping = victim->f_mapping;
1280 filp_close(victim, NULL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dnamei.c1370 * Check whether we can remove a link victim from directory dir, check
1371 * whether the type of victim is right.
1378 * b. be owner of victim, or
1380 * 6. If the victim is append-only or immutable we can't do antyhing with
1382 * 7. If we were asked to remove a directory and victim isn't one - ENOTDIR.
1383 * 8. If we were asked to remove a non-directory and victim isn't one - EISDIR.
1388 static int may_delete(struct inode *dir,struct dentry *victim,int isdir) argument
1392 if (!victim->d_inode)
1395 BUG_ON(victim->d_parent->d_inode != dir);
1396 audit_inode_child(victim
[all...]
H A Dblock_dev.c1065 struct block_device *victim = NULL; local
1093 victim = bdev->bd_contains;
1099 if (victim)
1100 __blkdev_put(victim, 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/
H A Dsvc.c669 struct task_struct *victim; local
695 (victim = choose_victim(serv, pool, &state)) != NULL) {
696 send_sig(serv->sv_kill_signal, victim, 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Dsuballoc.c1253 u16 victim, i; local
1306 victim = ocfs2_find_victim_chain(cl);
1307 ac->ac_chain = victim;
1319 mlog(0, "Search of victim chain %u came up with nothing, "
1320 "trying all chains now.\n", victim);
1322 /* If we didn't pick a good victim, then just default to
1328 if (i == victim)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/
H A Dnodelist.h363 void rb_replace_node(struct rb_node *victim, struct rb_node *new, struct rb_root *root);

Completed in 133 milliseconds