Home
last modified time | relevance | path

Searched refs:fhp (Results 1 – 25 of 39) sorted by relevance

12

/titanic_41/usr/src/lib/nsswitch/files/common/
H A Dfiles_common.c356 _nss_files_hash_destroy(files_hash_t *fhp) in _nss_files_hash_destroy() argument
358 free(fhp->fh_table); in _nss_files_hash_destroy()
359 fhp->fh_table = NULL; in _nss_files_hash_destroy()
360 free(fhp->fh_line); in _nss_files_hash_destroy()
361 fhp->fh_line = NULL; in _nss_files_hash_destroy()
362 free(fhp->fh_file_start); in _nss_files_hash_destroy()
363 fhp->fh_file_start = NULL; in _nss_files_hash_destroy()
387 int netdb, files_hash_t *fhp, int hashop, files_XY_check_func check) in _nss_files_XY_hash() argument
409 mutex_lock(&fhp->fh_lock);
420 if (fhp->fh_table == NULL || --retries == 0)
[all …]
H A Dfiles_common.h100 files_hash_t *fhp);
118 files_hash_t *fhp,
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_xdr.c70 int32_t *fhp; in xdr_fhandle() local
77 fhp = (int32_t *)fh; in xdr_fhandle()
79 *fhp++ = *ptr++; in xdr_fhandle()
80 *fhp++ = *ptr++; in xdr_fhandle()
81 *fhp++ = *ptr++; in xdr_fhandle()
82 *fhp++ = *ptr++; in xdr_fhandle()
83 *fhp++ = *ptr++; in xdr_fhandle()
84 *fhp++ = *ptr++; in xdr_fhandle()
85 *fhp++ = *ptr++; in xdr_fhandle()
86 *fhp = *ptr; in xdr_fhandle()
[all …]
H A Dnfs3_xdr.c158 xdr_inline_decode_nfs_fh3(uint32_t *ptr, nfs_fh3 *fhp, uint32_t fhsize) in xdr_inline_decode_nfs_fh3() argument
182 fhp->fh3_fsid.val[0] = *(uint32_t *)bp; in xdr_inline_decode_nfs_fh3()
184 fhp->fh3_fsid.val[1] = *(uint32_t *)bp; in xdr_inline_decode_nfs_fh3()
191 cp = (uchar_t *)&fhp->fh3_len; in xdr_inline_decode_nfs_fh3()
200 dsize = fhp->fh3_len < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp->fh3_len; in xdr_inline_decode_nfs_fh3()
207 bcopy(bp, fhp->fh3_data, dsize); in xdr_inline_decode_nfs_fh3()
213 cp = (uchar_t *)&fhp->fh3_xlen; in xdr_inline_decode_nfs_fh3()
218 dsize = fhp->fh3_xlen < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp->fh3_xlen; in xdr_inline_decode_nfs_fh3()
225 bcopy(bp, fhp->fh3_xdata, dsize); in xdr_inline_decode_nfs_fh3()
318 nfs_fh3 *fhp) in xdr_inline_encode_nfs_fh3() argument
[all …]
H A Dnfs4_xdr.c306 xdr_inline_decode_nfs_fh4(uint32_t *ptr, nfs_fh4_fmt_t *fhp, uint32_t fhsize) in xdr_inline_decode_nfs_fh4() argument
330 fhp->fh4_fsid.val[0] = *(uint32_t *)bp; in xdr_inline_decode_nfs_fh4()
332 fhp->fh4_fsid.val[1] = *(uint32_t *)bp; in xdr_inline_decode_nfs_fh4()
339 cp = (uchar_t *)&fhp->fh4_len; in xdr_inline_decode_nfs_fh4()
348 dsize = fhp->fh4_len < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp->fh4_len; in xdr_inline_decode_nfs_fh4()
355 bcopy(bp, fhp->fh4_data, dsize); in xdr_inline_decode_nfs_fh4()
361 cp = (uchar_t *)&fhp->fh4_xlen; in xdr_inline_decode_nfs_fh4()
366 dsize = fhp->fh4_xlen < NFS_FHMAXDATA ? NFS_FHMAXDATA : fhp->fh4_xlen; in xdr_inline_decode_nfs_fh4()
373 bcopy(bp, fhp->fh4_xdata, dsize); in xdr_inline_decode_nfs_fh4()
390 fhp->fh4_flag = *(uint32_t *)bp; in xdr_inline_decode_nfs_fh4()
[all …]
H A Dnfs_acl_vnops.c154 fi.fhp = (caddr_t)&args.fh; in acl_getacl2()
249 fi.fhp = (caddr_t)&args.fh; in acl_getattr2_otw()
319 fi.fhp = (caddr_t)&args.fh; in acl_access2()
434 fi.fhp = NULL; /* no need to update, filehandle not copied */ in acl_getxattrdir2()
534 fi.fhp = (caddr_t)&args.fh; in acl_getacl3()
636 fi.fhp = (caddr_t)&args.fh; in acl_getxattrdir3()
H A Dnfs_srv.c98 rfs_getattr(fhandle_t *fhp, struct nfsattrstat *ns, struct exportinfo *exi, in rfs_getattr() argument
105 vp = nfs_fhtovp(fhp, exi); in rfs_getattr()
133 rfs_getattr_getfh(fhandle_t *fhp) in rfs_getattr_getfh() argument
135 return (fhp); in rfs_getattr_getfh()
344 fhandle_t *fhp = da->da_fhandle; in rfs_lookup() local
376 dvp = nfs_fhtovp(fhp, exi); in rfs_lookup()
389 EQFID(&exi->exi_fid, (fid_t *)&fhp->fh_len)) { in rfs_lookup()
413 if (PUBLIC_FH2(fhp)) { in rfs_lookup()
487 rfs_readlink(fhandle_t *fhp, struct nfsrdlnres *rl, struct exportinfo *exi, in rfs_readlink() argument
499 vp = nfs_fhtovp(fhp, exi); in rfs_readlink()
[all …]
H A Dnfs4_shadow.c265 sv_match(nfs4_fname_t *nm, nfs4_sharedfh_t *fhp, svnode_t *svp) in sv_match() argument
270 SFH4_SAME(svp->sv_dfh, fhp)); in sv_match()
H A Dnfs4_subr.c1659 nfs_fh4 *fhp, nfs4_ga_res_t *garp, /* fh, attrs for object */ in remap_lookup() argument
1733 fhp->nfs_fh4_val = kmem_alloc(tmpfhp->nfs_fh4_len, KM_SLEEP); in remap_lookup()
1734 nfs_fh4_copy(tmpfhp, fhp); in remap_lookup()
2048 nfs4_make_dotdot(nfs4_sharedfh_t *fhp, hrtime_t t, vnode_t *dvp, in nfs4_make_dotdot() argument
2077 "nfs4_make_dotdot: called with fhp %p, dvp %s", (void *)fhp, in nfs4_make_dotdot()
2087 rp = r4find_unlocked(fhp, mi->mi_vfsp); in nfs4_make_dotdot()
2313 nfs4_printfhandle(nfs4_fhandle_t *fhp) in nfs4_printfhandle() argument
2336 for (ip = (int *)fhp->fh_buf; in nfs4_printfhandle()
2337 ip < (int *)&fhp->fh_buf[fhp->fh_len]; in nfs4_printfhandle()
H A Dnfs4_srv_deleg.c842 nfs_fh4 *fhp; in rfs4_do_cb_recall() local
867 fhp = &dsp->rds_finfo->rf_filehandle; in rfs4_do_cb_recall()
869 fhp->nfs_fh4_len, KM_SLEEP); in rfs4_do_cb_recall()
870 nfs_fh4_copy(fhp, &rec_argp->fh); in rfs4_do_cb_recall()
H A Dnfs_subr.c1045 if (fi->fhp && fi->copyproc) in rfscall()
1046 (*fi->copyproc)(fi->fhp, fi->vp); in rfscall()
1596 if (fi->fhp && fi->copyproc) in aclcall()
1597 (*fi->copyproc)(fi->fhp, fi->vp); in aclcall()
4185 nfscopyfh(caddr_t fhp, vnode_t *vp) in nfscopyfh() argument
4187 fhandle_t *dest = (fhandle_t *)fhp; in nfscopyfh()
4194 nfs3copyfh(caddr_t fhp, vnode_t *vp) in nfs3copyfh() argument
4196 nfs_fh3 *dest = (nfs_fh3 *)fhp; in nfs3copyfh()
4669 if (fi->fhp != NULL && fi->copyproc != NULL) in failover_remap()
4670 (*fi->copyproc)(fi->fhp, vp); in failover_remap()
H A Dnfs_client.c868 fi.fhp = NULL; /* no need to update, filehandle not copied */ in nfs_getattr_otw()
945 fi.fhp = (caddr_t)&args.object; in nfs3_getattr_otw()
2553 nfs_printfhandle(nfs_fhandle *fhp) in nfs_printfhandle() argument
2576 for (ip = (int *)fhp->fh_buf; in nfs_printfhandle()
2577 ip < (int *)&fhp->fh_buf[fhp->fh_len]; in nfs_printfhandle()
/titanic_41/usr/src/lib/libc/port/sys/
H A Dnfssys.c58 nfs_getfh(char *path, int vers, int *lenp, char *fhp) in nfs_getfh() argument
65 nga.fhp = fhp; in nfs_getfh()
/titanic_41/usr/src/uts/common/klm/
H A Dnlm_client.c261 struct netobj *fhp, struct flk_callback *flcb, int vers) in nlm_frlock() argument
296 offset, fhp, vers); in nlm_frlock()
302 offset, fhp, flcb, vers, (cmd == F_SETLKW)); in nlm_frlock()
319 struct netobj *fhp, int vers) in nlm_frlock_getlk() argument
345 error = nlm_call_test(&flk0, hostp, fhp, vers); in nlm_frlock_getlk()
371 struct netobj *fhp, struct flk_callback *flcb, in nlm_frlock_setlk() argument
412 error = nlm_call_unlock(flkp, hostp, fhp, vers); in nlm_frlock_setlk()
440 error = nlm_call_lock(vp, flkp, hostp, fhp, flcb, vers, xflags); in nlm_frlock_setlk()
749 struct nlm_host *hostp, struct netobj *fhp, in nlm_call_lock() argument
762 nlm_init_lock(&args.alock, flp, fhp, &oh); in nlm_call_lock()
[all …]
H A Dnlm_service.c197 fhandle3_t *fhp; in nlm_fh_to_vp() local
209 fhp = (fhandle3_t *)fh->n_bytes; in nlm_fh_to_vp()
216 if (fhp->_fh3_len > NFS_FH3MAXDATA || fhp->_fh3_len == 0) in nlm_fh_to_vp()
219 return (lm_fhtovp(fhp)); in nlm_fh_to_vp()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfssys.h91 char *fhp; member
99 caddr32_t fhp; member
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_util.c537 tlm_new_dir_info(struct fs_fhandle *fhp, char *dir, char *nm) in tlm_new_dir_info() argument
544 (void) memcpy(&fdip->fd_dir_fh, fhp, sizeof (fs_fhandle_t)); in tlm_new_dir_info()
/titanic_41/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c675 struct fileusage *fup, **fhp; in adduid() local
685 fhp = &fuhead[uid % FUHASH]; in adduid()
686 fup->fu_next = *fhp; in adduid()
687 *fhp = fup; in adduid()
/titanic_41/usr/src/uts/sun/io/
H A Dsocal.c4420 fc_frame_header_t *fhp; in socal_els_alloc() local
4520 fhp = &srp->sr_fc_frame_hdr; in socal_els_alloc()
4521 fhp->r_ctl = R_CTL_ELS_REQ; in socal_els_alloc()
4522 fhp->d_id = dest; in socal_els_alloc()
4523 fhp->s_id = ouralpa; in socal_els_alloc()
4524 fhp->type = TYPE_EXTENDED_LS; in socal_els_alloc()
4525 fhp->f_ctl = F_CTL_SEQ_INITIATIVE | F_CTL_FIRST_SEQ; in socal_els_alloc()
4526 fhp->seq_id = 0; in socal_els_alloc()
4527 fhp->df_ctl = 0; in socal_els_alloc()
4528 fhp->seq_cnt = 0; in socal_els_alloc()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c1395 caddr_t *fhp, bool_t get_pubfh, char *fspath, err_ret_t *error) in get_the_addr() argument
1594 *fhp = malloc(sizeof (wnl_fh)); in get_the_addr()
1596 if (*fhp == NULL) { in get_the_addr()
1601 memcpy((char *)*fhp, in get_the_addr()
1629 *fhp = (caddr_t)fh3p; in get_the_addr()
1752 char *proto, ushort_t port, struct t_info *tinfo, caddr_t *fhp, in get_addr() argument
1768 tinfo, fhp, get_pubfh, fspath, error)); in get_addr()
1811 fhp, get_pubfh, fspath, error); in get_addr()
1839 tinfo, fhp, get_pubfh, fspath, error)) == NULL) in get_addr()
1870 port, tinfo, fhp, get_pubfh, fspath, error)) in get_addr()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c2832 struct t_info *tinfo, caddr_t *fhp, bool_t get_pubfh, char *fspath) in get_pubfh() argument
2837 mfssnego, nconfp, proto, port, tinfo, fhp, get_pubfh, fspath, in get_pubfh()
2865 caddr_t *fhp, in get_server_netinfo() argument
2880 prog, vers, nconf, port, tinfo, tbind, fhp, in get_server_netinfo()
2916 prog, vers, nconf, port, tinfo, tbind, fhp, in get_server_netinfo()
2973 prog, vers, nconf, port, tinfo, tbind, fhp, in get_server_netinfo()
3007 struct t_info *tinfo, struct t_bind *tbind, caddr_t *fhp, in get_server_fh() argument
3136 *fhp = malloc(sizeof (wnl_fh)); in get_server_fh()
3138 if (*fhp == NULL) { in get_server_fh()
3143 memcpy((char *)*fhp, in get_server_fh()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c205 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, in resolve_netconf() argument
343 struct t_info *tinfo, caddr_t *fhp, bool_t direct_to_server, in get_server_addr() argument
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar3.c2071 fs_fhandle_t *fhp; in timebk_v3() local
2086 fhp = enp->tn_fh; in timebk_v3()
2090 fhp = pnp->tn_fh; in timebk_v3()
2109 bpp->bp_tlmacl->acl_dir_fh = *fhp; in timebk_v3()
2124 bpp->bp_tlmacl->acl_fil_fh = *fhp; in timebk_v3()
2158 fs_fhandle_t *fhp; in lbrbk_v3() local
2172 fhp = enp->tn_fh; in lbrbk_v3()
2176 fhp = pnp->tn_fh; in lbrbk_v3()
2189 bpp->bp_tlmacl->acl_dir_fh = *fhp; in lbrbk_v3()
2200 bpp->bp_tlmacl->acl_fil_fh = *fhp; in lbrbk_v3()
/titanic_41/usr/src/uts/common/fs/
H A Ddnlc.c1471 dcfree_t *fep, *fhp; in dnlc_dir_abort() local
1494 fhp = dcp->dc_freehash[i]; in dnlc_dir_abort()
1495 while (fhp != NULL) { /* for each chained entry */ in dnlc_dir_abort()
1496 fep = fhp->df_next; in dnlc_dir_abort()
1497 kmem_cache_free(dnlc_dir_space_cache, fhp); in dnlc_dir_abort()
1498 fhp = fep; in dnlc_dir_abort()
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dmount.c96 xdr_fhandle(XDR *xdrs, fhandle fhp) in xdr_fhandle() argument
98 return (xdr_opaque(xdrs, (char *)fhp, NFS_FHSIZE)); in xdr_fhandle()

12