Home
last modified time | relevance | path

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

12

/linux/fs/cachefiles/
A Dxattr.c32 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_type()
51 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
64 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
84 d_backing_inode(dentry)->i_ino); in cachefiles_check_object_type()
91 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
166 ASSERT(d_backing_inode(dentry)); in cachefiles_check_auxdata()
206 ASSERT(d_backing_inode(dentry)); in cachefiles_check_object_xattr()
227 d_backing_inode(dentry)->i_ino, -ret); in cachefiles_check_object_xattr()
252 i_size_read(d_backing_inode(dentry))); in cachefiles_check_object_xattr()
279 d_backing_inode(dentry)->i_ino, -ret); in cachefiles_check_object_xattr()
[all …]
A Dnamei.c450 ASSERT(d_backing_inode(object->dentry)); in cachefiles_delete_object()
509 ASSERT(d_backing_inode(parent->dentry)); in cachefiles_walk_to_object()
541 inode = d_backing_inode(next); in cachefiles_walk_to_object()
577 ASSERT(d_backing_inode(next)); in cachefiles_walk_to_object()
584 d_backing_inode(next)->i_ino); in cachefiles_walk_to_object()
606 ASSERT(d_backing_inode(next)); in cachefiles_walk_to_object()
615 d_backing_inode(next)->i_ino); in cachefiles_walk_to_object()
799 ASSERT(d_backing_inode(subdir)); in cachefiles_get_directory()
808 ASSERT(d_backing_inode(subdir)); in cachefiles_get_directory()
819 !d_backing_inode(subdir)->i_op->mkdir || in cachefiles_get_directory()
[all …]
A Dsecurity.c54 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()
A Drdwr.c79 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_reissue()
84 d_backing_inode(object->backer)->i_ino, in cachefiles_read_reissue()
163 _enter("{ino=%lu}", d_backing_inode(object->backer)->i_ino); in cachefiles_read_copier()
253 bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_backing_file_one()
413 inode = d_backing_inode(object->backer); in cachefiles_read_or_alloc_page()
470 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_backing_file()
712 inode = d_backing_inode(object->backer); in cachefiles_read_or_alloc_pages()
A 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()
A Dinterface.c294 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/security/integrity/evm/
A Devm_main.c139 struct inode *inode = d_backing_inode(dentry); in evm_find_protected_xattrs()
249 inode = d_backing_inode(dentry); in evm_verify_hmac()
346 rc = __vfs_getxattr(dentry, d_backing_inode(dentry), in evm_read_protected_xattrs()
376 d_backing_inode(dentry), xattr->name, in evm_read_protected_xattrs()
418 iint = integrity_iint_find(d_backing_inode(dentry)); in evm_verifyxattr()
436 struct inode *inode = d_backing_inode(dentry); in evm_verify_current_integrity()
462 struct inode *inode = d_backing_inode(dentry); in evm_xattr_acl_change()
568 iint = integrity_iint_find(d_backing_inode(dentry)); in evm_protect_xattr()
603 integrity_audit_msg(AUDIT_INTEGRITY_METADATA, d_backing_inode(dentry), in evm_protect_xattr()
760 struct inode *inode = d_backing_inode(dentry); in evm_attr_change()
[all …]
A Devm_crypto.c219 struct inode *inode = d_backing_inode(dentry); in evm_calc_hmac_or_hash()
362 struct inode *inode = d_backing_inode(dentry); in evm_update_evmxattr()
/linux/security/tomoyo/
A Drealpath.c103 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/security/
A Dsecurity.c1171 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)))) in security_path_link()
1234 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)))) in security_inode_link()
1241 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_unlink()
1264 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_rmdir()
1297 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_readlink()
1321 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_setattr()
1343 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_setxattr()
1365 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_post_setxattr()
1373 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_getxattr()
1380 if (unlikely(IS_PRIVATE(d_backing_inode(dentry)))) in security_inode_listxattr()
[all …]
A Dcommoncap.c297 struct inode *inode = d_backing_inode(dentry); in cap_inode_need_killpriv()
544 struct inode *inode = d_backing_inode(dentry); in cap_convert_nscap()
648 struct inode *inode = d_backing_inode(dentry); in get_vfs_caps_from_disk()
1045 struct inode *inode = d_backing_inode(dentry); in cap_inode_removexattr()
A Dlsm_audit.c237 inode = d_backing_inode(a->u.path.dentry); in dump_common_audit_data()
281 inode = d_backing_inode(a->u.dentry); in dump_common_audit_data()
/linux/security/landlock/
A Dfs.c167 object = get_inode_object(d_backing_inode(path->dentry)); in landlock_append_fs_rule()
195 inode = d_backing_inode(path->dentry); in unmask_layers()
247 unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))) in check_access_path()
563 get_mode_access(d_backing_inode(old_dentry)->i_mode)); in hook_path_link()
593 get_mode_access(d_backing_inode(old_dentry)->i_mode)); in hook_path_rename()
A Dsyscalls.c263 IS_PRIVATE(d_backing_inode(f.file->f_path.dentry))) { in get_path_from_fd()
/linux/kernel/
A Daudit_watch.c138 struct inode *inode = d_backing_inode(path->dentry); in audit_init_parent()
356 watch->ino = d_backing_inode(d)->i_ino; in audit_get_nd()
358 inode_unlock(d_backing_inode(parent->dentry)); in audit_get_nd()
428 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch()
/linux/security/smack/
A Dsmack_lsm.c759 struct inode *inode = d_backing_inode(root); in smack_set_mnt_opts()
1015 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_link()
1020 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_link()
1039 struct inode *ip = d_backing_inode(dentry); in smack_inode_unlink()
1083 rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc); in smack_inode_rmdir()
1121 isp = smk_of_inode(d_backing_inode(old_dentry)); in smack_inode_rename()
1126 isp = smk_of_inode(d_backing_inode(new_dentry)); in smack_inode_rename()
1193 rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc); in smack_inode_setattr()
1206 struct inode *inode = d_backing_inode(path->dentry); in smack_inode_getattr()
1339 rc = smk_bu_inode(d_backing_inode(dentry), MAY_READ, rc); in smack_inode_getxattr()
[all …]
/linux/security/integrity/ima/
A Dima_appraise.c385 struct inode *inode = d_backing_inode(dentry); in ima_appraise_measurement()
529 struct inode *inode = d_backing_inode(dentry); in ima_inode_post_setattr()
661 ima_reset_appraise_flags(d_backing_inode(dentry), digsig); in ima_inode_setxattr()
672 ima_reset_appraise_flags(d_backing_inode(dentry), 0); in ima_inode_removexattr()
/linux/include/linux/
A Ddcache.h551 static inline struct inode *d_backing_inode(const struct dentry *upper) in d_backing_inode() function
602 return d_backing_inode(d_real((struct dentry *) dentry, NULL)); in d_real_inode()
/linux/security/apparmor/
A Dfile.c152 if (d_unlinked(dentry) && d_backing_inode(dentry)->i_nlink == 0) in is_deleted()
463 d_backing_inode(old_dentry)->i_uid, in aa_path_link()
464 d_backing_inode(old_dentry)->i_mode in aa_path_link()
A Dlsm.c229 i_uid_into_mnt(mnt_userns, d_backing_inode(path->dentry)), in common_perm_cond()
230 d_backing_inode(path->dentry)->i_mode in common_perm_cond()
270 struct inode *inode = d_backing_inode(dentry); in common_perm_rm()
373 i_uid_into_mnt(mnt_userns, d_backing_inode(old_dentry)), in apparmor_path_rename()
374 d_backing_inode(old_dentry)->i_mode in apparmor_path_rename()
/linux/fs/udf/
A Dsymlink.c160 struct inode *inode = d_backing_inode(dentry); in udf_symlink_getattr()
/linux/kernel/bpf/
A Dinode.c510 inode = d_backing_inode(path.dentry); in bpf_obj_do_get()
593 prog = __get_prog_inode(d_backing_inode(path.dentry), type); in bpf_prog_get_type_path()
/linux/fs/
A Dopen.c425 inode = d_backing_inode(path.dentry); in do_faccessat()
917 return do_dentry_open(file, d_backing_inode(dentry), open); in finish_open()
957 return do_dentry_open(file, d_backing_inode(path->dentry), NULL); in vfs_open()
A Dfs_parser.c175 !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) { in fs_lookup_param()
/linux/net/unix/
A Ddiag.c32 .udiag_vfs_ino = d_backing_inode(dentry)->i_ino, in sk_diag_dump_vfs()

Completed in 56 milliseconds

12