Lines Matching refs:tmp_dir_path
433 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()
467 t->devices_header = register_sysctl(tmp_dir_path, t->device_dir); in parport_proc_register()
474 bytes_written = snprintf(tmp_dir_path, tmp_path_len, in parport_proc_register()
481 t->port_header = register_sysctl(tmp_dir_path, t->vars); 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
532 tmp_dir_path = kzalloc(tmp_dir_path_len, GFP_KERNEL); in parport_device_proc_register()
533 if (!tmp_dir_path) { in parport_device_proc_register()
538 bytes_written = snprintf(tmp_dir_path, tmp_dir_path_len, "dev/parport/%s/devices/%s", in parport_device_proc_register()
547 t->sysctl_header = register_sysctl(tmp_dir_path, t->vars); in parport_device_proc_register()
554 kfree(tmp_dir_path); in parport_device_proc_register()
558 kfree(tmp_dir_path); in parport_device_proc_register()