<?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="2831"> <label>sys/thread.h</label> <link refid="thread_8h"/> <childnode refid="2824" relation="include"> </childnode> </node> <node id="2824"> <label>ubixos/types.h</label> <link refid="include_2ubixos_2types_8h"/> <childnode refid="2825" relation="include"> </childnode> </node> <node id="2825"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="2827"> <label>vfs/file.h</label> <link refid="include_2vfs_2file_8h"/> <childnode refid="2824" relation="include"> </childnode> <childnode refid="2828" relation="include"> </childnode> <childnode refid="2823" relation="include"> </childnode> </node> <node id="2826"> <label>vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="2824" relation="include"> </childnode> <childnode refid="2827" relation="include"> </childnode> <childnode refid="2823" relation="include"> </childnode> <childnode refid="2829" relation="include"> </childnode> <childnode refid="2831" relation="include"> </childnode> </node> <node id="2823"> <label>src/sys/include/vfs/mount.h</label> <link refid="mount.h"/> <childnode refid="2824" relation="include"> </childnode> <childnode refid="2826" relation="include"> </childnode> </node> <node id="2828"> <label>ubixfs/dirCache.h</label> <link refid="dirCache_8h"/> <childnode refid="2824" relation="include"> </childnode> </node> <node id="2829"> <label>sys/sysproto.h</label> <link refid="sysproto_8h"/> <childnode refid="2830" relation="include"> </childnode> </node> <node id="2830"> <label>sys/signal.h</label> <link refid="signal_8h"/> <childnode refid="2824" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="2894"> <label>src/sys/ufs/ffs.c</label> <link refid="ffs_8c"/> </node> <node id="2897"> <label>src/sys/include/ufs/ufs.h</label> <link refid="ufs_8h"/> <childnode refid="2834" relation="include"> </childnode> <childnode refid="2894" relation="include"> </childnode> <childnode refid="2896" relation="include"> </childnode> </node> <node id="2855"> <label>src/sys/include/ubixos/sched.h</label> <link refid="sched_8h"/> <childnode refid="2856" relation="include"> </childnode> <childnode refid="2866" relation="include"> </childnode> <childnode refid="2875" relation="include"> </childnode> <childnode refid="2877" relation="include"> </childnode> <childnode refid="2834" relation="include"> </childnode> <childnode refid="2879" relation="include"> </childnode> <childnode refid="2880" relation="include"> </childnode> <childnode refid="2836" relation="include"> </childnode> <childnode refid="2882" relation="include"> </childnode> <childnode refid="2838" relation="include"> </childnode> <childnode refid="2867" relation="include"> </childnode> <childnode refid="2839" relation="include"> </childnode> <childnode refid="2883" relation="include"> </childnode> <childnode refid="2884" relation="include"> </childnode> <childnode refid="2871" relation="include"> </childnode> <childnode refid="2885" relation="include"> </childnode> <childnode refid="2840" relation="include"> </childnode> <childnode refid="2872" relation="include"> </childnode> <childnode refid="2841" relation="include"> </childnode> <childnode refid="2843" relation="include"> </childnode> <childnode refid="2886" relation="include"> </childnode> <childnode refid="2887" relation="include"> </childnode> <childnode refid="2873" relation="include"> </childnode> <childnode refid="2881" relation="include"> </childnode> <childnode refid="2888" relation="include"> </childnode> <childnode refid="2874" relation="include"> </childnode> <childnode refid="2863" relation="include"> </childnode> <childnode refid="2846" relation="include"> </childnode> <childnode refid="2889" relation="include"> </childnode> <childnode refid="2890" relation="include"> </childnode> <childnode refid="2891" relation="include"> </childnode> </node> <node id="2854"> <label>src/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="2898"> <label>src/sys/net/netif/tcpdump.c</label> <link refid="tcpdump_8c"/> </node> <node id="2895"> <label>src/sys/include/ufs/ffs.h</label> <link refid="ffs_8h"/> <childnode refid="2894" relation="include"> </childnode> <childnode refid="2896" relation="include"> </childnode> </node> <node id="2866"> <label>src/sys/include/ubixos/endtask.h</label> <link refid="endtask_8h"/> <childnode refid="2836" relation="include"> </childnode> <childnode refid="2867" relation="include"> </childnode> <childnode refid="2868" relation="include"> </childnode> <childnode refid="2869" relation="include"> </childnode> <childnode refid="2870" relation="include"> </childnode> <childnode refid="2871" relation="include"> </childnode> <childnode refid="2840" relation="include"> </childnode> <childnode refid="2872" relation="include"> </childnode> <childnode refid="2873" relation="include"> </childnode> <childnode refid="2874" relation="include"> </childnode> </node> <node id="2881"> <label>src/sys/net/net/sys_arch.c</label> <link refid="sys__arch_8c"/> </node> <node id="2844"> <label>src/sys/kernel/vitals.c</label> <link refid="vitals_8c"/> </node> <node id="2851"> <label>src/sys/include/devfs/devfs.h</label> <link refid="devfs_8h"/> <childnode refid="2852" relation="include"> </childnode> <childnode refid="2834" relation="include"> </childnode> <childnode refid="2853" relation="include"> </childnode> <childnode refid="2854" relation="include"> </childnode> </node> <node id="2864"> <label>src/sys/mpi/message.c</label> <link refid="message_8c"/> </node> <node id="2886"> <label>src/sys/kmods/kmod.c</label> <link refid="kmod_8c"/> </node> <node id="2865"> <label>src/sys/mpi/system.c</label> <link refid="system_8c"/> </node> <node id="2870"> <label>src/sys/kernel/kern_sysctl.c</label> <link refid="kern__sysctl_8c"/> </node> <node id="2833"> <label>src/sys/include/ubixos/vitals.h</label> <link refid="vitals_8h"/> <childnode refid="2834" relation="include"> </childnode> <childnode refid="2836" relation="include"> </childnode> <childnode refid="2837" relation="include"> </childnode> <childnode refid="2838" relation="include"> </childnode> <childnode refid="2839" relation="include"> </childnode> <childnode refid="2840" relation="include"> </childnode> <childnode refid="2841" relation="include"> </childnode> <childnode refid="2842" relation="include"> </childnode> <childnode refid="2843" relation="include"> </childnode> <childnode refid="2844" relation="include"> </childnode> <childnode refid="2845" relation="include"> </childnode> <childnode refid="2846" relation="include"> </childnode> <childnode refid="2847" relation="include"> </childnode> <childnode refid="2848" relation="include"> </childnode> <childnode refid="2849" relation="include"> </childnode> </node> <node id="2887"> <label>src/sys/lib/kmalloc.c</label> <link refid="kmalloc_8c"/> </node> <node id="2891"> <label>src/sys/vmm/paging.c</label> <link refid="paging_8c"/> </node> <node id="2861"> <label>src/sys/ubixfs/directory.c</label> <link refid="directory_8c"/> </node> <node id="2896"> <label>src/sys/ufs/ufs.c</label> <link refid="ufs_8c"/> </node> <node id="2869"> <label>src/sys/kernel/kern_sig.c</label> <link refid="kern__sig_8c"/> </node> <node id="2843"> <label>src/sys/kernel/ubthread.c</label> <link refid="ubthread_8c"/> </node> <node id="2841"> <label>src/sys/kernel/systemtask.c</label> <link refid="systemtask_8c"/> </node> <node id="2888"> <label>src/sys/net/netif/ethernetif.c</label> <link refid="ethernetif_8c"/> </node> <node id="2845"> <label>src/sys/lib/ogprintf.cc</label> <link refid="ogprintf_8cc"/> </node> <node id="2884"> <label>src/sys/kernel/ld.c</label> <link refid="ld_8c"/> </node> <node id="2850"> <label>src/sys/include/vfs/file.h</label> <link refid="include_2vfs_2file_8h"/> <childnode refid="2851" relation="include"> </childnode> <childnode refid="2855" relation="include"> </childnode> <childnode refid="2879" relation="include"> </childnode> <childnode refid="2892" relation="include"> </childnode> <childnode refid="2840" relation="include"> </childnode> <childnode refid="2898" relation="include"> </childnode> <childnode refid="2859" relation="include"> </childnode> <childnode refid="2861" relation="include"> </childnode> <childnode refid="2846" relation="include"> </childnode> </node> <node id="2839"> <label>src/sys/kernel/fork.c</label> <link refid="fork_8c"/> </node> <node id="2876"> <label>src/sys/net/api/tcpip.c</label> <link refid="tcpip_8c"/> </node> <node id="2859"> <label>src/sys/ubixfs/block.c</label> <link refid="block_8c"/> </node> <node id="2871"> <label>src/sys/kernel/sched.c</label> <link refid="sched_8c"/> </node> <node id="2878"> <label>src/sys/net/net/shell.c</label> <link refid="shell_8c"/> </node> <node id="2856"> <label>src/sys/include/mpi/mpi.h</label> <link refid="mpi_8h"/> <childnode refid="2857" relation="include"> </childnode> <childnode refid="2840" relation="include"> </childnode> <childnode refid="2841" relation="include"> </childnode> <childnode refid="2864" relation="include"> </childnode> <childnode refid="2865" relation="include"> </childnode> </node> <node id="2877"> <label>src/sys/include/ubixos/fork.h</label> <link refid="fork_8h"/> <childnode refid="2839" relation="include"> </childnode> <childnode refid="2878" relation="include"> </childnode> </node> <node id="2860"> <label>src/sys/ubixfs/dirCache.c</label> <link refid="dirCache_8c"/> </node> <node id="2863"> <label>src/sys/ubixfs/ubixfs.c</label> <link refid="ubixfs_8c"/> </node> <node id="2873"> <label>src/sys/net/net/init.c</label> <link refid="init_8c"/> </node> <node id="2892"> <label>src/sys/include/vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="2852" relation="include"> </childnode> <childnode refid="2893" relation="include"> </childnode> <childnode refid="2857" relation="include"> </childnode> <childnode refid="2834" relation="include"> </childnode> <childnode refid="2833" relation="include"> </childnode> <childnode refid="2895" relation="include"> </childnode> <childnode refid="2897" relation="include"> </childnode> <childnode refid="2832" relation="include"> </childnode> <childnode refid="2884" relation="include"> </childnode> <childnode refid="2886" relation="include"> </childnode> <childnode refid="2862" relation="include"> </childnode> <childnode refid="2863" relation="include"> </childnode> <childnode refid="2894" relation="include"> </childnode> <childnode refid="2896" relation="include"> </childnode> <childnode refid="2846" relation="include"> </childnode> <childnode refid="2848" relation="include"> </childnode> </node> <node id="2832"> <label>src/sys/include/vfs/mount.h</label> <link refid="mount.h"/> <childnode refid="2833" relation="include"> </childnode> <childnode refid="2850" relation="include"> </childnode> <childnode refid="2892" relation="include"> </childnode> <childnode refid="2835" relation="include"> </childnode> <childnode refid="2871" relation="include"> </childnode> <childnode refid="2859" relation="include"> </childnode> <childnode refid="2861" relation="include"> </childnode> <childnode refid="2847" relation="include"> </childnode> </node> <node id="2835"> <label>src/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="2857"> <label>src/sys/include/ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="2858" relation="include"> </childnode> <childnode refid="2834" relation="include"> </childnode> <childnode refid="2840" relation="include"> </childnode> <childnode refid="2859" relation="include"> </childnode> <childnode refid="2860" relation="include"> </childnode> <childnode refid="2861" relation="include"> </childnode> <childnode refid="2862" relation="include"> </childnode> <childnode refid="2863" relation="include"> </childnode> </node> <node id="2882"> <label>src/sys/kernel/bioscall.c</label> <link refid="bioscall_8c"/> </node> <node id="2880"> <label>src/sys/include/ubixos/ubthread.h</label> <link refid="ubthread_8h"/> <childnode refid="2833" relation="include"> </childnode> <childnode refid="2843" relation="include"> </childnode> <childnode refid="2881" relation="include"> </childnode> </node> <node id="2840"> <label>src/sys/kernel/syscall.c</label> <link refid="syscall_8c"/> </node> <node id="2837"> <label>src/sys/isa/ne2k.c</label> <link refid="ne2k_8c"/> </node> <node id="2875"> <label>src/sys/include/ubixos/exec.h</label> <link refid="exec_8h"/> <childnode refid="2835" relation="include"> </childnode> <childnode refid="2867" relation="include"> </childnode> <childnode refid="2840" relation="include"> </childnode> <childnode refid="2841" relation="include"> </childnode> <childnode refid="2843" relation="include"> </childnode> <childnode refid="2876" relation="include"> </childnode> <childnode refid="2873" relation="include"> </childnode> <childnode refid="2863" relation="include"> </childnode> </node> <node id="2879"> <label>src/sys/include/ubixos/syscalls.h</label> <link refid="syscalls_8h"/> <childnode refid="2840" relation="include"> </childnode> </node> <node id="2858"> <label>src/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="2834" relation="include"> </childnode> <childnode refid="2854" relation="include"> </childnode> </node> <node id="2836"> <label>src/sys/isa/atkbd.c</label> <link refid="atkbd_8c"/> </node> <node id="2890"> <label>src/sys/vmm/pagefault.c</label> <link refid="pagefault_8c"/> </node> <node id="2862"> <label>src/sys/ubixfs/thread.c</label> <link refid="thread_8c"/> </node> <node id="2834"> <label>src/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="2835" relation="include"> </childnode> </node> <node id="2847"> <label>src/sys/vfs/mount.c</label> <link refid="mount_8c"/> </node> <node id="2852"> <label>src/sys/devfs/devfs.c</label> <link refid="devfs_8c"/> </node> <node id="2842"> <label>src/sys/kernel/time.c</label> <link refid="time_8c"/> </node> <node id="2849"> <label>src/sys/vmm/vmm_memory.c</label> <link refid="vmm__memory_8c"/> </node> <node id="2885"> <label>src/sys/kernel/spinlock.c</label> <link refid="spinlock_8c"/> </node> <node id="2868"> <label>src/sys/kernel/kern_descrip.c</label> <link refid="kern__descrip_8c"/> </node> <node id="2838"> <label>src/sys/kernel/endtask.c</label> <link refid="endtask_8c"/> </node> <node id="2846"> <label>src/sys/vfs/file.c</label> <link refid="file_8c"/> </node> <node id="2883"> <label>src/sys/kernel/gen_calls.c</label> <link refid="gen__calls_8c"/> </node> <node id="2874"> <label>src/sys/sys/idt.c</label> <link refid="idt_8c"/> </node> <node id="2872"> <label>src/sys/kernel/syscall_new.c</label> <link refid="syscall__new_8c"/> </node> <node id="2867"> <label>src/sys/kernel/exec.c</label> <link refid="exec_8c"/> </node> <node id="2893"> <label>src/sys/include/sys/buf.h</label> <link refid="buf_8h"/> <childnode refid="2894" relation="include"> </childnode> </node> <node id="2853"> <label>src/sys/isa/fdc.c</label> <link refid="fdc_8c"/> </node> <node id="2889"> <label>src/sys/vmm/getfreevirtualpage.c</label> <link refid="getfreevirtualpage_8c"/> </node> <node id="2848"> <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="178" endline="213">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="215" endline="240">devfs_init</referencedby> <referencedby refid="main_8c_1a099bb67b4698f94150184a0ee8ccffb" compoundref="main_8c" startline="97" endline="152">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>