/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | files_common.c | 356 _nss_files_hash_destroy(files_hash_t *fhp) argument 358 free(fhp->fh_table); 359 fhp->fh_table = NULL; 360 free(fhp->fh_line); 361 fhp->fh_line = NULL; 362 free(fhp->fh_file_start); 363 fhp->fh_file_start = NULL; 387 int netdb, files_hash_t *fhp, int hashop, files_XY_check_func check) 409 mutex_lock(&fhp->fh_lock); 420 if (fhp 386 _nss_files_XY_hash(files_backend_ptr_t be, nss_XbyY_args_t *args, int netdb, files_hash_t *fhp, int hashop, files_XY_check_func check) argument 479 _nss_files_hash_destroy(fhp); variable [all...] |
H A D | files_common.h | 100 files_hash_t *fhp); 118 files_hash_t *fhp,
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | nfssys.c | 58 nfs_getfh(char *path, int vers, int *lenp, char *fhp) argument 65 nga.fhp = fhp;
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_xdr.c | 70 int32_t *fhp; local 77 fhp = (int32_t *)fh; 79 *fhp++ = *ptr++; 80 *fhp++ = *ptr++; 81 *fhp++ = *ptr++; 82 *fhp++ = *ptr++; 83 *fhp++ = *ptr++; 84 *fhp++ = *ptr++; 85 *fhp++ = *ptr++; 86 *fhp 127 int32_t *fhp; local 383 int32_t *fhp; local 674 int32_t *fhp; local 892 int32_t *fhp; local 1016 int32_t *fhp; local [all...] |
H A D | nfs3_xdr.c | 158 xdr_inline_decode_nfs_fh3(uint32_t *ptr, nfs_fh3 *fhp, uint32_t fhsize) argument 182 fhp->fh3_fsid.val[0] = *(uint32_t *)bp; 184 fhp->fh3_fsid.val[1] = *(uint32_t *)bp; 191 cp = (uchar_t *)&fhp->fh3_len; 200 dsize = fhp->fh3_len < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp->fh3_len; 207 bcopy(bp, fhp->fh3_data, dsize); 213 cp = (uchar_t *)&fhp->fh3_xlen; 218 dsize = fhp->fh3_xlen < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp 317 xdr_inline_encode_nfs_fh3(uint32_t **ptrp, uint32_t *ptr_redzone, nfs_fh3 *fhp) argument [all...] |
H A D | nfs4_xdr.c | 306 xdr_inline_decode_nfs_fh4(uint32_t *ptr, nfs_fh4_fmt_t *fhp, uint32_t fhsize) argument 330 fhp->fh4_fsid.val[0] = *(uint32_t *)bp; 332 fhp->fh4_fsid.val[1] = *(uint32_t *)bp; 339 cp = (uchar_t *)&fhp->fh4_len; 348 dsize = fhp->fh4_len < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp->fh4_len; 355 bcopy(bp, fhp->fh4_data, dsize); 361 cp = (uchar_t *)&fhp->fh4_xlen; 366 dsize = fhp->fh4_xlen < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp 481 xdr_inline_encode_nfs_fh4(uint32_t **ptrp, uint32_t *ptr_redzone, nfs_fh4_fmt_t *fhp) argument 576 nfs_fh4_fmt_t *fhp; local [all...] |
H A D | nfs4_shadow.c | 265 sv_match(nfs4_fname_t *nm, nfs4_sharedfh_t *fhp, svnode_t *svp) argument 270 SFH4_SAME(svp->sv_dfh, fhp));
|
H A D | nfs_acl_vnops.c | 154 fi.fhp = (caddr_t)&args.fh; 249 fi.fhp = (caddr_t)&args.fh; 319 fi.fhp = (caddr_t)&args.fh; 434 fi.fhp = NULL; /* no need to update, filehandle not copied */ 534 fi.fhp = (caddr_t)&args.fh; 636 fi.fhp = (caddr_t)&args.fh;
|
H A D | nfs_srv.c | 98 rfs_getattr(fhandle_t *fhp, struct nfsattrstat *ns, struct exportinfo *exi, argument 105 vp = nfs_fhtovp(fhp, exi); 133 rfs_getattr_getfh(fhandle_t *fhp) argument 135 return (fhp); 344 fhandle_t *fhp = da->da_fhandle; local 376 dvp = nfs_fhtovp(fhp, exi); 389 EQFID(&exi->exi_fid, (fid_t *)&fhp->fh_len)) { 413 if (PUBLIC_FH2(fhp)) { 487 rfs_readlink(fhandle_t *fhp, struct nfsrdlnres *rl, struct exportinfo *exi, argument 499 vp = nfs_fhtovp(fhp, ex 612 rfs_readlink_getfh(fhandle_t *fhp) argument 1145 fhandle_t *fhp; member in struct:rfs_async_write_list [all...] |
H A D | nfs4_subr.c | 1648 * - success: returns zero and *statp is set to NFS4_OK, and *fhp is 1659 nfs_fh4 *fhp, nfs4_ga_res_t *garp, /* fh, attrs for object */ 1733 fhp->nfs_fh4_val = kmem_alloc(tmpfhp->nfs_fh4_len, KM_SLEEP); 1734 nfs_fh4_copy(tmpfhp, fhp); 2048 nfs4_make_dotdot(nfs4_sharedfh_t *fhp, hrtime_t t, vnode_t *dvp, argument 2077 "nfs4_make_dotdot: called with fhp %p, dvp %s", (void *)fhp, 2087 rp = r4find_unlocked(fhp, mi->mi_vfsp); 2313 nfs4_printfhandle(nfs4_fhandle_t *fhp) argument 2336 for (ip = (int *)fhp 1657 remap_lookup(nfs4_fname_t *fname, vnode_t *rootvp, int filetype, cred_t *cr, nfs_fh4 *fhp, nfs4_ga_res_t *garp, nfs_fh4 *pfhp, nfs4_ga_res_t *pgarp, nfs4_error_t *ep) argument [all...] |
H A D | nfs4_srv_deleg.c | 842 nfs_fh4 *fhp; local 867 fhp = &dsp->rds_finfo->rf_filehandle; 869 fhp->nfs_fh4_len, KM_SLEEP); 870 nfs_fh4_copy(fhp, &rec_argp->fh);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | firmload.c | 77 firmware_open(const char *drvname, const char *imgname, firmware_handle_t *fhp) argument 83 if (drvname == NULL || imgname == NULL || fhp == NULL) 104 *fhp = fh;
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_client.c | 261 struct netobj *fhp, struct flk_callback *flcb, int vers) 296 offset, fhp, vers); 302 offset, fhp, flcb, vers, (cmd == F_SETLKW)); 319 struct netobj *fhp, int vers) 345 error = nlm_call_test(&flk0, hostp, fhp, vers); 371 struct netobj *fhp, struct flk_callback *flcb, 412 error = nlm_call_unlock(flkp, hostp, fhp, vers); 440 error = nlm_call_lock(vp, flkp, hostp, fhp, flcb, vers, xflags); 749 struct nlm_host *hostp, struct netobj *fhp, 762 nlm_init_lock(&args.alock, flp, fhp, 259 nlm_frlock(struct vnode *vp, int cmd, struct flock64 *flkp, int flags, u_offset_t offset, struct cred *crp, struct netobj *fhp, struct flk_callback *flcb, int vers) argument 317 nlm_frlock_getlk(struct nlm_host *hostp, vnode_t *vp, struct flock64 *flkp, int flags, u_offset_t offset, struct netobj *fhp, int vers) argument 369 nlm_frlock_setlk(struct nlm_host *hostp, vnode_t *vp, struct flock64 *flkp, int flags, u_offset_t offset, struct netobj *fhp, struct flk_callback *flcb, int vers, bool_t do_block) argument 748 nlm_call_lock(vnode_t *vp, struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, struct flk_callback *flcb, int vers, int xflags) argument 1036 nlm_call_unlock(struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, int vers) argument 1106 nlm_call_test(struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, int vers) argument [all...] |
H A D | nlm_service.c | 197 fhandle3_t *fhp; local 209 fhp = (fhandle3_t *)fh->n_bytes; 216 if (fhp->_fh3_len > NFS_FH3MAXDATA || fhp->_fh3_len == 0) 219 return (lm_fhtovp(fhp));
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_util.c | 537 tlm_new_dir_info(struct fs_fhandle *fhp, char *dir, char *nm) argument 544 (void) memcpy(&fdip->fd_dir_fh, fhp, sizeof (fs_fhandle_t));
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfssys.h | 91 char *fhp; member in struct:nfs_getfh_args 99 caddr32_t fhp; member in struct:nfs_getfh_args32
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 675 struct fileusage *fup, **fhp; local 685 fhp = &fuhead[uid % FUHASH]; 686 fup->fu_next = *fhp; 687 *fhp = fup;
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 1395 caddr_t *fhp, bool_t get_pubfh, char *fspath, err_ret_t *error) 1594 *fhp = malloc(sizeof (wnl_fh)); 1596 if (*fhp == NULL) { 1601 memcpy((char *)*fhp, 1629 *fhp = (caddr_t)fh3p; 1752 char *proto, ushort_t port, struct t_info *tinfo, caddr_t *fhp, 1768 tinfo, fhp, get_pubfh, fspath, error)); 1811 fhp, get_pubfh, fspath, error); 1839 tinfo, fhp, get_pubfh, fspath, error)) == NULL) 1870 port, tinfo, fhp, get_pubf 1393 get_the_addr(char *hostname, ulong_t prog, ulong_t vers, struct netconfig *nconf, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t get_pubfh, char *fspath, err_ret_t *error) argument 1751 get_addr(char *hostname, ulong_t prog, ulong_t vers, struct netconfig **nconfp, char *proto, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t get_pubfh, char *fspath, err_ret_t *error) argument [all...] |
/illumos-gate/usr/src/uts/sun/io/ |
H A D | socal.c | 4420 fc_frame_header_t *fhp; local 4520 fhp = &srp->sr_fc_frame_hdr; 4521 fhp->r_ctl = R_CTL_ELS_REQ; 4522 fhp->d_id = dest; 4523 fhp->s_id = ouralpa; 4524 fhp->type = TYPE_EXTENDED_LS; 4525 fhp->f_ctl = F_CTL_SEQ_INITIATIVE | F_CTL_FIRST_SEQ; 4526 fhp->seq_id = 0; 4527 fhp->df_ctl = 0; 4528 fhp 4570 fc_frame_header_t *fhp; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 205 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, 343 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, 203 resolve_netconf(char *host, rpcprog_t prog, rpcvers_t nfsver, struct netconfig **netconf, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstatp) argument 341 get_server_addr(char *hostname, rpcprog_t prog, rpcvers_t vers, struct netconfig *nconf, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstat) argument
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 2777 struct t_info *tinfo, caddr_t *fhp, bool_t get_pubfh, char *fspath) 2782 mfssnego, nconfp, proto, port, tinfo, fhp, get_pubfh, fspath, 2810 caddr_t *fhp, 2825 prog, vers, nconf, port, tinfo, tbind, fhp, 2861 prog, vers, nconf, port, tinfo, tbind, fhp, 2918 prog, vers, nconf, port, tinfo, tbind, fhp, 2952 struct t_info *tinfo, struct t_bind *tbind, caddr_t *fhp, 3081 *fhp = malloc(sizeof (wnl_fh)); 3083 if (*fhp == NULL) { 3088 memcpy((char *)*fhp, 2775 get_pubfh(char *hostname, rpcvers_t vers, mfs_snego_t *mfssnego, struct netconfig **nconfp, char *proto, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t get_pubfh, char *fspath) argument 2800 get_server_netinfo( enum type_of_stuff type_of_stuff, char *hostname, rpcprog_t prog, rpcvers_t vers, mfs_snego_t *mfssnego, struct netconfig **nconfp, char *proto, ushort_t port, struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstatp) argument 2950 get_server_fh(char *hostname, rpcprog_t prog, rpcvers_t vers, mfs_snego_t *mfssnego, struct netconfig *nconf, ushort_t port, struct t_info *tinfo, struct t_bind *tbind, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstat) argument 4273 get_netconfig_info(enum type_of_stuff type_of_stuff, char *hostname, rpcprog_t prog, rpcvers_t vers, struct netconfig *nconf, ushort_t port, struct t_info *tinfo, struct t_bind *tbind, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstat, mfs_snego_t *mfssnego) argument 4311 get_server_addrorping(char *hostname, rpcprog_t prog, rpcvers_t vers, struct netconfig *nconf, ushort_t port, struct t_info *tinfo, struct t_bind *tbind, caddr_t *fhp, bool_t direct_to_server, char *fspath, enum clnt_stat *cstat, int ping_server) argument [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tar3.c | 2071 fs_fhandle_t *fhp; local 2086 fhp = enp->tn_fh; 2090 fhp = pnp->tn_fh; 2109 bpp->bp_tlmacl->acl_dir_fh = *fhp; 2124 bpp->bp_tlmacl->acl_fil_fh = *fhp; 2158 fs_fhandle_t *fhp; local 2172 fhp = enp->tn_fh; 2176 fhp = pnp->tn_fh; 2189 bpp->bp_tlmacl->acl_dir_fh = *fhp; 2200 bpp->bp_tlmacl->acl_fil_fh = *fhp; [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | dnlc.c | 1514 dcfree_t *fep, *fhp; local 1537 fhp = dcp->dc_freehash[i]; 1538 while (fhp != NULL) { /* for each chained entry */ 1539 fep = fhp->df_next; 1540 kmem_cache_free(dnlc_dir_space_cache, fhp); 1541 fhp = fep;
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 96 xdr_fhandle(XDR *xdrs, fhandle fhp) argument 98 return (xdr_opaque(xdrs, (char *)fhp, NFS_FHSIZE));
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | nfs.c | 219 nfs_getrootfh(struct iodesc *d, char *path, u_char *fhp) argument 266 bcopy(repl->fh, fhp, sizeof(repl->fh)); 819 nfs_getrootfh(struct iodesc *d, char *path, uint32_t *fhlenp, u_char *fhp) argument 869 bcopy(repl->fh, fhp, *fhlenp);
|