Lines Matching refs:t
432 struct parport_sysctl_table *t; in parport_proc_register() local
437 t = kmemdup(&parport_sysctl_template, sizeof(*t), GFP_KERNEL); in parport_proc_register()
438 if (t == NULL) in parport_proc_register()
441 t->device_dir[0].extra1 = port; in parport_proc_register()
443 t->vars[0].data = &port->spintime; in parport_proc_register()
445 t->vars[i].extra1 = port; in parport_proc_register()
446 t->vars[5 + i].extra2 = &port->probe_info[i]; in parport_proc_register()
467 t->devices_header = register_sysctl(tmp_dir_path, t->device_dir); in parport_proc_register()
468 if (t->devices_header == NULL) { in parport_proc_register()
481 t->port_header = register_sysctl(tmp_dir_path, t->vars); in parport_proc_register()
482 if (t->port_header == NULL) { in parport_proc_register()
487 port->sysctl_table = t; in parport_proc_register()
493 unregister_sysctl_table(t->devices_header); in parport_proc_register()
499 kfree(t); in parport_proc_register()
506 struct parport_sysctl_table *t = port->sysctl_table; in parport_proc_unregister() local
508 unregister_sysctl_table(t->devices_header); in parport_proc_unregister()
509 unregister_sysctl_table(t->port_header); in parport_proc_unregister()
510 kfree(t); in parport_proc_unregister()
518 struct parport_device_sysctl_table *t; in parport_device_proc_register() local
523 t = kmemdup(&parport_device_sysctl_template, sizeof(*t), GFP_KERNEL); in parport_device_proc_register()
524 if (t == NULL) in parport_device_proc_register()
545 t->vars[0].data = &device->timeslice; in parport_device_proc_register()
547 t->sysctl_header = register_sysctl(tmp_dir_path, t->vars); in parport_device_proc_register()
548 if (t->sysctl_header == NULL) { in parport_device_proc_register()
549 kfree(t); in parport_device_proc_register()
550 t = NULL; in parport_device_proc_register()
552 device->sysctl_table = t; in parport_device_proc_register()
561 kfree(t); in parport_device_proc_register()
569 struct parport_device_sysctl_table *t = device->sysctl_table; in parport_device_proc_unregister() local
571 unregister_sysctl_table(t->sysctl_header); in parport_device_proc_unregister()
572 kfree(t); in parport_device_proc_unregister()