Lines Matching refs:child
24 static void inherit_derived_state(struct inode *parent, struct inode *child) in inherit_derived_state() argument
27 struct sdcardfs_inode_info *ci = SDCARDFS_I(child); in inherit_derived_state()
281 struct dentry *child; in __fixup_perms_recursive() local
298 list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) { in __fixup_perms_recursive()
299 spin_lock_nested(&child->d_lock, depth + 1); in __fixup_perms_recursive()
300 if (!(limit->flags & BY_NAME) || qstr_case_eq(&child->d_name, &limit->name)) { in __fixup_perms_recursive()
301 if (child->d_inode) { in __fixup_perms_recursive()
302 get_derived_permission(dentry, child); in __fixup_perms_recursive()
303 fixup_tmp_permissions(child->d_inode); in __fixup_perms_recursive()
304 spin_unlock(&child->d_lock); in __fixup_perms_recursive()
308 spin_unlock(&child->d_lock); in __fixup_perms_recursive()
311 list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) { in __fixup_perms_recursive()
312 __fixup_perms_recursive(child, limit, depth + 1); in __fixup_perms_recursive()