Searched refs:MAGIC_SIZE (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/kernel/
H A Dconfigs.c51 #define MAGIC_SIZE (sizeof(MAGIC_START) - 1) macro
53 (sizeof(kernel_config_data) - 1 - MAGIC_SIZE * 2)
62 kernel_config_data + MAGIC_SIZE, ikconfig_read_current()
/linux-4.1.27/drivers/media/platform/omap3isp/
H A Dispstat.c27 * MAGIC_SIZE must always be the greatest common divisor of
30 #define MAGIC_SIZE 16 macro
70 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); __isp_stat_buf_sync_magic()
72 buf_size & ~PAGE_MASK, MAGIC_SIZE, dir); __isp_stat_buf_sync_magic()
111 for (w = buf->virt_addr, end = w + MAGIC_SIZE; w < end; w++) isp_stat_buf_check_magic()
122 for (w = buf->virt_addr + buf_size, end = w + MAGIC_SIZE; isp_stat_buf_check_magic()
151 memset(buf->virt_addr, MAGIC_NUM, MAGIC_SIZE); isp_stat_buf_insert_magic()
152 memset(buf->virt_addr + buf_size, MAGIC_NUM, MAGIC_SIZE); isp_stat_buf_insert_magic()
555 * Hack 2: MAGIC_SIZE is added to buf_size so a magic word can be omap3isp_stat_config()
563 buf_size = user_cfg->buf_size * 2 + MAGIC_SIZE; omap3isp_stat_config()
578 buf_size = PAGE_ALIGN(user_cfg->buf_size + MAGIC_SIZE); omap3isp_stat_config()

Completed in 69 milliseconds