#include <agnix/agnix.h>
#include <agnix/adi/adi.h>
#include <agnix/list.h>
#include <agnix/spinlock.h>
#include <agnix/console.h>
Include dependency graph for adi_block.c:
Go to the source code of this file.
Defines | |
#define | MOD_NAME "BLK: " |
Functions | |
int | adi_blkdrv_floppy_init (void) |
void | adi_blkdev_lock_irq (struct adi_blkdev_s *blkdev) |
void | adi_blkdev_unlock_irq (struct adi_blkdev_s *blkdev) |
adi_blkdev_s * | adi_get_blkdev (u16 blkdev_nr) |
int | adi_register_blkdev (struct adi_blkdev_s *blkdev) |
int __init | adi_blkdrv_init (void) |
Variables | |
adi_blkdev_s * | blkdevs [BLKDEV_MAX] |
|
Definition at line 24 of file adi_block.c. |
|
Definition at line 30 of file adi_block.c. References adi_device_lock_irq(). 00031 { 00032 adi_device_lock_irq(&blkdev->dev_lock); 00033 }
Here is the call graph for this function: |
|
Definition at line 35 of file adi_block.c. References adi_device_unlock_irq(). 00036 { 00037 adi_device_unlock_irq(&blkdev->dev_lock); 00038 }
Here is the call graph for this function: |
|
Definition at line 289 of file floppy.c. References floppy_init(). Referenced by adi_blkdrv_init(). 00290 { 00291 return floppy_init(); 00292 }
Here is the call graph for this function: |
|
Definition at line 52 of file adi_block.c. References adi_blkdrv_floppy_init(), MOD_NAME, and printk(). Referenced by adi_drivers_init(). 00053 { 00054 printk(MOD_NAME "Initializing block drivers\n"); 00055 00056 adi_blkdrv_floppy_init(); 00057 00058 return 0; 00059 }
Here is the call graph for this function: |
|
Definition at line 40 of file adi_block.c. References blkdevs. Referenced by blkreq_build(). 00041 { 00042 return blkdevs[blkdev_nr]; 00043 }
|
|
Definition at line 45 of file adi_block.c. References blkdevs. Referenced by floppy_init(). 00046 { 00047 blkdevs[blkdev->dev_nr] = blkdev; 00048 00049 return 0; 00050 }
|
|
Definition at line 26 of file adi_block.c. Referenced by adi_get_blkdev(), and adi_register_blkdev(). |