/Linux-v5.10/fs/cachefiles/ |
D | xattr.c | 32 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_type() 51 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type() 63 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type() 83 d_backing_inode(dentry)->i_ino); in cachefiles_check_object_type() 90 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type() 167 ASSERT(d_backing_inode(dentry)); in cachefiles_check_auxdata() 183 i_size_read(d_backing_inode(dentry))); in cachefiles_check_auxdata() 207 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_xattr() 228 d_backing_inode(dentry)->i_ino, -ret); in cachefiles_check_object_xattr() 253 i_size_read(d_backing_inode(dentry))); in cachefiles_check_object_xattr() [all …]
|
D | namei.c | 261 struct inode *inode = d_backing_inode(dentry); in cachefiles_mark_object_inactive() 444 ASSERT(d_backing_inode(object->dentry)); in cachefiles_delete_object() 504 ASSERT(d_backing_inode(parent->dentry)); in cachefiles_walk_to_object() 538 inode = d_backing_inode(next); in cachefiles_walk_to_object() 576 ASSERT(d_backing_inode(next)); in cachefiles_walk_to_object() 579 next, d_backing_inode(next), d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() 583 d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() 606 ASSERT(d_backing_inode(next)); in cachefiles_walk_to_object() 609 next, d_backing_inode(next), d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() 615 d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() [all …]
|
D | security.c | 54 ret = security_inode_mkdir(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 61 ret = security_inode_create(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 94 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security()
|
D | bind.c | 124 !d_backing_inode(root)->i_op->lookup || in cachefiles_daemon_add_cache() 125 !d_backing_inode(root)->i_op->mkdir || in cachefiles_daemon_add_cache() 126 !(d_backing_inode(root)->i_opflags & IOP_XATTR) || in cachefiles_daemon_add_cache()
|
D | rdwr.c | 80 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_reissue() 85 d_backing_inode(object->backer)->i_ino, in cachefiles_read_reissue() 164 _enter("{ino=%lu}", d_backing_inode(object->backer)->i_ino); in cachefiles_read_copier() 254 bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_backing_file_one() 414 inode = d_backing_inode(object->backer); in cachefiles_read_or_alloc_page() 472 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_backing_file() 714 inode = d_backing_inode(object->backer); in cachefiles_read_or_alloc_pages()
|
D | interface.c | 294 inode = d_backing_inode(object->dentry); in cachefiles_drop_object() 459 oi_size = i_size_read(d_backing_inode(object->backer)); in cachefiles_attr_changed()
|
/Linux-v5.10/security/integrity/evm/ |
D | evm_main.c | 95 struct inode *inode = d_backing_inode(dentry); in evm_find_protected_xattrs() 203 inode = d_backing_inode(dentry); in evm_verify_hmac() 282 iint = integrity_iint_find(d_backing_inode(dentry)); in evm_verifyxattr() 300 struct inode *inode = d_backing_inode(dentry); in evm_verify_current_integrity() 341 iint = integrity_iint_find(d_backing_inode(dentry)); in evm_protect_xattr() 358 integrity_audit_msg(AUDIT_INTEGRITY_METADATA, d_backing_inode(dentry), in evm_protect_xattr() 497 integrity_audit_msg(AUDIT_INTEGRITY_METADATA, d_backing_inode(dentry), in evm_inode_setattr()
|
D | evm_crypto.c | 190 struct inode *inode = d_backing_inode(dentry); in evm_calc_hmac_or_hash() 303 struct inode *inode = d_backing_inode(dentry); in evm_update_evmxattr()
|
/Linux-v5.10/security/tomoyo/ |
D | realpath.c | 103 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path() 133 struct inode *inode = d_backing_inode(dentry); in tomoyo_get_dentry_path() 180 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path() 264 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()
|
/Linux-v5.10/security/ |
D | security.c | 1076 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mknod() 1084 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mkdir() 1092 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_rmdir() 1099 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_unlink() 1108 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_symlink() 1116 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)))) in security_path_link() 1125 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) || in security_path_rename() 1126 (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) in security_path_rename() 1143 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) in security_path_truncate() 1150 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) in security_path_chmod() [all …]
|
D | commoncap.c | 297 struct inode *inode = d_backing_inode(dentry); in cap_inode_need_killpriv() 482 struct inode *inode = d_backing_inode(dentry); in cap_convert_nscap() 573 struct inode *inode = d_backing_inode(dentry); in get_vfs_caps_from_disk() 957 struct inode *inode = d_backing_inode(dentry); in cap_inode_removexattr()
|
D | lsm_audit.c | 238 inode = d_backing_inode(a->u.path.dentry); in dump_common_audit_data() 283 inode = d_backing_inode(a->u.dentry); in dump_common_audit_data()
|
/Linux-v5.10/security/integrity/ima/ |
D | ima_appraise.c | 373 struct inode *inode = d_backing_inode(dentry); in ima_appraise_measurement() 508 struct inode *inode = d_backing_inode(dentry); in ima_inode_post_setattr() 572 ima_reset_appraise_flags(d_backing_inode(dentry), in ima_inode_setxattr() 585 ima_reset_appraise_flags(d_backing_inode(dentry), 0); in ima_inode_removexattr()
|
/Linux-v5.10/kernel/ |
D | audit_watch.c | 138 struct inode *inode = d_backing_inode(path->dentry); in audit_init_parent() 355 watch->ino = d_backing_inode(d)->i_ino; in audit_get_nd() 357 inode_unlock(d_backing_inode(parent->dentry)); in audit_get_nd() 427 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch()
|
/Linux-v5.10/security/smack/ |
D | smack_lsm.c | 774 struct inode *inode = d_backing_inode(root); in smack_set_mnt_opts() 1030 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link() 1032 rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_WRITE, rc); in smack_inode_link() 1035 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link() 1038 rc = smk_bu_inode(d_backing_inode(new_dentry), MAY_WRITE, rc); in smack_inode_link() 1054 struct inode *ip = d_backing_inode(dentry); in smack_inode_unlink() 1097 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_rmdir() 1098 rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc); in smack_inode_rmdir() 1136 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_rename() 1138 rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_READWRITE, rc); in smack_inode_rename() [all …]
|
/Linux-v5.10/include/linux/ |
D | dcache.h | 547 static inline struct inode *d_backing_inode(const struct dentry *upper) in d_backing_inode() function 598 return d_backing_inode(d_real((struct dentry *) dentry, NULL)); in d_real_inode()
|
/Linux-v5.10/fs/udf/ |
D | symlink.c | 159 struct inode *inode = d_backing_inode(dentry); in udf_symlink_getattr()
|
/Linux-v5.10/security/apparmor/ |
D | file.c | 150 if (d_unlinked(dentry) && d_backing_inode(dentry)->i_nlink == 0) in is_deleted() 461 d_backing_inode(old_dentry)->i_uid, in aa_path_link() 462 d_backing_inode(old_dentry)->i_mode in aa_path_link()
|
D | lsm.c | 227 struct path_cond cond = { d_backing_inode(path->dentry)->i_uid, in common_perm_cond() 228 d_backing_inode(path->dentry)->i_mode in common_perm_cond() 268 struct inode *inode = d_backing_inode(dentry); in common_perm_rm() 368 struct path_cond cond = { d_backing_inode(old_dentry)->i_uid, in apparmor_path_rename() 369 d_backing_inode(old_dentry)->i_mode in apparmor_path_rename()
|
/Linux-v5.10/kernel/bpf/ |
D | inode.c | 509 inode = d_backing_inode(path.dentry); in bpf_obj_do_get() 592 prog = __get_prog_inode(d_backing_inode(path.dentry), type); in bpf_prog_get_type_path()
|
/Linux-v5.10/fs/ |
D | open.c | 427 inode = d_backing_inode(path.dentry); in do_faccessat() 891 return do_dentry_open(file, d_backing_inode(dentry), open); in finish_open() 931 return do_dentry_open(file, d_backing_inode(path->dentry), NULL); in vfs_open()
|
D | fs_parser.c | 176 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) { in fs_lookup_param()
|
D | stat.c | 70 struct inode *inode = d_backing_inode(path->dentry); in vfs_getattr_nosec() 409 struct inode *inode = d_backing_inode(path.dentry); in do_readlinkat()
|
/Linux-v5.10/net/unix/ |
D | diag.c | 32 .udiag_vfs_ino = d_backing_inode(dentry)->i_ino, in sk_diag_dump_vfs()
|
/Linux-v5.10/fs/exfat/ |
D | file.c | 273 struct inode *inode = d_backing_inode(path->dentry); in exfat_getattr()
|