Searched refs:md_bufp (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | init.c | 45 uint64_t *md_bufp; variable 57 if (md_bufp != NULL) in mdesc_devinit() 66 if ((md_bufp = (uint64_t *)malloc(size)) == NULL) { in mdesc_devinit() 74 if (read(fd, md_bufp, size) != size) { in mdesc_devinit() 75 free(md_bufp); in mdesc_devinit() 76 md_bufp = NULL; in mdesc_devinit() 83 if (md_bufp) { in mdesc_devinit() 84 mdp = md_init_intern(md_bufp, malloc, mdesc_free); in mdesc_devinit() 86 free(md_bufp); in mdesc_devinit() 87 md_bufp = NULL; in mdesc_devinit() [all …]
|
/titanic_44/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | init.c | 37 static uint64_t *md_bufp = NULL; variable 67 if (md_bufp) in pri_bufinit() 68 free(md_bufp); in pri_bufinit() 69 md_bufp = new_md_bufp; in pri_bufinit() 77 if (md_bufp) { in pri_bufinit() 78 mdp = md_init_intern(md_bufp, malloc, pri_free); in pri_bufinit() 82 free(md_bufp); in pri_bufinit() 83 md_bufp = NULL; in pri_bufinit() 110 if (md_bufp) in pri_devfini() 111 free(md_bufp); in pri_devfini() [all …]
|
/titanic_44/usr/src/cmd/ldmad/ |
H A D | ldma_dio.c | 88 uint8_t *md_bufp = NULL; in ldma_dio_pcidev_info_handler() local 93 rv = get_devinfo(&md_bufp, &md_size); in ldma_dio_pcidev_info_handler() 101 free(md_bufp); in ldma_dio_pcidev_info_handler() 107 (void) memcpy(data, md_bufp, md_size); in ldma_dio_pcidev_info_handler() 110 free(md_bufp); in ldma_dio_pcidev_info_handler() 342 uint8_t *md_bufp; in get_devinfo() local 358 md_size = (int)md_gen_bin(mdp, &md_bufp); in get_devinfo() 364 *mdpp = md_bufp; in get_devinfo()
|