Searched refs:bc_data1_size (Results 1 - 3 of 3) sorted by relevance
/macosx-10.10.1/BootCache-109/ |
H A D | library.c | 535 bc.bc_data1_size = (unsigned int) sizeof(ss); 693 bc.bc_data1_size = (unsigned int) (pc->p_nmounts * sizeof(*pc->p_mounts)); 698 bc.bc_data1_size = 0; 739 if (bc.bc_data1_size == 0 || bc.bc_data2_size == 0) { 742 bc.bc_data1_size = 0; 745 if ((hc->h_mounts = malloc(bc.bc_data1_size)) == NULL) { 755 hc->h_nmounts = bc.bc_data1_size / sizeof(struct BC_history_mount); 763 warnx("could not fetch %u and %u bytes of history: %d %s", bc.bc_data1_size, bc.bc_data2_size, errno, strerror(errno)); 769 hc->h_nmounts = bc.bc_data1_size / sizeof(struct BC_history_mount);
|
H A D | BootCache.h | 57 unsigned int bc_data1_size; member in struct:BC_command 68 * If bc_data1 is not NULL, it points to bc_data1_size bytes of 120 * The history list mount size is returned in bc_data1_size and 122 * list was truncated, bc_data1_size will be 0 and BC_OP_HISTORY must still be
|
H A D | kext.c | 5031 debug("BC_OP_START(%d mounts, %d extents)", (int)(bc.bc_data1_size / sizeof(struct BC_playlist_mount)), (int)(bc.bc_data2_size / sizeof(struct BC_playlist_entry))); 5036 error = BC_init_cache(bc.bc_data1_size, (user_addr_t)bc.bc_data1, bc.bc_data2_size, (user_addr_t)bc.bc_data2, 1 /* record history */); 5053 bc.bc_data1_size = BC_size_history_mounts(); 5075 if (bc.bc_data1_size < BC_size_history_mounts() || 5109 if (bc.bc_data1_size != sizeof(BC_cache->c_stats)) { 5114 if ((error = copyout(&BC_cache->c_stats, bc.bc_data1, bc.bc_data1_size)) != 0)
|
Completed in 187 milliseconds