<?xml version='1.0' encoding='iso-8859-1' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.4.7"> <compounddef id="mount_8h" kind="file"> <compoundname>mount.h</compoundname> <includes refid="include_2ubixos_2types_8h" local="no">ubixos/types.h</includes> <includes refid="include_2vfs_2vfs_8h" local="no">vfs/vfs.h</includes> <includedby refid="vitals_8h" local="no">src/sys/include/ubixos/vitals.h</includedby> <includedby refid="include_2vfs_2file_8h" local="no">src/sys/include/vfs/file.h</includedby> <includedby refid="include_2vfs_2vfs_8h" local="no">src/sys/include/vfs/vfs.h</includedby> <includedby refid="main_8c" local="no">src/sys/init/main.c</includedby> <includedby refid="sched_8c" local="no">src/sys/kernel/sched.c</includedby> <includedby refid="block_8c" local="no">src/sys/ubixfs/block.c</includedby> <includedby refid="directory_8c" local="no">src/sys/ubixfs/directory.c</includedby> <includedby refid="mount_8c" local="no">src/sys/vfs/mount.c</includedby> <incdepgraph> <node id="2678"> <label>ubixos/types.h</label> <link refid="include_2ubixos_2types_8h"/> <childnode refid="2679" relation="include"> </childnode> </node> <node id="2679"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="2681"> <label>vfs/file.h</label> <link refid="include_2vfs_2file_8h"/> <childnode refid="2678" relation="include"> </childnode> <childnode refid="2682" relation="include"> </childnode> <childnode refid="2677" relation="include"> </childnode> </node> <node id="2680"> <label>vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="2678" relation="include"> </childnode> <childnode refid="2681" relation="include"> </childnode> <childnode refid="2677" relation="include"> </childnode> </node> <node id="2677"> <label>src/sys/include/vfs/mount.h</label> <link refid="mount.h"/> <childnode refid="2678" relation="include"> </childnode> <childnode refid="2680" relation="include"> </childnode> </node> <node id="2682"> <label>ubixfs/dirCache.h</label> <link refid="dirCache_8h"/> <childnode refid="2678" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="2745"> <label>src/sys/ufs/ffs.c</label> <link refid="ffs_8c"/> </node> <node id="2748"> <label>src/sys/include/ufs/ufs.h</label> <link refid="ufs_8h"/> <childnode refid="2685" relation="include"> </childnode> <childnode refid="2745" relation="include"> </childnode> <childnode refid="2747" relation="include"> </childnode> </node> <node id="2705"> <label>src/sys/include/ubixos/sched.h</label> <link refid="sched_8h"/> <childnode refid="2706" relation="include"> </childnode> <childnode refid="2716" relation="include"> </childnode> <childnode refid="2726" relation="include"> </childnode> <childnode refid="2728" relation="include"> </childnode> <childnode refid="2685" relation="include"> </childnode> <childnode refid="2730" relation="include"> </childnode> <childnode refid="2731" relation="include"> </childnode> <childnode refid="2717" relation="include"> </childnode> <childnode refid="2733" relation="include"> </childnode> <childnode refid="2688" relation="include"> </childnode> <childnode refid="2718" relation="include"> </childnode> <childnode refid="2689" relation="include"> </childnode> <childnode refid="2734" relation="include"> </childnode> <childnode refid="2735" relation="include"> </childnode> <childnode refid="2722" relation="include"> </childnode> <childnode refid="2736" relation="include"> </childnode> <childnode refid="2690" relation="include"> </childnode> <childnode refid="2723" relation="include"> </childnode> <childnode refid="2691" relation="include"> </childnode> <childnode refid="2693" relation="include"> </childnode> <childnode refid="2737" relation="include"> </childnode> <childnode refid="2738" relation="include"> </childnode> <childnode refid="2724" relation="include"> </childnode> <childnode refid="2732" relation="include"> </childnode> <childnode refid="2739" relation="include"> </childnode> <childnode refid="2725" relation="include"> </childnode> <childnode refid="2713" relation="include"> </childnode> <childnode refid="2696" relation="include"> </childnode> <childnode refid="2740" relation="include"> </childnode> <childnode refid="2741" relation="include"> </childnode> <childnode refid="2742" relation="include"> </childnode> </node> <node id="2704"> <label>src/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="2749"> <label>src/sys/net/netif/tcpdump.c</label> <link refid="tcpdump_8c"/> </node> <node id="2746"> <label>src/sys/include/ufs/ffs.h</label> <link refid="ffs_8h"/> <childnode refid="2745" relation="include"> </childnode> <childnode refid="2747" relation="include"> </childnode> </node> <node id="2716"> <label>src/sys/include/ubixos/endtask.h</label> <link refid="endtask_8h"/> <childnode refid="2717" relation="include"> </childnode> <childnode refid="2718" relation="include"> </childnode> <childnode refid="2719" relation="include"> </childnode> <childnode refid="2720" relation="include"> </childnode> <childnode refid="2721" relation="include"> </childnode> <childnode refid="2722" relation="include"> </childnode> <childnode refid="2690" relation="include"> </childnode> <childnode refid="2723" relation="include"> </childnode> <childnode refid="2724" relation="include"> </childnode> <childnode refid="2725" relation="include"> </childnode> </node> <node id="2732"> <label>src/sys/net/net/sys_arch.c</label> <link refid="sys__arch_8c"/> </node> <node id="2694"> <label>src/sys/kernel/vitals.c</label> <link refid="vitals_8c"/> </node> <node id="2701"> <label>src/sys/include/devfs/devfs.h</label> <link refid="devfs_8h"/> <childnode refid="2702" relation="include"> </childnode> <childnode refid="2685" relation="include"> </childnode> <childnode refid="2703" relation="include"> </childnode> <childnode refid="2704" relation="include"> </childnode> </node> <node id="2714"> <label>src/sys/mpi/message.c</label> <link refid="message_8c"/> </node> <node id="2737"> <label>src/sys/kmods/kmod.c</label> <link refid="kmod_8c"/> </node> <node id="2715"> <label>src/sys/mpi/system.c</label> <link refid="system_8c"/> </node> <node id="2721"> <label>src/sys/kernel/kern_sysctl.c</label> <link refid="kern__sysctl_8c"/> </node> <node id="2684"> <label>src/sys/include/ubixos/vitals.h</label> <link refid="vitals_8h"/> <childnode refid="2685" relation="include"> </childnode> <childnode refid="2687" relation="include"> </childnode> <childnode refid="2688" relation="include"> </childnode> <childnode refid="2689" relation="include"> </childnode> <childnode refid="2690" relation="include"> </childnode> <childnode refid="2691" relation="include"> </childnode> <childnode refid="2692" relation="include"> </childnode> <childnode refid="2693" relation="include"> </childnode> <childnode refid="2694" relation="include"> </childnode> <childnode refid="2695" relation="include"> </childnode> <childnode refid="2696" relation="include"> </childnode> <childnode refid="2697" relation="include"> </childnode> <childnode refid="2698" relation="include"> </childnode> <childnode refid="2699" relation="include"> </childnode> </node> <node id="2738"> <label>src/sys/lib/kmalloc.c</label> <link refid="kmalloc_8c"/> </node> <node id="2742"> <label>src/sys/vmm/paging.c</label> <link refid="paging_8c"/> </node> <node id="2711"> <label>src/sys/ubixfs/directory.c</label> <link refid="directory_8c"/> </node> <node id="2747"> <label>src/sys/ufs/ufs.c</label> <link refid="ufs_8c"/> </node> <node id="2720"> <label>src/sys/kernel/kern_sig.c</label> <link refid="kern__sig_8c"/> </node> <node id="2693"> <label>src/sys/kernel/ubthread.c</label> <link refid="ubthread_8c"/> </node> <node id="2691"> <label>src/sys/kernel/systemtask.c</label> <link refid="systemtask_8c"/> </node> <node id="2739"> <label>src/sys/net/netif/ethernetif.c</label> <link refid="ethernetif_8c"/> </node> <node id="2695"> <label>src/sys/lib/ogprintf.cc</label> <link refid="ogprintf_8cc"/> </node> <node id="2735"> <label>src/sys/kernel/ld.c</label> <link refid="ld_8c"/> </node> <node id="2700"> <label>src/sys/include/vfs/file.h</label> <link refid="include_2vfs_2file_8h"/> <childnode refid="2701" relation="include"> </childnode> <childnode refid="2705" relation="include"> </childnode> <childnode refid="2730" relation="include"> </childnode> <childnode refid="2743" relation="include"> </childnode> <childnode refid="2690" relation="include"> </childnode> <childnode refid="2749" relation="include"> </childnode> <childnode refid="2709" relation="include"> </childnode> <childnode refid="2711" relation="include"> </childnode> <childnode refid="2696" relation="include"> </childnode> </node> <node id="2689"> <label>src/sys/kernel/fork.c</label> <link refid="fork_8c"/> </node> <node id="2727"> <label>src/sys/net/api/tcpip.c</label> <link refid="tcpip_8c"/> </node> <node id="2709"> <label>src/sys/ubixfs/block.c</label> <link refid="block_8c"/> </node> <node id="2722"> <label>src/sys/kernel/sched.c</label> <link refid="sched_8c"/> </node> <node id="2729"> <label>src/sys/net/net/shell.c</label> <link refid="shell_8c"/> </node> <node id="2706"> <label>src/sys/include/mpi/mpi.h</label> <link refid="mpi_8h"/> <childnode refid="2707" relation="include"> </childnode> <childnode refid="2690" relation="include"> </childnode> <childnode refid="2691" relation="include"> </childnode> <childnode refid="2714" relation="include"> </childnode> <childnode refid="2715" relation="include"> </childnode> </node> <node id="2728"> <label>src/sys/include/ubixos/fork.h</label> <link refid="fork_8h"/> <childnode refid="2689" relation="include"> </childnode> <childnode refid="2729" relation="include"> </childnode> </node> <node id="2710"> <label>src/sys/ubixfs/dirCache.c</label> <link refid="dirCache_8c"/> </node> <node id="2713"> <label>src/sys/ubixfs/ubixfs.c</label> <link refid="ubixfs_8c"/> </node> <node id="2724"> <label>src/sys/net/net/init.c</label> <link refid="init_8c"/> </node> <node id="2743"> <label>src/sys/include/vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="2702" relation="include"> </childnode> <childnode refid="2744" relation="include"> </childnode> <childnode refid="2707" relation="include"> </childnode> <childnode refid="2685" relation="include"> </childnode> <childnode refid="2684" relation="include"> </childnode> <childnode refid="2746" relation="include"> </childnode> <childnode refid="2748" relation="include"> </childnode> <childnode refid="2683" relation="include"> </childnode> <childnode refid="2735" relation="include"> </childnode> <childnode refid="2737" relation="include"> </childnode> <childnode refid="2712" relation="include"> </childnode> <childnode refid="2713" relation="include"> </childnode> <childnode refid="2745" relation="include"> </childnode> <childnode refid="2747" relation="include"> </childnode> <childnode refid="2696" relation="include"> </childnode> <childnode refid="2698" relation="include"> </childnode> </node> <node id="2683"> <label>src/sys/include/vfs/mount.h</label> <link refid="mount.h"/> <childnode refid="2684" relation="include"> </childnode> <childnode refid="2700" relation="include"> </childnode> <childnode refid="2743" relation="include"> </childnode> <childnode refid="2686" relation="include"> </childnode> <childnode refid="2722" relation="include"> </childnode> <childnode refid="2709" relation="include"> </childnode> <childnode refid="2711" relation="include"> </childnode> <childnode refid="2697" relation="include"> </childnode> </node> <node id="2686"> <label>src/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="2707"> <label>src/sys/include/ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="2708" relation="include"> </childnode> <childnode refid="2685" relation="include"> </childnode> <childnode refid="2690" relation="include"> </childnode> <childnode refid="2709" relation="include"> </childnode> <childnode refid="2710" relation="include"> </childnode> <childnode refid="2711" relation="include"> </childnode> <childnode refid="2712" relation="include"> </childnode> <childnode refid="2713" relation="include"> </childnode> </node> <node id="2733"> <label>src/sys/kernel/bioscall.c</label> <link refid="bioscall_8c"/> </node> <node id="2731"> <label>src/sys/include/ubixos/ubthread.h</label> <link refid="ubthread_8h"/> <childnode refid="2684" relation="include"> </childnode> <childnode refid="2693" relation="include"> </childnode> <childnode refid="2732" relation="include"> </childnode> </node> <node id="2690"> <label>src/sys/kernel/syscall.c</label> <link refid="syscall_8c"/> </node> <node id="2687"> <label>src/sys/isa/ne2k.c</label> <link refid="ne2k_8c"/> </node> <node id="2726"> <label>src/sys/include/ubixos/exec.h</label> <link refid="exec_8h"/> <childnode refid="2686" relation="include"> </childnode> <childnode refid="2718" relation="include"> </childnode> <childnode refid="2690" relation="include"> </childnode> <childnode refid="2691" relation="include"> </childnode> <childnode refid="2693" relation="include"> </childnode> <childnode refid="2727" relation="include"> </childnode> <childnode refid="2724" relation="include"> </childnode> <childnode refid="2713" relation="include"> </childnode> </node> <node id="2730"> <label>src/sys/include/ubixos/syscalls.h</label> <link refid="syscalls_8h"/> <childnode refid="2690" relation="include"> </childnode> </node> <node id="2708"> <label>src/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="2685" relation="include"> </childnode> <childnode refid="2704" relation="include"> </childnode> </node> <node id="2717"> <label>src/sys/isa/atkbd.c</label> <link refid="atkbd_8c"/> </node> <node id="2741"> <label>src/sys/vmm/pagefault.c</label> <link refid="pagefault_8c"/> </node> <node id="2712"> <label>src/sys/ubixfs/thread.c</label> <link refid="thread_8c"/> </node> <node id="2685"> <label>src/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="2686" relation="include"> </childnode> </node> <node id="2697"> <label>src/sys/vfs/mount.c</label> <link refid="mount_8c"/> </node> <node id="2702"> <label>src/sys/devfs/devfs.c</label> <link refid="devfs_8c"/> </node> <node id="2692"> <label>src/sys/kernel/time.c</label> <link refid="time_8c"/> </node> <node id="2699"> <label>src/sys/vmm/vmm_memory.c</label> <link refid="vmm__memory_8c"/> </node> <node id="2736"> <label>src/sys/kernel/spinlock.c</label> <link refid="spinlock_8c"/> </node> <node id="2719"> <label>src/sys/kernel/kern_descrip.c</label> <link refid="kern__descrip_8c"/> </node> <node id="2688"> <label>src/sys/kernel/endtask.c</label> <link refid="endtask_8c"/> </node> <node id="2696"> <label>src/sys/vfs/file.c</label> <link refid="file_8c"/> </node> <node id="2734"> <label>src/sys/kernel/gen_calls.c</label> <link refid="gen__calls_8c"/> </node> <node id="2725"> <label>src/sys/sys/idt.c</label> <link refid="idt_8c"/> </node> <node id="2723"> <label>src/sys/kernel/syscall_new.c</label> <link refid="syscall__new_8c"/> </node> <node id="2718"> <label>src/sys/kernel/exec.c</label> <link refid="exec_8c"/> </node> <node id="2744"> <label>src/sys/include/sys/buf.h</label> <link refid="buf_8h"/> <childnode refid="2745" relation="include"> </childnode> </node> <node id="2703"> <label>src/sys/isa/fdc.c</label> <link refid="fdc_8c"/> </node> <node id="2740"> <label>src/sys/vmm/getfreevirtualpage.c</label> <link refid="getfreevirtualpage_8c"/> </node> <node id="2698"> <label>src/sys/vfs/vfs.c</label> <link refid="vfs_8c"/> </node> </invincdepgraph> <innerclass refid="structvfs__mountPoint" prot="public">vfs_mountPoint</innerclass> <sectiondef kind="func"> <memberdef kind="function" id="mount_8h_17404fbe67653dda57672539b003deecd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int vfs_addMount</definition> <argsstring>(struct vfs_mountPoint *mp)</argsstring> <name>vfs_addMount</name> <param> <type>struct <ref refid="structvfs__mountPoint" kindref="compound">vfs_mountPoint</ref> *</type> <declname>mp</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/vfs/mount.h" line="49" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/vfs/mount.c" bodystart="105" bodyend="121"/> <references refid="structvitalsStruct_1292bf1e7a31e9f88ca279aa6227287f3" compoundref="vitals_8h" startline="46">vitalsStruct::mountPoints</references> <references refid="structvfs__mountPoint_11e30c95f66f6d267c97654c49275ec9b" compoundref="mount_8h" startline="38">vfs_mountPoint::next</references> <references refid="structvfs__mountPoint_1e283964876a0043b3dd91b5596621439" compoundref="mount_8h" startline="37">vfs_mountPoint::prev</references> <references refid="vitals_8h_167aae71be472453526fc1a0bfbf80280" compoundref="timer_8S" startline="35">systemVitals</references> <referencedby refid="mount_8c_18379310fce9e1a500f602059516e25f0" compoundref="mount_8c" startline="47" endline="94">vfs_mount</referencedby> </memberdef> <memberdef kind="function" id="mount_8h_1a8cc926aa9badb781158b6738b1b0f2d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="structvfs__mountPoint" kindref="compound">vfs_mountPoint</ref> *</type> <definition>struct vfs_mountPoint* vfs_findMount</definition> <argsstring>(char *mountPoint)</argsstring> <name>vfs_findMount</name> <param> <type>char *</type> <declname>mountPoint</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/vfs/mount.h" line="50" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/vfs/mount.c" bodystart="132" bodyend="142"/> <references refid="structvfs__mountPoint_130136b0c8a7040142fefc3b3d8038eaf" compoundref="mount_8h" startline="44">vfs_mountPoint::mountPoint</references> <references refid="structvitalsStruct_1292bf1e7a31e9f88ca279aa6227287f3" compoundref="vitals_8h" startline="46">vitalsStruct::mountPoints</references> <references refid="structvfs__mountPoint_11e30c95f66f6d267c97654c49275ec9b" compoundref="mount_8h" startline="38">vfs_mountPoint::next</references> <references refid="def_8h_1070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="def_8h" startline="41">NULL</references> <references refid="lib_2string_8h_16f3dcb20ff11ff9db5904c3cfb61a38c" compoundref="string_8c" startline="42" endline="56">strcmp</references> <references refid="vitals_8h_167aae71be472453526fc1a0bfbf80280" compoundref="timer_8S" startline="35">systemVitals</references> <referencedby refid="devfs_8h_1d568bae84bef3691539f1b1d0f6a54b4" compoundref="devfs_8c" startline="169" endline="204">devfs_makeNode</referencedby> <referencedby refid="file_8c_13c11b2679cf37c72b05eaab50c282e72" compoundref="file_8c" startline="267" endline="387">fopen</referencedby> <referencedby refid="file_8c_1da4d877b19c34ce3137e0c35dab6e947" compoundref="file_8c" startline="478" endline="496">unlink</referencedby> </memberdef> <memberdef kind="function" id="mount_8h_11255ebfdcd5f7048ffe187e836f8eb28" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int vfs_mount</definition> <argsstring>(int major, int minor, int partition, int fsType, char *mountPoint, char *perms)</argsstring> <name>vfs_mount</name> <param> <type>int</type> <declname>major</declname> </param> <param> <type>int</type> <declname>minor</declname> </param> <param> <type>int</type> <declname>partition</declname> </param> <param> <type>int</type> <declname>fsType</declname> </param> <param> <type>char *</type> <declname>mountPoint</declname> </param> <param> <type>char *</type> <declname>perms</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/vfs/mount.h" line="48" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/vfs/mount.c" bodystart="47" bodyend="94"/> <references refid="structvfs__mountPoint_15683a99774aaf81116e1765eb2509df5" compoundref="mount_8h" startline="40">vfs_mountPoint::device</references> <references refid="include_2sys_2device_8h_10002a4ec01ee11597c6751602f3e4c3d" compoundref="device_8c" startline="86" endline="100">device_find</references> <references refid="structvfs__mountPoint_1654fe61c60a0044082a7651cb2e29b8e" compoundref="mount_8h" startline="39">vfs_mountPoint::fs</references> <references refid="kmalloc_8h_1aa9ed6886459604cf73ccdbf6410e487" compoundref="kmalloc_8c" startline="351" endline="391">kfree</references> <references refid="kmalloc_8h_1150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="247" endline="339">kmalloc</references> <references refid="kprint_8h_1b2761bdf0cca73ad0fb5880895210cd8" compoundref="kprintf_8c" startline="38" endline="49">kprintf</references> <references refid="structvfs__mountPoint_130136b0c8a7040142fefc3b3d8038eaf" compoundref="mount_8h" startline="44">vfs_mountPoint::mountPoint</references> <references refid="def_8h_1070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="def_8h" startline="41">NULL</references> <references refid="structvfs__mountPoint_126cf95c23f79647d61dc6396bbeb94a6" compoundref="mount_8h" startline="43">vfs_mountPoint::partition</references> <references refid="structvfs__mountPoint_19fc7cfceb0706b0d4aa835a6efbb1295" compoundref="mount_8h" startline="45">vfs_mountPoint::perms</references> <references refid="lib_2string_8h_1c38cd16373d98782e1465bd3d5aba470" compoundref="kprintf_8c" startline="51" endline="58">sprintf</references> <references refid="mount_8h_17404fbe67653dda57672539b003deecd" compoundref="mount_8c" startline="105" endline="121">vfs_addMount</references> <references refid="vfs_8c_1c49aa10a62b250834a055476c849b7b3" compoundref="vfs_8c" startline="58" endline="71">vfsFindFS</references> <references refid="structfileSystem_163cc4eb02c498b7ae04d3cedba288822">fileSystem::vfsInitFS</references> <references refid="ap-boot_8S_11a3ac2137e21f6f0d400f1996914dd19" compoundref="ap-boot_8S" startline="6">x1</references> <referencedby refid="devfs_8h_1c74c840a034d38b197e93bf883001d0d" compoundref="devfs_8c" startline="206" endline="231">devfs_init</referencedby> <referencedby refid="main_8c_1a099bb67b4698f94150184a0ee8ccffb" compoundref="main_8c" startline="101" endline="156">kmain</referencedby> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*****************************************************************************************</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>Copyright<sp/>(c)<sp/>2002-2004<sp/>The<sp/>UbixOS<sp/>Project</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"></highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="7"><highlight class="comment"></highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.<sp/><sp/>Redistributions<sp/>in<sp/>binary</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of<sp/>conditions,<sp/>the<sp/>following</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or<sp/>other<sp/>materials<sp/>provided</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>with<sp/>the<sp/>distribution.<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline> <codeline lineno="15"><highlight class="comment"></highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>COPYRIGHT<sp/>HOLDERS<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>EXPRESS<sp/>OR<sp/>IMPLIED<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="25"><highlight class="comment"></highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>$Id$</highlight></codeline> <codeline lineno="27"><highlight class="comment"></highlight></codeline> <codeline lineno="28"><highlight class="comment">*****************************************************************************************/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_MOUNT_H</highlight></codeline> <codeline lineno="31"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>_MOUNT_H</highlight></codeline> <codeline lineno="32"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2ubixos_2types_8h" kindref="compound">ubixos/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2vfs_2vfs_8h" kindref="compound">vfs/vfs.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="35"><highlight class="normal"></highlight></codeline> <codeline lineno="36" refid="structvfs__mountPoint" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structvfs__mountPoint" kindref="compound">vfs_mountPoint</ref><sp/>{</highlight></codeline> <codeline lineno="37" refid="structvfs__mountPoint_1e283964876a0043b3dd91b5596621439" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structvfs__mountPoint" kindref="compound">vfs_mountPoint</ref><sp/><sp/><sp/>*<ref refid="structvfs__mountPoint_1e283964876a0043b3dd91b5596621439" kindref="member">prev</ref>;</highlight></codeline> <codeline lineno="38" refid="structvfs__mountPoint_11e30c95f66f6d267c97654c49275ec9b" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structvfs__mountPoint" kindref="compound">vfs_mountPoint</ref><sp/><sp/><sp/>*<ref refid="structvfs__mountPoint_11e30c95f66f6d267c97654c49275ec9b" kindref="member">next</ref>;</highlight></codeline> <codeline lineno="39" refid="structvfs__mountPoint_1654fe61c60a0044082a7651cb2e29b8e" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structfileSystem" kindref="compound">fileSystem</ref><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<ref refid="structfs" kindref="compound">fs</ref>;</highlight></codeline> <codeline lineno="40" refid="structvfs__mountPoint_15683a99774aaf81116e1765eb2509df5" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdevice__node" kindref="compound">device_node</ref><sp/><sp/><sp/><sp/><sp/><sp/>*<ref refid="structdevice" kindref="compound">device</ref>;</highlight></codeline> <codeline lineno="41" refid="structvfs__mountPoint_1e5ddbb2d1c7a01716a481bc5462d6c8f" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structubixDiskLabel" kindref="compound">ubixDiskLabel</ref><sp/><sp/><sp/>*<ref refid="structvfs__mountPoint_1e5ddbb2d1c7a01716a481bc5462d6c8f" kindref="member">diskLabel</ref>;</highlight></codeline> <codeline lineno="42" refid="structvfs__mountPoint_19771ecae1bc4482ad0282aee5766bd9b" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>*<ref refid="structvfs__mountPoint_19771ecae1bc4482ad0282aee5766bd9b" kindref="member">fsInfo</ref>;</highlight></codeline> <codeline lineno="43" refid="structvfs__mountPoint_126cf95c23f79647d61dc6396bbeb94a6" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structvfs__mountPoint_126cf95c23f79647d61dc6396bbeb94a6" kindref="member">partition</ref>;</highlight></codeline> <codeline lineno="44" refid="structvfs__mountPoint_130136b0c8a7040142fefc3b3d8038eaf" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structvfs__mountPoint_130136b0c8a7040142fefc3b3d8038eaf" kindref="member">mountPoint</ref>[1024];</highlight></codeline> <codeline lineno="45" refid="structvfs__mountPoint_19fc7cfceb0706b0d4aa835a6efbb1295" refkind="member"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="structvfs__mountPoint_19fc7cfceb0706b0d4aa835a6efbb1295" kindref="member">perms</ref>;</highlight></codeline> <codeline lineno="46"><highlight class="normal"><sp/><sp/>};</highlight></codeline> <codeline lineno="47"><highlight class="normal"></highlight></codeline> <codeline lineno="48"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="mount_8h_11255ebfdcd5f7048ffe187e836f8eb28" kindref="member">vfs_mount</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>major,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>minor,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>partition,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>fsType,</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*mountPoint,</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*perms);</highlight></codeline> <codeline lineno="49"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="mount_8h_17404fbe67653dda57672539b003deecd" kindref="member">vfs_addMount</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structvfs__mountPoint" kindref="compound">vfs_mountPoint</ref><sp/>*mp);</highlight></codeline> <codeline lineno="50"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structvfs__mountPoint" kindref="compound">vfs_mountPoint</ref><sp/>*<ref refid="mount_8h_1a8cc926aa9badb781158b6738b1b0f2d" kindref="member">vfs_findMount</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<ref refid="structvfs__mountPoint_130136b0c8a7040142fefc3b3d8038eaf" kindref="member">mountPoint</ref>);</highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight></codeline> <codeline lineno="52"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline> <codeline lineno="53"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="54"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline> <codeline lineno="55"><highlight class="comment"><sp/>END</highlight></codeline> <codeline lineno="56"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline> </programlisting> <location file="/usr/home/reddawg/source/ubix2/src/sys/include/vfs/mount.h"/> </compounddef> </doxygen>