Lines Matching refs:m_namelen
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()
703 kmem_free(name, mem_name.m_namelen); in mmioctl_get_mem_sid()
1047 mem_name->m_namelen = (size_t)mem_name32.m_namelen; in mm_read_mem_name()