OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:disk_size
(Results
1 - 5
of
5
) sorted by null
/sdk/emulator/mksdcard/
mksdcard.c
76
get_sectors_per_cluster( Wide
disk_size
)
78
Wide disk_MB =
disk_size
/(1024*1024);
96
get_sectors_per_fat( Wide
disk_size
, int sectors_per_cluster )
101
disk_size
-= RESERVED_SECTORS * BYTES_PER_SECTOR; /* don't count 32 reserved sectors */
102
disk_size
/= BYTES_PER_SECTOR; /* disk size in sectors */
105
return (int)( (
disk_size
+ (divider-1)) / divider );
109
boot_sector_init( Bytes boot, Bytes info, Wide
disk_size
, const char* label )
111
int sectors_per_cluster = get_sectors_per_cluster(
disk_size
);
112
int sectors_per_fat = get_sectors_per_fat(
disk_size
, sectors_per_cluster);
113
int sectors_per_disk = (int)(
disk_size
/ BYTES_PER_SECTOR)
209
Wide
disk_size
;
local
[
all
...]
/bootable/diskinstaller/libdiskconfig/
diskconfig.c
273
uint64_t
disk_size
;
local
311
if (ioctl(fd, BLKGETSIZE64, &
disk_size
) < 0) {
316
dinfo->num_lba = (uint32_t)(
disk_size
/ (uint64_t)dinfo->sect_size);
318
disk_size
= (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
326
disk_size
= (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
329
disk_size
= (uint64_t)stat.st_size;
338
dinfo->device,
disk_size
, dinfo->num_lba, dinfo->sect_size);
370
if (S_ISBLK(stat.st_mode) && total_size >
disk_size
) {
372
"size (%llu).", total_size,
disk_size
);
/system/core/libdiskconfig/
diskconfig.c
275
uint64_t
disk_size
;
local
313
if (ioctl(fd, BLKGETSIZE64, &
disk_size
) < 0) {
318
dinfo->num_lba = (uint32_t)(
disk_size
/ (uint64_t)dinfo->sect_size);
320
disk_size
= (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
328
disk_size
= (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
331
disk_size
= (uint64_t)stat.st_size;
340
dinfo->device,
disk_size
, dinfo->num_lba, dinfo->sect_size);
373
if (S_ISBLK(stat.st_mode) && total_size >
disk_size
) {
375
"size (%llu).", total_size,
disk_size
);
/packages/inputmethods/PinyinIME/jni/include/
userdict.h
128
uint32
disk_size
;
member in struct:ime_pinyin::UserDict::UserDictStat
/packages/inputmethods/PinyinIME/jni/share/
userdict.cpp
[
all
...]
Completed in 5898 milliseconds