Searched refs:victim (Results 1 – 4 of 4) sorted by relevance
/fs/sysfs/ |
D | file.c | 581 struct dentry *victim = NULL; in sysfs_chmod_file() local 592 victim = sysfs_get_dentry(victim_sd); in sysfs_chmod_file() 594 if (IS_ERR(victim)) { in sysfs_chmod_file() 595 rc = PTR_ERR(victim); in sysfs_chmod_file() 596 victim = NULL; in sysfs_chmod_file() 600 inode = victim->d_inode; in sysfs_chmod_file() 607 rc = sysfs_setattr(victim, &newattrs); in sysfs_chmod_file() 610 fsnotify_change(victim, newattrs.ia_valid); in sysfs_chmod_file() 618 dput(victim); in sysfs_chmod_file()
|
/fs/ |
D | namei.c | 1351 static int may_delete(struct inode *dir,struct dentry *victim,int isdir) in may_delete() argument 1355 if (!victim->d_inode) in may_delete() 1358 BUG_ON(victim->d_parent->d_inode != dir); in may_delete() 1359 audit_inode_child(victim->d_name.name, victim, dir); in may_delete() 1366 if (check_sticky(dir, victim->d_inode)||IS_APPEND(victim->d_inode)|| in may_delete() 1367 IS_IMMUTABLE(victim->d_inode) || IS_SWAPFILE(victim->d_inode)) in may_delete() 1370 if (!S_ISDIR(victim->d_inode->i_mode)) in may_delete() 1372 if (IS_ROOT(victim)) in may_delete() 1374 } else if (S_ISDIR(victim->d_inode->i_mode)) in may_delete() 1378 if (victim->d_flags & DCACHE_NFSFS_RENAMED) in may_delete()
|
D | block_dev.c | 1172 struct block_device *victim = NULL; in __blkdev_put() local 1197 victim = bdev->bd_contains; in __blkdev_put() 1203 if (victim) in __blkdev_put() 1204 __blkdev_put(victim, mode, 1); in __blkdev_put()
|
/fs/ocfs2/ |
D | suballoc.c | 1476 u16 victim, i; in ocfs2_claim_suballoc_bits() local 1529 victim = ocfs2_find_victim_chain(cl); in ocfs2_claim_suballoc_bits() 1530 ac->ac_chain = victim; in ocfs2_claim_suballoc_bits() 1543 "trying all chains now.\n", victim); in ocfs2_claim_suballoc_bits() 1551 if (i == victim) in ocfs2_claim_suballoc_bits()
|