Home
last modified time | relevance | path

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

/linux/drivers/parport/
H A Dprocfs.c418 char *tmp_dir_path; in parport_proc_register() local
435 tmp_dir_path = kasprintf(GFP_KERNEL, "dev/parport/%s/devices", port->name); in parport_proc_register()
436 if (!tmp_dir_path) { in parport_proc_register()
441 t->devices_header = register_sysctl(tmp_dir_path, t->device_dir); in parport_proc_register()
447 kfree(tmp_dir_path); in parport_proc_register()
449 tmp_dir_path = kasprintf(GFP_KERNEL, "dev/parport/%s", port->name); in parport_proc_register()
450 if (!tmp_dir_path) { in parport_proc_register()
455 t->port_header = register_sysctl(tmp_dir_path, t->vars); in parport_proc_register()
463 kfree(tmp_dir_path); in parport_proc_register()
470 kfree(tmp_dir_path); in parport_proc_register()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_local_storage.c93 char tmp_dir_path[] = "/tmp/local_storageXXXXXX"; in test_test_local_storage() local
115 if (!ASSERT_OK_PTR(mkdtemp(tmp_dir_path), "mkdtemp")) in test_test_local_storage()
119 tmp_dir_path); in test_test_local_storage()
148 tmp_dir_path, tmp_dir_path); in test_test_local_storage()
165 snprintf(cmd, sizeof(cmd), "rm -rf %s", tmp_dir_path); in test_test_local_storage()