OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:filedisk
(Results
1 - 5
of
5
) sorted by null
/external/yaffs2/yaffs2/direct/
yaffs_fileem.c
61
static yflash_Device
filedisk
;
variable
83
filedisk
.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024);
85
filedisk
.handle = open("yaffsemfile", O_RDWR | O_CREAT, S_IREAD | S_IWRITE);
87
if(
filedisk
.handle < 0)
94
fSize = lseek(
filedisk
.handle,0,SEEK_END);
100
lseek(
filedisk
.handle,0,SEEK_SET);
106
written = write(
filedisk
.handle,&p,sizeof(yflash_Page));
129
lseek(
filedisk
.handle,chunkInNAND * 528,SEEK_SET);
130
written = write(
filedisk
.handle,data,512);
137
lseek(
filedisk
.handle,chunkInNAND * 528 + 512,SEEK_SET)
[
all
...]
yaffs_fileem2k.c
59
static yflash_Device
filedisk
;
variable
122
filedisk
.nBlocks = SIZE_IN_MB * BLOCKS_PER_MB;
125
filedisk
.handle[i] = -1;
127
for(i = 0,blk = 0; blk <
filedisk
.nBlocks; blk+=BLOCKS_PER_HANDLE,i++)
128
filedisk
.handle[i] = GetBlockFileHandle(i);
139
return
filedisk
.nBlocks;
155
h =
filedisk
.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
171
h =
filedisk
.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
224
h =
filedisk
.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
234
h =
filedisk
.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
[
all
...]
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
FileDisk.java
35
public final class
FileDisk
implements BlockDevice {
38
* The number of bytes per sector for all {@code
FileDisk
} instances.
48
* Creates a new instance of {@code
FileDisk
} for the specified
53
* will result in a read-only {@code
FileDisk
} instance
57
public
FileDisk
(File file, boolean readOnly) throws FileNotFoundException {
67
public
FileDisk
(RandomAccessFile raf, FileChannel fc, boolean readOnly) {
74
private
FileDisk
(RandomAccessFile raf, boolean readOnly) {
82
* Creates a new {@code
FileDisk
} of the specified size. The
83
* {@code
FileDisk
} returned by this method will be writable.
85
* @param file the file to hold the {@code
FileDisk
} content
[
all
...]
/prebuilts/devtools/tools/lib/
fat32lib.jar
jobb.jar
Completed in 147 milliseconds