Searched refs:ld_size (Results 1 – 2 of 2) sorted by relevance
267 size_t ld_size; in load_ld_cache() local279 ld_size = st.st_size; in load_ld_cache()280 ld_map = (const char *)mmap(NULL, ld_size, PROT_READ, MAP_PRIVATE, fd, 0); in load_ld_cache()292 if (ld_size > (cache1_len + sizeof(struct ld_cache2))) in load_ld_cache()300 munmap((void *)ld_map, ld_size); in load_ld_cache()
115 const uint32_t ld_size = sizeof(VK_LOADER_DATA); in cmd_buffer_init() local116 uint8_t *cmd_buffer_driver_start = ((uint8_t *) cmd_buffer) + ld_size; in cmd_buffer_init()117 memset(cmd_buffer_driver_start, 0, sizeof(*cmd_buffer) - ld_size); in cmd_buffer_init()