Lines Matching refs:proc
10 * This is the /proc/ide/ filesystem implementation.
13 * "settings" files. e.g. "cat /proc/ide0/hda/settings"
15 * echo "name:val" >/proc/ide/ide0/hda/settings
226 printk_once(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "
502 ide_add_proc_entries(drive->proc, driver->proc_entries(drive), drive);
512 * Clean up the driver specific /proc files and IDE settings
520 ide_remove_proc_entries(drive->proc, driver->proc_entries(drive));
535 struct proc_dir_entry *parent = hwif->proc;
544 drive->proc = proc_mkdir(drive->name, parent);
545 if (drive->proc) {
546 ide_add_proc_entries(drive->proc, generic_drive_entries, drive);
548 drive->proc, &ide_settings_proc_ops,
559 if (drive->proc) {
560 remove_proc_entry("settings", drive->proc);
561 ide_remove_proc_entries(drive->proc, generic_drive_entries);
563 remove_proc_entry(drive->name, drive->hwif->proc);
564 drive->proc = NULL;
577 if (!hwif->proc) {
578 hwif->proc = proc_mkdir(hwif->name, proc_ide_root);
580 if (!hwif->proc)
583 ide_add_proc_entries(hwif->proc, hwif_entries, hwif);
589 if (hwif->proc) {
590 ide_remove_proc_entries(hwif->proc, hwif_entries);
592 hwif->proc = NULL;