Searched refs:parent_path (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | of_helpers.c | 21 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-v4.19/kernel/ |
D | audit_watch.c | 420 struct path parent_path; in audit_add_watch() local 433 ret = audit_get_nd(watch, &parent_path); in audit_add_watch() 444 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch() 446 parent = audit_init_parent(&parent_path); in audit_add_watch() 458 path_put(&parent_path); in audit_add_watch()
|
/Linux-v4.19/drivers/acpi/acpica/ |
D | dbcmds.c | 760 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-v4.19/fs/ |
D | namespace.c | 1945 struct path *parent_path) in attach_recursive_mnt() argument 1962 if (!parent_path) { in attach_recursive_mnt() 1981 if (parent_path) { in attach_recursive_mnt() 1982 detach_mnt(source_mnt, parent_path); in attach_recursive_mnt() 2302 struct path old_path, parent_path; in do_move_mount() local 2354 err = attach_recursive_mnt(old, real_mount(path->mnt), mp, &parent_path); in do_move_mount() 2365 path_put(&parent_path); in do_move_mount() 3073 struct path new, old, parent_path, root_parent, root; in SYSCALL_DEFINE2() local 3135 detach_mnt(new_mnt, &parent_path); in SYSCALL_DEFINE2() 3156 path_put(&parent_path); in SYSCALL_DEFINE2()
|