Home
last modified time | relevance | path

Searched refs:np_compcount (Results 1 – 4 of 4) sorted by relevance

/xnu-8019.80.24/bsd/nfs/
H A Dnfs_vfsops.c1668 nfsp2.np_compcount = nfsp->np_compcount - curcomp - 1 + linkcompcount; in nfs4_mount_update_path_with_symlink()
1669 …MALLOC(nfsp2.np_components, char **, nfsp2.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO… in nfs4_mount_update_path_with_symlink()
1703 for (comp = curcomp + 1; comp < nfsp->np_compcount; comp++, newcomp++) { in nfs4_mount_update_path_with_symlink()
1711 nfsp->np_compcount = nfsp2.np_compcount; in nfs4_mount_update_path_with_symlink()
1722 for (comp = 0; comp < nfsp2.np_compcount; comp++) { in nfs4_mount_update_path_with_symlink()
1778 fspath.np_compcount = nfsp->np_compcount; in nfs4_mount()
1779 if (fspath.np_compcount > 0) { in nfs4_mount()
1780 …MALLOC(fspath.np_components, char **, fspath.np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZE… in nfs4_mount()
1785 for (comp = 0; comp < nfsp->np_compcount; comp++) { in nfs4_mount()
1810 if (fspath.np_compcount == 0) { in nfs4_mount()
[all …]
H A Dnfs4_subs.c2069 nfsm_chain_get_32(error, nmc, fsp->np_compcount); /* component count */ in nfs4_parsefattr()
2072 if (!error && (fsp->np_compcount > MAXPATHLEN)) { in nfs4_parsefattr()
2076 if (fsp->np_compcount) { in nfs4_parsefattr()
2077 … MALLOC(fsp->np_components, char **, fsp->np_compcount * sizeof(char*), M_TEMP, M_WAITOK | M_ZERO); in nfs4_parsefattr()
2082 for (comp = 0; comp < fsp->np_compcount; comp++) { in nfs4_parsefattr()
2092 fsp->np_compcount--; in nfs4_parsefattr()
2093 if (fsp->np_compcount == 0) { in nfs4_parsefattr()
2182 nfsm_chain_get_32(error, nmc, fsp->np_compcount); /* component count */ in nfs4_parsefattr()
2185 if (!error && (fsp->np_compcount > MAXPATHLEN)) { in nfs4_parsefattr()
2189 if (fsp->np_compcount) { in nfs4_parsefattr()
[all …]
H A Dnfsmount.h122 uint32_t np_compcount; /* # components in path */ member
H A Dnfs_socket.c352 if (fsl->nl_path.np_compcount == 0) { in nfs_location_mntfromname()
361 for (i = 0; (size > 0) && (i < (int)fsl->nl_path.np_compcount); i++) { in nfs_location_mntfromname()