Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 25 of 111) sorted by relevance

12345

/titanic_41/usr/src/uts/common/tnf/
H A Dtnf_buf.c74 tnfw_b_alloc_block(tnf_buf_file_header_t *fh, enum tnf_alloc_mode istag) in tnfw_b_alloc_block() argument
88 lp = &fh->lock; in tnfw_b_alloc_block()
102 bcount = fh->com.block_count; /* total block count */ in tnfw_b_alloc_block()
104 gen = fh->next_alloc.gen; in tnfw_b_alloc_block()
105 bn = fh->next_alloc.block[gen & TNFW_B_ALLOC_LO]; in tnfw_b_alloc_block()
124 ((char *)fh + (bn << TNF_BLOCK_SHIFT)); in tnfw_b_alloc_block()
134 gen = fh->next_alloc.gen; in tnfw_b_alloc_block()
135 bn = fh->next_alloc.block[gen & TNFW_B_ALLOC_LO]; in tnfw_b_alloc_block()
151 tmp_gen = fh->next_alloc.gen; in tnfw_b_alloc_block()
152 tmp_bn = fh->next_alloc.block[tmp_gen & TNFW_B_ALLOC_LO]; in tnfw_b_alloc_block()
[all …]
/titanic_41/usr/src/lib/libtnfprobe/
H A Dtnf_buf.c107 volatile tnf_buf_file_header_t *fh; in tnfw_b_alloc_block() local
130 fh = (volatile tnf_buf_file_header_t *)_tnfw_b_control->tnf_buffer; in tnfw_b_alloc_block()
135 while (b != fh->com.block_size) { in tnfw_b_alloc_block()
140 while (b < fh->com.block_count) { in tnfw_b_alloc_block()
153 if (istag && fh->next_tag_alloc < TNFW_B_DATA_BLOCK_BEGIN) { in tnfw_b_alloc_block()
154 i = fh->next_tag_alloc; in tnfw_b_alloc_block()
157 block = (tnf_block_header_t *) ((char *) fh + i); in tnfw_b_alloc_block()
161 i += fh->com.block_size; in tnfw_b_alloc_block()
164 if (i > fh->next_tag_alloc) in tnfw_b_alloc_block()
165 fh->next_tag_alloc = i; in tnfw_b_alloc_block()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dfhtab.c60 #define PRINT_FULL_DATA(fp, func, dfh, fh, name, str) \ argument
64 if ((fh) != NULL) { \
66 debug_opaque_print(fp, fh, sizeof (*(fh))); \
74 fhandle_t fh; member
87 static void fh_print_all_keys(char *fhpath, fhandle_t *fh);
89 static fhlist_ent *fh_lookup(char *fhpath, fhandle_t *fh, fhlist_ent *fhrecp,
97 static fhlist_ent *fh_lookup_link(char *fhpath, fhandle_t *dfh, fhandle_t *fh,
101 static struct export_handle_cache *find_fh_in_export_cache(fhandle_t *fh);
102 static void add_fh_to_export_cache(fhandle_t *fh, char *path);
103 static char *update_export_point(char *fhpath, fhandle_t *fh, char *path);
[all …]
H A Ddbtab.c106 char *name, fhandle_t *fh, uint_t flags, fhlist_ent *fhrecp,
109 char *name, fhandle_t *fh, uint_t flags, fhlist_ent *fhrecp,
120 fhandle_t *fh, fhlist_ent *fhrecp);
427 debug_opaque_print(fp, (void *)&fhrecp->fh, sizeof (fhrecp->fh)); in debug_print_fhlist()
657 fhandle_t *fh, uint_t flags, fhlist_ent *fhrecp, int *errorp) in create_primary_struct() argument
674 (void) memcpy(&new_fhrecp->fh, fh, sizeof (*fh)); in create_primary_struct()
689 *errorp = store_record(dbp, &fh->fh_data, fh->fh_len, new_fhrecp, in create_primary_struct()
710 db_add_primary(struct db_list *dbp, fhandle_t *dfh, char *name, fhandle_t *fh, in db_add_primary() argument
719 bcopy(&fh->fh_data, fhkey, fh->fh_len); in db_add_primary()
720 new_fhrecp = fetch_record(dbp, fhkey, fh->fh_len, (void *)fhrecp, in db_add_primary()
[all …]
H A Dfhtab.h79 fhandle_t fh; /* filehandle for this component */ member
141 int db_add(char *fhpath, fhandle_t *dfh, char *name, fhandle_t *fh,
143 fhlist_ent *db_lookup(char *fhpath, fhandle_t *fh, fhlist_ent *fhrecp,
147 int db_delete(char *fhpath, fhandle_t *fh);
153 char *nfslog_get_path(fhandle_t *fh, char *name, char *fhpath, char *prtstr);
160 #define NFSLOG_GET_FHANDLE2(fh) \ argument
161 (((fh)->fh_len > 0) ? fh : &public_fh)
/titanic_41/usr/src/tools/scripts/
H A Donbld_elfmod.pm48 my ($fh, $LineNum) = @_;
53 while ($cont && ($line = <$fh>)) {
257 my($fh, $Ttl, $obj, $msg) = @_;
260 print $fh "$obj: $msg\n";
262 print $fh "==== $obj ====\n" if ($$Ttl++ eq 0);
263 print $fh "\t$msg\n";
268 my ($fh, $Ttl, $old_obj, $new_obj, $msg) = @_;
272 OutMsg($fh, $Ttl, $old_obj, $msg);
302 my ($fh, $ScriptPath, $Argv) = @_;
305 print $fh "#\n";
[all …]
H A Dgit-pbchk.py233 fh = open(f, 'r')
234 ret |= Mapfile.mapfilechk(fh, output=output)
235 fh.close()
243 fh = open(f, 'r')
244 ret |= Copyright.copyright(fh, output=output)
245 fh.close()
253 fh = open(f, 'r')
254 ret |= HdrChk.hdrchk(fh, lenient=True, output=output)
255 fh.close()
263 fh = open(f, 'r')
[all …]
H A Dhg-active.py91 fh = None
94 fh = open(outputfile, 'w')
99 fh = sys.stdout
101 fh.write("HG_PARENT=%s\n" % parenttip)
108 fh.write("%s %s\n" % (entry.name, entry.parentname))
110 fh.write("%s\n" % entry.name)
116 fh.write('\n')
118 fh.write('%s\n' % '\n'.join(comments))
120 fh.write("*** NO COMMENTS ***\n")
121 fh.write('\n')
H A Dmapfilechk.py48 fh = None
50 fh = open(exfile, 'r')
56 for line in fh:
66 fh.close()
93 fh = open(filename, 'r')
99 return mapfilechk(fh, verbose=opts['verbose'],
H A Dcddlchk.py48 fh = None
50 fh = open(exfile, 'r')
56 for line in fh:
66 fh.close()
94 fh = open(filename, 'r')
100 return cddlchk(fh, verbose=opts['verbose'],
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs.c136 char *fh; local
161 fh = sum_nfsfh();
163 fh,
167 fh = sum_nfsfh();
173 fh, off, sz);
176 fh = sum_nfsfh();
178 fh,
181 fh = sum_nfsfh();
183 fh,
187 fh = sum_nfsfh();
[all …]
H A Dsnoop_nfs3.c167 char *fh, *name; local
191 fh = sum_nfsfh3();
196 fh, off, sz);
199 fh = sum_nfsfh3();
205 fh, off, sz, getxdr_u_long());
208 fh = sum_nfsfh3();
210 fh, sum_access());
216 fh = sum_nfsfh3();
218 fh, getxdr_string(buff,
222 fh = sum_nfsfh3();
[all …]
H A Dsnoop_mount.c321 int fh; in sum_mountfh() local
324 fh = sum_filehandle(NFS_FHSIZE); in sum_mountfh()
325 (void) sprintf(buff, " FH=%04X", fh & 0xFFFF); in sum_mountfh()
333 int fh; in detail_mountfh() local
336 fh = sum_filehandle(NFS_FHSIZE); in detail_mountfh()
338 (void) sprintf(get_line(0, 0), "File handle = [%04X]", fh & 0xFFFF); in detail_mountfh()
412 int fh; in sum_mountfh3() local
416 fh = sum_filehandle(len); in sum_mountfh3()
417 (void) sprintf(buff, " FH=%04X", fh & 0xFFFF); in sum_mountfh3()
426 int fh; in detail_mountfh3() local
[all …]
H A Dsnoop_nfs_acl.c200 char *fh; in interpret_nfs_acl2() local
215 fh = sum_nfsfh(); in interpret_nfs_acl2()
217 (void) sprintf(line, "%s mask=0x%lx", fh, mask); in interpret_nfs_acl2()
226 fh = sum_nfsfh(); in interpret_nfs_acl2()
227 (void) sprintf(line, "%s (%s)", fh, in interpret_nfs_acl2()
231 fh = sum_nfsfh(); in interpret_nfs_acl2()
232 (void) sprintf(line, "%s create=%s", fh, in interpret_nfs_acl2()
294 char *fh; in interpret_nfs_acl3() local
309 fh = sum_nfsfh3(); in interpret_nfs_acl3()
311 (void) sprintf(line, "%s mask=0x%lx", fh, mask); in interpret_nfs_acl3()
[all …]
/titanic_41/usr/src/uts/common/sys/fc4/
H A Dfcal.h59 #define WE_ARE_ORIGINATOR(fh) (fh->f_ctl & F_CTL_XCHG_CONTEXT) argument
60 #define UNSOLICITED_FRAME(fh) (fh->rx_id == 0xffff) argument
61 #define FIRST_SEQUENCE(fh) (fh->f_ctl & F_CTL_FIRST_SEQ) argument
62 #define LAST_FRAME_OF_SEQUENCE(fh) (fh->f_ctl & F_CTL_END_SEQ) argument
63 #define LAST_SEQUENCE_OF_EXCHANGE(fh) (fh->f_ctl & F_CTL_LAST_SEQ) argument
64 #define TRANSFER_INITIATIVE(fh) (fh->f_ctl & F_CTL_SEQ_INITIATIVE) argument
H A Dfc.h59 #define WE_ARE_ORIGINATOR(fh) (fh->f_ctl & F_CTL_XCHG_CONTEXT) argument
60 #define UNSOLICITED_FRAME(fh) (fh->rx_id == 0xffff) argument
61 #define FIRST_SEQUENCE(fh) (fh->f_ctl & F_CTL_FIRST_SEQ) argument
62 #define LAST_FRAME_OF_SEQUENCE(fh) (fh->f_ctl & F_CTL_END_SEQ) argument
63 #define LAST_SEQUENCE_OF_EXCHANGE(fh) (fh->f_ctl & F_CTL_LAST_SEQ) argument
64 #define TRANSFER_INITIATIVE(fh) (fh->f_ctl & F_CTL_SEQ_INITIATIVE) argument
/titanic_41/usr/src/head/rpcsvc/
H A Dnfs_acl.x97 fhandle_t fh; member
118 fhandle_t fh; member
142 fhandle_t fh; member
161 fhandle_t fh; member
193 fhandle_t fh; member
198 fhandle_t fh; member
214 nfs_fh3 fh; member
239 nfs_fh3 fh; member
263 nfs_fh3 fh; member
268 nfs_fh3 fh; member
[all …]
/titanic_41/usr/src/uts/common/klm/
H A Dklmops.c81 u_offset_t off, struct cred *cr, struct netobj *fh, in lm_frlock() argument
85 cr, fh, flcb, NLM_VERS)); in lm_frlock()
94 u_offset_t off, struct cred *cr, struct netobj *fh, in lm4_frlock() argument
99 cr, fh, flcb, NLM4_VERS); in lm4_frlock()
109 struct shrlock *shr, int flags, struct netobj *fh) in lm_shrlock() argument
111 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM_VERSX)); in lm_shrlock()
120 struct shrlock *shr, int flags, struct netobj *fh) in lm4_shrlock() argument
122 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM4_VERS)); in lm4_shrlock()
/titanic_41/usr/src/tools/onbld/Checks/
H A DMapfile.py45 def mapfilechk(fh, filename=None, verbose=False, output=sys.stderr): argument
49 name = fh.name
57 for line in fh:
78 for line in fh:
87 fh.seek(0);
88 return CmtBlk.cmtblkchk(fh, 'MAPFILE', MAPFILE,
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c1738 nfs_fh3 fh; in nfs_getfh() local
1813 error = makefh3(&fh, vp, exi); in nfs_getfh()
1814 l = RNDUP(fh.fh3_length); in nfs_getfh()
1821 bcopy(&fh.fh3_fsid, &buf[i], sz); in nfs_getfh()
1832 bcopy(&fh.fh3_len, &buf[i], sz); in nfs_getfh()
1834 bcopy(fh.fh3_data, &buf[i], fh.fh3_len); in nfs_getfh()
1835 i += fh.fh3_len; in nfs_getfh()
1836 pad = (NFS_FHMAXDATA - fh.fh3_len); in nfs_getfh()
1844 bcopy(&fh.fh3_xlen, &buf[i], sz); in nfs_getfh()
1846 bcopy(fh.fh3_xdata, &buf[i], fh.fh3_xlen); in nfs_getfh()
[all …]
H A Dnfs_acl_srv.c86 vp = nfs_fhtovp(&args->fh, exi); in acl2_getacl()
170 return (&args->fh); in acl2_getacl_getfh()
200 vp = nfs_fhtovp(&args->fh, exi); in acl2_setacl()
243 return (&args->fh); in acl2_setacl_getfh()
255 vp = nfs_fhtovp(&args->fh, exi); in acl2_getattr()
282 return (&args->fh); in acl2_getattr_getfh()
295 vp = nfs_fhtovp(&args->fh, exi); in acl2_access()
378 return (&args->fh); in acl2_access_getfh()
390 vp = nfs_fhtovp(&args->fh, exi); in acl2_getxattrdir()
426 error = makefh(&resp->resok.fh, avp, exi); in acl2_getxattrdir()
[all …]
H A Dnfs_acl_xdr.c134 if (!xdr_fhandle(xdrs, &objp->fh)) in xdr_GETACL2args()
194 if (!xdr_fhandle(xdrs, &objp->fh)) in xdr_SETACL2args()
255 if (!xdr_fhandle(xdrs, &objp->fh)) in xdr_GETATTR2args()
330 if (!xdr_fhandle(xdrs, &objp->fh)) in xdr_ACCESS2args()
416 if (!xdr_fhandle(xdrs, &objp->fh)) in xdr_GETXATTRDIR2args()
426 if (!xdr_fhandle(xdrs, &objp->fh)) in xdr_GETXATTRDIR2resok()
454 if (!xdr_nfs_fh3(xdrs, &objp->fh)) in xdr_GETACL3args()
458 if (!xdr_nfs_fh3_server(xdrs, &objp->fh)) in xdr_GETACL3args()
513 if (!xdr_nfs_fh3(xdrs, &objp->fh)) in xdr_SETACL3args()
517 if (!xdr_nfs_fh3_server(xdrs, &objp->fh)) in xdr_SETACL3args()
[all …]
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dnfs3ops.c71 read_args.file.data.data_len = filep->fh.fh3.len; in nfs3read()
72 read_args.file.data.data_val = filep->fh.fh3.data; in nfs3read()
195 getattr_args.object.data.data_len = nfp->fh.fh3.len; in nfs3getattr()
196 getattr_args.object.data.data_val = nfp->fh.fh3.data; in nfs3getattr()
362 dirop.what.dir.data.data_len = dir->fh.fh3.len; in nfs3lookup()
363 dirop.what.dir.data.data_val = dir->fh.fh3.data; in nfs3lookup()
396 cd.fh.fh3.len = res_lookup.LOOKUP3res_u.resok.object.data.data_len; in nfs3lookup()
398 cd.fh.fh3.data, cd.fh.fh3.len); in nfs3lookup()
416 linkargs.symlink.data.data_len = cfile->fh.fh3.len; in nfs3getsymlink()
417 linkargs.symlink.data.data_val = cfile->fh.fh3.data; in nfs3getsymlink()
H A Dnfs4ops.c93 if (filep->fh.fh4.len > 0) in nfs4read()
94 compound_init(&readargs.r_arg, &str, 0, 2, &filep->fh.fh4); in nfs4read()
199 if (nfp->fh.fh4.len > 0) in nfs4getattr()
200 compound_init(&getattrargs.ga_arg, &str, 0, 2, &nfp->fh.fh4); in nfs4getattr()
406 if (dir->fh.fh4.len > 0) in nfs4lookup()
407 compound_init(&lookupargs.la_arg, &str, 0, 3, &dir->fh.fh4); in nfs4lookup()
480 cd.fh.fh4.len = lookupres.lr_attrs.b_fattr4_filehandle.len; in nfs4lookup()
481 bcopy(lookupres.lr_attrs.b_fattr4_filehandle.data, cd.fh.fh4.data, in nfs4lookup()
482 cd.fh.fh4.len); in nfs4lookup()
519 if (dir->fh.fh4.len > 0) in nfs4lookupp()
[all …]
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs_acl.h81 fhandle_t fh; member
101 fhandle_t fh; member
120 fhandle_t fh; member
138 fhandle_t fh; member
165 fhandle_t fh; member
171 fhandle_t fh; member
185 nfs_fh3 fh; member
211 nfs_fh3 fh; member
236 nfs_fh3 fh; member
242 nfs_fh3 fh; member

12345