Searched refs:totalsize (Results 1 - 5 of 5) sorted by relevance
/haiku/src/libs/libfdt/ |
H A D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); local 23 return totalsize; 46 if (totalsize < INT32_MAX) 47 return totalsize; 52 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) argument 54 return (off >= hdrsize) && (off <= totalsize); 57 static int check_block_(uint32_t hdrsize, uint32_t totalsize, argument 60 if (!check_off_(hdrsize, totalsize, base)) 64 if (!check_off_(hdrsize, totalsize, base + size))
|
H A D | fdt_ro.c | 36 int32_t totalsize; local 49 totalsize = fdt_ro_probe_(fdt); 50 err = totalsize; 51 if (totalsize < 0) 56 if (absoffset >= (unsigned)totalsize) 58 len = totalsize - absoffset;
|
/haiku/headers/libs/libfdt/ |
H A D | fdt.h | 14 fdt32_t totalsize; /* total size of DT block */ member in struct:fdt_header
|
H A D | libfdt.h | 250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 267 fdt_set_hdr_(totalsize); variable
|
/haiku/src/add-ons/kernel/drivers/disk/norflash/ |
H A D | norflash.cpp | 42 size_t totalsize; member in struct:nor_driver_info 60 info->totalsize = (SIZE_IN_BLOCKS - HIDDEN_BLOCKS) * info->blocksize; 62 info->id = map_physical_memory("NORFlash", NORFLASH_ADDR, info->totalsize, B_ANY_KERNEL_ADDRESS, B_READ_AREA, (void **)&info->mapped); 122 deviceGeometry->sectors_per_track = info->totalsize / info->blocksize; 150 if (position + *numbytes > info->totalsize) 151 *numbytes = info->totalsize - (position + *numbytes);
|
Completed in 61 milliseconds