Lines Matching defs:size
29 * CONFIG_SAMSUNG_PM_CHECK_CHUNKSIZE defines the block-size for the CRC,
31 * and reducing the size will cause the CRC save area to grow
36 static u32 crc_size; /* size needed for the crc block */
71 u32 size = (u32)resource_size(res);
73 size += CHECK_CHUNKSIZE-1;
74 size /= CHECK_CHUNKSIZE;
77 (unsigned long)res->start, (unsigned long)res->end, size);
79 *val += size * sizeof(u32);
136 * return TRUE if the area defined by ptr..ptr+size contains the
140 static inline int in_region(void *ptr, int size, void *what, size_t whatsz)
145 if (what > (ptr+size))