|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
| #define | DRM_PROC_ENTRIES ARRAY_SIZE(drm_proc_list) |
Functions | |
| int | drm_proc_init (struct drm_minor *minor, int minor_id, struct proc_dir_entry *root) |
| int | drm_proc_cleanup (struct drm_minor *minor, struct proc_dir_entry *root) |
/proc support for DRM
Definition in file drm_proc.c.
| #define DRM_PROC_ENTRIES ARRAY_SIZE(drm_proc_list) |
Definition at line 62 of file drm_proc.c.
| int drm_proc_cleanup | ( | struct drm_minor * | minor, |
| struct proc_dir_entry * | root | ||
| ) |
Cleanup the proc filesystem resources.
| minor | device minor number. |
| root | DRI proc dir entry. |
| dev_root | DRI device proc dir entry. |
Remove all proc entries created by proc_init().
Definition at line 206 of file drm_proc.c.
| int drm_proc_init | ( | struct drm_minor * | minor, |
| int | minor_id, | ||
| struct proc_dir_entry * | root | ||
| ) |
Initialize the DRI proc filesystem for a device
| dev | DRM device |
| minor | device minor number |
| root | DRI proc dir entry. |
| dev_root | resulting DRI device proc dir entry. |
Create the DRI proc root entry "/proc/dri", the device proc root entry "/proc/dri/%minor%/", and each entry in proc_list as "/proc/dri/%minor%/%name%".
Definition at line 149 of file drm_proc.c.
1.8.2