Lines Matching defs:ramdisk
37 #include <sys/ramdisk.h>
39 static int ramdisk(di_minor_t di_minor, di_node_t node);
46 TYPE_EXACT | DRV_EXACT, ILEVEL_0, ramdisk,
54 #define RAMDISK_LINK_RE "^r?ramdisk/.+$"
79 * This function is called for every ramdisk minor node.
80 * Calls enumerate to assign a logical ramdisk id, and then
83 * For pseudo ramdisk devices:
85 * /dev/ramdiskctl -> /devices/pseudo/ramdisk@0:ctl
86 * /dev/ramdisk/<name> -> /devices/pseudo/ramdisk@0:<name>
87 * /dev/rramdisk/<name> -> /devices/pseudo/ramdisk@0:<name>,raw
89 * For OBP-created ramdisk devices:
91 * /dev/ramdisk/<name> -> /devices/ramdisk-<name>:a
92 * /dev/rramdisk/<name> -> /devices/ramdisk-<name>:a,raw
95 ramdisk(di_minor_t di_minor, di_node_t node)
102 * If this is an OBP-created ramdisk use the node name, having first
103 * stripped the "ramdisk-" prefix. For pseudo ramdisks use the minor
118 * Make the link in /dev/ramdisk or /dev/rramdisk.