Home
last modified time | relevance | path

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

/openbmc/linux/drivers/parport/
H A Dprocfs.c434 size_t tmp_path_len, port_name_len; in parport_proc_register() local
454 tmp_path_len = PARPORT_BASE_DEVICES_PATH_SIZE + port_name_len; in parport_proc_register()
455 tmp_dir_path = kzalloc(tmp_path_len, GFP_KERNEL); in parport_proc_register()
461 bytes_written = snprintf(tmp_dir_path, tmp_path_len, in parport_proc_register()
463 if (tmp_path_len <= bytes_written) { in parport_proc_register()
473 tmp_path_len = PARPORT_BASE_PATH_SIZE + port_name_len; in parport_proc_register()
474 bytes_written = snprintf(tmp_dir_path, tmp_path_len, in parport_proc_register()
476 if (tmp_path_len <= bytes_written) { in parport_proc_register()