<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16"> <compounddef id="include_2ubixfs_2ubixfs_8h" kind="file" language="C++"> <compoundname>ubixfs.h</compoundname> <includes refid="include_2sys_2types_8h" local="no">sys/types.h</includes> <includes refid="include_2vfs_2vfs_8h" local="no">vfs/vfs.h</includes> <includes refid="include_2sys_2device_8h" local="no">sys/device.h</includes> <includes refid="mpi_8h" local="no">mpi/mpi.h</includes> <includes refid="dirCache_8h" local="no">ubixfs/dirCache.h</includes> <includedby refid="arch_2armv6_2syscall_8c" local="no">C:/Dev/git/UbixOS/sys/arch/armv6/syscall.c</includedby> <includedby refid="block_8c" local="no">C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c</includedby> <includedby refid="dirCache_8c" local="no">C:/Dev/git/UbixOS/sys/fs/ubixfs/dirCache.c</includedby> <includedby refid="directory_8c" local="no">C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c</includedby> <includedby refid="thread_8c" local="no">C:/Dev/git/UbixOS/sys/fs/ubixfs/thread.c</includedby> <includedby refid="ubixfs_8c" local="no">C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c</includedby> <includedby refid="hd_8h" local="no">C:/Dev/git/UbixOS/sys/include/pci/hd.h</includedby> <includedby refid="ubixos_2init_8h" local="no">C:/Dev/git/UbixOS/sys/include/ubixos/init.h</includedby> <incdepgraph> <node id="21"> <label>ufs/ufs.h</label> <link refid="ufs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> </node> <node id="35"> <label>stdarg.h</label> <link refid="stdarg_8h"/> </node> <node id="36"> <label>ubixos/kpanic.h</label> <link refid="kpanic_8h"/> </node> <node id="51"> <label>sys/tss.h</label> <link refid="tss_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="33"> <label>sys/io.h</label> <link refid="io_8h"/> </node> <node id="42"> <label>net/pbuf.h</label> <link refid="pbuf_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> </node> <node id="50"> <label>ubixos/tty.h</label> <link refid="tty_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="25"> <label>net/net.h</label> <link refid="net_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> </node> <node id="47"> <label>net/priv/memp_priv.h</label> <link refid="memp__priv_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> </node> <node id="14"> <label>i386/cpu.h</label> <link refid="i386_2cpu_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="4"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="17"> <label>vfs/inode.h</label> <link refid="inode_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> </node> <node id="48"> <label>mpi/mpi.h</label> <link refid="mpi_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="49" relation="include"> </childnode> </node> <node id="31"> <label>net/arch/cc.h</label> <link refid="cc_8h"/> <childnode refid="32" relation="include"> </childnode> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="48" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> </node> <node id="8"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="44"> <label>net/mem.h</label> <link refid="mem_8h"/> <childnode refid="27" relation="include"> </childnode> </node> <node id="43"> <label>net/stats.h</label> <link refid="stats_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> <childnode refid="45" relation="include"> </childnode> </node> <node id="9"> <label>vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> </node> <node id="28"> <label>net/lwipopts.h</label> <link refid="lwipopts_8h"/> </node> <node id="23"> <label>vfs/mount.h</label> <link refid="mount_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="16"> <label>sys/resource.h</label> <link refid="resource_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="13"> <label>sys/trap.h</label> <link refid="trap_8h"/> <childnode refid="14" relation="include"> </childnode> </node> <node id="2"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="10"> <label>vfs/file.h</label> <link refid="include_2vfs_2file_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> </node> <node id="39"> <label>net/def.h</label> <link refid="def_8h"/> <childnode refid="30" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="26"> <label>net/netif.h</label> <link refid="netif_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> <childnode refid="38" relation="include"> </childnode> <childnode refid="39" relation="include"> </childnode> <childnode refid="42" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> </node> <node id="30"> <label>net/arch.h</label> <link refid="arch_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> <childnode refid="34" relation="include"> </childnode> <childnode refid="36" relation="include"> </childnode> </node> <node id="20"> <label>fs/msdos_fs.h</label> <link refid="msdos__fs_8h"/> </node> <node id="15"> <label>sys/signal.h</label> <link refid="sys_2signal_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="19"> <label>fs/pipe_fs.h</label> <link refid="pipe__fs_8h"/> </node> <node id="18"> <label>ubixos/wait.h</label> <link refid="wait_8h"/> </node> <node id="41"> <label>net/ip6_addr.h</label> <link refid="ip6__addr_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="39" relation="include"> </childnode> </node> <node id="27"> <label>net/opt.h</label> <link refid="opt_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="29" relation="include"> </childnode> </node> <node id="34"> <label>lib/kprintf.h</label> <link refid="kprintf_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="35" relation="include"> </childnode> </node> <node id="29"> <label>net/debug.h</label> <link refid="debug_8h"/> <childnode refid="30" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="40"> <label>net/ip4_addr.h</label> <link refid="ip4__addr_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="39" relation="include"> </childnode> </node> <node id="38"> <label>net/ip_addr.h</label> <link refid="ip__addr_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="39" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> <childnode refid="41" relation="include"> </childnode> </node> <node id="12"> <label>sys/thread.h</label> <link refid="thread_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> </node> <node id="46"> <label>net/priv/memp_std.h</label> <link refid="memp__std_8h"/> </node> <node id="5"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="32"> <label>ubixos/time.h</label> <link refid="time_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="33" relation="include"> </childnode> </node> <node id="49"> <label>ubixos/sched.h</label> <link refid="sched_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="50" relation="include"> </childnode> <childnode refid="51" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> </node> <node id="3"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="37"> <label>net/err.h</label> <link refid="err_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="30" relation="include"> </childnode> </node> <node id="6"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="22"> <label>sys/device.h</label> <link refid="include_2sys_2device_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="24"> <label>sys/sysproto_posix.h</label> <link refid="sysproto__posix_8h"/> <childnode refid="15" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> </node> <node id="11"> <label>ubixfs/dirCache.h</label> <link refid="dirCache_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="7"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="45"> <label>net/memp.h</label> <link refid="memp_8h"/> <childnode refid="27" relation="include"> </childnode> <childnode refid="46" relation="include"> </childnode> <childnode refid="47" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="3"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c</label> <link refid="block_8c"/> </node> <node id="11"> <label>C:/Dev/git/UbixOS/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="4"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/dirCache.c</label> <link refid="dirCache_8c"/> </node> <node id="5"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c</label> <link refid="directory_8c"/> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> </node> <node id="6"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/thread.c</label> <link refid="thread_8c"/> </node> <node id="9"> <label>C:/Dev/git/UbixOS/sys/fs/common/gpt.c</label> <link refid="gpt_8c"/> </node> <node id="7"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c</label> <link refid="ubixfs_8c"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/syscall.c</label> <link refid="arch_2armv6_2syscall_8c"/> </node> <node id="12"> <label>C:/Dev/git/UbixOS/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="8"> <label>C:/Dev/git/UbixOS/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="9" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> </node> <node id="10"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="11" relation="include"> </childnode> </node> </invincdepgraph> <innerclass refid="structblockAllocationTableEntry" prot="public">blockAllocationTableEntry</innerclass> <innerclass refid="structbootSect" prot="public">bootSect</innerclass> <innerclass refid="structdirectoryEntry" prot="public">directoryEntry</innerclass> <innerclass refid="structdirectoryList" prot="public">directoryList</innerclass> <innerclass refid="structpartitionInformation" prot="public">partitionInformation</innerclass> <innerclass refid="structubixDiskLabel" prot="public">ubixDiskLabel</innerclass> <innerclass refid="structubixDiskLabel_1_1ubixPartitions" prot="public">ubixDiskLabel::ubixPartitions</innerclass> <innerclass refid="structubixFSInfo" prot="public">ubixFSInfo</innerclass> <sectiondef kind="define"> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1ad4eebb29e7c75230c032b1e6f71e061d" prot="public" static="no"> <name>blockSize</name> <initializer>8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="43" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="43" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1a9c66702437ce6449d7886b4dbaad3c02" prot="public" static="no"> <name>EOBC</name> <initializer>-1</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="45" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="45" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1ae5bdc5213c0fa1f31c2ff20c158e7c97" prot="public" static="no"> <name>MAXUBIXPARTITIONS</name> <initializer>16</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="42" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="42" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1abeed60f8493a7dd3bfdfc2e41c1d700c" prot="public" static="no"> <name>typeContainer</name> <initializer>2</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="48" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="48" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1ab0df352296e0f22896675aba0aa11b6e" prot="public" static="no"> <name>typeDeleted</name> <initializer>8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="50" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="50" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1ac3414f1c06fc8a9d01787cde437ec5b9" prot="public" static="no"> <name>typeDirectory</name> <initializer>4</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="49" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="49" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1ae1596b995fc42be2fe1cfbe0ee9b8d61" prot="public" static="no"> <name>typeFile</name> <initializer>1</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="47" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="47" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1a1b1ab97d6d5dfbfb20f0f80d7c625941" prot="public" static="no"> <name>UBIXDISKMAGIC</name> <initializer>((<ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref>)0x45) /* The disk magic number */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="41" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="41" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1abd7a711afb8ae672c3e08a9308d06c5b" prot="public" static="no"> <name>UBIXFS_ALIGN</name> <param><defname>size</defname></param> <initializer>(size + ((((size) % (<ref refid="include_2ubixfs_2ubixfs_8h_1adab92bc23023fba8f349eb34bf5acf46" kindref="member">UBIXFS_BLOCKSIZE_BYTES</ref>)) == 0)? 0 : ((<ref refid="include_2ubixfs_2ubixfs_8h_1adab92bc23023fba8f349eb34bf5acf46" kindref="member">UBIXFS_BLOCKSIZE_BYTES</ref>) - ((size) % (<ref refid="include_2ubixfs_2ubixfs_8h_1adab92bc23023fba8f349eb34bf5acf46" kindref="member">UBIXFS_BLOCKSIZE_BYTES</ref>)))))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="39" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="39" bodyend="-1"/> </memberdef> <memberdef kind="define" id="include_2ubixfs_2ubixfs_8h_1adab92bc23023fba8f349eb34bf5acf46" prot="public" static="no"> <name>UBIXFS_BLOCKSIZE_BYTES</name> <initializer><ref refid="include_2ubixfs_2ubixfs_8h_1ad4eebb29e7c75230c032b1e6f71e061d" kindref="member">blockSize</ref>*512</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="38" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="38" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="typedef"> <memberdef kind="typedef" id="include_2ubixfs_2ubixfs_8h_1ad04230b24061b77cd5971ef2ce2b2b1d" prot="public" static="no"> <type>struct <ref refid="structdirectoryList" kindref="compound">directoryList</ref> *</type> <definition>typedef struct directoryList* dirList_t</definition> <argsstring></argsstring> <name>dirList_t</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="61" column="29" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" bodystart="61" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a58993494728ce5af573cd51322735210" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int addDirEntry</definition> <argsstring>(struct directoryEntry *dir, fileDescriptor_t *fd)</argsstring> <name>addDirEntry</name> <param> <type>struct <ref refid="structdirectoryEntry" kindref="compound">directoryEntry</ref> *</type> <declname>dir</declname> </param> <param> <type><ref refid="include_2vfs_2file_8h_1acc7b57f2d3766b4977ebbe64aa38608b" kindref="member">fileDescriptor_t</ref> *</type> <declname>fd</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="146" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c" bodystart="64" bodyend="89" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="146" declcolumn="5"/> <references refid="kmalloc_8h_1a150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="241" endline="331">kmalloc</references> <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references> <references refid="string_8h_1ae33b18edb618c656b9b795b9fce2316c">memcpy</references> <references refid="structfileDescriptor_1a09c5cd0d4979a70b8d7098319cd00b7c" compoundref="include_2vfs_2file_8h" startline="69">fileDescriptor::offset</references> <references refid="ubixfs_8c_1acbf342e4662a8d4904cdb627dc995822" compoundref="ubixfs_8c" startline="192" endline="220">readUbixFS</references> <references refid="structfileDescriptor_1ac8c9ca78af4599be9bbba7fa8a37eee8" compoundref="include_2vfs_2file_8h" startline="70">fileDescriptor::size</references> <references refid="ubixfs_8c_1ab4c558016c9b29b63d6f8c8ba5fe7384" compoundref="ubixfs_8c" startline="229" endline="304">writeUbixFS</references> <referencedby refid="include_2ubixfs_2ubixfs_8h_1a55ee126c39c4bb7e875cc82f317e5aee" compoundref="directory_8c" startline="92" endline="125">ubixFSmkDir</referencedby> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a9611956bb9ed5acb26ab7bc9927f4ebb" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int freeBlocks</definition> <argsstring>(int block, fileDescriptor_t *fd)</argsstring> <name>freeBlocks</name> <param> <type>int</type> <declname>block</declname> </param> <param> <type><ref refid="include_2vfs_2file_8h_1acc7b57f2d3766b4977ebbe64aa38608b" kindref="member">fileDescriptor_t</ref> *</type> <declname>fd</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="145" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c" bodystart="78" bodyend="93" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="145" declcolumn="5"/> <references refid="structblockAllocationTableEntry_1ab650496bc3011796ef8b6897f424601c" compoundref="include_2ubixfs_2ubixfs_8h" startline="91">blockAllocationTableEntry::attributes</references> <references refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" compoundref="include_2ubixfs_2ubixfs_8h" startline="126">ubixFSInfo::blockAllocationTable</references> <references refid="structvfs__mountPoint_1a9771ecae1bc4482ad0282aee5766bd9b" compoundref="mount_8h" startline="72">vfs_mountPoint::fsInfo</references> <references refid="structfileDescriptor_1ab912b7f3f302a2f71d40f3b3810e90e8" compoundref="include_2vfs_2file_8h" startline="65">fileDescriptor::mp</references> <references refid="structblockAllocationTableEntry_1adb5281b505d283f4d43d09e327b63c63" compoundref="include_2ubixfs_2ubixfs_8h" startline="93">blockAllocationTableEntry::nextBlock</references> <references refid="block_8c_1a99dfa2e54401fafb70357a6632c4ef10" compoundref="block_8c" startline="73" endline="76">syncBat</references> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1aa74ff712a9d02bb08f6421ce73358654" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int getFreeBlocks</definition> <argsstring>(int count, fileDescriptor_t *fd)</argsstring> <name>getFreeBlocks</name> <param> <type>int</type> <declname>count</declname> </param> <param> <type><ref refid="include_2vfs_2file_8h_1acc7b57f2d3766b4977ebbe64aa38608b" kindref="member">fileDescriptor_t</ref> *</type> <declname>fd</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="136" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c" bodystart="95" bodyend="123" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="136" declcolumn="5"/> <references refid="structblockAllocationTableEntry_1ab650496bc3011796ef8b6897f424601c" compoundref="include_2ubixfs_2ubixfs_8h" startline="91">blockAllocationTableEntry::attributes</references> <references refid="structubixFSInfo_1a4f530e266f49e0310c763653399dafa2" compoundref="include_2ubixfs_2ubixfs_8h" startline="128">ubixFSInfo::batEntries</references> <references refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" compoundref="include_2ubixfs_2ubixfs_8h" startline="126">ubixFSInfo::blockAllocationTable</references> <references refid="structvfs__mountPoint_1a9771ecae1bc4482ad0282aee5766bd9b" compoundref="mount_8h" startline="72">vfs_mountPoint::fsInfo</references> <references refid="structfileDescriptor_1ab912b7f3f302a2f71d40f3b3810e90e8" compoundref="include_2vfs_2file_8h" startline="65">fileDescriptor::mp</references> <references refid="structblockAllocationTableEntry_1adb5281b505d283f4d43d09e327b63c63" compoundref="include_2ubixfs_2ubixfs_8h" startline="93">blockAllocationTableEntry::nextBlock</references> <references refid="block_8c_1a99dfa2e54401fafb70357a6632c4ef10" compoundref="block_8c" startline="73" endline="76">syncBat</references> <referencedby refid="include_2ubixfs_2ubixfs_8h_1a55ee126c39c4bb7e875cc82f317e5aee" compoundref="directory_8c" startline="92" endline="125">ubixFSmkDir</referencedby> <referencedby refid="include_2ubixfs_2ubixfs_8h_1ab4c558016c9b29b63d6f8c8ba5fe7384" compoundref="ubixfs_8c" startline="229" endline="304">writeUbixFS</referencedby> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a173757dd173062c905191b7897737f5b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int readFile</definition> <argsstring>(char *file)</argsstring> <name>readFile</name> <param> <type>char *</type> <declname>file</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="133" column="5" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="133" declcolumn="5"/> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a6b56b9893c2a4b04598034085d8cee8c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int readUbixFS</definition> <argsstring>(fileDescriptor_t *fd, char *data, uInt32, long size)</argsstring> <name>readUbixFS</name> <param> <type><ref refid="include_2vfs_2file_8h_1acc7b57f2d3766b4977ebbe64aa38608b" kindref="member">fileDescriptor_t</ref> *</type> <declname>fd</declname> </param> <param> <type>char *</type> <declname>data</declname> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> </param> <param> <type>long</type> <declname>size</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="142" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c" bodystart="192" bodyend="220" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="142" declcolumn="5"/> <references refid="assert_8h_1ad6d5aaa966ca7424f7cb9bd01f2c838b" compoundref="assert_8h" startline="64">assert</references> <references refid="shell_8c_1aff2566f4c366b48d73479bef43ee4d2e" compoundref="shell_8c" startline="47">buffer</references> <references refid="structfileDescriptor_1a3f92f1984ec809932dcc57d98ea0f2b3" compoundref="include_2vfs_2file_8h" startline="75">fileDescriptor::cacheNode</references> <references refid="include_2vfs_2vfs_8h_1a4907ecb6121af1b80c5c5b436ebe3cb5" compoundref="include_2vfs_2vfs_8h" startline="47">fdEof</references> <references refid="structvfs__mountPoint_1a9771ecae1bc4482ad0282aee5766bd9b" compoundref="mount_8h" startline="72">vfs_mountPoint::fsInfo</references> <references refid="structcacheNode_1a42813fa0cdcca6ca1e6772bd20a9c321" compoundref="dirCache_8h" startline="42">cacheNode::info</references> <references refid="armv6_2kpanic_8c_1adb9a182aa071791a306163d50d653deb" compoundref="armv6_2kpanic_8c" startline="41" endline="61">kpanic</references> <references refid="structfileDescriptor_1ab912b7f3f302a2f71d40f3b3810e90e8" compoundref="include_2vfs_2file_8h" startline="65">fileDescriptor::mp</references> <references refid="fat__string_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="fat__string_8h" startline="17">NULL</references> <references refid="structcacheNode_1a8b26b1b3dbe3f8cb72627e09e6c8e353" compoundref="dirCache_8h" startline="44">cacheNode::present</references> <references refid="structfileDescriptor_1ac8c9ca78af4599be9bbba7fa8a37eee8" compoundref="include_2vfs_2file_8h" startline="70">fileDescriptor::size</references> <references refid="structfileDescriptor_1af40ff967ca5d88ce941ddec987d45ec7" compoundref="include_2vfs_2file_8h" startline="67">fileDescriptor::status</references> <referencedby refid="include_2ubixfs_2ubixfs_8h_1a58993494728ce5af573cd51322735210" compoundref="directory_8c" startline="64" endline="89">addDirEntry</referencedby> <referencedby refid="include_2ubixfs_2ubixfs_8h_1a1d4159e0eb816b6b23c214d7c601dcb4" compoundref="ubixfs_8c" startline="450" endline="474">ubixfs_init</referencedby> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a99dfa2e54401fafb70357a6632c4ef10" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void syncBat</definition> <argsstring>(struct vfs_mountPoint *mp)</argsstring> <name>syncBat</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="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="144" column="6" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c" bodystart="73" bodyend="76" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="144" declcolumn="6"/> <references refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" compoundref="include_2ubixfs_2ubixfs_8h" startline="126">ubixFSInfo::blockAllocationTable</references> <references refid="structvfs__mountPoint_1a5683a99774aaf81116e1765eb2509df5" compoundref="mount_8h" startline="70">vfs_mountPoint::device</references> <references refid="structdevice__node_1a588d09d5dabf1c8866d359aaac799b1c" compoundref="include_2sys_2device_8h" startline="37">device_node::devInfo</references> <references refid="structvfs__mountPoint_1ae5ddbb2d1c7a01716a481bc5462d6c8f" compoundref="mount_8h" startline="71">vfs_mountPoint::diskLabel</references> <references refid="structvfs__mountPoint_1a9771ecae1bc4482ad0282aee5766bd9b" compoundref="mount_8h" startline="72">vfs_mountPoint::fsInfo</references> <references refid="structdevice__interface_1aeacb2f431b14ddd1e9fe34db278dfc9e" compoundref="include_2sys_2device_8h" startline="51">device_interface::info</references> <references refid="structvfs__mountPoint_1a26cf95c23f79647d61dc6396bbeb94a6" compoundref="mount_8h" startline="73">vfs_mountPoint::partition</references> <references refid="structubixDiskLabel_1aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</references> <references refid="structubixDiskLabel_1_1ubixPartitions_1a6a02392928bd127ff780dd656dc88203" compoundref="include_2ubixfs_2ubixfs_8h" startline="76">ubixDiskLabel::ubixPartitions::pBatSize</references> <references refid="structubixDiskLabel_1_1ubixPartitions_1aa4f5df0b0d915aae3fe2f53449395065" compoundref="include_2ubixfs_2ubixfs_8h" startline="74">ubixDiskLabel::ubixPartitions::pOffset</references> <references refid="structdevice__interface_1a9d8ffee6ef57616ca48d1f7cfc54e461" compoundref="include_2sys_2device_8h" startline="53">device_interface::write</references> <referencedby refid="include_2ubixfs_2ubixfs_8h_1a9611956bb9ed5acb26ab7bc9927f4ebb" compoundref="block_8c" startline="78" endline="93">freeBlocks</referencedby> <referencedby refid="include_2ubixfs_2ubixfs_8h_1aa74ff712a9d02bb08f6421ce73358654" compoundref="block_8c" startline="95" endline="123">getFreeBlocks</referencedby> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a1d4159e0eb816b6b23c214d7c601dcb4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int ubixfs_init</definition> <argsstring>()</argsstring> <name>ubixfs_init</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="150" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c" bodystart="450" bodyend="474" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="150" declcolumn="5"/> <references refid="fat__string_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="fat__string_8h" startline="17">NULL</references> <references refid="ubixfs_8c_1acbf342e4662a8d4904cdb627dc995822" compoundref="ubixfs_8c" startline="192" endline="220">readUbixFS</references> <references refid="ubixfs_8c_1a32762e2563015d124909f3317c2a7423" compoundref="ubixfs_8c" startline="371" endline="437">ubixfs_initialize</references> <references refid="ubixfs_8c_1ab4c558016c9b29b63d6f8c8ba5fe7384" compoundref="ubixfs_8c" startline="229" endline="304">writeUbixFS</references> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a2c53ad6e6ce2e149eec9b5361dd10eda" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int ubixfs_initialize</definition> <argsstring>()</argsstring> <name>ubixfs_initialize</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="151" column="5" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="151" declcolumn="5"/> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a7400c9aaa5ced0d1c81ac05a129cfb20" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void ubixfs_thread</definition> <argsstring>()</argsstring> <name>ubixfs_thread</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="152" column="6" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="152" declcolumn="6"/> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a3f7a88e7f709a200096c93c0deb13ec2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2ubixfs_2ubixfs_8h_1ad04230b24061b77cd5971ef2ce2b2b1d" kindref="member">dirList_t</ref></type> <definition>dirList_t ubixFSLoadDir</definition> <argsstring>(char *)</argsstring> <name>ubixFSLoadDir</name> <param> <type>char *</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="63" column="11" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c" bodystart="39" bodyend="61" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="63" declcolumn="11"/> <references refid="structdirectoryList_1a15d4445988606706d7d28c6b5957b03f" compoundref="include_2ubixfs_2ubixfs_8h" startline="54">directoryList::dirName</references> <references refid="kmalloc_8h_1a150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="241" endline="331">kmalloc</references> <references refid="kprintf_8h_1ac38cd16373d98782e1465bd3d5aba470" compoundref="kprintf_8c" startline="278" endline="286">sprintf</references> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a55ee126c39c4bb7e875cc82f317e5aee" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int ubixFSmkDir</definition> <argsstring>(char *dir, fileDescriptor_t *fd)</argsstring> <name>ubixFSmkDir</name> <param> <type>char *</type> <declname>dir</declname> </param> <param> <type><ref refid="include_2vfs_2file_8h_1acc7b57f2d3766b4977ebbe64aa38608b" kindref="member">fileDescriptor_t</ref> *</type> <declname>fd</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="148" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c" bodystart="92" bodyend="125" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="148" declcolumn="5"/> <references refid="directory_8c_1a58993494728ce5af573cd51322735210" compoundref="directory_8c" startline="64" endline="89">addDirEntry</references> <references refid="structdirectoryEntry_1aeb3d1582fa3240c4847e52b7142ab801" compoundref="include_2ubixfs_2ubixfs_8h" startline="105">directoryEntry::attributes</references> <references refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" compoundref="include_2ubixfs_2ubixfs_8h" startline="126">ubixFSInfo::blockAllocationTable</references> <references refid="include_2ubixfs_2ubixfs_8h_1ad4eebb29e7c75230c032b1e6f71e061d" compoundref="include_2ubixfs_2ubixfs_8h" startline="43">blockSize</references> <references refid="structvfs__mountPoint_1a5683a99774aaf81116e1765eb2509df5" compoundref="mount_8h" startline="70">vfs_mountPoint::device</references> <references refid="structdevice__node_1a588d09d5dabf1c8866d359aaac799b1c" compoundref="include_2sys_2device_8h" startline="37">device_node::devInfo</references> <references refid="structvfs__mountPoint_1ae5ddbb2d1c7a01716a481bc5462d6c8f" compoundref="mount_8h" startline="71">vfs_mountPoint::diskLabel</references> <references refid="structdirectoryEntry_1a61e77c256eaf6c4e7fe56d2574f16f98" compoundref="include_2ubixfs_2ubixfs_8h" startline="107">directoryEntry::fileName</references> <references refid="structvfs__mountPoint_1a9771ecae1bc4482ad0282aee5766bd9b" compoundref="mount_8h" startline="72">vfs_mountPoint::fsInfo</references> <references refid="block_8c_1aa74ff712a9d02bb08f6421ce73358654" compoundref="block_8c" startline="95" endline="123">getFreeBlocks</references> <references refid="structdevice__interface_1aeacb2f431b14ddd1e9fe34db278dfc9e" compoundref="include_2sys_2device_8h" startline="51">device_interface::info</references> <references refid="kmalloc_8h_1aaa9ed6886459604cf73ccdbf6410e487" compoundref="kmalloc_8c" startline="342" endline="382">kfree</references> <references refid="kmalloc_8h_1a150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="241" endline="331">kmalloc</references> <references refid="structfileDescriptor_1ab912b7f3f302a2f71d40f3b3810e90e8" compoundref="include_2vfs_2file_8h" startline="65">fileDescriptor::mp</references> <references refid="structvfs__mountPoint_1a26cf95c23f79647d61dc6396bbeb94a6" compoundref="mount_8h" startline="73">vfs_mountPoint::partition</references> <references refid="structubixDiskLabel_1aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</references> <references refid="structdirectoryEntry_1aa948f64fa7c34827ef1eca6c044002df" compoundref="include_2ubixfs_2ubixfs_8h" startline="106">directoryEntry::permissions</references> <references refid="structubixDiskLabel_1_1ubixPartitions_1aa4f5df0b0d915aae3fe2f53449395065" compoundref="include_2ubixfs_2ubixfs_8h" startline="74">ubixDiskLabel::ubixPartitions::pOffset</references> <references refid="structblockAllocationTableEntry_1a47b0210bbfb05977d7d5fed3b24718b4" compoundref="include_2ubixfs_2ubixfs_8h" startline="92">blockAllocationTableEntry::realSector</references> <references refid="structdirectoryEntry_1a9571030f709f6926b925e552660a65ab" compoundref="include_2ubixfs_2ubixfs_8h" startline="100">directoryEntry::size</references> <references refid="kprintf_8h_1ac38cd16373d98782e1465bd3d5aba470" compoundref="kprintf_8c" startline="278" endline="286">sprintf</references> <references refid="structdirectoryEntry_1a83e91977e7db1dc36d3e81183ac8965c" compoundref="include_2ubixfs_2ubixfs_8h" startline="99">directoryEntry::startCluster</references> <references refid="include_2ubixfs_2ubixfs_8h_1ac3414f1c06fc8a9d01787cde437ec5b9" compoundref="include_2ubixfs_2ubixfs_8h" startline="49">typeDirectory</references> <references refid="include_2ubixfs_2ubixfs_8h_1adab92bc23023fba8f349eb34bf5acf46" compoundref="include_2ubixfs_2ubixfs_8h" startline="38">UBIXFS_BLOCKSIZE_BYTES</references> <references refid="structdevice__interface_1a9d8ffee6ef57616ca48d1f7cfc54e461" compoundref="include_2sys_2device_8h" startline="53">device_interface::write</references> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1adfbafb62e063e24f4df09029862ba9d0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void ubixFSUnlink</definition> <argsstring>(char *path, struct vfs_mountPoint *mp)</argsstring> <name>ubixFSUnlink</name> <param> <type>char *</type> <declname>path</declname> </param> <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="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="147" column="6" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c" bodystart="306" bodyend="323" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="147" declcolumn="6"/> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1a65f42c9b6ca7c526642fa1c168272b03" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int writeFileByte</definition> <argsstring>(int ch, fileDescriptor_t *fd, long offset)</argsstring> <name>writeFileByte</name> <param> <type>int</type> <declname>ch</declname> </param> <param> <type><ref refid="include_2vfs_2file_8h_1acc7b57f2d3766b4977ebbe64aa38608b" kindref="member">fileDescriptor_t</ref> *</type> <declname>fd</declname> </param> <param> <type>long</type> <declname>offset</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="134" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c" bodystart="116" bodyend="187" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="134" declcolumn="5"/> <references refid="assert_8h_1ad6d5aaa966ca7424f7cb9bd01f2c838b" compoundref="assert_8h" startline="64">assert</references> <references refid="structblockAllocationTableEntry_1ab650496bc3011796ef8b6897f424601c" compoundref="include_2ubixfs_2ubixfs_8h" startline="91">blockAllocationTableEntry::attributes</references> <references refid="structubixFSInfo_1a4f530e266f49e0310c763653399dafa2" compoundref="include_2ubixfs_2ubixfs_8h" startline="128">ubixFSInfo::batEntries</references> <references refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" compoundref="include_2ubixfs_2ubixfs_8h" startline="126">ubixFSInfo::blockAllocationTable</references> <references refid="structfileDescriptor_1a1e5de6abaaaaba1c21ea108de1166a6b" compoundref="include_2vfs_2file_8h" startline="74">fileDescriptor::buffer</references> <references refid="structvfs__mountPoint_1a5683a99774aaf81116e1765eb2509df5" compoundref="mount_8h" startline="70">vfs_mountPoint::device</references> <references refid="structdevice__node_1a588d09d5dabf1c8866d359aaac799b1c" compoundref="include_2sys_2device_8h" startline="37">device_node::devInfo</references> <references refid="structvfs__mountPoint_1ae5ddbb2d1c7a01716a481bc5462d6c8f" compoundref="mount_8h" startline="71">vfs_mountPoint::diskLabel</references> <references refid="include_2vfs_2vfs_8h_1a249a3d8cdfed3302062ad215b95a4294" compoundref="include_2vfs_2vfs_8h" startline="45">fdOpen</references> <references refid="include_2vfs_2vfs_8h_1aa461f4419baab36cdd1143cd0fe66e0e" compoundref="include_2vfs_2vfs_8h" startline="46">fdRead</references> <references refid="structfileDescriptor_1a3663916ccc29f892a1f98b22ffd8b8bd" compoundref="include_2vfs_2file_8h" startline="73">fileDescriptor::fileName</references> <references refid="structdirectoryEntry_1a61e77c256eaf6c4e7fe56d2574f16f98" compoundref="include_2ubixfs_2ubixfs_8h" startline="107">directoryEntry::fileName</references> <references refid="structvfs__mountPoint_1a9771ecae1bc4482ad0282aee5766bd9b" compoundref="mount_8h" startline="72">vfs_mountPoint::fsInfo</references> <references refid="structdevice__interface_1aeacb2f431b14ddd1e9fe34db278dfc9e" compoundref="include_2sys_2device_8h" startline="51">device_interface::info</references> <references refid="kmalloc_8h_1aaa9ed6886459604cf73ccdbf6410e487" compoundref="kmalloc_8c" startline="342" endline="382">kfree</references> <references refid="kmalloc_8h_1a150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="241" endline="331">kmalloc</references> <references refid="structfileDescriptor_1ab912b7f3f302a2f71d40f3b3810e90e8" compoundref="include_2vfs_2file_8h" startline="65">fileDescriptor::mp</references> <references refid="structblockAllocationTableEntry_1adb5281b505d283f4d43d09e327b63c63" compoundref="include_2ubixfs_2ubixfs_8h" startline="93">blockAllocationTableEntry::nextBlock</references> <references refid="fat__string_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="fat__string_8h" startline="17">NULL</references> <references refid="structvfs__mountPoint_1a26cf95c23f79647d61dc6396bbeb94a6" compoundref="mount_8h" startline="73">vfs_mountPoint::partition</references> <references refid="structubixDiskLabel_1aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</references> <references refid="structubixDiskLabel_1_1ubixPartitions_1a6a02392928bd127ff780dd656dc88203" compoundref="include_2ubixfs_2ubixfs_8h" startline="76">ubixDiskLabel::ubixPartitions::pBatSize</references> <references refid="structubixDiskLabel_1_1ubixPartitions_1aa4f5df0b0d915aae3fe2f53449395065" compoundref="include_2ubixfs_2ubixfs_8h" startline="74">ubixDiskLabel::ubixPartitions::pOffset</references> <references refid="structdevice__interface_1a876d3736a8df585bb06a82308724db6f" compoundref="include_2sys_2device_8h" startline="52">device_interface::read</references> <references refid="structblockAllocationTableEntry_1a47b0210bbfb05977d7d5fed3b24718b4" compoundref="include_2ubixfs_2ubixfs_8h" startline="92">blockAllocationTableEntry::realSector</references> <references refid="structfileDescriptor_1ac8c9ca78af4599be9bbba7fa8a37eee8" compoundref="include_2vfs_2file_8h" startline="70">fileDescriptor::size</references> <references refid="structdirectoryEntry_1a9571030f709f6926b925e552660a65ab" compoundref="include_2ubixfs_2ubixfs_8h" startline="100">directoryEntry::size</references> <references refid="structfileDescriptor_1accd84ca186e1fd7e8e82fee3a18779ae" compoundref="include_2vfs_2file_8h" startline="72">fileDescriptor::start</references> <references refid="structfileDescriptor_1af40ff967ca5d88ce941ddec987d45ec7" compoundref="include_2vfs_2file_8h" startline="67">fileDescriptor::status</references> <references refid="string_8h_1a6f3dcb20ff11ff9db5904c3cfb61a38c">strcmp</references> <references refid="structdevice__interface_1a9d8ffee6ef57616ca48d1f7cfc54e461" compoundref="include_2sys_2device_8h" startline="53">device_interface::write</references> </memberdef> <memberdef kind="function" id="include_2ubixfs_2ubixfs_8h_1ab4c558016c9b29b63d6f8c8ba5fe7384" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int writeUbixFS</definition> <argsstring>(fileDescriptor_t *fd, char *data, long offset, long size)</argsstring> <name>writeUbixFS</name> <param> <type><ref refid="include_2vfs_2file_8h_1acc7b57f2d3766b4977ebbe64aa38608b" kindref="member">fileDescriptor_t</ref> *</type> <declname>fd</declname> </param> <param> <type>char *</type> <declname>data</declname> </param> <param> <type>long</type> <declname>offset</declname> </param> <param> <type>long</type> <declname>size</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" line="143" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c" bodystart="229" bodyend="304" declfile="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h" declline="143" declcolumn="5"/> <references refid="assert_8h_1ad6d5aaa966ca7424f7cb9bd01f2c838b" compoundref="assert_8h" startline="64">assert</references> <references refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" compoundref="include_2ubixfs_2ubixfs_8h" startline="126">ubixFSInfo::blockAllocationTable</references> <references refid="include_2ubixfs_2ubixfs_8h_1ad4eebb29e7c75230c032b1e6f71e061d" compoundref="include_2ubixfs_2ubixfs_8h" startline="43">blockSize</references> <references refid="structfileDescriptor_1a1e5de6abaaaaba1c21ea108de1166a6b" compoundref="include_2vfs_2file_8h" startline="74">fileDescriptor::buffer</references> <references refid="structvfs__mountPoint_1a5683a99774aaf81116e1765eb2509df5" compoundref="mount_8h" startline="70">vfs_mountPoint::device</references> <references refid="structdevice__node_1a588d09d5dabf1c8866d359aaac799b1c" compoundref="include_2sys_2device_8h" startline="37">device_node::devInfo</references> <references refid="structvfs__mountPoint_1ae5ddbb2d1c7a01716a481bc5462d6c8f" compoundref="mount_8h" startline="71">vfs_mountPoint::diskLabel</references> <references refid="include_2ubixfs_2ubixfs_8h_1a9c66702437ce6449d7886b4dbaad3c02" compoundref="include_2ubixfs_2ubixfs_8h" startline="45">EOBC</references> <references refid="structfileDescriptor_1a3663916ccc29f892a1f98b22ffd8b8bd" compoundref="include_2vfs_2file_8h" startline="73">fileDescriptor::fileName</references> <references refid="structdirectoryEntry_1a61e77c256eaf6c4e7fe56d2574f16f98" compoundref="include_2ubixfs_2ubixfs_8h" startline="107">directoryEntry::fileName</references> <references refid="structvfs__mountPoint_1a9771ecae1bc4482ad0282aee5766bd9b" compoundref="mount_8h" startline="72">vfs_mountPoint::fsInfo</references> <references refid="block_8c_1aa74ff712a9d02bb08f6421ce73358654" compoundref="block_8c" startline="95" endline="123">getFreeBlocks</references> <references refid="structdevice__interface_1aeacb2f431b14ddd1e9fe34db278dfc9e" compoundref="include_2sys_2device_8h" startline="51">device_interface::info</references> <references refid="kmalloc_8h_1aaa9ed6886459604cf73ccdbf6410e487" compoundref="kmalloc_8c" startline="342" endline="382">kfree</references> <references refid="kmalloc_8h_1a150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="241" endline="331">kmalloc</references> <references refid="structfileDescriptor_1ab912b7f3f302a2f71d40f3b3810e90e8" compoundref="include_2vfs_2file_8h" startline="65">fileDescriptor::mp</references> <references refid="structblockAllocationTableEntry_1adb5281b505d283f4d43d09e327b63c63" compoundref="include_2ubixfs_2ubixfs_8h" startline="93">blockAllocationTableEntry::nextBlock</references> <references refid="fat__string_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="fat__string_8h" startline="17">NULL</references> <references refid="structvfs__mountPoint_1a26cf95c23f79647d61dc6396bbeb94a6" compoundref="mount_8h" startline="73">vfs_mountPoint::partition</references> <references refid="structubixDiskLabel_1aa97973cf7f0b67811080656e11c6385f">ubixDiskLabel::partitions</references> <references refid="structubixDiskLabel_1_1ubixPartitions_1aa4f5df0b0d915aae3fe2f53449395065" compoundref="include_2ubixfs_2ubixfs_8h" startline="74">ubixDiskLabel::ubixPartitions::pOffset</references> <references refid="structdevice__interface_1a876d3736a8df585bb06a82308724db6f" compoundref="include_2sys_2device_8h" startline="52">device_interface::read</references> <references refid="structblockAllocationTableEntry_1a47b0210bbfb05977d7d5fed3b24718b4" compoundref="include_2ubixfs_2ubixfs_8h" startline="92">blockAllocationTableEntry::realSector</references> <references refid="structfileDescriptor_1ac8c9ca78af4599be9bbba7fa8a37eee8" compoundref="include_2vfs_2file_8h" startline="70">fileDescriptor::size</references> <references refid="structdirectoryEntry_1a9571030f709f6926b925e552660a65ab" compoundref="include_2ubixfs_2ubixfs_8h" startline="100">directoryEntry::size</references> <references refid="structfileDescriptor_1accd84ca186e1fd7e8e82fee3a18779ae" compoundref="include_2vfs_2file_8h" startline="72">fileDescriptor::start</references> <references refid="structdirectoryEntry_1a83e91977e7db1dc36d3e81183ac8965c" compoundref="include_2ubixfs_2ubixfs_8h" startline="99">directoryEntry::startCluster</references> <references refid="string_8h_1a6f3dcb20ff11ff9db5904c3cfb61a38c">strcmp</references> <references refid="structdevice__interface_1a9d8ffee6ef57616ca48d1f7cfc54e461" compoundref="include_2sys_2device_8h" startline="53">device_interface::write</references> <referencedby refid="include_2ubixfs_2ubixfs_8h_1a58993494728ce5af573cd51322735210" compoundref="directory_8c" startline="64" endline="89">addDirEntry</referencedby> <referencedby refid="include_2ubixfs_2ubixfs_8h_1a1d4159e0eb816b6b23c214d7c601dcb4" compoundref="ubixfs_8c" startline="450" endline="474">ubixfs_init</referencedby> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*-</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2002-2018<sp/>The<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>*<sp/>This<sp/>was<sp/>developed<sp/>by<sp/>Christopher<sp/>W.<sp/>Olsen<sp/>for<sp/>the<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="7"><highlight class="comment"><sp/>*<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<sp/>permitted</highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>*<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>*<sp/>1)<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="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>*<sp/>2)<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline> <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>3)<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its<sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to</highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>permission.</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>*<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>*<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>*<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline> <codeline lineno="25"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT</highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="27"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="28"><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_UBIXFS_UBIXFS_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>_UBIXFS_UBIXFS_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="31"><highlight class="normal"></highlight></codeline> <codeline lineno="32"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2sys_2types_8h" kindref="compound">sys/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="33"><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="34"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2sys_2device_8h" kindref="compound">sys/device.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="35"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="mpi_8h" kindref="compound">mpi/mpi.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="36"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="dirCache_8h" kindref="compound">ubixfs/dirCache.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="37"><highlight class="normal"></highlight></codeline> <codeline lineno="38" refid="include_2ubixfs_2ubixfs_8h_1adab92bc23023fba8f349eb34bf5acf46" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>UBIXFS_BLOCKSIZE_BYTES<sp/><sp/><sp/><sp/><sp/>blockSize*512</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="39" refid="include_2ubixfs_2ubixfs_8h_1abd7a711afb8ae672c3e08a9308d06c5b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>UBIXFS_ALIGN(size)<sp/>(size<sp/>+<sp/>((((size)<sp/>%<sp/>(UBIXFS_BLOCKSIZE_BYTES))<sp/>==<sp/>0)?<sp/>0<sp/>:<sp/>((UBIXFS_BLOCKSIZE_BYTES)<sp/>-<sp/>((size)<sp/>%<sp/>(UBIXFS_BLOCKSIZE_BYTES)))))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="40"><highlight class="normal"></highlight></codeline> <codeline lineno="41" refid="include_2ubixfs_2ubixfs_8h_1a1b1ab97d6d5dfbfb20f0f80d7c625941" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>UBIXDISKMAGIC<sp/><sp/><sp/><sp/><sp/>((uInt32)0x45)<sp/></highlight><highlight class="comment">/*<sp/>The<sp/>disk<sp/>magic<sp/>number<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="42" refid="include_2ubixfs_2ubixfs_8h_1ae5bdc5213c0fa1f31c2ff20c158e7c97" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MAXUBIXPARTITIONS<sp/>16</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43" refid="include_2ubixfs_2ubixfs_8h_1ad4eebb29e7c75230c032b1e6f71e061d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>blockSize<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight></codeline> <codeline lineno="45" refid="include_2ubixfs_2ubixfs_8h_1a9c66702437ce6449d7886b4dbaad3c02" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>EOBC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>-1</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="46"><highlight class="normal"></highlight></codeline> <codeline lineno="47" refid="include_2ubixfs_2ubixfs_8h_1ae1596b995fc42be2fe1cfbe0ee9b8d61" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>typeFile<sp/><sp/><sp/><sp/><sp/><sp/>1</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="48" refid="include_2ubixfs_2ubixfs_8h_1abeed60f8493a7dd3bfdfc2e41c1d700c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>typeContainer<sp/>2</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="49" refid="include_2ubixfs_2ubixfs_8h_1ac3414f1c06fc8a9d01787cde437ec5b9" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>typeDirectory<sp/>4</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="50" refid="include_2ubixfs_2ubixfs_8h_1ab0df352296e0f22896675aba0aa11b6e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>typeDeleted<sp/><sp/><sp/>8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight></codeline> <codeline lineno="52"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Start<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53" refid="structdirectoryList" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdirectoryList" kindref="compound">directoryList</ref><sp/>{</highlight></codeline> <codeline lineno="54" refid="structdirectoryList_1a15d4445988606706d7d28c6b5957b03f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdirectoryList_1a15d4445988606706d7d28c6b5957b03f" kindref="member">dirName</ref>[256];</highlight></codeline> <codeline lineno="55" refid="structdirectoryList_1a3dcc1ef7098c5f3718dd1f61b485a43a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<ref refid="structdirectoryList_1a3dcc1ef7098c5f3718dd1f61b485a43a" kindref="member">dirCache</ref>;</highlight></codeline> <codeline lineno="56" refid="structdirectoryList_1a314f7553c3282d3247b35909e18b4bb3" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdirectoryList_1a314f7553c3282d3247b35909e18b4bb3" kindref="member">dirBlock</ref>;</highlight></codeline> <codeline lineno="57" refid="structdirectoryList_1a2b552b5117f837b6165f1c5355d65ae8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdirectoryList" kindref="compound">directoryList</ref><sp/>*<ref refid="structdirectoryList_1a2b552b5117f837b6165f1c5355d65ae8" kindref="member">next</ref>;</highlight></codeline> <codeline lineno="58" refid="structdirectoryList_1a752b12564cb98504c28f81adda2c3620" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdirectoryList" kindref="compound">directoryList</ref><sp/>*<ref refid="structdirectoryList_1a752b12564cb98504c28f81adda2c3620" kindref="member">prev</ref>;</highlight></codeline> <codeline lineno="59"><highlight class="normal">};</highlight></codeline> <codeline lineno="60"><highlight class="normal"></highlight></codeline> <codeline lineno="61" refid="include_2ubixfs_2ubixfs_8h_1ad04230b24061b77cd5971ef2ce2b2b1d" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdirectoryList" kindref="compound">directoryList</ref><sp/>*<sp/><ref refid="include_2ubixfs_2ubixfs_8h_1ad04230b24061b77cd5971ef2ce2b2b1d" kindref="member">dirList_t</ref>;</highlight></codeline> <codeline lineno="62"><highlight class="normal"></highlight></codeline> <codeline lineno="63"><highlight class="normal"><ref refid="structdirectoryList" kindref="compound">dirList_t</ref><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a3f7a88e7f709a200096c93c0deb13ec2" kindref="member">ubixFSLoadDir</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*);</highlight></codeline> <codeline lineno="64"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>End<sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="65"><highlight class="normal"></highlight></codeline> <codeline lineno="66"><highlight class="normal"></highlight><highlight class="comment">//Partition<sp/>Information</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="67" refid="structubixDiskLabel" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structubixDiskLabel" kindref="compound">ubixDiskLabel</ref><sp/>{</highlight></codeline> <codeline lineno="68" refid="structubixDiskLabel_1a2eea14a0546c7de19d53b3784e623463" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixDiskLabel_1a2eea14a0546c7de19d53b3784e623463" kindref="member">magicNum</ref>;</highlight></codeline> <codeline lineno="69" refid="structubixDiskLabel_1a95fd8a0ea36a8b3de597b92c8ebe0dce" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixDiskLabel_1a95fd8a0ea36a8b3de597b92c8ebe0dce" kindref="member">magicNum2</ref>;</highlight></codeline> <codeline lineno="70" refid="structubixDiskLabel_1a4cec34076d7ba1fad99374ee56ef0edc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structubixDiskLabel_1a4cec34076d7ba1fad99374ee56ef0edc" kindref="member">driveType</ref>;</highlight></codeline> <codeline lineno="71" refid="structubixDiskLabel_1ad29421729264aaa7082d9bd00f7c2c85" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structubixDiskLabel_1ad29421729264aaa7082d9bd00f7c2c85" kindref="member">numPartitions</ref>;</highlight></codeline> <codeline lineno="72" refid="structubixDiskLabel_1_1ubixPartitions" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structubixDiskLabel_1_1ubixPartitions" kindref="compound">ubixPartitions</ref><sp/>{<sp/><sp/></highlight><highlight class="comment">//the<sp/>partition<sp/>table</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="73" refid="structubixDiskLabel_1_1ubixPartitions_1a6bad338fb9fa2f078c2e5d29024face4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixDiskLabel_1_1ubixPartitions_1a6bad338fb9fa2f078c2e5d29024face4" kindref="member">pSize</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//number<sp/>of<sp/>sectors<sp/>in<sp/>partition</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="74" refid="structubixDiskLabel_1_1ubixPartitions_1aa4f5df0b0d915aae3fe2f53449395065" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixDiskLabel_1_1ubixPartitions_1aa4f5df0b0d915aae3fe2f53449395065" kindref="member">pOffset</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//starting<sp/>sector</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="75" refid="structubixDiskLabel_1_1ubixPartitions_1a3caf99d21233870afbcfe3062e249c8d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixDiskLabel_1_1ubixPartitions_1a3caf99d21233870afbcfe3062e249c8d" kindref="member">pFsSize</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//filesystem<sp/>basic<sp/>fragment<sp/>size</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="76" refid="structubixDiskLabel_1_1ubixPartitions_1a6a02392928bd127ff780dd656dc88203" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixDiskLabel_1_1ubixPartitions_1a6a02392928bd127ff780dd656dc88203" kindref="member">pBatSize</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//BAT<sp/>size</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="77" refid="structubixDiskLabel_1_1ubixPartitions_1a89ee9b3f4b6564feda17f3b6b9297135" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1aa4e0f27a9aca905e340c06d2dcae843c" kindref="member">uInt8</ref><sp/><ref refid="structubixDiskLabel_1_1ubixPartitions_1a89ee9b3f4b6564feda17f3b6b9297135" kindref="member">pFsType</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//filesystem<sp/>type,<sp/>see<sp/>below</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="78" refid="structubixDiskLabel_1_1ubixPartitions_1a075ed7afefb5a3523a090971e3d3c3d9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1aa4e0f27a9aca905e340c06d2dcae843c" kindref="member">uInt8</ref><sp/><ref refid="structubixDiskLabel_1_1ubixPartitions_1a075ed7afefb5a3523a090971e3d3c3d9" kindref="member">pFrag</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//filesystem<sp/>fragments<sp/>per<sp/>block</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/><ref refid="structubixDiskLabel_1aa97973cf7f0b67811080656e11c6385f" kindref="member">partitions</ref>[<ref refid="include_2ubixfs_2ubixfs_8h_1ae5bdc5213c0fa1f31c2ff20c158e7c97" kindref="member">MAXUBIXPARTITIONS</ref>];</highlight></codeline> <codeline lineno="80"><highlight class="normal">};</highlight></codeline> <codeline lineno="81"><highlight class="normal"></highlight></codeline> <codeline lineno="82" refid="structpartitionInformation" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structpartitionInformation" kindref="compound">partitionInformation</ref><sp/>{</highlight></codeline> <codeline lineno="83" refid="structpartitionInformation_1abdfd7fa7f5f6fb27516f07590a56f806" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structpartitionInformation_1abdfd7fa7f5f6fb27516f07590a56f806" kindref="member">size</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Size<sp/>In<sp/>Sectors</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="84" refid="structpartitionInformation_1acd3dbb24d1a864968aba02edda70a777" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structpartitionInformation_1acd3dbb24d1a864968aba02edda70a777" kindref="member">startSector</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Base<sp/>Sector<sp/>Of<sp/>Partition</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="85" refid="structpartitionInformation_1ad3d33c51fecdc57b01f0577076f5888b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structpartitionInformation_1ad3d33c51fecdc57b01f0577076f5888b" kindref="member">blockAllocationTable</ref>;<sp/></highlight><highlight class="comment">//Base<sp/>Sector<sp/>Of<sp/>BAT</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="86" refid="structpartitionInformation_1a0077f37eb5dd106e56f69e046cf21b11" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structpartitionInformation_1a0077f37eb5dd106e56f69e046cf21b11" kindref="member">rootDirectory</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Base<sp/>Sector<sp/>Of<sp/>Root<sp/>Directory</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="87"><highlight class="normal">};</highlight></codeline> <codeline lineno="88"><highlight class="normal"></highlight></codeline> <codeline lineno="89"><highlight class="normal"></highlight><highlight class="comment">//Block<sp/>Allocation<sp/>Table<sp/>Entry</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="90" refid="structblockAllocationTableEntry" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structblockAllocationTableEntry" kindref="compound">blockAllocationTableEntry</ref><sp/>{</highlight></codeline> <codeline lineno="91" refid="structblockAllocationTableEntry_1ab650496bc3011796ef8b6897f424601c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structblockAllocationTableEntry_1ab650496bc3011796ef8b6897f424601c" kindref="member">attributes</ref>;<sp/></highlight><highlight class="comment">//Block<sp/>Attributes</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="92" refid="structblockAllocationTableEntry_1a47b0210bbfb05977d7d5fed3b24718b4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structblockAllocationTableEntry_1a47b0210bbfb05977d7d5fed3b24718b4" kindref="member">realSector</ref>;<sp/></highlight><highlight class="comment">//Real<sp/>Sector</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="93" refid="structblockAllocationTableEntry_1adb5281b505d283f4d43d09e327b63c63" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structblockAllocationTableEntry_1adb5281b505d283f4d43d09e327b63c63" kindref="member">nextBlock</ref>;<sp/><sp/></highlight><highlight class="comment">//Sector<sp/>Of<sp/>Next<sp/>Block</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="94" refid="structblockAllocationTableEntry_1aefc436025c53dd0dbfc412df01c35544" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structblockAllocationTableEntry_1aefc436025c53dd0dbfc412df01c35544" kindref="member">reserved</ref>;<sp/><sp/><sp/></highlight><highlight class="comment">//Reserved</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="95"><highlight class="normal">};</highlight></codeline> <codeline lineno="96"><highlight class="normal"></highlight></codeline> <codeline lineno="97"><highlight class="normal"></highlight><highlight class="comment">//UbixFS<sp/>Directory<sp/>Entry</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="98" refid="structdirectoryEntry" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdirectoryEntry" kindref="compound">directoryEntry</ref><sp/>{</highlight></codeline> <codeline lineno="99" refid="structdirectoryEntry_1a83e91977e7db1dc36d3e81183ac8965c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdirectoryEntry_1a83e91977e7db1dc36d3e81183ac8965c" kindref="member">startCluster</ref>;<sp/><sp/><sp/></highlight><highlight class="comment">//Starting<sp/>Cluster<sp/>Of<sp/>File</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="100" refid="structdirectoryEntry_1a9571030f709f6926b925e552660a65ab" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdirectoryEntry_1a9571030f709f6926b925e552660a65ab" kindref="member">size</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Size<sp/>Of<sp/>File</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="101" refid="structdirectoryEntry_1a1daf9472a2fd74cb5ff8cacae052a140" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdirectoryEntry_1a1daf9472a2fd74cb5ff8cacae052a140" kindref="member">creationDate</ref>;<sp/><sp/></highlight><highlight class="comment">//Date<sp/>Created</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="102" refid="structdirectoryEntry_1a9fd8ddf94af123a6b8209fe59aabe7ef" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdirectoryEntry_1a9fd8ddf94af123a6b8209fe59aabe7ef" kindref="member">lastModified</ref>;<sp/><sp/></highlight><highlight class="comment">//Date<sp/>Last<sp/>Modified</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="103" refid="structdirectoryEntry_1a55932700e138f68b3b27d2a2bca923fa" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdirectoryEntry_1a55932700e138f68b3b27d2a2bca923fa" kindref="member">uid</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//UID<sp/>Of<sp/>Owner</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="104" refid="structdirectoryEntry_1a35604b07f0b9c9230ca2c0566132e661" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdirectoryEntry_1a35604b07f0b9c9230ca2c0566132e661" kindref="member">gid</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//GID<sp/>Of<sp/>Owner</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="105" refid="structdirectoryEntry_1aeb3d1582fa3240c4847e52b7142ab801" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structdirectoryEntry_1aeb3d1582fa3240c4847e52b7142ab801" kindref="member">attributes</ref>;<sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Files<sp/>Attributes</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="106" refid="structdirectoryEntry_1aa948f64fa7c34827ef1eca6c044002df" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structdirectoryEntry_1aa948f64fa7c34827ef1eca6c044002df" kindref="member">permissions</ref>;<sp/><sp/><sp/></highlight><highlight class="comment">//Files<sp/>Permissions</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="107" refid="structdirectoryEntry_1a61e77c256eaf6c4e7fe56d2574f16f98" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdirectoryEntry_1a61e77c256eaf6c4e7fe56d2574f16f98" kindref="member">fileName</ref>[256];<sp/></highlight><highlight class="comment">//File<sp/>Name</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="108"><highlight class="normal">};</highlight></codeline> <codeline lineno="109"><highlight class="normal"></highlight></codeline> <codeline lineno="110" refid="structbootSect" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structbootSect" kindref="compound">bootSect</ref><sp/>{</highlight></codeline> <codeline lineno="111" refid="structbootSect_1a5f089b32a62e159d1f84019db8bd8101" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1aa4e0f27a9aca905e340c06d2dcae843c" kindref="member">uInt8</ref><sp/><ref refid="structbootSect_1a5f089b32a62e159d1f84019db8bd8101" kindref="member">jmp</ref>[4];</highlight></codeline> <codeline lineno="112" refid="structbootSect_1aae85f3c98c364997d5cb5144eba908d8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1aa4e0f27a9aca905e340c06d2dcae843c" kindref="member">uInt8</ref><sp/></highlight><highlight class="keywordtype">id</highlight><highlight class="normal">[6];</highlight></codeline> <codeline lineno="113" refid="structbootSect_1a298f3862fbde8f187294d7b7bdbbd749" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structbootSect_1a298f3862fbde8f187294d7b7bdbbd749" kindref="member">version</ref>;</highlight></codeline> <codeline lineno="114" refid="structbootSect_1a5c5732429c667eb3d5a7bc728f0c753e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structbootSect_1a5c5732429c667eb3d5a7bc728f0c753e" kindref="member">tmp</ref>;</highlight></codeline> <codeline lineno="115" refid="structbootSect_1a24ab1c78d0eca12bf9192e59cff2bbee" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structbootSect_1a24ab1c78d0eca12bf9192e59cff2bbee" kindref="member">fsStart</ref>;</highlight></codeline> <codeline lineno="116" refid="structbootSect_1a926adbd4bc2bf0bbf37a1d4bab8610b6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1a81f3b46fa4ddd984830104840a08da82" kindref="member">uInt16</ref><sp/><ref refid="structbootSect_1a926adbd4bc2bf0bbf37a1d4bab8610b6" kindref="member">tmp2</ref>;</highlight></codeline> <codeline lineno="117" refid="structbootSect_1ad4072a8017255d8c119817bb4d8e7d7d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structbootSect_1ad4072a8017255d8c119817bb4d8e7d7d" kindref="member">krnl_start</ref>;</highlight></codeline> <codeline lineno="118" refid="structbootSect_1ad3b694978c9b506183a7ee72a03c11e0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a87d141052bcd5ec8a80812a565c70369" kindref="member">uInt</ref><sp/><ref refid="structbootSect_1ad3b694978c9b506183a7ee72a03c11e0" kindref="member">BytesPerSector</ref>;</highlight></codeline> <codeline lineno="119" refid="structbootSect_1a4c97c815867ef4a889e2def80c02d78c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a87d141052bcd5ec8a80812a565c70369" kindref="member">uInt</ref><sp/><ref refid="structbootSect_1a4c97c815867ef4a889e2def80c02d78c" kindref="member">SectersPerTrack</ref>;</highlight></codeline> <codeline lineno="120" refid="structbootSect_1a125732168630ba5fe8f06ebf563d29db" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a87d141052bcd5ec8a80812a565c70369" kindref="member">uInt</ref><sp/><ref refid="structbootSect_1a125732168630ba5fe8f06ebf563d29db" kindref="member">TotalHeads</ref>;</highlight></codeline> <codeline lineno="121" refid="structbootSect_1aaf4c006531ad59c8995b10ac165a50fc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structbootSect_1aaf4c006531ad59c8995b10ac165a50fc" kindref="member">TotalSectors</ref>;</highlight></codeline> <codeline lineno="122" refid="structbootSect_1a98509ae091dcf3f2786f81ff247132e6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1aa4e0f27a9aca905e340c06d2dcae843c" kindref="member">uInt8</ref><sp/><ref refid="structbootSect_1a98509ae091dcf3f2786f81ff247132e6" kindref="member">code</ref>[479];</highlight></codeline> <codeline lineno="123"><highlight class="normal">};</highlight></codeline> <codeline lineno="124"><highlight class="normal"></highlight></codeline> <codeline lineno="125" refid="structubixFSInfo" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structubixFSInfo" kindref="compound">ubixFSInfo</ref><sp/>{</highlight></codeline> <codeline lineno="126" refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structblockAllocationTableEntry" kindref="compound">blockAllocationTableEntry</ref><sp/>*<ref refid="structubixFSInfo_1a03867f147dbbdf3c1d6cdd16a7a33097" kindref="member">blockAllocationTable</ref>;</highlight></codeline> <codeline lineno="127" refid="structubixFSInfo_1a6f64ea0bc1a21fca92dde6228bb194fc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structcacheNode" kindref="compound">cacheNode</ref><sp/>*<sp/><ref refid="structubixFSInfo_1a6f64ea0bc1a21fca92dde6228bb194fc" kindref="member">dirCache</ref>;</highlight></codeline> <codeline lineno="128" refid="structubixFSInfo_1a4f530e266f49e0310c763653399dafa2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixFSInfo_1a4f530e266f49e0310c763653399dafa2" kindref="member">batEntries</ref>;</highlight></codeline> <codeline lineno="129" refid="structubixFSInfo_1a8c58076e25df4115ed42bebce08d5181" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structubixFSInfo_1a8c58076e25df4115ed42bebce08d5181" kindref="member">rootDir</ref>;</highlight></codeline> <codeline lineno="130"><highlight class="normal">};</highlight></codeline> <codeline lineno="131"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>ubixFSInfo<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="132"><highlight class="normal"></highlight></codeline> <codeline lineno="133"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a173757dd173062c905191b7897737f5b" kindref="member">readFile</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<ref refid="structfile" kindref="compound">file</ref>);</highlight></codeline> <codeline lineno="134"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a65f42c9b6ca7c526642fa1c168272b03" kindref="member">writeFileByte</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ch,<sp/><ref refid="structfileDescriptor" kindref="compound">fileDescriptor_t</ref><sp/>*fd,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>offset);</highlight></codeline> <codeline lineno="135"><highlight class="normal"></highlight><highlight class="comment">//int<sp/>openFileUbixFS(char<sp/>*file,fileDescriptor_t<sp/>*fd);</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="136"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1aa74ff712a9d02bb08f6421ce73358654" kindref="member">getFreeBlocks</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>count,<sp/><ref refid="structfileDescriptor" kindref="compound">fileDescriptor_t</ref><sp/>*fd);</highlight></codeline> <codeline lineno="137"><highlight class="normal"></highlight><highlight class="comment">//extern<sp/>struct<sp/>ubixDiskLabel<sp/>*diskLabel;</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="138"><highlight class="normal"></highlight></codeline> <codeline lineno="139"><highlight class="normal"></highlight><highlight class="comment">//Good<sp/>Functions</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="140"><highlight class="normal"></highlight><highlight class="comment">//void<sp/>initUbixFS(struct<sp/>mountPoints<sp/>*mp);</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="141"><highlight class="normal"></highlight></codeline> <codeline lineno="142"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a6b56b9893c2a4b04598034085d8cee8c" kindref="member">readUbixFS</ref>(<ref refid="structfileDescriptor" kindref="compound">fileDescriptor_t</ref><sp/>*fd,<sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*data,<sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref>,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structcacheNode_1a81d33d36c4163308906d9a48ea0f9eab" kindref="member">size</ref>);</highlight></codeline> <codeline lineno="143"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1ab4c558016c9b29b63d6f8c8ba5fe7384" kindref="member">writeUbixFS</ref>(<ref refid="structfileDescriptor" kindref="compound">fileDescriptor_t</ref><sp/>*fd,<sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*data,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>offset,<sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structcacheNode_1a81d33d36c4163308906d9a48ea0f9eab" kindref="member">size</ref>);</highlight></codeline> <codeline lineno="144"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a99dfa2e54401fafb70357a6632c4ef10" kindref="member">syncBat</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="145"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a9611956bb9ed5acb26ab7bc9927f4ebb" kindref="member">freeBlocks</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>block,<sp/><ref refid="structfileDescriptor" kindref="compound">fileDescriptor_t</ref><sp/>*fd);</highlight></codeline> <codeline lineno="146"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a58993494728ce5af573cd51322735210" kindref="member">addDirEntry</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structdirectoryEntry" kindref="compound">directoryEntry</ref><sp/>*dir,<sp/><ref refid="structfileDescriptor" kindref="compound">fileDescriptor_t</ref><sp/>*fd);</highlight></codeline> <codeline lineno="147"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1adfbafb62e063e24f4df09029862ba9d0" kindref="member">ubixFSUnlink</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*path,<sp/></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="148"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a55ee126c39c4bb7e875cc82f317e5aee" kindref="member">ubixFSmkDir</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*dir,<sp/><ref refid="structfileDescriptor" kindref="compound">fileDescriptor_t</ref><sp/>*fd);</highlight></codeline> <codeline lineno="149"><highlight class="normal"></highlight></codeline> <codeline lineno="150"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a1d4159e0eb816b6b23c214d7c601dcb4" kindref="member">ubixfs_init</ref>();</highlight></codeline> <codeline lineno="151"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a2c53ad6e6ce2e149eec9b5361dd10eda" kindref="member">ubixfs_initialize</ref>();</highlight></codeline> <codeline lineno="152"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="include_2ubixfs_2ubixfs_8h_1a7400c9aaa5ced0d1c81ac05a129cfb20" kindref="member">ubixfs_thread</ref>();</highlight></codeline> <codeline lineno="153"><highlight class="normal"></highlight></codeline> <codeline lineno="154"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>END<sp/>_UBIXFS_UBIXFS_H<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h"/> </compounddef> </doxygen>