Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/jz4740/
Dclock-debugfs.c79 char parent_path[100]; in jz4740_clock_debugfs_add_clk() local
80 snprintf(parent_path, 100, "../%s", clk->parent->name); in jz4740_clock_debugfs_add_clk()
83 parent_path); in jz4740_clock_debugfs_add_clk()
93 char parent_path[100]; in jz4740_clock_debugfs_update_parent() local
94 snprintf(parent_path, 100, "../%s", clk->parent->name); in jz4740_clock_debugfs_update_parent()
97 parent_path); in jz4740_clock_debugfs_update_parent()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Ddlpar.c141 const char *parent_path = parent->full_name; in dlpar_configure_connector() local
175 dn = dlpar_parse_cc_node(ccwa, parent_path); in dlpar_configure_connector()
186 parent_path = last_dn->full_name; in dlpar_configure_connector()
188 dn = dlpar_parse_cc_node(ccwa, parent_path); in dlpar_configure_connector()
219 parent_path = last_dn->parent->full_name; in dlpar_configure_connector()
256 char *parent_path; in derive_parent() local
258 parent_path = kmalloc(parent_path_len, GFP_KERNEL); in derive_parent()
259 if (!parent_path) in derive_parent()
262 strlcpy(parent_path, path, parent_path_len); in derive_parent()
263 parent = of_find_node_by_path(parent_path); in derive_parent()
[all …]
Dreconfig.c36 char *parent_path = "/"; in derive_parent() local
44 parent_path = kmalloc(parent_path_len, GFP_KERNEL); in derive_parent()
45 if (!parent_path) in derive_parent()
47 strlcpy(parent_path, path, parent_path_len); in derive_parent()
49 parent = of_find_node_by_path(parent_path); in derive_parent()
52 if (strcmp(parent_path, "/")) in derive_parent()
53 kfree(parent_path); in derive_parent()
/linux-4.1.27/kernel/
Daudit_watch.c414 struct path parent_path; in audit_add_watch() local
420 ret = audit_get_nd(watch, &parent_path); in audit_add_watch()
429 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch()
431 parent = audit_init_parent(&parent_path); in audit_add_watch()
446 path_put(&parent_path); in audit_add_watch()
/linux-4.1.27/fs/
Dnamespace.c1889 struct path *parent_path) in attach_recursive_mnt() argument
1909 if (parent_path) { in attach_recursive_mnt()
1910 detach_mnt(source_mnt, parent_path); in attach_recursive_mnt()
2224 struct path old_path, parent_path; in do_move_mount() local
2276 err = attach_recursive_mnt(old, real_mount(path->mnt), mp, &parent_path); in do_move_mount()
2287 path_put(&parent_path); in do_move_mount()
2971 struct path new, old, parent_path, root_parent, root; in SYSCALL_DEFINE2() local
3033 detach_mnt(new_mnt, &parent_path); in SYSCALL_DEFINE2()
3054 path_put(&parent_path); in SYSCALL_DEFINE2()