Home
last modified time | relevance | path

Searched refs:md_bufp (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dinit.c43 uint64_t *md_bufp; variable
55 if (md_bufp != NULL) in mdesc_devinit()
64 if ((md_bufp = (uint64_t *)malloc(size)) == NULL) { in mdesc_devinit()
72 if (read(fd, md_bufp, size) != size) { in mdesc_devinit()
73 free(md_bufp); in mdesc_devinit()
74 md_bufp = NULL; in mdesc_devinit()
81 if (md_bufp) { in mdesc_devinit()
82 mdp = md_init_intern(md_bufp, malloc, mdesc_free); in mdesc_devinit()
84 free(md_bufp); in mdesc_devinit()
85 md_bufp = NULL; in mdesc_devinit()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dinit.c35 static uint64_t *md_bufp = NULL; variable
65 if (md_bufp) in pri_bufinit()
66 free(md_bufp); in pri_bufinit()
67 md_bufp = new_md_bufp; in pri_bufinit()
75 if (md_bufp) { in pri_bufinit()
76 mdp = md_init_intern(md_bufp, malloc, pri_free); in pri_bufinit()
80 free(md_bufp); in pri_bufinit()
81 md_bufp = NULL; in pri_bufinit()
108 if (md_bufp) in pri_devfini()
109 free(md_bufp); in pri_devfini()
[all …]
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_dio.c88 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()