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()
290 struct dentry *child; in __fixup_perms_recursive() local
307 list_for_each_entry(child, &dentry->d_subdirs, d_child) { in __fixup_perms_recursive()
308 spin_lock_nested(&child->d_lock, depth + 1); in __fixup_perms_recursive()
309 if (!(limit->flags & BY_NAME) || qstr_case_eq(&child->d_name, &limit->name)) { in __fixup_perms_recursive()
310 if (d_inode(child)) { in __fixup_perms_recursive()
311 get_derived_permission(dentry, child); in __fixup_perms_recursive()
312 fixup_tmp_permissions(d_inode(child)); in __fixup_perms_recursive()
313 spin_unlock(&child->d_lock); in __fixup_perms_recursive()
317 spin_unlock(&child->d_lock); in __fixup_perms_recursive()
320 list_for_each_entry(child, &dentry->d_subdirs, d_child) { in __fixup_perms_recursive()
321 __fixup_perms_recursive(child, limit, depth + 1); in __fixup_perms_recursive()