Lines Matching refs:bootstrap
82 uint8_t *bootstrap; in hp300_setboot() local
104 bootstrap = MAP_FAILED; in hp300_setboot()
229 bootstrap = mmap(NULL, bootstrap_size, in hp300_setboot()
232 if (bootstrap == MAP_FAILED) { in hp300_setboot()
241 bootstrap = mmap(NULL, bootstrap_size, in hp300_setboot()
243 if (bootstrap == MAP_FAILED) { in hp300_setboot()
250 lifdir = (void *)(bootstrap + HP300_SECTSIZE * 2); in hp300_setboot()
272 rv = pwrite(params->fsfd, bootstrap, LIF_VOLDIRSIZE, 0); in hp300_setboot()
295 rv = pwrite(params->fsfd, bootstrap + offset, i, boot_offset + offset); in hp300_setboot()
311 if (bootstrap != MAP_FAILED) in hp300_setboot()
312 munmap(bootstrap, bootstrap_size); in hp300_setboot()