Searched refs:advbuf (Results 1 – 4 of 4) sorted by relevance
/external/syslinux/libinstaller/ |
D | setadv.c | 41 static void cleanup_adv(unsigned char *advbuf) in cleanup_adv() argument 47 set_32((uint32_t *) advbuf, ADV_MAGIC1); in cleanup_adv() 51 csum -= get_32((uint32_t *) (advbuf + i)); in cleanup_adv() 53 set_32((uint32_t *) (advbuf + 4), csum); in cleanup_adv() 54 set_32((uint32_t *) (advbuf + ADV_SIZE - 4), ADV_MAGIC3); in cleanup_adv() 56 memcpy(advbuf + ADV_SIZE, advbuf, ADV_SIZE); in cleanup_adv() 129 void syslinux_reset_adv(unsigned char *advbuf) in syslinux_reset_adv() argument 132 memset(advbuf + 2 * 4, 0, ADV_LEN); in syslinux_reset_adv() 133 cleanup_adv(advbuf); in syslinux_reset_adv() 156 int syslinux_validate_adv(unsigned char *advbuf) in syslinux_validate_adv() argument [all …]
|
D | setadv.h | 11 void syslinux_reset_adv(unsigned char *advbuf); 12 int syslinux_validate_adv(unsigned char *advbuf);
|
/external/syslinux/efi/ |
D | adv.c | 33 static void cleanup_adv(unsigned char *advbuf) in cleanup_adv() argument 39 *(uint32_t *)advbuf = ADV_MAGIC1; in cleanup_adv() 43 csum -= *(uint32_t *)(advbuf + i); in cleanup_adv() 45 *(uint32_t *)(advbuf + 4) = csum; in cleanup_adv() 46 *(uint32_t *)(advbuf + ADV_SIZE - 4) = ADV_MAGIC3; in cleanup_adv() 48 memcpy(advbuf + ADV_SIZE, advbuf, ADV_SIZE); in cleanup_adv() 51 void syslinux_reset_adv(unsigned char *advbuf) in syslinux_reset_adv() argument 54 memset(advbuf + 2 * 4, 0, ADV_LEN); in syslinux_reset_adv() 55 cleanup_adv(advbuf); in syslinux_reset_adv() 78 int syslinux_validate_adv(unsigned char *advbuf) in syslinux_validate_adv() argument [all …]
|
D | adv.h | 22 void syslinux_reset_adv(unsigned char *advbuf); 23 int syslinux_validate_adv(unsigned char *advbuf);
|