Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dnfs4layouts.c61 size_t fsid_len = key_len(fh->fh_fsid_type); in nfsd4_alloc_devid_map() local
65 map = kzalloc(sizeof(*map) + fsid_len, GFP_KERNEL); in nfsd4_alloc_devid_map()
70 memcpy(&map->fsid, fh_fsid(fh), fsid_len); in nfsd4_alloc_devid_map()
H A Dexport.c450 int fsid_len; in nfsd_nl_parse_one_expkey() local
481 fsid_len = nla_len(tb[NFSD_A_EXPKEY_FSID]); in nfsd_nl_parse_one_expkey()
482 if (fsid_len != key_len(fsidtype)) { in nfsd_nl_parse_one_expkey()
499 memcpy(key.ek_fsid, nla_data(tb[NFSD_A_EXPKEY_FSID]), fsid_len); in nfsd_nl_parse_one_expkey()
H A Dnfs4xdr.c4222 int fileid_type, fsid_len, maxsize, flags = 0; in setup_notify_fhandle() local
4242 fsid_len = key_len(fi->fi_fhandle.fh_fsid_type); in setup_notify_fhandle()
4243 fhp->fh_size = 4 + fsid_len; in setup_notify_fhandle()
4248 fid = (struct fid *)(fh_fsid(fhp) + fsid_len/4); in setup_notify_fhandle()