You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: fstatfs_zos.go
    path of file: ./repos/caire/vendor/golang.org/x/sys/unix
    
    the code of the file until where you have to start completion: // Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be fo
    
func tryGetmntent128(stat *Statfs_t) (err error) {
	var mnt_ent_buffer struct {
		header       W_Mnth
		filesys_info [128]W_Mntent
	}
	var buffer_size int = int(unsafe.Sizeof(mnt_ent_buffer))
	fs_count, err := W_Getmntent((*byte)(unsafe.Pointer(&mnt_ent_buffer)), buffer_size)
	if err != nil {
		return err
	}
	err = ERANGE //return ERANGE if no match is found in this batch
	for i := 0; i < fs_count; i++ {
		if stat.Fsid == uint64(mnt_ent_buffer.filesys_info[i].Dev) {
			stat.Type = uint32(mnt_ent_buffer.filesys_info[i].Fstname[0])
			err = nil
			break
		}
	}
	return err
}