Searched refs:m_namelen (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_mem.c | 208 mn.m_namelen = 100; in cmd_mem_fmri_derive() 211 mn.m_name = fmd_hdl_alloc(hdl, mn.m_namelen, FMD_SLEEP); in cmd_mem_fmri_derive() 216 fmd_hdl_free(hdl, mn.m_name, mn.m_namelen); in cmd_mem_fmri_derive() 223 mn.m_namelen *= 2; in cmd_mem_fmri_derive() 229 fmd_hdl_free(hdl, mn.m_name, mn.m_namelen); in cmd_mem_fmri_derive()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | mem.c | 609 if (len >= mem_name.m_namelen) { in mmioctl_get_mem_name() 615 mem_name.m_namelen, NULL) != 0) { in mmioctl_get_mem_name() 668 if (mem_name.m_namelen > 1024) in mmioctl_get_mem_sid() 669 mem_name.m_namelen = 1024; /* cap at 1024 bytes */ in mmioctl_get_mem_sid() 671 name = kmem_alloc(mem_name.m_namelen, KM_SLEEP); in mmioctl_get_mem_sid() 674 mem_name.m_namelen, &name_len)) != 0) { in mmioctl_get_mem_sid() 676 kmem_free(name, mem_name.m_namelen); in mmioctl_get_mem_sid() 685 kmem_free(name, mem_name.m_namelen); in mmioctl_get_mem_sid() 691 kmem_free(name, mem_name.m_namelen); in mmioctl_get_mem_sid() 698 kmem_free(name, mem_name.m_namelen); in mmioctl_get_mem_sid() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | mem.h | 97 size_t m_namelen; /* memory name buffer length */ member 108 size32_t m_namelen; member
|
/titanic_44/usr/src/cmd/fm/schemes/mem/sparc/ |
H A D | mem_disc.c | 449 mn.m_namelen = strlen(dimms[i]) + 1; in mem_get_serids_from_kernel() 452 mn.m_name = fmd_fmri_alloc(mn.m_namelen); in mem_get_serids_from_kernel() 495 fmd_fmri_free(mn.m_name, mn.m_namelen); in mem_get_serids_from_kernel() 505 fmd_fmri_free(mn.m_name, mn.m_namelen); in mem_get_serids_from_kernel()
|