Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/nfs/
H A Dnfs_vfsops.c360 fsp->np_components = kalloc_type(char *, count, Z_WAITOK | Z_ZERO); in nfs_fs_path_init()
361 if (fsp->np_components == NULL) { in nfs_fs_path_init()
371 fsp->np_components = NULL; in nfs_fs_path_init()
388 if (fsp->np_components) { in nfs_fs_path_destroy()
390 if (fsp->np_components[i]) { in nfs_fs_path_destroy()
391 kfree_data_addr(fsp->np_components[i]); in nfs_fs_path_destroy()
394 kfree_type(char *, fsp->np_compsize, fsp->np_components); in nfs_fs_path_destroy()
1639 NFSREQ_SECINFO_SET(&si, NULL, dirfhp->fh_data, dirfhp->fh_len, nfsp->np_components[curcomp], 0); in nfs4_mount_update_path_with_symlink()
1641 NFSREQ_SECINFO_SET(&si, NULL, NULL, 0, nfsp->np_components[curcomp], 0); in nfs4_mount_update_path_with_symlink()
1716 nfsp2.np_components[newcomp] = kalloc_data(q - p + 1, Z_WAITOK | Z_ZERO); in nfs4_mount_update_path_with_symlink()
[all …]
H A Dnfsmount.h121 char ** np_components; /* array of component pointers */ member
H A Dnfs4_subs.c2100 fsp->np_components[comp] = kalloc_data(val + 1, Z_WAITOK | Z_ZERO); in nfs4_parsefattr()
2101 if (!fsp->np_components[comp]) { in nfs4_parsefattr()
2105 nfsm_chain_get_opaque(error, nmc, val, fsp->np_components[comp]); /* component */ in nfs4_parsefattr()
2212 fsp->np_components[comp] = kalloc_data(val + 1, Z_WAITOK | Z_ZERO); in nfs4_parsefattr()
2213 if (!fsp->np_components[comp]) { in nfs4_parsefattr()
2216 nfsm_chain_get_opaque(error, nmc, val, fsp->np_components[comp]); /* component */ in nfs4_parsefattr()
H A Dnfs_socket.c362 cnt = scnprintf(p, size, "/%s", fsl->nl_path.np_components[i]); in nfs_location_mntfromname()