<?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="ufs_8h" kind="file" language="C++"> <compoundname>ufs.h</compoundname> <includes refid="include_2sys_2types_8h" local="no">sys/types.h</includes> <includes refid="include_2sys_2device_8h" local="no">sys/device.h</includes> <includedby refid="ffs_8c" local="no">C:/Dev/git/UbixOS/sys/fs/ufs/ffs.c</includedby> <includedby refid="ufs_8c" local="no">C:/Dev/git/UbixOS/sys/fs/ufs/ufs.c</includedby> <includedby refid="ubixos_2init_8h" local="no">C:/Dev/git/UbixOS/sys/include/ubixos/init.h</includedby> <includedby refid="include_2vfs_2file_8h" local="no">C:/Dev/git/UbixOS/sys/include/vfs/file.h</includedby> <includedby refid="inode_8h" local="no">C:/Dev/git/UbixOS/sys/include/vfs/inode.h</includedby> <includedby refid="vfs__calls_8c" local="no">C:/Dev/git/UbixOS/sys/kernel/vfs_calls.c</includedby> <incdepgraph> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/ufs/ufs.h</label> <link refid="ufs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="9" 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="8"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="3" 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="5"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="3"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="6"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="9"> <label>sys/device.h</label> <link refid="include_2sys_2device_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> </incdepgraph> <invincdepgraph> <node id="97"> <label>C:/Dev/git/UbixOS/sys/mpi/message.c</label> <link refid="message_8c"/> </node> <node id="124"> <label>C:/Dev/git/UbixOS/sys/net/net/udpecho.c</label> <link refid="udpecho_8c"/> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/ufs/ufs.h</label> <link refid="ufs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="132" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> </node> <node id="63"> <label>C:/Dev/git/UbixOS/sys/lib/ogprintf.cc</label> <link refid="ogprintf_8cc"/> </node> <node id="16"> <label>C:/Dev/git/UbixOS/sys/include/sys/descrip.h</label> <link refid="descrip_8h"/> <childnode refid="17" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="29" relation="include"> </childnode> </node> <node id="9"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c</label> <link refid="block_8c"/> </node> <node id="129"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/sem.h</label> <link refid="sem_8h"/> <childnode refid="109" relation="include"> </childnode> <childnode refid="130" relation="include"> </childnode> <childnode refid="118" relation="include"> </childnode> <childnode refid="102" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="85"> <label>C:/Dev/git/UbixOS/sys/vmm/pagefault.c</label> <link refid="pagefault_8c"/> </node> <node id="64"> <label>C:/Dev/git/UbixOS/sys/sde/colours.cc</label> <link refid="colours_8cc"/> </node> <node id="5"> <label>C:/Dev/git/UbixOS/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="78"> <label>C:/Dev/git/UbixOS/sys/lib/kmalloc.c</label> <link refid="kmalloc_8c"/> </node> <node id="120"> <label>C:/Dev/git/UbixOS/sys/net/core/mem.c</label> <link refid="mem_8c"/> </node> <node id="48"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/dirCache.c</label> <link refid="dirCache_8c"/> </node> <node id="106"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/syscalls.h</label> <link refid="syscalls_8h"/> <childnode refid="7" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> <childnode refid="101" relation="include"> </childnode> <childnode refid="107" relation="include"> </childnode> <childnode refid="92" relation="include"> </childnode> </node> <node id="52"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/fork.c</label> <link refid="armv6_2fork_8c"/> </node> <node id="32"> <label>C:/Dev/git/UbixOS/sys/include/sys/kern_sig.h</label> <link refid="kern__sig_8h"/> <childnode refid="33" relation="include"> </childnode> </node> <node id="98"> <label>C:/Dev/git/UbixOS/sys/mpi/mpi_syscalls.c</label> <link refid="mpi__syscalls_8c"/> </node> <node id="100"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/endtask.h</label> <link refid="endtask_8h"/> <childnode refid="75" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="76" relation="include"> </childnode> <childnode refid="56" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="33" relation="include"> </childnode> <childnode refid="36" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> <childnode refid="101" relation="include"> </childnode> <childnode refid="102" relation="include"> </childnode> <childnode refid="80" relation="include"> </childnode> </node> <node id="66"> <label>C:/Dev/git/UbixOS/sys/sde/sde.cc</label> <link refid="sde_8cc"/> </node> <node id="11"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/stat.c</label> <link refid="stat_8c"/> </node> <node id="38"> <label>C:/Dev/git/UbixOS/sys/include/sys/pipe.h</label> <link refid="pipe_8h"/> <childnode refid="24" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> </node> <node id="65"> <label>C:/Dev/git/UbixOS/sys/sde/main.cc</label> <link refid="main_8cc"/> </node> <node id="44"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/inode.c</label> <link refid="inode_8c"/> </node> <node id="56"> <label>C:/Dev/git/UbixOS/sys/isa/atkbd.c</label> <link refid="atkbd_8c"/> </node> <node id="112"> <label>C:/Dev/git/UbixOS/sys/net/api/tcpip.c</label> <link refid="tcpip_8c"/> </node> <node id="41"> <label>C:/Dev/git/UbixOS/sys/fs/fat/fat.c</label> <link refid="fat_8c"/> </node> <node id="20"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/file.c</label> <link refid="file_8c"/> </node> <node id="80"> <label>C:/Dev/git/UbixOS/sys/sys/idt.c</label> <link refid="idt_8c"/> </node> <node id="39"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/syscalls_new.h</label> <link refid="syscalls__new_8h"/> </node> <node id="19"> <label>C:/Dev/git/UbixOS/sys/arch/i386/sched.c</label> <link refid="i386_2sched_8c"/> </node> <node id="94"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/spinlock.c</label> <link refid="armv6_2spinlock_8c"/> </node> <node id="31"> <label>C:/Dev/git/UbixOS/sys/include/sys/gen_calls.h</label> <link refid="gen__calls_8h"/> <childnode refid="23" relation="include"> </childnode> </node> <node id="71"> <label>C:/Dev/git/UbixOS/sys/include/vmm/paging.h</label> <link refid="paging_8h"/> <childnode refid="72" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="73" relation="include"> </childnode> <childnode refid="64" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> <childnode refid="88" relation="include"> </childnode> </node> <node id="88"> <label>C:/Dev/git/UbixOS/sys/vmm/vmm_allocpagetable.c</label> <link refid="vmm__allocpagetable_8c"/> </node> <node id="127"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/access.h</label> <link refid="access_8h"/> <childnode refid="128" relation="include"> </childnode> </node> <node id="132"> <label>C:/Dev/git/UbixOS/sys/include/vfs/inode.h</label> <link refid="inode_8h"/> <childnode refid="6" relation="include"> </childnode> </node> <node id="77"> <label>C:/Dev/git/UbixOS/sys/kernel/elf.c</label> <link refid="kernel_2elf_8c"/> </node> <node id="10"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c</label> <link refid="directory_8c"/> </node> <node id="95"> <label>C:/Dev/git/UbixOS/sys/arch/i386/spinlock.c</label> <link refid="i386_2spinlock_8c"/> </node> <node id="110"> <label>C:/Dev/git/UbixOS/sys/include/net/sys.h</label> <link refid="sys_8h"/> <childnode refid="111" relation="include"> </childnode> <childnode refid="115" relation="include"> </childnode> <childnode refid="119" relation="include"> </childnode> <childnode refid="112" relation="include"> </childnode> <childnode refid="118" relation="include"> </childnode> <childnode refid="120" relation="include"> </childnode> <childnode refid="113" relation="include"> </childnode> <childnode refid="121" relation="include"> </childnode> <childnode refid="122" relation="include"> </childnode> <childnode refid="123" relation="include"> </childnode> <childnode refid="114" relation="include"> </childnode> <childnode refid="102" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> <childnode refid="124" relation="include"> </childnode> </node> <node id="115"> <label>C:/Dev/git/UbixOS/sys/include/net/timeouts.h</label> <link refid="timeouts_8h"/> <childnode refid="111" relation="include"> </childnode> <childnode refid="116" relation="include"> </childnode> <childnode refid="118" relation="include"> </childnode> <childnode refid="113" relation="include"> </childnode> <childnode refid="114" relation="include"> </childnode> </node> <node id="87"> <label>C:/Dev/git/UbixOS/sys/vmm/unmappage.c</label> <link refid="unmappage_8c"/> </node> <node id="27"> <label>C:/Dev/git/UbixOS/sys/net/net/sys_arch.c</label> <link refid="sys__arch_8c"/> </node> <node id="79"> <label>C:/Dev/git/UbixOS/sys/sde/ogDisplay_UbixOS.cc</label> <link refid="ogDisplay__UbixOS_8cc"/> </node> <node id="21"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/vfs.c</label> <link refid="vfs_8c"/> </node> <node id="96"> <label>C:/Dev/git/UbixOS/sys/include/mpi/mpi.h</label> <link refid="mpi_8h"/> <childnode refid="7" relation="include"> </childnode> <childnode refid="53" relation="include"> </childnode> <childnode refid="54" relation="include"> </childnode> <childnode refid="47" relation="include"> </childnode> <childnode refid="97" relation="include"> </childnode> <childnode refid="98" relation="include"> </childnode> <childnode refid="99" relation="include"> </childnode> </node> <node id="108"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/ubthread.h</label> <link refid="ubthread_8h"/> <childnode refid="109" relation="include"> </childnode> <childnode refid="125" relation="include"> </childnode> <childnode refid="127" relation="include"> </childnode> <childnode refid="129" relation="include"> </childnode> <childnode refid="61" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="119"> <label>C:/Dev/git/UbixOS/sys/net/api/err.c</label> <link refid="err_8c"/> </node> <node id="58"> <label>C:/Dev/git/UbixOS/sys/kernel/endtask.c</label> <link refid="endtask_8c"/> </node> <node id="99"> <label>C:/Dev/git/UbixOS/sys/mpi/system.c</label> <link refid="system_8c"/> </node> <node id="26"> <label>C:/Dev/git/UbixOS/sys/kernel/vfs_calls.c</label> <link refid="vfs__calls_8c"/> </node> <node id="70"> <label>C:/Dev/git/UbixOS/sys/kmods/kmod.c</label> <link refid="kmod_8c"/> </node> <node id="47"> <label>C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="7" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> <childnode refid="48" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="42" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> <childnode refid="49" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="111"> <label>C:/Dev/git/UbixOS/sys/include/net/priv/tcpip_priv.h</label> <link refid="tcpip__priv_8h"/> <childnode refid="112" relation="include"> </childnode> <childnode refid="113" relation="include"> </childnode> <childnode refid="114" relation="include"> </childnode> </node> <node id="73"> <label>C:/Dev/git/UbixOS/sys/include/vmm/vmm.h</label> <link refid="vmm_8h"/> <childnode refid="74" relation="include"> </childnode> <childnode refid="75" relation="include"> </childnode> <childnode refid="52" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="53" relation="include"> </childnode> <childnode refid="72" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="54" relation="include"> </childnode> <childnode refid="76" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="77" relation="include"> </childnode> <childnode refid="58" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> <childnode refid="78" relation="include"> </childnode> <childnode refid="65" relation="include"> </childnode> <childnode refid="79" relation="include"> </childnode> <childnode refid="80" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> <childnode refid="81" relation="include"> </childnode> <childnode refid="82" relation="include"> </childnode> <childnode refid="83" relation="include"> </childnode> <childnode refid="84" relation="include"> </childnode> <childnode refid="85" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="86" relation="include"> </childnode> <childnode refid="87" relation="include"> </childnode> <childnode refid="88" relation="include"> </childnode> <childnode refid="89" relation="include"> </childnode> <childnode refid="67" relation="include"> </childnode> <childnode refid="29" relation="include"> </childnode> </node> <node id="36"> <label>C:/Dev/git/UbixOS/sys/kernel/kern_sysctl.c</label> <link refid="kern__sysctl_8c"/> </node> <node id="57"> <label>C:/Dev/git/UbixOS/sys/isa/ne2k.c</label> <link refid="ne2k_8c"/> </node> <node id="51"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/vitals.h</label> <link refid="vitals_8h"/> <childnode refid="52" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="53" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="54" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="55" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="56" relation="include"> </childnode> <childnode refid="57" relation="include"> </childnode> <childnode refid="58" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> <childnode refid="60" relation="include"> </childnode> <childnode refid="61" relation="include"> </childnode> <childnode refid="62" relation="include"> </childnode> <childnode refid="63" relation="include"> </childnode> <childnode refid="64" relation="include"> </childnode> <childnode refid="65" relation="include"> </childnode> <childnode refid="66" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="67" relation="include"> </childnode> </node> <node id="104"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/fork.h</label> <link refid="fork_8h"/> <childnode refid="52" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="105" relation="include"> </childnode> </node> <node id="3"> <label>C:/Dev/git/UbixOS/sys/fs/ufs/ufs.c</label> <link refid="ufs_8c"/> </node> <node id="75"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/exec.c</label> <link refid="exec_8c"/> </node> <node id="130"> <label>C:/Dev/git/UbixOS/sys/kernel/sem.c</label> <link refid="sem_8c"/> </node> <node id="74"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/bioscall.c</label> <link refid="armv6_2bioscall_8c"/> </node> <node id="18"> <label>C:/Dev/git/UbixOS/sys/arch/i386/fork.c</label> <link refid="i386_2fork_8c"/> </node> <node id="35"> <label>C:/Dev/git/UbixOS/sys/include/ufs/ufs/ufs_extern.h</label> <link refid="ufs__extern_8h"/> </node> <node id="29"> <label>C:/Dev/git/UbixOS/sys/vmm/vmm_mmap.c</label> <link refid="vmm__mmap_8c"/> </node> <node id="28"> <label>C:/Dev/git/UbixOS/sys/vmm/paging.c</label> <link refid="paging_8c"/> </node> <node id="40"> <label>C:/Dev/git/UbixOS/sys/include/vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="13" relation="include"> </childnode> <childnode refid="41" relation="include"> </childnode> <childnode refid="42" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> <childnode refid="45" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="46" relation="include"> </childnode> <childnode refid="47" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="51" relation="include"> </childnode> <childnode refid="68" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> </node> <node id="37"> <label>C:/Dev/git/UbixOS/sys/vmm/copyvirtualspace.c</label> <link refid="copyvirtualspace_8c"/> </node> <node id="69"> <label>C:/Dev/git/UbixOS/sys/kernel/ld.c</label> <link refid="ld_8c"/> </node> <node id="109"> <label>C:/Dev/git/UbixOS/sys/include/net/arch/sys_arch.h</label> <link refid="sys__arch_8h"/> <childnode refid="110" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="101"> <label>C:/Dev/git/UbixOS/sys/kernel/syscall_posix.c</label> <link refid="syscall__posix_8c"/> </node> <node id="54"> <label>C:/Dev/git/UbixOS/sys/arch/i386/systemtask.c</label> <link refid="i386_2systemtask_8c"/> </node> <node id="23"> <label>C:/Dev/git/UbixOS/sys/kernel/gen_calls.c</label> <link refid="gen__calls_8c"/> </node> <node id="123"> <label>C:/Dev/git/UbixOS/sys/net/core/sys.c</label> <link refid="sys_8c"/> </node> <node id="46"> <label>C:/Dev/git/UbixOS/sys/include/sys/buf.h</label> <link refid="buf_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="42"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/thread.c</label> <link refid="thread_8c"/> </node> <node id="82"> <label>C:/Dev/git/UbixOS/sys/vmm/getfreepage.c</label> <link refid="getfreepage_8c"/> </node> <node id="84"> <label>C:/Dev/git/UbixOS/sys/vmm/getphysicaladdr.c</label> <link refid="getphysicaladdr_8c"/> </node> <node id="105"> <label>C:/Dev/git/UbixOS/sys/net/net/shell.c</label> <link refid="shell_8c"/> </node> <node id="34"> <label>C:/Dev/git/UbixOS/sys/include/sys/kern_sysctl.h</label> <link refid="kern__sysctl_8h"/> <childnode refid="4" relation="include"> </childnode> <childnode refid="35" relation="include"> </childnode> <childnode refid="36" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> </node> <node id="128"> <label>C:/Dev/git/UbixOS/sys/kernel/access.c</label> <link refid="access_8c"/> </node> <node id="81"> <label>C:/Dev/git/UbixOS/sys/vmm/createvirtualspace.c</label> <link refid="createvirtualspace_8c"/> </node> <node id="118"> <label>C:/Dev/git/UbixOS/sys/net/core/init.c</label> <link refid="core_2init_8c"/> </node> <node id="116"> <label>C:/Dev/git/UbixOS/sys/include/net/tcpip.h</label> <link refid="tcpip_8h"/> <childnode refid="111" relation="include"> </childnode> <childnode refid="102" relation="include"> </childnode> <childnode refid="117" relation="include"> </childnode> </node> <node id="6"> <label>C:/Dev/git/UbixOS/sys/include/vfs/file.h</label> <link refid="include_2vfs_2file_8h"/> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> <childnode refid="30" relation="include"> </childnode> <childnode refid="93" relation="include"> </childnode> <childnode refid="106" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> <childnode refid="131" relation="include"> </childnode> </node> <node id="25"> <label>C:/Dev/git/UbixOS/sys/kernel/pipe.c</label> <link refid="pipe_8c"/> </node> <node id="14"> <label>C:/Dev/git/UbixOS/sys/isa/fdc.c</label> <link refid="fdc_8c"/> </node> <node id="83"> <label>C:/Dev/git/UbixOS/sys/vmm/getfreevirtualpage.c</label> <link refid="getfreevirtualpage_8c"/> </node> <node id="103"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/exec.h</label> <link refid="exec_8h"/> <childnode refid="75" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="53" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="54" relation="include"> </childnode> <childnode refid="41" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="61" relation="include"> </childnode> <childnode refid="102" relation="include"> </childnode> <childnode refid="65" relation="include"> </childnode> </node> <node id="117"> <label>C:/Dev/git/UbixOS/sys/net/netif/ethernetif.c</label> <link refid="ethernetif_8c"/> </node> <node id="90"> <label>C:/Dev/git/UbixOS/sys/kernel/execve.c</label> <link refid="execve_8c"/> </node> <node id="45"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/namei.c</label> <link refid="namei_8c"/> </node> <node id="17"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/sched.c</label> <link refid="armv6_2sched_8c"/> </node> <node id="50"> <label>C:/Dev/git/UbixOS/sys/fs/common/gpt.c</label> <link refid="gpt_8c"/> </node> <node id="13"> <label>C:/Dev/git/UbixOS/sys/fs/devfs/devfs.c</label> <link refid="devfs_8c"/> </node> <node id="67"> <label>C:/Dev/git/UbixOS/sys/vmm/vmm_memory.c</label> <link refid="vmm__memory_8c"/> </node> <node id="86"> <label>C:/Dev/git/UbixOS/sys/vmm/setpageattributes.c</label> <link refid="setpageattributes_8c"/> </node> <node id="121"> <label>C:/Dev/git/UbixOS/sys/net/core/netif.c</label> <link refid="netif_8c"/> </node> <node id="113"> <label>C:/Dev/git/UbixOS/sys/net/core/memp.c</label> <link refid="memp_8c"/> </node> <node id="22"> <label>C:/Dev/git/UbixOS/sys/kernel/descrip.c</label> <link refid="descrip_8c"/> </node> <node id="114"> <label>C:/Dev/git/UbixOS/sys/net/core/timeouts.c</label> <link refid="timeouts_8c"/> </node> <node id="59"> <label>C:/Dev/git/UbixOS/sys/kernel/syscall.c</label> <link refid="kernel_2syscall_8c"/> </node> <node id="53"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/systemtask.c</label> <link refid="armv6_2systemtask_8c"/> </node> <node id="89"> <label>C:/Dev/git/UbixOS/sys/vmm/vmm_init.c</label> <link refid="vmm__init_8c"/> </node> <node id="24"> <label>C:/Dev/git/UbixOS/sys/kernel/kern_pipe.c</label> <link refid="kern__pipe_8c"/> </node> <node id="92"> <label>C:/Dev/git/UbixOS/sys/kernel/syscalls_posix.c</label> <link refid="syscalls__posix_8c"/> </node> <node id="33"> <label>C:/Dev/git/UbixOS/sys/kernel/kern_sig.c</label> <link refid="kern__sig_8c"/> </node> <node id="43"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c</label> <link refid="ubixfs_8c"/> </node> <node id="131"> <label>C:/Dev/git/UbixOS/sys/net/netif/tcpdump.c</label> <link refid="tcpdump_8c"/> </node> <node id="7"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/syscall.c</label> <link refid="arch_2armv6_2syscall_8c"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/fs/ufs/ffs.c</label> <link refid="ffs_8c"/> </node> <node id="93"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/sched.h</label> <link refid="sched_8h"/> <childnode refid="74" relation="include"> </childnode> <childnode refid="52" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> <childnode refid="94" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="53" relation="include"> </childnode> <childnode refid="72" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="95" relation="include"> </childnode> <childnode refid="54" relation="include"> </childnode> <childnode refid="76" relation="include"> </childnode> <childnode refid="41" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> <childnode refid="45" relation="include"> </childnode> <childnode refid="96" relation="include"> </childnode> <childnode refid="100" relation="include"> </childnode> <childnode refid="103" relation="include"> </childnode> <childnode refid="104" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="106" relation="include"> </childnode> <childnode refid="108" relation="include"> </childnode> <childnode refid="56" relation="include"> </childnode> <childnode refid="77" relation="include"> </childnode> <childnode refid="58" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> <childnode refid="101" relation="include"> </childnode> <childnode refid="61" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> <childnode refid="78" relation="include"> </childnode> <childnode refid="102" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> <childnode refid="64" relation="include"> </childnode> <childnode refid="66" relation="include"> </childnode> <childnode refid="80" relation="include"> </childnode> <childnode refid="83" relation="include"> </childnode> <childnode refid="85" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="29" relation="include"> </childnode> </node> <node id="68"> <label>C:/Dev/git/UbixOS/sys/include/ufs/ffs.h</label> <link refid="ffs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> </node> <node id="55"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/mount.c</label> <link refid="mount_8c"/> </node> <node id="8"> <label>C:/Dev/git/UbixOS/sys/arch/i386/i386_exec.c</label> <link refid="i386__exec_8c"/> </node> <node id="15"> <label>C:/Dev/git/UbixOS/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="122"> <label>C:/Dev/git/UbixOS/sys/net/core/pbuf.c</label> <link refid="pbuf_8c"/> </node> <node id="72"> <label>C:/Dev/git/UbixOS/sys/arch/i386/bioscall.c</label> <link refid="i386_2bioscall_8c"/> </node> <node id="102"> <label>C:/Dev/git/UbixOS/sys/net/net/init.c</label> <link refid="net_2init_8c"/> </node> <node id="49"> <label>C:/Dev/git/UbixOS/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="50" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> </node> <node id="4"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="5" relation="include"> </childnode> </node> <node id="107"> <label>C:/Dev/git/UbixOS/sys/kernel/syscalls.c</label> <link refid="syscalls_8c"/> </node> <node id="30"> <label>C:/Dev/git/UbixOS/sys/include/sys/sysproto_posix.h</label> <link refid="sysproto__posix_8h"/> <childnode refid="16" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> <childnode refid="32" relation="include"> </childnode> <childnode refid="34" relation="include"> </childnode> <childnode refid="38" relation="include"> </childnode> <childnode refid="39" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> <childnode refid="71" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="90" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="33" relation="include"> </childnode> <childnode refid="36" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="91" relation="include"> </childnode> <childnode refid="92" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="76"> <label>C:/Dev/git/UbixOS/sys/arch/i386/trap.c</label> <link refid="trap_8c"/> </node> <node id="62"> <label>C:/Dev/git/UbixOS/sys/kernel/vitals.c</label> <link refid="vitals_8c"/> </node> <node id="61"> <label>C:/Dev/git/UbixOS/sys/kernel/ubthread.c</label> <link refid="ubthread_8c"/> </node> <node id="91"> <label>C:/Dev/git/UbixOS/sys/kernel/signal.c</label> <link refid="signal_8c"/> </node> <node id="126"> <label>C:/Dev/git/UbixOS/sys/sys/elf.c</label> <link refid="sys_2elf_8c"/> </node> <node id="12"> <label>C:/Dev/git/UbixOS/sys/include/devfs/devfs.h</label> <link refid="devfs_8h"/> <childnode refid="13" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> </node> <node id="60"> <label>C:/Dev/git/UbixOS/sys/kernel/time.c</label> <link refid="time_8c"/> </node> <node id="125"> <label>C:/Dev/git/UbixOS/sys/include/sys/elf.h</label> <link refid="sys_2elf_8h"/> <childnode refid="75" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="77" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> <childnode refid="101" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> <childnode refid="126" relation="include"> </childnode> </node> </invincdepgraph> <innerclass refid="structcsum" prot="public">csum</innerclass> <innerclass refid="structcsum__total" prot="public">csum_total</innerclass> <innerclass refid="structdirent" prot="public">dirent</innerclass> <innerclass refid="structfs" prot="public">fs</innerclass> <innerclass refid="structufs1__dinode" prot="public">ufs1_dinode</innerclass> <innerclass refid="structufs2__dinode" prot="public">ufs2_dinode</innerclass> <sectiondef kind="define"> <memberdef kind="define" id="ufs_8h_1acd9d1b3e1eed7fc3850f8a78636dd5a7" prot="public" static="no"> <name>blkoff</name> <param><defname>fs</defname></param> <param><defname>loc</defname></param> <initializer>((loc) & (<ref refid="structfs" kindref="compound">fs</ref>)->fs_qbmask)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="81" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="80" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1af7e946b674acc4ead5e3ae15317f52c0" prot="public" static="no"> <name>cgbase</name> <param><defname>fs</defname></param> <param><defname>c</defname></param> <initializer>(((<ref refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" kindref="member">ufs2_daddr_t</ref>)(<ref refid="structfs" kindref="compound">fs</ref>)->fs_fpg) * (c))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="61" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="60" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a03cdc9c21f1412b107d85751f275c208" prot="public" static="no"> <name>cgdmin</name> <param><defname>fs</defname></param> <param><defname>c</defname></param> <initializer>(<ref refid="ufs_8h_1a1446925c904a61056fb611a539de03ca" kindref="member">cgstart</ref>(<ref refid="structfs" kindref="compound">fs</ref>, c) + (<ref refid="structfs" kindref="compound">fs</ref>)->fs_dblkno) /* 1st data */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="62" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="61" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1af2bea0d775018173b6e6f5141f09bdd0" prot="public" static="no"> <name>cgimin</name> <param><defname>fs</defname></param> <param><defname>c</defname></param> <initializer>(<ref refid="ufs_8h_1a1446925c904a61056fb611a539de03ca" kindref="member">cgstart</ref>(<ref refid="structfs" kindref="compound">fs</ref>, c) + (<ref refid="structfs" kindref="compound">fs</ref>)->fs_iblkno) /* <ref refid="structinode" kindref="compound">inode</ref> blk */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="63" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="62" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a6ccbaf50dd709f99482cafcbc427d834" prot="public" static="no"> <name>cgsblock</name> <param><defname>fs</defname></param> <param><defname>c</defname></param> <initializer>(<ref refid="ufs_8h_1a1446925c904a61056fb611a539de03ca" kindref="member">cgstart</ref>(<ref refid="structfs" kindref="compound">fs</ref>, c) + (<ref refid="structfs" kindref="compound">fs</ref>)->fs_sblkno) /* super blk */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="64" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="63" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a1446925c904a61056fb611a539de03ca" prot="public" static="no"> <name>cgstart</name> <param><defname>fs</defname></param> <param><defname>c</defname></param> <initializer>((<ref refid="structfs" kindref="compound">fs</ref>)->fs_magic == <ref refid="ufs_8h_1a0b73b7456fc1dee932dc0c1056c613fc" kindref="member">FS_UFS2_MAGIC</ref> ? <ref refid="ufs_8h_1af7e946b674acc4ead5e3ae15317f52c0" kindref="member">cgbase</ref>(<ref refid="structfs" kindref="compound">fs</ref>, c) : (<ref refid="ufs_8h_1af7e946b674acc4ead5e3ae15317f52c0" kindref="member">cgbase</ref>(<ref refid="structfs" kindref="compound">fs</ref>, c) + (<ref refid="structfs" kindref="compound">fs</ref>)->fs_old_cgoffset * ((c) & ~((<ref refid="structfs" kindref="compound">fs</ref>)->fs_old_cgmask))))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="66" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="65" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a5c527699eccebab4828fd122caea6cb7" prot="public" static="no"> <name>cgtod</name> <param><defname>fs</defname></param> <param><defname>c</defname></param> <initializer>(<ref refid="ufs_8h_1a1446925c904a61056fb611a539de03ca" kindref="member">cgstart</ref>(<ref refid="structfs" kindref="compound">fs</ref>, c) + (<ref refid="structfs" kindref="compound">fs</ref>)->fs_cblkno) /* <ref refid="structcg" kindref="compound">cg</ref> block */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="65" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="64" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a7875100ca8ad379e53628cb7dec48ecd" prot="public" static="no"> <name>dbtofsb</name> <param><defname>fs</defname></param> <param><defname>b</defname></param> <initializer>((b) >> (<ref refid="structfs" kindref="compound">fs</ref>)->fs_fsbtodb)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="69" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="68" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a9734470bf89968d142073fd334bf9cb6" prot="public" static="no"> <name>DEV_BSHIFT</name> <initializer>9 /* log2(<ref refid="include_2vfs_2file_8h_1a9c8466b6111a11195a5cd2478c648e32" kindref="member">DEV_BSIZE</ref>) */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="40" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="39" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a9c8466b6111a11195a5cd2478c648e32" prot="public" static="no"> <name>DEV_BSIZE</name> <initializer>(1<<<ref refid="include_2vfs_2file_8h_1a9734470bf89968d142073fd334bf9cb6" kindref="member">DEV_BSHIFT</ref>)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="41" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="40" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a1dcee67486bc4238096ecb61e2d9ffd1" prot="public" static="no"> <name>DT_DIR</name> <initializer>4</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="39" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="38" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a9973595cf6775b1b29d7274ab4c0d623" prot="public" static="no"> <name>DT_REG</name> <initializer>8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="36" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="35" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a1494995062a8a6dbbe60f8dc6a3e995d" prot="public" static="no"> <name>fragroundup</name> <param><defname>fs</defname></param> <param><defname>size</defname></param> <initializer>(((size) + (<ref refid="structfs" kindref="compound">fs</ref>)->fs_qfmask) & (<ref refid="structfs" kindref="compound">fs</ref>)->fs_fmask)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="83" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="82" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ace25c7a73c514a8e575e1ba8c15c9a9e" prot="public" static="no"> <name>FS_UFS1_MAGIC</name> <initializer>0x011954 /* <ref refid="ufsmount_8h_1a4e9b665625734832f1e9d74423c3d14e" kindref="member">UFS1</ref> fast filesystem magic number */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="48" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="47" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a0b73b7456fc1dee932dc0c1056c613fc" prot="public" static="no"> <name>FS_UFS2_MAGIC</name> <initializer>0x19540119 /* <ref refid="ufsmount_8h_1ad32c8660fd7a17ed68caa6ce7fccdebb" kindref="member">UFS2</ref> fast filesystem magic number */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="49" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="48" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ae26526d0ac7505aae7345f0288c17fe6" prot="public" static="no"> <name>fsbtodb</name> <param><defname>fs</defname></param> <param><defname>b</defname></param> <initializer>((<ref refid="include_2sys_2types_8h_1ab4b318e7a68f3cd77c42492443c59895" kindref="member">daddr_t</ref>)(b) << (<ref refid="structfs" kindref="compound">fs</ref>)->fs_fsbtodb)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="68" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="67" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a04c33da6605e73954cf2ff32c3f0f15a" prot="public" static="no"> <name>FSMAXSNAP</name> <initializer>20</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="53" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="52" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a22af882911b5ccb5c744257642089932" prot="public" static="no"> <name>ino_to_cg</name> <param><defname>fs</defname></param> <param><defname>x</defname></param> <initializer>((x) / (<ref refid="structfs" kindref="compound">fs</ref>)->fs_ipg)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="77" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="76" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1aff52db23f4b31f920a657a75e0e5d58b" prot="public" static="no"> <name>ino_to_fsba</name> <param><defname>fs</defname></param> <param><defname>x</defname></param> <initializer>((<ref refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" kindref="member">ufs2_daddr_t</ref>)(<ref refid="ufs_8h_1af2bea0d775018173b6e6f5141f09bdd0" kindref="member">cgimin</ref>(<ref refid="structfs" kindref="compound">fs</ref>, <ref refid="ufs_8h_1a22af882911b5ccb5c744257642089932" kindref="member">ino_to_cg</ref>(<ref refid="structfs" kindref="compound">fs</ref>, x)) + (<ref refid="ufs_2ffs_2fs_8h_1a95d2f2b9e139c995142d775a63ed5f03" kindref="member">blkstofrags</ref>((<ref refid="structfs" kindref="compound">fs</ref>), (((x) % (<ref refid="structfs" kindref="compound">fs</ref>)->fs_ipg) / <ref refid="ufs_2ffs_2fs_8h_1a093aab4d88e8ac7dacc93d9cb6cc58ee" kindref="member">INOPB</ref>(<ref refid="structfs" kindref="compound">fs</ref>))))))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="78" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="77" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1aa318a9ca261ab408a6df7949a593fb57" prot="public" static="no"> <name>ino_to_fsbo</name> <param><defname>fs</defname></param> <param><defname>x</defname></param> <initializer>((x) % <ref refid="ufs_2ffs_2fs_8h_1a093aab4d88e8ac7dacc93d9cb6cc58ee" kindref="member">INOPB</ref>(<ref refid="structfs" kindref="compound">fs</ref>))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="79" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="78" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a1ea09415cf1bc5de0d0d4a7158a5c736" prot="public" static="no"> <name>lblkno</name> <param><defname>fs</defname></param> <param><defname>loc</defname></param> <initializer>((loc) >> (<ref refid="structfs" kindref="compound">fs</ref>)->fs_bshift)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="82" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="81" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a6e852e863e63ab118ec196d1157a1dbd" prot="public" static="no"> <name>MAXBSIZE</name> <initializer>65536</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="54" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="53" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a0beb14d415a358b818cec76550e4fad1" prot="public" static="no"> <name>MAXMNTLEN</name> <initializer>468</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="50" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="49" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ab347d7e5c2fdca2d28e693b2a508d76a" prot="public" static="no"> <name>MAXNAMLEN</name> <initializer>255</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="37" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="36" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ac5859c27029a47d17c1279cc197f05c3" prot="public" static="no"> <name>MAXVOLLEN</name> <initializer>32</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="51" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="50" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a0c136d7ef3223bdd2b6e7c83c65bb508" prot="public" static="no"> <name>NDADDR</name> <initializer>12 /* Direct addresses in inode. */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="102" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="101" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a4916bc50cb5cd1deaffe2c749d1559f8" prot="public" static="no"> <name>NIADDR</name> <initializer>3 /* Indirect addresses in inode. */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="103" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="102" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a6d58397786421684bb8db78f01e13ae6" prot="public" static="no"> <name>NINDIR</name> <param><defname>fs</defname></param> <initializer>((<ref refid="structfs" kindref="compound">fs</ref>)->fs_nindir)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="55" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="54" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1aca816b354128719c1523e33152a13637" prot="public" static="no"> <name>NOCSPTRS</name> <initializer>((128 / sizeof(void *)) - 4)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="52" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="51" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a9515cc7f95937a2fc426cefaf6577cd5" prot="public" static="no"> <name>NXADDR</name> <initializer>2 /* External addresses in inode. */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="101" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="100" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a22c8ea96d09283ed6496347806cc72a0" prot="public" static="no"> <name>ROOTINO</name> <initializer>((<ref refid="include_2sys_2types_8h_1a73341b7381d39d6e5b80ff9f23379dbd" kindref="member">ino_t</ref>)2)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="38" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="37" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ad35c4c33dc54a0b8db742e0b3b5f64aa" prot="public" static="no"> <name>sblksize</name> <param><defname>fs</defname></param> <param><defname>size</defname></param> <param><defname>lbn</defname></param> <initializer>(((lbn) >= <ref refid="ufs_8h_1a0c136d7ef3223bdd2b6e7c83c65bb508" kindref="member">NDADDR</ref> || (size) >= ((lbn) + 1) << (<ref refid="structfs" kindref="compound">fs</ref>)->fs_bshift) ? (<ref refid="structfs" kindref="compound">fs</ref>)->fs_bsize : (<ref refid="ufs_8h_1a1494995062a8a6dbbe60f8dc6a3e995d" kindref="member">fragroundup</ref>(<ref refid="structfs" kindref="compound">fs</ref>, <ref refid="ufs_8h_1acd9d1b3e1eed7fc3850f8a78636dd5a7" kindref="member">blkoff</ref>(<ref refid="structfs" kindref="compound">fs</ref>, (size)))))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="85" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="84" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ab6b633b015b70b15317113908ccc0a17" prot="public" static="no"> <name>SBLOCK_FLOPPY</name> <initializer>0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="42" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="41" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1afa52e1b5081edc4bbc9c7e29556bfc92" prot="public" static="no"> <name>SBLOCK_PIGGY</name> <initializer>262144</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="45" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="44" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ad25e0f8e55fba4f0d670b43361e6b61e" prot="public" static="no"> <name>SBLOCK_UFS1</name> <initializer>8192</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="43" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="42" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a7376590d1dfaa886ae6ac77649aaea52" prot="public" static="no"> <name>SBLOCK_UFS2</name> <initializer>65536</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="44" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="43" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1a63f5b70b0dfe26fd775e89713f552e23" prot="public" static="no"> <name>SBLOCKSEARCH</name> <initializer>{ <ref refid="ufs_8h_1a7376590d1dfaa886ae6ac77649aaea52" kindref="member">SBLOCK_UFS2</ref>, <ref refid="ufs_8h_1ad25e0f8e55fba4f0d670b43361e6b61e" kindref="member">SBLOCK_UFS1</ref>, <ref refid="ufs_8h_1ab6b633b015b70b15317113908ccc0a17" kindref="member">SBLOCK_FLOPPY</ref>, <ref refid="ufs_8h_1afa52e1b5081edc4bbc9c7e29556bfc92" kindref="member">SBLOCK_PIGGY</ref>, -1 }</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="47" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="46" bodyend="-1"/> </memberdef> <memberdef kind="define" id="ufs_8h_1ab7ef7deca5409474c504d9c927e97249" prot="public" static="no"> <name>SBLOCKSIZE</name> <initializer>8192</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="46" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="45" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="typedef"> <memberdef kind="typedef" id="ufs_8h_1a6c4d2453c62592d30d9c981e4ee01323" prot="public" static="no"> <type><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref></type> <definition>typedef int32_t ufs1_daddr_t</definition> <argsstring></argsstring> <name>ufs1_daddr_t</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="86" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="86" bodyend="-1"/> </memberdef> <memberdef kind="typedef" id="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" prot="public" static="no"> <type><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref></type> <definition>typedef int64_t ufs2_daddr_t</definition> <argsstring></argsstring> <name>ufs2_daddr_t</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="87" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="87" bodyend="-1"/> </memberdef> <memberdef kind="typedef" id="ufs_8h_1acfdbacc42c74f81152f66f8f81316513" prot="public" static="no"> <type><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref></type> <definition>typedef int64_t ufs_lbn_t</definition> <argsstring></argsstring> <name>ufs_lbn_t</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="88" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="88" bodyend="-1"/> </memberdef> <memberdef kind="typedef" id="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" prot="public" static="no"> <type><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref></type> <definition>typedef int64_t ufs_time_t</definition> <argsstring></argsstring> <name>ufs_time_t</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="89" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" bodystart="89" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="ufs_8h_1a349e4b7ceea770cd630e0297b693d59e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int ufs_init</definition> <argsstring>()</argsstring> <name>ufs_init</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="271" column="5" bodyfile="C:/Dev/git/UbixOS/sys/fs/ufs/ufs.c" bodystart="313" bodyend="335" declfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" declline="271" declcolumn="5"/> </memberdef> <memberdef kind="function" id="ufs_8h_1ab72f6c6236410bf9a029e7bc810eb609" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int ufs_initialize</definition> <argsstring>()</argsstring> <name>ufs_initialize</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" line="272" column="5" declfile="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h" declline="272" declcolumn="5"/> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*****************************************************************************************</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>Copyright<sp/>(c)<sp/>2002-2004,<sp/>2017<sp/>The<sp/>UbixOS<sp/>Project</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"></highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="7"><highlight class="comment"></highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.<sp/><sp/>Redistributions<sp/>in<sp/>binary</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of<sp/>conditions,<sp/>the<sp/>following</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or<sp/>other<sp/>materials<sp/>provided</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>with<sp/>the<sp/>distribution.<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline> <codeline lineno="15"><highlight class="comment"></highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>COPYRIGHT<sp/>HOLDERS<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>EXPRESS<sp/>OR<sp/>IMPLIED<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="25"><highlight class="comment"></highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>$Id:<sp/>ufs.h<sp/>141<sp/>2016-01-17<sp/>02:05:18Z<sp/>reddawg<sp/>$</highlight></codeline> <codeline lineno="27"><highlight class="comment"></highlight></codeline> <codeline lineno="28"><highlight class="comment"><sp/>*****************************************************************************************/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_UFS_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="31"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>_UFS_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="32"><highlight class="normal"></highlight></codeline> <codeline lineno="33"><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="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" refid="ufs_8h_1a9973595cf6775b1b29d7274ab4c0d623" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="36" refid="ufs_8h_1ab347d7e5c2fdca2d28e693b2a508d76a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DT_REG<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="37" refid="ufs_8h_1a22c8ea96d09283ed6496347806cc72a0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MAXNAMLEN<sp/><sp/><sp/><sp/><sp/>255</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="38" refid="ufs_8h_1a1dcee67486bc4238096ecb61e2d9ffd1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ROOTINO<sp/><sp/><sp/><sp/><sp/><sp/><sp/>((ino_t)2)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="39" refid="ufs_8h_1a9734470bf89968d142073fd334bf9cb6" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DT_DIR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>4</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="40" refid="ufs_8h_1a9c8466b6111a11195a5cd2478c648e32" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEV_BSHIFT<sp/><sp/><sp/><sp/>9<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>log2(DEV_BSIZE)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="41" refid="ufs_8h_1ab6b633b015b70b15317113908ccc0a17" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>DEV_BSIZE<sp/><sp/><sp/><sp/><sp/>(1<<DEV_BSHIFT)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="42" refid="ufs_8h_1ad25e0f8e55fba4f0d670b43361e6b61e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SBLOCK_FLOPPY<sp/>0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43" refid="ufs_8h_1a7376590d1dfaa886ae6ac77649aaea52" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SBLOCK_UFS1<sp/><sp/><sp/>8192</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="44" refid="ufs_8h_1afa52e1b5081edc4bbc9c7e29556bfc92" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SBLOCK_UFS2<sp/><sp/><sp/>65536</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="45" refid="ufs_8h_1ab7ef7deca5409474c504d9c927e97249" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SBLOCK_PIGGY<sp/><sp/>262144</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="46" refid="ufs_8h_1a63f5b70b0dfe26fd775e89713f552e23" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SBLOCKSIZE<sp/><sp/><sp/><sp/>8192</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="47" refid="ufs_8h_1ace25c7a73c514a8e575e1ba8c15c9a9e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SBLOCKSEARCH<sp/><sp/>{<sp/>SBLOCK_UFS2,<sp/>SBLOCK_UFS1,<sp/>SBLOCK_FLOPPY,<sp/>SBLOCK_PIGGY,<sp/>-1<sp/>}</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="48" refid="ufs_8h_1a0b73b7456fc1dee932dc0c1056c613fc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FS_UFS1_MAGIC<sp/>0x011954<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>UFS1<sp/>fast<sp/>filesystem<sp/>magic<sp/>number<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="49" refid="ufs_8h_1a0beb14d415a358b818cec76550e4fad1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FS_UFS2_MAGIC<sp/>0x19540119<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>UFS2<sp/>fast<sp/>filesystem<sp/>magic<sp/>number<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="50" refid="ufs_8h_1ac5859c27029a47d17c1279cc197f05c3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MAXMNTLEN<sp/><sp/><sp/><sp/><sp/>468</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51" refid="ufs_8h_1aca816b354128719c1523e33152a13637" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MAXVOLLEN<sp/><sp/><sp/><sp/><sp/>32</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="52" refid="ufs_8h_1a04c33da6605e73954cf2ff32c3f0f15a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NOCSPTRS<sp/><sp/><sp/><sp/><sp/><sp/>((128<sp/>/<sp/>sizeof(void<sp/>*))<sp/>-<sp/>4)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53" refid="ufs_8h_1a6e852e863e63ab118ec196d1157a1dbd" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>FSMAXSNAP<sp/><sp/><sp/><sp/><sp/>20</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="54" refid="ufs_8h_1a6d58397786421684bb8db78f01e13ae6" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MAXBSIZE<sp/><sp/><sp/><sp/><sp/><sp/>65536</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="55"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NINDIR(fs)<sp/><sp/><sp/><sp/>((fs)->fs_nindir)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="56"><highlight class="normal"></highlight></codeline> <codeline lineno="57"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline> <codeline lineno="58"><highlight class="comment"><sp/>*<sp/>Cylinder<sp/>group<sp/>macros<sp/>to<sp/>locate<sp/>things<sp/>in<sp/>cylinder<sp/>groups.</highlight></codeline> <codeline lineno="59"><highlight class="comment"><sp/>*<sp/>They<sp/>calc<sp/>filesystem<sp/>addresses<sp/>of<sp/>cylinder<sp/>group<sp/>data<sp/>structures.</highlight></codeline> <codeline lineno="60" refid="ufs_8h_1af7e946b674acc4ead5e3ae15317f52c0" refkind="member"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="61" refid="ufs_8h_1a03cdc9c21f1412b107d85751f275c208" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cgbase(fs,<sp/>c)<sp/><sp/><sp/>(((ufs2_daddr_t)(fs)->fs_fpg)<sp/>*<sp/>(c))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="62" refid="ufs_8h_1af2bea0d775018173b6e6f5141f09bdd0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cgdmin(fs,<sp/>c)<sp/><sp/><sp/>(cgstart(fs,<sp/>c)<sp/>+<sp/>(fs)->fs_dblkno)<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>1st<sp/>data<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="63" refid="ufs_8h_1a6ccbaf50dd709f99482cafcbc427d834" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cgimin(fs,<sp/>c)<sp/><sp/><sp/>(cgstart(fs,<sp/>c)<sp/>+<sp/>(fs)->fs_iblkno)<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>inode<sp/>blk<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="64" refid="ufs_8h_1a5c527699eccebab4828fd122caea6cb7" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cgsblock(fs,<sp/>c)<sp/>(cgstart(fs,<sp/>c)<sp/>+<sp/>(fs)->fs_sblkno)<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>super<sp/>blk<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="65" refid="ufs_8h_1a1446925c904a61056fb611a539de03ca" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cgtod(fs,<sp/>c)<sp/><sp/><sp/><sp/>(cgstart(fs,<sp/>c)<sp/>+<sp/>(fs)->fs_cblkno)<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>cg<sp/>block<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="66"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cgstart(fs,<sp/>c)<sp/><sp/>((fs)->fs_magic<sp/>==<sp/>FS_UFS2_MAGIC<sp/>?<sp/>cgbase(fs,<sp/>c)<sp/>:<sp/>(cgbase(fs,<sp/>c)<sp/>+<sp/>(fs)->fs_old_cgoffset<sp/>*<sp/>((c)<sp/>&<sp/>~((fs)->fs_old_cgmask))))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="67" refid="ufs_8h_1ae26526d0ac7505aae7345f0288c17fe6" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="68" refid="ufs_8h_1a7875100ca8ad379e53628cb7dec48ecd" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fsbtodb(fs,<sp/>b)<sp/><sp/>((daddr_t)(b)<sp/><<<sp/>(fs)->fs_fsbtodb)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="69"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>dbtofsb(fs,<sp/>b)<sp/><sp/>((b)<sp/>>><sp/>(fs)->fs_fsbtodb)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="70"><highlight class="normal"></highlight></codeline> <codeline lineno="71"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline> <codeline lineno="72"><highlight class="comment"><sp/>*<sp/>Macros<sp/>for<sp/>handling<sp/>inode<sp/>numbers:</highlight></codeline> <codeline lineno="73"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>inode<sp/>number<sp/>to<sp/>filesystem<sp/>block<sp/>offset.</highlight></codeline> <codeline lineno="74"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>inode<sp/>number<sp/>to<sp/>cylinder<sp/>group<sp/>number.</highlight></codeline> <codeline lineno="75"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/><sp/>inode<sp/>number<sp/>to<sp/>filesystem<sp/>block<sp/>address.</highlight></codeline> <codeline lineno="76" refid="ufs_8h_1a22af882911b5ccb5c744257642089932" refkind="member"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="77" refid="ufs_8h_1aff52db23f4b31f920a657a75e0e5d58b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ino_to_cg(fs,<sp/>x)<sp/><sp/><sp/>((x)<sp/>/<sp/>(fs)->fs_ipg)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="78" refid="ufs_8h_1aa318a9ca261ab408a6df7949a593fb57" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ino_to_fsba(fs,<sp/>x)<sp/>((ufs2_daddr_t)(cgimin(fs,<sp/>ino_to_cg(fs,<sp/>x))<sp/>+<sp/>(blkstofrags((fs),<sp/>(((x)<sp/>%<sp/>(fs)->fs_ipg)<sp/>/<sp/>INOPB(fs))))))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="79"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ino_to_fsbo(fs,<sp/>x)<sp/>((x)<sp/>%<sp/>INOPB(fs))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="80" refid="ufs_8h_1acd9d1b3e1eed7fc3850f8a78636dd5a7" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="81" refid="ufs_8h_1a1ea09415cf1bc5de0d0d4a7158a5c736" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>blkoff(fs,<sp/>loc)<sp/>((loc)<sp/>&<sp/>(fs)->fs_qbmask)<sp/>//<sp/>calculates<sp/>(loc<sp/>%<sp/>fs->fs_bsize)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="82" refid="ufs_8h_1a1494995062a8a6dbbe60f8dc6a3e995d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>lblkno(fs,<sp/>loc)<sp/>((loc)<sp/>>><sp/>(fs)->fs_bshift)<sp/>//<sp/>calculates<sp/>(loc<sp/>/<sp/>fs->fs_bsize)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="83"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fragroundup(fs,<sp/>size)<sp/>(((size)<sp/>+<sp/>(fs)->fs_qfmask)<sp/>&<sp/>(fs)->fs_fmask)<sp/><sp/><sp/><sp/>//<sp/>calculates<sp/>roundup(size,<sp/>fs->fs_fsize)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="84" refid="ufs_8h_1ad35c4c33dc54a0b8db742e0b3b5f64aa" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="85"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>sblksize(fs,<sp/>size,<sp/>lbn)<sp/>(((lbn)<sp/>>=<sp/>NDADDR<sp/>||<sp/>(size)<sp/>>=<sp/>((lbn)<sp/>+<sp/>1)<sp/><<<sp/>(fs)->fs_bshift)<sp/>?<sp/>(fs)->fs_bsize<sp/>:<sp/>(fragroundup(fs,<sp/>blkoff(fs,<sp/>(size)))))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="86" refid="ufs_8h_1a6c4d2453c62592d30d9c981e4ee01323" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="87" refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="ufs_8h_1a6c4d2453c62592d30d9c981e4ee01323" kindref="member">ufs1_daddr_t</ref>;</highlight></codeline> <codeline lineno="88" refid="ufs_8h_1acfdbacc42c74f81152f66f8f81316513" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" kindref="member">ufs2_daddr_t</ref>;</highlight></codeline> <codeline lineno="89" refid="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="ufs_8h_1acfdbacc42c74f81152f66f8f81316513" kindref="member">ufs_lbn_t</ref>;</highlight></codeline> <codeline lineno="90"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" kindref="member">ufs_time_t</ref>;</highlight></codeline> <codeline lineno="91"><highlight class="normal"></highlight><highlight class="comment">//<sp/>MrOlsen<sp/>(2016-01-16)<sp/>NOTE:<sp/>typedef<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>__int64_t<sp/><sp/><sp/><sp/><sp/><sp/><sp/>daddr_t;</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="92" refid="structdirent" refkind="compound"><highlight class="normal"></highlight></codeline> <codeline lineno="93" refid="structdirent_1a0aa21d56704896b87f8a39ecba4f3731" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdirent" kindref="compound">dirent</ref><sp/>{</highlight></codeline> <codeline lineno="94" refid="structdirent_1a6ca250ead8b04b71ea787acbd29b6b75" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="__types_8h_1acaa96aed3d7fddac490800f166c2af02" kindref="member">__uint32_t</ref><sp/><ref refid="structdirent_1a0aa21d56704896b87f8a39ecba4f3731" kindref="member">d_fileno</ref>;<sp/></highlight><highlight class="comment">/*<sp/>file<sp/>number<sp/>of<sp/>entry<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="95" refid="structdirent_1aa850909d0a98e07d0ccd6232d28ed133" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="__types_8h_1a28989c8f3e511d5c6a9fd46b1adc1ee0" kindref="member">__uint16_t</ref><sp/><ref refid="structdirent_1a6ca250ead8b04b71ea787acbd29b6b75" kindref="member">d_reclen</ref>;<sp/></highlight><highlight class="comment">/*<sp/>length<sp/>of<sp/>this<sp/>record<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="96" refid="structdirent_1afd25358244d313ebc9a76cf6cdb4f36a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="__types_8h_1a25875528640a3eee1a026956baa82249" kindref="member">__uint8_t</ref><sp/><ref refid="structdirent_1aa850909d0a98e07d0ccd6232d28ed133" kindref="member">d_type</ref>;<sp/></highlight><highlight class="comment">/*<sp/>file<sp/>type,<sp/>see<sp/>below<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="97" refid="structdirent_1a8cb13e39a90c43e6b180ff4f1614e4da" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="__types_8h_1a25875528640a3eee1a026956baa82249" kindref="member">__uint8_t</ref><sp/><ref refid="structdirent_1afd25358244d313ebc9a76cf6cdb4f36a" kindref="member">d_namlen</ref>;<sp/></highlight><highlight class="comment">/*<sp/>length<sp/>of<sp/>string<sp/>in<sp/>d_name<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdirent_1a8cb13e39a90c43e6b180ff4f1614e4da" kindref="member">d_name</ref>[<ref refid="ufs_8h_1ab347d7e5c2fdca2d28e693b2a508d76a" kindref="member">MAXNAMLEN</ref><sp/>+<sp/>1];<sp/></highlight><highlight class="comment">/*<sp/>name<sp/>must<sp/>be<sp/>no<sp/>longer<sp/>than<sp/>this<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="99"><highlight class="normal">};</highlight></codeline> <codeline lineno="100" refid="ufs_8h_1a9515cc7f95937a2fc426cefaf6577cd5" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="101" refid="ufs_8h_1a0c136d7ef3223bdd2b6e7c83c65bb508" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NXADDR<sp/><sp/>2<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>External<sp/>addresses<sp/>in<sp/>inode.<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="102" refid="ufs_8h_1a4916bc50cb5cd1deaffe2c749d1559f8" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NDADDR<sp/><sp/>12<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Direct<sp/>addresses<sp/>in<sp/>inode.<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="103"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NIADDR<sp/><sp/>3<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Indirect<sp/>addresses<sp/>in<sp/>inode.<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="104" refid="structufs2__dinode" refkind="compound"><highlight class="normal"></highlight></codeline> <codeline lineno="105" refid="structufs2__dinode_1acb7ed3e4a81ba003ec405439d39a307c" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structufs2__dinode" kindref="compound">ufs2_dinode</ref><sp/>{</highlight></codeline> <codeline lineno="106" refid="structufs2__dinode_1a1398daf0dae2b3f39bc5f821e704ad89" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structufs2__dinode_1acb7ed3e4a81ba003ec405439d39a307c" kindref="member">di_mode</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>0:<sp/>IFMT,<sp/>permissions;<sp/>see<sp/>below.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="107" refid="structufs2__dinode_1abe8c549f9c8f7178291b1e34cc9bbc45" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a3542c6a0490e65fc4fc407273126e64f" kindref="member">int16_t</ref><sp/><ref refid="structufs2__dinode_1a1398daf0dae2b3f39bc5f821e704ad89" kindref="member">di_nlink</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>2:<sp/>File<sp/>link<sp/>count.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="108" refid="structufs2__dinode_1a21124da4705829d63dd28f0d7bcf2a1e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs2__dinode_1abe8c549f9c8f7178291b1e34cc9bbc45" kindref="member">di_uid</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>4:<sp/>File<sp/>owner.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="109" refid="structufs2__dinode_1a12b88261b38d03d00b9af6d7f8cff7db" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs2__dinode_1a21124da4705829d63dd28f0d7bcf2a1e" kindref="member">di_gid</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>8:<sp/>File<sp/>group.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="110" refid="structufs2__dinode_1ad5993494c57c494293c25dc81ec3b154" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs2__dinode_1a12b88261b38d03d00b9af6d7f8cff7db" kindref="member">di_blksize</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>12:<sp/>Inode<sp/>blocksize.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="111" refid="structufs2__dinode_1ad7506242ed5662a02fa2d5a56bc23d63" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a250ac047bf3984b5dae755276a305d64" kindref="member">u_int64_t</ref><sp/><ref refid="structufs2__dinode_1ad5993494c57c494293c25dc81ec3b154" kindref="member">di_size</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>16:<sp/>File<sp/>byte<sp/>count.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="112" refid="structufs2__dinode_1a884a0a3cb517902f2648b51782f713ed" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a250ac047bf3984b5dae755276a305d64" kindref="member">u_int64_t</ref><sp/><ref refid="structufs2__dinode_1ad7506242ed5662a02fa2d5a56bc23d63" kindref="member">di_blocks</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>24:<sp/>Bytes<sp/>actually<sp/>held.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="113" refid="structufs2__dinode_1a891b9a4ebc71c40776c6af460ea8c5b6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" kindref="member">ufs_time_t</ref><sp/><ref refid="structufs2__dinode_1a884a0a3cb517902f2648b51782f713ed" kindref="member">di_atime</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>32:<sp/>Last<sp/>access<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="114" refid="structufs2__dinode_1a7faf94a254583325c1de14b3eedc4672" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" kindref="member">ufs_time_t</ref><sp/><ref refid="structufs2__dinode_1a891b9a4ebc71c40776c6af460ea8c5b6" kindref="member">di_mtime</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>40:<sp/>Last<sp/>modified<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="115" refid="structufs2__dinode_1a9f35ec73df44f2db3b400271930806dc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" kindref="member">ufs_time_t</ref><sp/><ref refid="structufs2__dinode_1a7faf94a254583325c1de14b3eedc4672" kindref="member">di_ctime</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>48:<sp/>Last<sp/>inode<sp/>change<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="116" refid="structufs2__dinode_1a6aa493a9beb9514ce29fab46c4dd9de2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" kindref="member">ufs_time_t</ref><sp/><ref refid="structufs2__dinode_1a9f35ec73df44f2db3b400271930806dc" kindref="member">di_birthtime</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>56:<sp/>Inode<sp/>creation<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="117" refid="structufs2__dinode_1af66b1f8d1a7a8a8eeac1dceba64582f7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs2__dinode_1a6aa493a9beb9514ce29fab46c4dd9de2" kindref="member">di_mtimensec</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>64:<sp/>Last<sp/>modified<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="118" refid="structufs2__dinode_1a264013dc040d9a1a4f940948bd78306d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs2__dinode_1af66b1f8d1a7a8a8eeac1dceba64582f7" kindref="member">di_atimensec</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>68:<sp/>Last<sp/>access<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="119" refid="structufs2__dinode_1aa62f9cdee1b9d4f5b437e3fbd6dcc33a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs2__dinode_1a264013dc040d9a1a4f940948bd78306d" kindref="member">di_ctimensec</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>72:<sp/>Last<sp/>inode<sp/>change<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="120" refid="structufs2__dinode_1a4381e2835270fbbe32040beccd49453c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs2__dinode_1aa62f9cdee1b9d4f5b437e3fbd6dcc33a" kindref="member">di_birthnsec</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>76:<sp/>Inode<sp/>creation<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="121" refid="structufs2__dinode_1affe05119f062572fbf7b93c7e7f9feac" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs2__dinode_1a4381e2835270fbbe32040beccd49453c" kindref="member">di_gen</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>80:<sp/>Generation<sp/>number.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="122" refid="structufs2__dinode_1ac1dc27b26634efb7512d49a25d105fc7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs2__dinode_1affe05119f062572fbf7b93c7e7f9feac" kindref="member">di_kernflags</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>84:<sp/>Kernel<sp/>flags.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="123" refid="structufs2__dinode_1aebd41a6fb817a7a04b6cf9664c5fc1dd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs2__dinode_1ac1dc27b26634efb7512d49a25d105fc7" kindref="member">di_flags</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>88:<sp/>Status<sp/>flags<sp/>(chflags).<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="124" refid="structufs2__dinode_1aea6f036f1e38b4645ac4a72aaa2e7585" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs2__dinode_1aebd41a6fb817a7a04b6cf9664c5fc1dd" kindref="member">di_extsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>92:<sp/>External<sp/>attributes<sp/>block.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="125" refid="structufs2__dinode_1a667ab9837a0fd21d51108ca9dfd85f66" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" kindref="member">ufs2_daddr_t</ref><sp/><ref refid="structufs2__dinode_1aea6f036f1e38b4645ac4a72aaa2e7585" kindref="member">di_extb</ref>[<ref refid="ufs_8h_1a9515cc7f95937a2fc426cefaf6577cd5" kindref="member">NXADDR</ref>];</highlight><highlight class="comment">/*<sp/><sp/>96:<sp/>External<sp/>attributes<sp/>block.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="126" refid="structufs2__dinode_1a9eb4d981d19dd77fbde21e84fd4e2d5d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" kindref="member">ufs2_daddr_t</ref><sp/><ref refid="structufs2__dinode_1a667ab9837a0fd21d51108ca9dfd85f66" kindref="member">di_db</ref>[<ref refid="ufs_8h_1a0c136d7ef3223bdd2b6e7c83c65bb508" kindref="member">NDADDR</ref>];<sp/></highlight><highlight class="comment">/*<sp/>112:<sp/>Direct<sp/>disk<sp/>blocks.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="127" refid="structufs2__dinode_1af548961233457327ec8ae47cba34faed" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" kindref="member">ufs2_daddr_t</ref><sp/><ref refid="structufs2__dinode_1a9eb4d981d19dd77fbde21e84fd4e2d5d" kindref="member">di_ib</ref>[<ref refid="ufs_8h_1a4916bc50cb5cd1deaffe2c749d1559f8" kindref="member">NIADDR</ref>];<sp/></highlight><highlight class="comment">/*<sp/>208:<sp/>Indirect<sp/>disk<sp/>blocks.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="128"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structufs2__dinode_1af548961233457327ec8ae47cba34faed" kindref="member">di_spare</ref>[3];<sp/></highlight><highlight class="comment">/*<sp/>232:<sp/>Reserved;<sp/>currently<sp/>unused<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="129"><highlight class="normal">};</highlight></codeline> <codeline lineno="130" refid="structufs1__dinode" refkind="compound"><highlight class="normal"></highlight></codeline> <codeline lineno="131" refid="structufs1__dinode_1a1194f04404015f7da26bd1932773df6a" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structufs1__dinode" kindref="compound">ufs1_dinode</ref><sp/>{</highlight></codeline> <codeline lineno="132" refid="structufs1__dinode_1a588b5e9341bb7c148047efff0ee220a7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structufs1__dinode_1a1194f04404015f7da26bd1932773df6a" kindref="member">di_mode</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>0:<sp/>IFMT,<sp/>permissions;<sp/>see<sp/>below.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a3542c6a0490e65fc4fc407273126e64f" kindref="member">int16_t</ref><sp/><ref refid="structufs1__dinode_1a588b5e9341bb7c148047efff0ee220a7" kindref="member">di_nlink</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>2:<sp/>File<sp/>link<sp/>count.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="134" refid="structufs1__dinode_1a73e877b335388dfd98354ded9cc2e5ac" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">union<sp/></highlight><highlight class="normal">{</highlight></codeline> <codeline lineno="135"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structufs1__dinode_1a73e877b335388dfd98354ded9cc2e5ac" kindref="member">oldids</ref>[2];<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>4:<sp/>Ffs:<sp/>old<sp/>user<sp/>and<sp/>group<sp/>ids.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="136" refid="structufs1__dinode_1aeb1915f50d8bd4ef7e10fc68a965bdc7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/><ref refid="structufs1__dinode_1aed1b13367c352a3def247f7c7a9f2d19" kindref="member">di_u</ref>;</highlight></codeline> <codeline lineno="137" refid="structufs1__dinode_1a595f269b878c850fbe7970292fbf0ec2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a250ac047bf3984b5dae755276a305d64" kindref="member">u_int64_t</ref><sp/><ref refid="structufs1__dinode_1aeb1915f50d8bd4ef7e10fc68a965bdc7" kindref="member">di_size</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/>8:<sp/>File<sp/>byte<sp/>count.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="138" refid="structufs1__dinode_1adeba42b56bad1b46746b76a261a28ef1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1a595f269b878c850fbe7970292fbf0ec2" kindref="member">di_atime</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>16:<sp/>Last<sp/>access<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="139" refid="structufs1__dinode_1addd8686290d360fe1ff97e47b25df5d6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1adeba42b56bad1b46746b76a261a28ef1" kindref="member">di_atimensec</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>20:<sp/>Last<sp/>access<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="140" refid="structufs1__dinode_1ae1a12b1b2308f6feb92b210b3fd32c37" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1addd8686290d360fe1ff97e47b25df5d6" kindref="member">di_mtime</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>24:<sp/>Last<sp/>modified<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="141" refid="structufs1__dinode_1adb27793d0c34f01326474401ddde1c43" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1ae1a12b1b2308f6feb92b210b3fd32c37" kindref="member">di_mtimensec</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>28:<sp/>Last<sp/>modified<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="142" refid="structufs1__dinode_1a0094b1e1cac8ca65a970968ad2ad0237" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1adb27793d0c34f01326474401ddde1c43" kindref="member">di_ctime</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>32:<sp/>Last<sp/>inode<sp/>change<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="143" refid="structufs1__dinode_1afba310e16ff4dd802733e9ea57c7ce25" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1a0094b1e1cac8ca65a970968ad2ad0237" kindref="member">di_ctimensec</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/>36:<sp/>Last<sp/>inode<sp/>change<sp/>time.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="144" refid="structufs1__dinode_1aea74a32cfbd55a50c23f779583bfb707" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1a6c4d2453c62592d30d9c981e4ee01323" kindref="member">ufs1_daddr_t</ref><sp/><ref refid="structufs1__dinode_1afba310e16ff4dd802733e9ea57c7ce25" kindref="member">di_db</ref>[<ref refid="ufs_8h_1a0c136d7ef3223bdd2b6e7c83c65bb508" kindref="member">NDADDR</ref>];<sp/></highlight><highlight class="comment">/*<sp/><sp/>40:<sp/>Direct<sp/>disk<sp/>blocks.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="145" refid="structufs1__dinode_1aafdd15ffb8853aacf5b072ec3cf83e0a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1a6c4d2453c62592d30d9c981e4ee01323" kindref="member">ufs1_daddr_t</ref><sp/><ref refid="structufs1__dinode_1aea74a32cfbd55a50c23f779583bfb707" kindref="member">di_ib</ref>[<ref refid="ufs_8h_1a4916bc50cb5cd1deaffe2c749d1559f8" kindref="member">NIADDR</ref>];<sp/></highlight><highlight class="comment">/*<sp/><sp/>88:<sp/>Indirect<sp/>disk<sp/>blocks.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="146" refid="structufs1__dinode_1a09bff0a0b5a439618e8893b4f5790368" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs1__dinode_1aafdd15ffb8853aacf5b072ec3cf83e0a" kindref="member">di_flags</ref>;<sp/></highlight><highlight class="comment">/*<sp/>100:<sp/>Status<sp/>flags<sp/>(chflags).<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="147" refid="structufs1__dinode_1a0c83844df5375d0d7e3bf70b1fd20762" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1a09bff0a0b5a439618e8893b4f5790368" kindref="member">di_blocks</ref>;<sp/></highlight><highlight class="comment">/*<sp/>104:<sp/>Blocks<sp/>actually<sp/>held.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="148" refid="structufs1__dinode_1a0adc87e7a871423fb4bbbbfb7daf6f6c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1a0c83844df5375d0d7e3bf70b1fd20762" kindref="member">di_gen</ref>;<sp/></highlight><highlight class="comment">/*<sp/>108:<sp/>Generation<sp/>number.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="149" refid="structufs1__dinode_1a2c89daace31a1b7e48b9317a32a8e0ff" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs1__dinode_1a0adc87e7a871423fb4bbbbfb7daf6f6c" kindref="member">di_uid</ref>;<sp/></highlight><highlight class="comment">/*<sp/>112:<sp/>File<sp/>owner.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="150" refid="structufs1__dinode_1a91a277e4cb6f822b1bd692f5cd06fb97" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structufs1__dinode_1a2c89daace31a1b7e48b9317a32a8e0ff" kindref="member">di_gid</ref>;<sp/></highlight><highlight class="comment">/*<sp/>116:<sp/>File<sp/>group.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structufs1__dinode_1a91a277e4cb6f822b1bd692f5cd06fb97" kindref="member">di_spare</ref>[2];<sp/></highlight><highlight class="comment">/*<sp/>120:<sp/>Reserved;<sp/>currently<sp/>unused<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="152"><highlight class="normal">};</highlight></codeline> <codeline lineno="153"><highlight class="normal"></highlight></codeline> <codeline lineno="154"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structcsum" kindref="compound">csum</ref><sp/>{</highlight></codeline> <codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structcsum_1a910936b597b99baa5f64ddd5a15f6b70" kindref="member">cs_ndir</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>directories<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structcsum_1ac77b40fc2a8d65ec266e9471fb96ed99" kindref="member">cs_nbfree</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>free<sp/>blocks<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="157"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structcsum_1a997edf4fbc43862abb72a4a7e411a51d" kindref="member">cs_nifree</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>free<sp/>inodes<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structcsum_1a4725bcc5b848a377eb7aeb181018405d" kindref="member">cs_nffree</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>free<sp/>frags<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="159"><highlight class="normal">};</highlight></codeline> <codeline lineno="160"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structcsum__total" kindref="compound">csum_total</ref><sp/>{</highlight></codeline> <codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structcsum__total_1ace49dca16f94651c7e9b1df65d8197d9" kindref="member">cs_ndir</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>directories<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structcsum__total_1ac41c6231e09b4ca0b7fd2fe16d73abee" kindref="member">cs_nbfree</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>free<sp/>blocks<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structcsum__total_1a804f2ae79c647da155cbd6ea5952b3b3" kindref="member">cs_nifree</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>free<sp/>inodes<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structcsum__total_1a6d734f6ae45524cb242fb899168cc1e6" kindref="member">cs_nffree</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>free<sp/>frags<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structcsum__total_1a89edf9903e16183ddc371bbbc7756217" kindref="member">cs_numclusters</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>free<sp/>clusters<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structcsum__total_1ab96e3e2dbc1ce2a4b2f8bbdcdba76200" kindref="member">cs_spare</ref>[3];<sp/></highlight><highlight class="comment">/*<sp/>future<sp/>expansion<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="167"><highlight class="normal">};</highlight></codeline> <codeline lineno="168"><highlight class="normal"></highlight></codeline> <codeline lineno="169"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structfs" kindref="compound">fs</ref><sp/>{</highlight></codeline> <codeline lineno="170"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a845f442a845714c10fff6d8b12c9eb9e" kindref="member">fs_firstfield</ref>;<sp/></highlight><highlight class="comment">/*<sp/>historic<sp/>filesystem<sp/>linked<sp/>list,<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="171"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a7246de3f8042955f49127b1e656838f5" kindref="member">fs_unused_1</ref>;<sp/></highlight><highlight class="comment">/*<sp/><sp/><sp/><sp/><sp/>used<sp/>for<sp/>incore<sp/>super<sp/>blocks<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="172"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ab96f2622ae5d8b12c0ca31a210b3c58e" kindref="member">fs_sblkno</ref>;<sp/></highlight><highlight class="comment">/*<sp/>offset<sp/>of<sp/>super-block<sp/>in<sp/>filesys<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="173"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1adedb82f28a6436a506aa3c47bdf49aa0" kindref="member">fs_cblkno</ref>;<sp/></highlight><highlight class="comment">/*<sp/>offset<sp/>of<sp/>cyl-block<sp/>in<sp/>filesys<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a680d9067242a7b551779146d839997f4" kindref="member">fs_iblkno</ref>;<sp/></highlight><highlight class="comment">/*<sp/>offset<sp/>of<sp/>inode-blocks<sp/>in<sp/>filesys<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1afc80e8002a127f6e31ab675bc79d7466" kindref="member">fs_dblkno</ref>;<sp/></highlight><highlight class="comment">/*<sp/>offset<sp/>of<sp/>first<sp/>data<sp/>after<sp/>cg<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a0e65a1457e48bf92c3ff9ed5de2d2f97" kindref="member">fs_old_cgoffset</ref>;<sp/></highlight><highlight class="comment">/*<sp/>cylinder<sp/>group<sp/>offset<sp/>in<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a3372db524b01604405d0736d4c76ed88" kindref="member">fs_old_cgmask</ref>;<sp/></highlight><highlight class="comment">/*<sp/>used<sp/>to<sp/>calc<sp/>mod<sp/>fs_ntrak<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="178"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a948e2a387ab0a3cfd674e93db8e9faf0" kindref="member">fs_old_time</ref>;<sp/></highlight><highlight class="comment">/*<sp/>last<sp/>time<sp/>written<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="179"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ad24dc27973a0594319921fe1aa0394d4" kindref="member">fs_old_size</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>blocks<sp/>in<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="180" refid="structfs_1a06f4cbb13f8a47c87f53f5b3a7d86340" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a07a13bddf97b62b08ec62f12f788be8a" kindref="member">fs_old_dsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>data<sp/>blocks<sp/>in<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a2d9e55c707f7e3d817aecadcdd64caaf" kindref="member">fs_ncg</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>cylinder<sp/>groups<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1abeaa37858276e7d7d7f8f4260bc53f6d" kindref="member">fs_bsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>size<sp/>of<sp/>basic<sp/>blocks<sp/>in<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ac2a347c2b6170615954aee791991f94d" kindref="member">fs_fsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>size<sp/>of<sp/>frag<sp/>blocks<sp/>in<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="184"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a13aa148271139d206d6b778ac9b3ed09" kindref="member">fs_frag</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>frags<sp/>in<sp/>a<sp/>block<sp/>in<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="185"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>these<sp/>are<sp/>configuration<sp/>parameters<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a3b39e3f97e0438ecbb1a953dec03a5c1" kindref="member">fs_minfree</ref>;<sp/></highlight><highlight class="comment">/*<sp/>minimum<sp/>percentage<sp/>of<sp/>free<sp/>blocks<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="187"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a31507b3bebe2528e83e9eecadea5fca0" kindref="member">fs_old_rotdelay</ref>;<sp/></highlight><highlight class="comment">/*<sp/>num<sp/>of<sp/>ms<sp/>for<sp/>optimal<sp/>next<sp/>block<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="188"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1af615de722bf977da3bf0b21e99099358" kindref="member">fs_old_rps</ref>;<sp/></highlight><highlight class="comment">/*<sp/>disk<sp/>revolutions<sp/>per<sp/>second<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="189"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>these<sp/>fields<sp/>can<sp/>be<sp/>computed<sp/>from<sp/>the<sp/>others<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a9a6df636b99f001bb0fe96c2c567c3db" kindref="member">fs_bmask</ref>;<sp/></highlight><highlight class="comment">/*<sp/>``blkoff''<sp/>calc<sp/>of<sp/>blk<sp/>offsets<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1af447cdadaacd96c24c81f7e34c0059f5" kindref="member">fs_fmask</ref>;<sp/></highlight><highlight class="comment">/*<sp/>``fragoff''<sp/>calc<sp/>of<sp/>frag<sp/>offsets<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a664686425d41a31c188000518c356682" kindref="member">fs_bshift</ref>;<sp/></highlight><highlight class="comment">/*<sp/>``lblkno''<sp/>calc<sp/>of<sp/>logical<sp/>blkno<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ac62c66d38fde6372b81e3cf8ef8ec6f2" kindref="member">fs_fshift</ref>;<sp/></highlight><highlight class="comment">/*<sp/>``numfrags''<sp/>calc<sp/>number<sp/>of<sp/>frags<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="194"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>these<sp/>are<sp/>configuration<sp/>parameters<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a78bdd388e46c8136e6f9e5b6b7a3f600" kindref="member">fs_maxcontig</ref>;<sp/></highlight><highlight class="comment">/*<sp/>max<sp/>number<sp/>of<sp/>contiguous<sp/>blks<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a1236b6b674047859269b8df46a745aba" kindref="member">fs_maxbpg</ref>;<sp/></highlight><highlight class="comment">/*<sp/>max<sp/>number<sp/>of<sp/>blks<sp/>per<sp/>cyl<sp/>group<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="197"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>these<sp/>fields<sp/>can<sp/>be<sp/>computed<sp/>from<sp/>the<sp/>others<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a27f2b7e09b8716cf08237aba7529fbf7" kindref="member">fs_fragshift</ref>;<sp/></highlight><highlight class="comment">/*<sp/>block<sp/>to<sp/>frag<sp/>shift<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a420213fcd930d17a087a39fa48eab6bb" kindref="member">fs_fsbtodb</ref>;<sp/></highlight><highlight class="comment">/*<sp/>fsbtodb<sp/>and<sp/>dbtofsb<sp/>shift<sp/>constant<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="200"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a60ddc7f4adc14ba5f09977808f93b124" kindref="member">fs_sbsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>actual<sp/>size<sp/>of<sp/>super<sp/>block<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ae626e7eadba9d15bd1aa6bd733de59fe" kindref="member">fs_spare1</ref>[2];<sp/></highlight><highlight class="comment">/*<sp/>old<sp/>fs_csmask<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>old<sp/>fs_csshift<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="203" refid="structfs_1a09f5993f6a06c3a6543978b91da11826" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a2d119c1181a7e3acad4d7705a589d20b" kindref="member">fs_nindir</ref>;<sp/></highlight><highlight class="comment">/*<sp/>value<sp/>of<sp/>NINDIR<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a733402e62d65acbcba0ab0468022b4d5" kindref="member">fs_inopb</ref>;<sp/></highlight><highlight class="comment">/*<sp/>value<sp/>of<sp/>INOPB<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a7262744877dac1c79e119fab7ee3d67d" kindref="member">fs_old_nspf</ref>;<sp/></highlight><highlight class="comment">/*<sp/>value<sp/>of<sp/>NSPF<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="206"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>yet<sp/>another<sp/>configuration<sp/>parameter<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="207"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ad2741b461acb83e521e8f094586e1f04" kindref="member">fs_optim</ref>;<sp/></highlight><highlight class="comment">/*<sp/>optimization<sp/>preference,<sp/>see<sp/>below<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="208"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1aaefee9a806967afe881a50fcbe391ff5" kindref="member">fs_old_npsect</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>sectors/track<sp/>including<sp/>spares<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="209"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1affe7e7f7fcff6fab9079d83220e3e1cc" kindref="member">fs_old_interleave</ref>;<sp/></highlight><highlight class="comment">/*<sp/>hardware<sp/>sector<sp/>interleave<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="210"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ab013e02a3dd43b54edb8d17a6303987e" kindref="member">fs_old_trackskew</ref>;<sp/></highlight><highlight class="comment">/*<sp/>sector<sp/>0<sp/>skew,<sp/>per<sp/>track<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="211"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ad573635cfbc906b4d5af65a338705fef" kindref="member">fs_id</ref>[2];<sp/></highlight><highlight class="comment">/*<sp/>unique<sp/>filesystem<sp/>id<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="212"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>sizes<sp/>determined<sp/>by<sp/>number<sp/>of<sp/>cylinder<sp/>groups<sp/>and<sp/>their<sp/>sizes<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="213"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a1e5f3cc79f0589b713e56ae3f7892287" kindref="member">fs_old_csaddr</ref>;<sp/></highlight><highlight class="comment">/*<sp/>blk<sp/>addr<sp/>of<sp/>cyl<sp/>grp<sp/>summary<sp/>area<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="214"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a8eba877a723ca9b8f9c762a1d65878e9" kindref="member">fs_cssize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>size<sp/>of<sp/>cyl<sp/>grp<sp/>summary<sp/>area<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="215"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a1a500c66d35a8ae7875ae00c2a953eea" kindref="member">fs_cgsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>cylinder<sp/>group<sp/>size<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="216"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a7cebf2cb358cde121c29269dbc20a1f3" kindref="member">fs_spare2</ref>;<sp/></highlight><highlight class="comment">/*<sp/>old<sp/>fs_ntrak<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="217"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a89b502e2bf515440bc150e8e4ebb12c9" kindref="member">fs_old_nsect</ref>;<sp/></highlight><highlight class="comment">/*<sp/>sectors<sp/>per<sp/>track<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1affb1c061e74f60407af46700f5394a0c" kindref="member">fs_old_spc</ref>;<sp/></highlight><highlight class="comment">/*<sp/>sectors<sp/>per<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="219"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a3b4d10d43d4175b9444ed73ddcf18140" kindref="member">fs_old_ncyl</ref>;<sp/></highlight><highlight class="comment">/*<sp/>cylinders<sp/>in<sp/>filesystem<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="220" refid="structfs_1ab9ac53ea2f7e8f218b48ce3d68245e12" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a3059d11894848b96ae73618740f0dac6" kindref="member">fs_old_cpg</ref>;<sp/></highlight><highlight class="comment">/*<sp/>cylinders<sp/>per<sp/>group<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="221"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1adf24d0e3ffe0fceef2f3821305e04e3d" kindref="member">fs_ipg</ref>;<sp/></highlight><highlight class="comment">/*<sp/>inodes<sp/>per<sp/>group<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="222"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a8231c53c394bf5c523584dbe87295b03" kindref="member">fs_fpg</ref>;<sp/></highlight><highlight class="comment">/*<sp/>blocks<sp/>per<sp/>group<sp/>*<sp/>fs_frag<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="223"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>this<sp/>data<sp/>must<sp/>be<sp/>re-computed<sp/>after<sp/>crashes<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="224"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structcsum" kindref="compound">csum</ref><sp/><ref refid="structfs_1a987656a71ddd126654688a50477b4757" kindref="member">fs_old_cstotal</ref>;<sp/></highlight><highlight class="comment">/*<sp/>cylinder<sp/>summary<sp/>information<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="225"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>these<sp/>fields<sp/>are<sp/>cleared<sp/>at<sp/>mount<sp/>time<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="226"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a06ffba8acf5d133104191f183e67ac8c" kindref="member">int8_t</ref><sp/><ref refid="structfs_1a685528bae5950f6dc8d7868ce1df2268" kindref="member">fs_fmod</ref>;<sp/></highlight><highlight class="comment">/*<sp/>super<sp/>block<sp/>modified<sp/>flag<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="227"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a06ffba8acf5d133104191f183e67ac8c" kindref="member">int8_t</ref><sp/><ref refid="structfs_1ad70b3b14f20ee12639f774ce0a6817b0" kindref="member">fs_clean</ref>;<sp/></highlight><highlight class="comment">/*<sp/>filesystem<sp/>is<sp/>clean<sp/>flag<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="228"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a06ffba8acf5d133104191f183e67ac8c" kindref="member">int8_t</ref><sp/><ref refid="structfs_1ac4a00ffe190e24cf27323062dd3c4b04" kindref="member">fs_ronly</ref>;<sp/></highlight><highlight class="comment">/*<sp/>mounted<sp/>read-only<sp/>flag<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="229"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a06ffba8acf5d133104191f183e67ac8c" kindref="member">int8_t</ref><sp/><ref refid="structfs_1a2eb4e28e41443e46d48f4b2d401fa61f" kindref="member">fs_old_flags</ref>;<sp/></highlight><highlight class="comment">/*<sp/>old<sp/>FS_<sp/>flags<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="230"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ae2b02ed168fc99cff3851603910b1fb6" kindref="member">u_char</ref><sp/><ref refid="structfs_1a580ddd495e4e346d10f6f74cd8ae35ad" kindref="member">fs_fsmnt</ref>[<ref refid="ufs_8h_1a0beb14d415a358b818cec76550e4fad1" kindref="member">MAXMNTLEN</ref>];<sp/></highlight><highlight class="comment">/*<sp/>name<sp/>mounted<sp/>on<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="231"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ae2b02ed168fc99cff3851603910b1fb6" kindref="member">u_char</ref><sp/><ref refid="structfs_1af062a835d2e2599fd6ffd453c454dd22" kindref="member">fs_volname</ref>[<ref refid="ufs_8h_1ac5859c27029a47d17c1279cc197f05c3" kindref="member">MAXVOLLEN</ref>];<sp/></highlight><highlight class="comment">/*<sp/>volume<sp/>name<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="232"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a250ac047bf3984b5dae755276a305d64" kindref="member">u_int64_t</ref><sp/><ref refid="structfs_1a582e900902af7c6ba9a7a837c61ce8b9" kindref="member">fs_swuid</ref>;<sp/></highlight><highlight class="comment">/*<sp/>system-wide<sp/>uid<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="233"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a2cb27fb4a6379e89a430db9f9d51eda5" kindref="member">fs_pad</ref>;<sp/></highlight><highlight class="comment">/*<sp/>due<sp/>to<sp/>alignment<sp/>of<sp/>fs_swuid<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="234"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>these<sp/>fields<sp/>retain<sp/>the<sp/>current<sp/>block<sp/>allocation<sp/>info<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="235"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a30411c307e72e31cec612a97b004453e" kindref="member">fs_cgrotor</ref>;<sp/></highlight><highlight class="comment">/*<sp/>last<sp/>cg<sp/>searched<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="236"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*<ref refid="structfs_1a4cf49593a8f0cf0a1d2d53992fab1ec7" kindref="member">fs_ocsp</ref>[<ref refid="ufs_8h_1aca816b354128719c1523e33152a13637" kindref="member">NOCSPTRS</ref>];<sp/></highlight><highlight class="comment">/*<sp/>padding;<sp/>was<sp/>list<sp/>of<sp/>fs_cs<sp/>buffers<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="237"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/>*<ref refid="structfs_1ada48615e2bbbfed4cce9753d86d7584f" kindref="member">fs_contigdirs</ref>;<sp/></highlight><highlight class="comment">/*<sp/>(u)<sp/>#<sp/>of<sp/>contig.<sp/>allocated<sp/>dirs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="238"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structcsum" kindref="compound">csum</ref><sp/>*<ref refid="structfs_1a4b9c3e77f89f5a59f71e37f83b8d42aa" kindref="member">fs_csp</ref>;<sp/></highlight><highlight class="comment">/*<sp/>(u)<sp/>cg<sp/>summary<sp/>info<sp/>buffer<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="239"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/>*<ref refid="structfs_1a3456619a6ebb8c8c6b522d5d3ef1b081" kindref="member">fs_maxcluster</ref>;<sp/></highlight><highlight class="comment">/*<sp/>(u)<sp/>max<sp/>cluster<sp/>in<sp/>each<sp/>cyl<sp/>group<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac319c165d52643e43249fe003e18bdf3" kindref="member">u_int</ref><sp/>*<ref refid="structfs_1a242bad85def13c2aba47daaf58de7308" kindref="member">fs_active</ref>;<sp/></highlight><highlight class="comment">/*<sp/>(u)<sp/>used<sp/>by<sp/>snapshots<sp/>to<sp/>track<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ada2826b8126cd04502a8d106d97f2feb" kindref="member">fs_old_cpc</ref>;<sp/></highlight><highlight class="comment">/*<sp/>cyl<sp/>per<sp/>cycle<sp/>in<sp/>postbl<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a133f70897ddd802936d9f15f9c4f7b1d" kindref="member">fs_maxbsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>maximum<sp/>blocking<sp/>factor<sp/>permitted<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="243"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structfs_1a7abf5f534e4a4a54dcbb38013f2afcb7" kindref="member">fs_sparecon64</ref>[17];<sp/></highlight><highlight class="comment">/*<sp/>old<sp/>rotation<sp/>block<sp/>list<sp/>head<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structfs_1a7f7bd1346fb9aa31b3509e7736b9c3c5" kindref="member">fs_sblockloc</ref>;<sp/></highlight><highlight class="comment">/*<sp/>byte<sp/>offset<sp/>of<sp/>standard<sp/>superblock<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="245"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structcsum__total" kindref="compound">csum_total</ref><sp/><ref refid="structfs_1a85a5dbf3800d9a52f02efc0367cf87f2" kindref="member">fs_cstotal</ref>;<sp/></highlight><highlight class="comment">/*<sp/>(u)<sp/>cylinder<sp/>summary<sp/>information<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="246"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1aec5bc03f68bf810247d604821ad95bb7" kindref="member">ufs_time_t</ref><sp/><ref refid="structfs_1a05c9a84e408e2f7898dd0a83f7859112" kindref="member">fs_time</ref>;<sp/></highlight><highlight class="comment">/*<sp/>last<sp/>time<sp/>written<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="247"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structfs_1a4f95748c8c7cc9e3e9ed007405b99761" kindref="member">fs_size</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>blocks<sp/>in<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structfs_1aa8e6378d3a6150f5a1dc264cf2e306e6" kindref="member">fs_dsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>data<sp/>blocks<sp/>in<sp/>fs<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="249"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="ufs_8h_1ad1d47f60518d845f7e798fa0f3458753" kindref="member">ufs2_daddr_t</ref><sp/><ref refid="structfs_1ad43582016bfc00268dbd3de5bdf63c56" kindref="member">fs_csaddr</ref>;<sp/></highlight><highlight class="comment">/*<sp/>blk<sp/>addr<sp/>of<sp/>cyl<sp/>grp<sp/>summary<sp/>area<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="250" refid="structfs_1a2edcaaaf740c2737b958c8f0de0bafde" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structfs_1a716babdd931f0aae037a388a76fb0f5e" kindref="member">fs_pendingblocks</ref>;<sp/></highlight><highlight class="comment">/*<sp/>(u)<sp/>blocks<sp/>being<sp/>freed<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="251" refid="structfs_1ac6261d52facc413146d79821e88c2df4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a0cbe58ffe6a5938d48c456413580d492" kindref="member">fs_pendinginodes</ref>;<sp/></highlight><highlight class="comment">/*<sp/>(u)<sp/>inodes<sp/>being<sp/>freed<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="252" refid="structfs_1a3d750fecfb70d46d78e3964c0fc62db0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a1d23acba4998d1e7aaa613fabbeacd8c" kindref="member">fs_snapinum</ref>[<ref refid="ufs_8h_1a04c33da6605e73954cf2ff32c3f0f15a" kindref="member">FSMAXSNAP</ref>];</highlight><highlight class="comment">/*<sp/>list<sp/>of<sp/>snapshot<sp/>inode<sp/>numbers<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="253" refid="structfs_1a4e27ad3d243d1868c517c7f50db36c68" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1aac41d7cc53c7100d01164f2b296b05ee" kindref="member">fs_avgfilesize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>expected<sp/>average<sp/>file<sp/>size<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="254"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ada76c669a82750d9a8c0d7ca2eddd082" kindref="member">fs_avgfpdir</ref>;<sp/></highlight><highlight class="comment">/*<sp/>expected<sp/>#<sp/>of<sp/>files<sp/>per<sp/>directory<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="255"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a296f6ea58ab5171bb0cebf8d9e9759b9" kindref="member">fs_save_cgsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>save<sp/>real<sp/>cg<sp/>size<sp/>to<sp/>use<sp/>fs_bsize<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="256"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a505ae55360f35ac57519ef73a583c65c" kindref="member">fs_sparecon32</ref>[26];<sp/></highlight><highlight class="comment">/*<sp/>reserved<sp/>for<sp/>future<sp/>constants<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="257"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a3036cb913215b8925934f2d87792e75b" kindref="member">fs_flags</ref>;<sp/></highlight><highlight class="comment">/*<sp/>see<sp/>FS_<sp/>flags<sp/>below<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="258"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1acdd52fe6ac532b73eb877c57b286dd93" kindref="member">fs_contigsumsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>size<sp/>of<sp/>cluster<sp/>summary<sp/>array<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="259"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1abc0a279ec4d6a3f7a70e7078c9def3d3" kindref="member">fs_maxsymlinklen</ref>;<sp/></highlight><highlight class="comment">/*<sp/>max<sp/>length<sp/>of<sp/>an<sp/>internal<sp/>symlink<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="260"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a8fd0d606db522d961af347195bb59909" kindref="member">fs_old_inodefmt</ref>;<sp/></highlight><highlight class="comment">/*<sp/>format<sp/>of<sp/>on-disk<sp/>inodes<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="261"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a250ac047bf3984b5dae755276a305d64" kindref="member">u_int64_t</ref><sp/><ref refid="structfs_1a80705fcf0b5478639af84da1d4c24e72" kindref="member">fs_maxfilesize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>maximum<sp/>representable<sp/>file<sp/>size<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="262"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structfs_1aa771c09702d1e51ee526fb822e7230a5" kindref="member">fs_qbmask</ref>;<sp/></highlight><highlight class="comment">/*<sp/>~fs_bmask<sp/>for<sp/>use<sp/>with<sp/>64-bit<sp/>size<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="263"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a96411d49619f50e635418ee57651b95d" kindref="member">int64_t</ref><sp/><ref refid="structfs_1ab48686a078d1a8410ec36696f0afeb05" kindref="member">fs_qfmask</ref>;<sp/></highlight><highlight class="comment">/*<sp/>~fs_fmask<sp/>for<sp/>use<sp/>with<sp/>64-bit<sp/>size<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="264"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1a6c2e8cf33c773a90113fcc7fe9a75c51" kindref="member">fs_state</ref>;<sp/></highlight><highlight class="comment">/*<sp/>validate<sp/>fs_clean<sp/>field<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="265"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1aff096e7b1228e1914b01a8b66e74b1b1" kindref="member">fs_old_postblformat</ref>;<sp/></highlight><highlight class="comment">/*<sp/>format<sp/>of<sp/>positional<sp/>layout<sp/>tables<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="266"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1aef6eb7c95acad0463084fc855e91c73d" kindref="member">fs_old_nrpos</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>rotational<sp/>positions<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="267"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1ae21d3f568b4f3eec3613927631ff9ccf" kindref="member">fs_spare5</ref>[2];<sp/></highlight><highlight class="comment">/*<sp/>old<sp/>fs_postbloff<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>old<sp/>fs_rotbloff<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="269"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a6f6221103820f185abcc62b874665a93" kindref="member">int32_t</ref><sp/><ref refid="structfs_1aacc2f0aa6f3902f165c563ce5ba76373" kindref="member">fs_magic</ref>;<sp/></highlight><highlight class="comment">/*<sp/>magic<sp/>number<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="270"><highlight class="normal">};</highlight></codeline> <codeline lineno="271"><highlight class="normal"></highlight></codeline> <codeline lineno="272"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="ufs_8h_1a349e4b7ceea770cd630e0297b693d59e" kindref="member">ufs_init</ref>();</highlight></codeline> <codeline lineno="273"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="ufs_8h_1ab72f6c6236410bf9a029e7bc810eb609" kindref="member">ufs_initialize</ref>();</highlight></codeline> <codeline lineno="274"><highlight class="normal"></highlight></codeline> <codeline lineno="275"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="276"><highlight class="normal"></highlight></codeline> <codeline lineno="277"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline> <codeline lineno="278"><highlight class="comment"><sp/>END</highlight></codeline> <codeline lineno="279"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/ufs/ufs.h"/> </compounddef> </doxygen>