Home
last modified time | relevance | path

Searched refs:parent_path (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/powerpc/platforms/pseries/
Dof_helpers.c21 char *parent_path = "/"; in pseries_of_derive_parent() local
32 parent_path = kstrndup(path, tail - path, GFP_KERNEL); in pseries_of_derive_parent()
33 if (!parent_path) in pseries_of_derive_parent()
36 parent = of_find_node_by_path(parent_path); in pseries_of_derive_parent()
37 if (strcmp(parent_path, "/")) in pseries_of_derive_parent()
38 kfree(parent_path); in pseries_of_derive_parent()
/linux-6.12.1/fs/smb/server/
Dvfs.c70 struct path *parent_path, in ksmbd_vfs_path_lookup_locked() argument
91 parent_path, &last, &type, in ksmbd_vfs_path_lookup_locked()
99 path_put(parent_path); in ksmbd_vfs_path_lookup_locked()
104 err = mnt_want_write(parent_path->mnt); in ksmbd_vfs_path_lookup_locked()
106 path_put(parent_path); in ksmbd_vfs_path_lookup_locked()
111 inode_lock_nested(parent_path->dentry->d_inode, I_MUTEX_PARENT); in ksmbd_vfs_path_lookup_locked()
112 d = lookup_one_qstr_excl(&last, parent_path->dentry, 0); in ksmbd_vfs_path_lookup_locked()
122 path->mnt = mntget(parent_path->mnt); in ksmbd_vfs_path_lookup_locked()
136 inode_unlock(d_inode(parent_path->dentry)); in ksmbd_vfs_path_lookup_locked()
137 mnt_drop_write(parent_path->mnt); in ksmbd_vfs_path_lookup_locked()
[all …]
Dvfs.h120 unsigned int flags, struct path *parent_path,
122 void ksmbd_vfs_kern_path_unlock(struct path *parent_path, struct path *path);
Dsmb2pdu.c2567 static int smb2_creat(struct ksmbd_work *work, struct path *parent_path, in smb2_creat() argument
2596 rc = ksmbd_vfs_kern_path_locked(work, name, 0, parent_path, path, 0); in smb2_creat()
2825 struct path path, parent_path; in smb2_open() local
3079 &parent_path, &path, 1); in smb2_open()
3200 rc = smb2_creat(work, &parent_path, &path, name, open_flags, in smb2_open()
3405 ksmbd_vfs_kern_path_unlock(&parent_path, &path); in smb2_open()
3677 ksmbd_vfs_kern_path_unlock(&parent_path, &path); in smb2_open()
5915 struct path path, parent_path; in smb2_create_link() local
5945 &parent_path, &path, 0); in smb2_create_link()
5975 ksmbd_vfs_kern_path_unlock(&parent_path, &path); in smb2_create_link()
/linux-6.12.1/kernel/
Daudit_watch.c404 struct path parent_path; in audit_add_watch() local
417 ret = audit_get_nd(watch, &parent_path); in audit_add_watch()
428 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch()
430 parent = audit_init_parent(&parent_path); in audit_add_watch()
442 path_put(&parent_path); in audit_add_watch()
/linux-6.12.1/drivers/acpi/acpica/
Ddbcmds.c760 char *parent_path; in acpi_db_device_resources() local
765 parent_path = acpi_ns_get_normalized_pathname(node, TRUE); in acpi_db_device_resources()
766 if (!parent_path) { in acpi_db_device_resources()
785 acpi_os_printf("\nDevice: %s\n", parent_path); in acpi_db_device_resources()
961 ACPI_FREE(parent_path); in acpi_db_device_resources()
/linux-6.12.1/tools/cgroup/
Diocost_monitor.py72 def walk(self, blkcg, q_id, parent_path): argument
78 path = parent_path + '/' + name if parent_path else name