OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:logical_block
(Results
1 - 2
of
2
) sorted by null
/external/grub/stage2/
fsys_minix.c
199
/* Maps
LOGICAL_BLOCK
(the file offset divided by the blocksize) into
202
minix_block_map (int
logical_block
)
206
if (
logical_block
< 7)
207
return INODE->i_zone[
logical_block
];
209
logical_block
-= 7;
210
if (
logical_block
< 512)
221
return ((__u16 *) DATABLOCK1) [
logical_block
];
224
logical_block
-= 512;
233
i = ((__u16 *) DATABLOCK1)[
logical_block
>> 9];
241
return ((__u16 *) DATABLOCK2)[
logical_block
& 511]
248
int
logical_block
;
local
[
all
...]
fsys_ext2fs.c
285
/* Maps
LOGICAL_BLOCK
(the file offset divided by the blocksize) into
288
ext2fs_block_map (int
logical_block
)
308
printf ("logical block %d\n",
logical_block
);
312
if (
logical_block
< EXT2_NDIR_BLOCKS)
315
printf ("returning %d\n", (unsigned char *) (INODE->i_block[
logical_block
]));
316
printf ("returning %d\n", INODE->i_block[
logical_block
]);
318
return INODE->i_block[
logical_block
];
321
logical_block
-= EXT2_NDIR_BLOCKS;
323
if (
logical_block
< EXT2_ADDR_PER_BLOCK (SUPERBLOCK))
332
return ((__u32 *) DATABLOCK1)[
logical_block
];
393
int
logical_block
;
local
[
all
...]
Completed in 47 milliseconds