/Linux-v4.19/fs/cachefiles/ |
D | xattr.c | 36 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_type() 55 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type() 67 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type() 87 d_backing_inode(dentry)->i_ino); in cachefiles_check_object_type() 94 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type() 170 ASSERT(d_backing_inode(dentry)); in cachefiles_check_auxdata() 186 i_size_read(d_backing_inode(dentry))); in cachefiles_check_auxdata() 210 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_xattr() 231 d_backing_inode(dentry)->i_ino, -ret); in cachefiles_check_object_xattr() 256 i_size_read(d_backing_inode(dentry))); in cachefiles_check_object_xattr() [all …]
|
D | namei.c | 264 struct inode *inode = d_backing_inode(dentry); in cachefiles_mark_object_inactive() 447 ASSERT(d_backing_inode(object->dentry)); in cachefiles_delete_object() 507 ASSERT(d_backing_inode(parent->dentry)); in cachefiles_walk_to_object() 541 inode = d_backing_inode(next); in cachefiles_walk_to_object() 579 ASSERT(d_backing_inode(next)); in cachefiles_walk_to_object() 582 next, d_backing_inode(next), d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() 586 d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() 609 ASSERT(d_backing_inode(next)); in cachefiles_walk_to_object() 612 next, d_backing_inode(next), d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() 618 d_backing_inode(next)->i_ino); in cachefiles_walk_to_object() [all …]
|
D | security.c | 58 ret = security_inode_mkdir(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 65 ret = security_inode_create(d_backing_inode(root), root, 0); in cachefiles_check_cache_dir() 98 ret = set_create_files_as(new, d_backing_inode(root)); in cachefiles_determine_cache_security()
|
D | bind.c | 128 !d_backing_inode(root)->i_op->lookup || in cachefiles_daemon_add_cache() 129 !d_backing_inode(root)->i_op->mkdir || in cachefiles_daemon_add_cache() 130 !(d_backing_inode(root)->i_opflags & IOP_XATTR) || in cachefiles_daemon_add_cache()
|
D | rdwr.c | 84 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_reissue() 89 d_backing_inode(object->backer)->i_ino, in cachefiles_read_reissue() 167 _enter("{ino=%lu}", d_backing_inode(object->backer)->i_ino); in cachefiles_read_copier() 257 bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_backing_file_one() 417 inode = d_backing_inode(object->backer); in cachefiles_read_or_alloc_page() 474 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_backing_file() 710 inode = d_backing_inode(object->backer); in cachefiles_read_or_alloc_pages()
|
D | interface.c | 298 inode = d_backing_inode(object->dentry); in cachefiles_drop_object() 463 oi_size = i_size_read(d_backing_inode(object->backer)); in cachefiles_attr_changed()
|
/Linux-v4.19/security/integrity/evm/ |
D | evm_main.c | 97 struct inode *inode = d_backing_inode(dentry); in evm_find_protected_xattrs() 199 inode = d_backing_inode(dentry); in evm_verify_hmac() 278 iint = integrity_iint_find(d_backing_inode(dentry)); in evm_verifyxattr() 296 struct inode *inode = d_backing_inode(dentry); in evm_verify_current_integrity() 337 iint = integrity_iint_find(d_backing_inode(dentry)); in evm_protect_xattr() 354 integrity_audit_msg(AUDIT_INTEGRITY_METADATA, d_backing_inode(dentry), in evm_protect_xattr() 493 integrity_audit_msg(AUDIT_INTEGRITY_METADATA, d_backing_inode(dentry), in evm_inode_setattr()
|
D | evm_crypto.c | 195 struct inode *inode = d_backing_inode(dentry); in evm_calc_hmac_or_hash() 308 struct inode *inode = d_backing_inode(dentry); in evm_update_evmxattr()
|
/Linux-v4.19/security/ |
D | security.c | 525 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mknod() 533 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mkdir() 541 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_rmdir() 548 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_unlink() 557 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_symlink() 565 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)))) in security_path_link() 574 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) || in security_path_rename() 575 (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) in security_path_rename() 592 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) in security_path_truncate() 599 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) in security_path_chmod() [all …]
|
D | commoncap.c | 304 struct inode *inode = d_backing_inode(dentry); in cap_inode_need_killpriv() 489 struct inode *inode = d_backing_inode(dentry); in cap_convert_nscap() 580 struct inode *inode = d_backing_inode(dentry); in get_vfs_caps_from_disk() 963 struct inode *inode = d_backing_inode(dentry); in cap_inode_removexattr()
|
D | lsm_audit.c | 240 inode = d_backing_inode(a->u.path.dentry); in dump_common_audit_data() 282 inode = d_backing_inode(a->u.dentry); in dump_common_audit_data()
|
/Linux-v4.19/security/tomoyo/ |
D | realpath.c | 101 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path() 129 struct inode *inode = d_backing_inode(dentry); in tomoyo_get_dentry_path() 172 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path() 223 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_socket_name() 281 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()
|
/Linux-v4.19/kernel/ |
D | audit_watch.c | 151 struct inode *inode = d_backing_inode(path->dentry); in audit_init_parent() 369 inode_unlock(d_backing_inode(parent->dentry)); in audit_get_nd() 373 watch->ino = d_backing_inode(d)->i_ino; in audit_get_nd() 444 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch() 500 inode = d_backing_inode(((const struct path *)data)->dentry); in audit_watch_handle_event()
|
D | audit_tree.c | 626 return inode_to_key(d_backing_inode(mnt->mnt_root)) == in compare_root() 700 return tag_chunk(d_backing_inode(mnt->mnt_root), arg); in tag_mount()
|
/Linux-v4.19/security/integrity/ima/ |
D | ima_appraise.c | 220 struct inode *inode = d_backing_inode(dentry); in ima_appraise_measurement() 385 struct inode *inode = d_backing_inode(dentry); in ima_inode_post_setattr() 449 ima_reset_appraise_flags(d_backing_inode(dentry), in ima_inode_setxattr() 462 ima_reset_appraise_flags(d_backing_inode(dentry), 0); in ima_inode_removexattr()
|
/Linux-v4.19/security/smack/ |
D | smack_lsm.c | 757 struct inode *inode = d_backing_inode(root); in smack_set_mnt_opts() 1087 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link() 1089 rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_WRITE, rc); in smack_inode_link() 1092 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link() 1095 rc = smk_bu_inode(d_backing_inode(new_dentry), MAY_WRITE, rc); in smack_inode_link() 1111 struct inode *ip = d_backing_inode(dentry); in smack_inode_unlink() 1154 rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad); in smack_inode_rmdir() 1155 rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc); in smack_inode_rmdir() 1193 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_rename() 1195 rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_READWRITE, rc); in smack_inode_rename() [all …]
|
/Linux-v4.19/include/linux/ |
D | dcache.h | 541 static inline struct inode *d_backing_inode(const struct dentry *upper) in d_backing_inode() function 592 return d_backing_inode(d_real((struct dentry *) dentry, NULL)); in d_real_inode()
|
/Linux-v4.19/fs/udf/ |
D | symlink.c | 159 struct inode *inode = d_backing_inode(dentry); in udf_symlink_getattr()
|
/Linux-v4.19/security/apparmor/ |
D | file.c | 165 if (d_unlinked(dentry) && d_backing_inode(dentry)->i_nlink == 0) in is_deleted() 474 d_backing_inode(old_dentry)->i_uid, in aa_path_link() 475 d_backing_inode(old_dentry)->i_mode in aa_path_link()
|
D | lsm.c | 223 struct path_cond cond = { d_backing_inode(path->dentry)->i_uid, in common_perm_cond() 224 d_backing_inode(path->dentry)->i_mode in common_perm_cond() 264 struct inode *inode = d_backing_inode(dentry); in common_perm_rm() 364 struct path_cond cond = { d_backing_inode(old_dentry)->i_uid, in apparmor_path_rename() 365 d_backing_inode(old_dentry)->i_mode in apparmor_path_rename()
|
/Linux-v4.19/kernel/bpf/ |
D | inode.c | 462 inode = d_backing_inode(path.dentry); in bpf_obj_do_get() 549 prog = __get_prog_inode(d_backing_inode(path.dentry), type); in bpf_prog_get_type_path()
|
/Linux-v4.19/fs/ |
D | open.c | 382 inode = d_backing_inode(path.dentry); in do_faccessat() 840 return do_dentry_open(file, d_backing_inode(dentry), open); in finish_open() 880 return do_dentry_open(file, d_backing_inode(path->dentry), NULL); in vfs_open()
|
D | stat.c | 72 struct inode *inode = d_backing_inode(path->dentry); in vfs_getattr_nosec() 396 struct inode *inode = d_backing_inode(path.dentry); in do_readlinkat()
|
D | namei.c | 1582 *inode = d_backing_inode(dentry); in lookup_fast() 1637 *inode = d_backing_inode(path->dentry); in lookup_fast() 1826 inode = d_backing_inode(path.dentry); in walk_component() 2296 inode = d_backing_inode(path.dentry); in handle_lookup_down() 2676 return step_into(nd, &path, 0, d_backing_inode(path.dentry), 0); in mountpoint_last() 2792 struct inode *inode = d_backing_inode(victim); in may_delete() 3381 inode = d_backing_inode(path.dentry); in do_last() 3397 d_backing_inode(nd->path.dentry)); in do_last()
|
/Linux-v4.19/net/unix/ |
D | diag.c | 28 .udiag_vfs_ino = d_backing_inode(dentry)->i_ino, in sk_diag_dump_vfs()
|