Home
last modified time | relevance | path

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

/openbmc/linux/drivers/parport/
H A Dprocfs.c433 char *tmp_dir_path; in parport_proc_register() local
455 tmp_dir_path = kzalloc(tmp_path_len, GFP_KERNEL); in parport_proc_register()
456 if (!tmp_dir_path) { in parport_proc_register()
461 bytes_written = snprintf(tmp_dir_path, tmp_path_len, in parport_proc_register()
474 bytes_written = snprintf(tmp_dir_path, tmp_path_len, in parport_proc_register()
489 kfree(tmp_dir_path); in parport_proc_register()
496 kfree(tmp_dir_path); in parport_proc_register()
521 char *tmp_dir_path; in parport_device_proc_register() local
533 if (!tmp_dir_path) { in parport_device_proc_register()
554 kfree(tmp_dir_path); in parport_device_proc_register()
[all …]
/openbmc/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()