Home
last modified time | relevance | path

Searched refs:fs_dir (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/virt/coco/efi_secret/
H A Defi_secret.c34 struct dentry *fs_dir; member
204 securityfs_remove(s->fs_dir); in efi_secret_securityfs_teardown()
205 s->fs_dir = NULL; in efi_secret_securityfs_teardown()
243 s->fs_dir = NULL; in efi_secret_securityfs_setup()
261 s->fs_dir = dent; in efi_secret_securityfs_setup()
277 dent = securityfs_create_file(guid_str, 0440, s->fs_dir, (void *)e, in efi_secret_securityfs_setup()
/linux/security/apparmor/
H A Dapparmorfs.c2460 static void __init entry_remove_dir(struct aa_sfs_entry *fs_dir);
2463 * @fs_dir: aa_sfs_entry (and all child entries) to build (NOT NULL)
2468 static int __init entry_create_dir(struct aa_sfs_entry *fs_dir, in entry_create_dir()
2475 dir = securityfs_create_dir(fs_dir->name, parent); in entry_create_dir()
2478 fs_dir->dentry = dir; in entry_create_dir()
2480 for (fs_file = fs_dir->v.files; fs_file && fs_file->name; ++fs_file) { in entry_create_dir()
2482 error = entry_create_dir(fs_file, fs_dir->dentry); in entry_create_dir()
2484 error = entry_create_file(fs_file, fs_dir->dentry); in entry_create_dir()
2492 entry_remove_dir(fs_dir); in entry_create_dir()
2512 * @fs_dir
2467 entry_create_dir(struct aa_sfs_entry * fs_dir,struct dentry * parent) entry_create_dir() argument
2513 entry_remove_dir(struct aa_sfs_entry * fs_dir) entry_remove_dir() argument
[all...]