Home
last modified time | relevance | path

Searched refs:fid_len (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_export.c48 fid->fid_len = len_bytes - offsetof(fid_t, fid_data); in zpl_encode_fh()
59 len_bytes = offsetof(fid_t, fid_data) + fid->fid_len; in zpl_encode_fh()
78 len_bytes < offsetof(fid_t, fid_data) + fid->fid_len) in zpl_fh_to_dentry()
H A Dzfs_ctldir.c662 if (fidp->fid_len < LONG_FID_LEN) { in zfsctl_snapdir_fid()
663 fidp->fid_len = LONG_FID_LEN; in zfsctl_snapdir_fid()
713 if (fidp->fid_len < SHORT_FID_LEN) { in zfsctl_fid()
714 fidp->fid_len = SHORT_FID_LEN; in zfsctl_fid()
H A Dzfs_vfsops.c1659 if (fidp->fid_len == SHORT_FID_LEN || fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
1672 if (fidp->fid_len == LONG_FID_LEN) { in zfs_vget()
H A Dzfs_vnops_os.c4286 if (fidp->fid_len < SHORT_FID_LEN) { in zfs_fid()
4287 fidp->fid_len = SHORT_FID_LEN; in zfs_fid()
/freebsd/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c190 int ch, pch, fid_len, res = 0; in getthefile() local
249 fid_len = strlen(fileid); in getthefile()
255 if (! strncmp(info, fileid, fid_len) && *(info + fid_len) == '=') { in getthefile()
256 where = info + fid_len + 1; in getthefile()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dvfs.h47 #define fid_len un._fid.len macro
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c593 if (fhp->fid_len != sizeof(tfd)) in tmpfs_fhtovp()
600 memcpy(&tfd, fhp->fid_data, fhp->fid_len); in tmpfs_fhtovp()
H A Dtmpfs_vnops.c1715 fhp->fid_len = sizeof(tfd); in tmpfs_vptofh()
1723 memcpy(fhp->fid_data, &tfd, fhp->fid_len); in tmpfs_vptofh()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c1829 if (zfsvfs->z_parent == zfsvfs && fidp->fid_len == LONG_FID_LEN) { in zfs_fhtovp()
1848 if (fidp->fid_len == SHORT_FID_LEN || fidp->fid_len == LONG_FID_LEN) { in zfs_fhtovp()
1861 if (fidp->fid_len == LONG_FID_LEN && setgen != 0) { in zfs_fhtovp()
H A Dzfs_vnops_os.c3832 fidp->fid_len = size; in zfs_fid()
/freebsd/sys/sys/
H A Dmount.h70 u_short fid_len; /* length of data in bytes */ member