linux/arch/um/drivers/cow.h
<<
lue=lue=luo/spa.14luospa. class="lxr_search">lue=lue=lue=lue= typ Search14 lue=luo/spa.14e=luoinput typ le=4 odiv id/ /1o/a>#ifndef/oa href="+code=__COW_H__" class="sref">__COW_H__o/a>l/ /2o/a>#define/oa href="+code=__COW_H__" class="sref">__COW_H__o/a>l/ /3o/a>l/ /4o/a>#include <asm/typ s.ho/a>>l/ /5o/a>l/ /6o/a>extern int/oa href="+code=init_cow_file" class="sref">init_cow_fileo/a>(int/oa href="+code=fd" class="sref">fdo/a>, char *oa href="+code=cow_file" class="sref">cow_fileo/a>, char *oa href="+code=backing_file" class="sref">backing_fileo/a>,l/ /7o/a> int/oa href="+code=sectorsize" class="sref">sectorsizeo/a>, int/oa href="+code=alignment" class="sref">alignmento/a>, int/*oa href="+code=bitmap_offset_out" class="sref">bitmap_offset_outo/a>,l/ /8o/a> unsigned long/*oa href="+code=bitmap_len_out" class="sref">bitmap_len_outo/a>, int/*oa href="+code=data_offset_out" class="sref">data_offset_outo/a>);l/ /9o/a>l/ >a>extern int/oa href="+code=file_reader" class="sref">file_readero/a>(oa href="+code=__u64" class="sref">__u64o/a>/oa href="+code=offset" class="sref">offseto/a>, char *oa href="+code=buf" class="sref">bufo/a>, int/oa href="+code=len" class="sref">leno/a>, void *oa href="+code=arg" class="sref">argo/a>);l/ 11 >a>extern int/oa href="+code=read_cow_header" class="sref">read_cow_headero/a>(int/(*oa href="+code=reader" class="sref">readero/a>)(oa href="+code=__u64" class="sref">__u64o/a>, char *, int, void *),l/ 12o/a> void *oa href="+code=arg" class="sref">argo/a>,/oa href="+code=__u32" class="sref">__u32o/a> *oa href="+code=versv3._out" class="sref">versv3._outo/a>,l/ 13o/a> char **oa href="+code=backing_file_out" class="sref">backing_file_outo/a>,/oa href="+code=time_t" class="sref">time_to/a> *oa href="+code=mtime_out" class="sref">mtime_outo/a>,l/ 14o/a> unsigned long/long/*oa href="+code=size_out" class="sref">size_outo/a>, int/*oa href="+code=sectorsize_out" class="sref">sectorsize_outo/a>,l/ 15o/a> oa href="+code=__u32" class="sref">__u32o/a> *oa href="+code=align_out" class="sref">align_outo/a>, int/*oa href="+code=bitmap_offset_out" class="sref">bitmap_offset_outo/a>);l/ 16o/a>l/ 17 >a>extern int/oa href="+code=write_cow_header" class="sref">write_cow_headero/a>(char *oa href="+code=cow_file" class="sref">cow_fileo/a>, int/oa href="+code=fd" class="sref">fdo/a>, char *oa href="+code=backing_file" class="sref">backing_fileo/a>,l/ 18o/a> int/oa href="+code=sectorsize" class="sref">sectorsizeo/a>, int/oa href="+code=alignment" class="sref">alignmento/a>,l/ 19o/a> unsigned long/long/*oa href="+code=size" class="sref">sizeo/a>);l/ 20o/a>l/ 21 >a>extern void oa href="+code=cow_sizes" class="sref">cow_sizeso/a>(int/oa href="+code=versv3." class="sref">versv3.o/a>,/oa href="+code=__u64" class="sref">__u64o/a>/oa href="+code=size" class="sref">sizeo/a>, int/oa href="+code=sectorsize" class="sref">sectorsizeo/a>, int/oa href="+code=align" class="sref">aligno/a>,l/ 22o/a> int/oa href="+code=bitmap_offset" class="sref">bitmap_offseto/a>, unsigned long/*oa href="+code=bitmap_len_out" class="sref">bitmap_len_outo/a>,l/ 23o/a> int/*oa href="+code=data_offset_out" class="sref">data_offset_outo/a>);l/ 24o/a>l/ 25o/a>#endifl/ 26o/a>l/ 27 >a>ospa. class="comment">/*o/spa.14/ 28 >a>ospa. class="comment"> * ---------------------------------------------------------------------------o/spa.14/ 29 >a>ospa. class="comment"> * Local variables:o/spa.14/ 30 >a>ospa. class="comment"> * c-file-style: "linux"o/spa.14/ 31 >a>ospa. class="comment"> * End:o/spa.14/ 32o/a>ospa. class="comment"> */o/spa.14/ 33o/a> The original LXR software by the/oa href="http://sourceforge.net/projects/lxr">LXR communityo/a>, this experimental versv3. by oa href="mailto:lxr@linux.no">lxr@linux.noo/a>. o/div14odiv class="subfooter"> lxr.linux.no kindly hosted by oa href="http://www.redpill-linpro.no">Redpill Linpro ASo/a>, provider of Linux consulting and opera v3.s services since 1995. o/div14 o/body14o/html14