Home
last modified time | relevance | path

Searched refs:d_backing_inode (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v4.19/fs/cachefiles/
Dxattr.c36 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 …]
Dnamei.c264 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 …]
Dsecurity.c58 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()
Dbind.c128 !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()
Drdwr.c84 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()
Dinterface.c298 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/
Devm_main.c97 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()
Devm_crypto.c195 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/
Dsecurity.c525 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 …]
Dcommoncap.c304 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()
Dlsm_audit.c240 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/
Drealpath.c101 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/
Daudit_watch.c151 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()
Daudit_tree.c626 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/
Dima_appraise.c220 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/
Dsmack_lsm.c757 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/
Ddcache.h541 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/
Dsymlink.c159 struct inode *inode = d_backing_inode(dentry); in udf_symlink_getattr()
/Linux-v4.19/security/apparmor/
Dfile.c165 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()
Dlsm.c223 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/
Dinode.c462 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/
Dopen.c382 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()
Dstat.c72 struct inode *inode = d_backing_inode(path->dentry); in vfs_getattr_nosec()
396 struct inode *inode = d_backing_inode(path.dentry); in do_readlinkat()
Dnamei.c1582 *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/
Ddiag.c28 .udiag_vfs_ino = d_backing_inode(dentry)->i_ino, in sk_diag_dump_vfs()

12