Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ide-disk_proc.c File Reference
#include <linux/kernel.h>
#include <linux/ide.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/seq_file.h>
#include "ide-disk.h"

Go to the source code of this file.

Functions

 ide_devset_rw_field (bios_cyl, bios_cyl)
 
 ide_devset_rw_field (bios_head, bios_head)
 
 ide_devset_rw_field (bios_sect, bios_sect)
 
 ide_devset_rw_field (failures, failures)
 
 ide_devset_rw_field (lun, lun)
 
 ide_devset_rw_field (max_failures, max_failures)
 

Variables

ide_proc_entry_t ide_disk_proc []
 
struct ide_proc_devset ide_disk_settings []
 

Function Documentation

ide_devset_rw_field ( bios_cyl  ,
bios_cyl   
)
ide_devset_rw_field ( bios_head  ,
bios_head   
)
ide_devset_rw_field ( bios_sect  ,
bios_sect   
)
ide_devset_rw_field ( failures  ,
failures   
)
ide_devset_rw_field ( lun  ,
lun   
)
ide_devset_rw_field ( max_failures  ,
max_failures   
)

Variable Documentation

ide_proc_entry_t ide_disk_proc[]
Initial value:
= {
{ "cache", S_IFREG|S_IRUGO, &idedisk_cache_proc_fops },
{ "capacity", S_IFREG|S_IRUGO, &idedisk_capacity_proc_fops },
{ "smart_values", S_IFREG|S_IRUSR, &idedisk_sv_proc_fops },
{ "smart_thresholds", S_IFREG|S_IRUSR, &idedisk_st_proc_fops },
{}
}

Definition at line 147 of file ide-disk_proc.c.

struct ide_proc_devset ide_disk_settings[]
Initial value:
= {
IDE_PROC_DEVSET(acoustic, 0, 254),
IDE_PROC_DEVSET(address, 0, 2),
IDE_PROC_DEVSET(bios_cyl, 0, 65535),
IDE_PROC_DEVSET(bios_head, 0, 255),
IDE_PROC_DEVSET(bios_sect, 0, 63),
IDE_PROC_DEVSET(failures, 0, 65535),
IDE_PROC_DEVSET(lun, 0, 7),
IDE_PROC_DEVSET(max_failures, 0, 65535),
IDE_PROC_DEVSET(multcount, 0, 16),
IDE_PROC_DEVSET(nowerr, 0, 1),
IDE_PROC_DEVSET(wcache, 0, 1),
{ NULL },
}

Definition at line 163 of file ide-disk_proc.c.