/illumos-gate/usr/src/uts/common/os/ |
H A D | firmload.c | 66 firmware_handle_free(firmware_handle_t fh) argument 68 kmem_free(fh, sizeof (struct firmware_handle)); 80 firmware_handle_t fh; local 87 fh = firmware_handle_alloc(); 89 fh->fh_buf = kobj_open_path(path, 1, 0); 92 if (fh->fh_buf == (struct _buf *)-1) { 93 firmware_handle_free(fh); 97 error = kobj_get_filesize(fh->fh_buf, (uint64_t *)&fh->fh_size); 99 kobj_close_file(fh 114 firmware_close(firmware_handle_t fh) argument 129 firmware_get_size(firmware_handle_t fh) argument 142 firmware_read(firmware_handle_t fh, off_t offset, void *buf, size_t len) argument [all...] |
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | tnf_buf.c | 74 tnfw_b_alloc_block(tnf_buf_file_header_t *fh, enum tnf_alloc_mode istag) argument 88 lp = &fh->lock; 102 bcount = fh->com.block_count; /* total block count */ 104 gen = fh->next_alloc.gen; 105 bn = fh->next_alloc.block[gen & TNFW_B_ALLOC_LO]; 124 ((char *)fh + (bn << TNF_BLOCK_SHIFT)); 134 gen = fh->next_alloc.gen; 135 bn = fh->next_alloc.block[gen & TNFW_B_ALLOC_LO]; 151 tmp_gen = fh->next_alloc.gen; 152 tmp_bn = fh 310 tnf_buf_file_header_t *fh; local 344 tnf_buf_file_header_t *fh; local [all...] |
/illumos-gate/usr/src/tools/onbld/Checks/ |
H A D | Mapfile.py | 45 def mapfilechk(fh, filename=None, verbose=False, output=sys.stderr): 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,
|
H A D | Cddl.py | 49 def cddlchk(fh, filename=None, lenient=False, verbose=False, output=sys.stderr): 50 return CmtBlk.cmtblkchk(fh, 'CDDL', CDDL, filename=filename,
|
H A D | CStyle.py | 36 def cstyle(fh, filename=None, output=sys.stderr, **opts): 53 filename = fh.name 55 ret, tmpfile = processcheck('cstyle', options, fh, output)
|
H A D | JStyle.py | 37 def jstyle(fh, filename=None, output=sys.stderr, **opts): 52 filename = fh.name 54 ret, tmpfile = processcheck('jstyle', options, fh, output)
|
H A D | Keywords.py | 46 def keywords(fh, filename=None, lenient=False, verbose=False, 55 filename = fh.name 60 for line in fh:
|
H A D | ManLint.py | 36 def manlint(fh, filename=None, output=sys.stderr, **opts): 47 filename = fh.name 49 ret, tmpfile = processcheck('mandoc', options, fh, output)
|
H A D | Copyright.py | 42 def copyright(fh, filename=None, output=sys.stderr): 46 filename = fh.name 48 for line in fh:
|
H A D | SpellCheck.py | 271 def spellcheck(fh, filename=None, output=sys.stderr, **opts): 276 filename = fh.name 278 fh.seek(0) 279 for line in fh:
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | onbld_elfmod.pm | 48 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 "#\ [all...] |
H A D | hg-active.py | 91 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 [all...] |
H A D | git-pbchk.py | 244 fh = open(f, 'r') 245 ret |= Mapfile.mapfilechk(fh, output=output) 246 fh.close() 254 fh = open(f, 'r') 255 ret |= Copyright.copyright(fh, output=output) 256 fh.close() 264 fh = open(f, 'r') 265 ret |= HdrChk.hdrchk(fh, lenient=True, output=output) 266 fh.close() 274 fh [all...] |
H A D | hdrchk.py | 62 fh = open(filename, 'r') variable 67 ret |= hdrchk(fh, lenient=lenient, output=sys.stderr) 68 fh.close()
|
H A D | cddlchk.py | 48 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'],
|
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | tnf_buf.c | 107 volatile tnf_buf_file_header_t *fh; local 130 fh = (volatile tnf_buf_file_header_t *)_tnfw_b_control->tnf_buffer; 135 while (b != fh->com.block_size) { 140 while (b < fh->com.block_count) { 150 * first. fh->next_tag_alloc is only a hint; it is updated 153 if (istag && fh->next_tag_alloc < TNFW_B_DATA_BLOCK_BEGIN) { 154 i = fh->next_tag_alloc; 157 block = (tnf_block_header_t *) ((char *) fh + i); 161 i += fh->com.block_size; 164 if (i > fh 345 tnf_buf_file_header_t *fh = (tnf_buf_file_header_t *)buf; local 442 volatile tnf_buf_file_header_t *fh; local 560 volatile tnf_buf_file_header_t *fh = local 629 volatile tnf_buf_file_header_t *fh = local 674 volatile tnf_buf_file_header_t *fh = local 692 volatile tnf_buf_file_header_t *fh = local [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | fhtab.c | 60 #define PRINT_FULL_DATA(fp, func, dfh, fh, name, str) \ 64 if ((fh) != NULL) { \ 65 (void) fprintf(fp, ", fh "); \ 66 debug_opaque_print(fp, fh, sizeof (*(fh))); \ 74 fhandle_t fh; member in struct:export_handle_cache 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); 453 sprint_fid(char *buf, uint_t buflen, const fhandle_t *fh) argument 476 fh_print_all_keys(char *fhpath, fhandle_t *fh) argument 495 fh_add(char *fhpath, fhandle_t *dfh, fhandle_t *fh, char *name) argument 547 fh_lookup(char *fhpath, fhandle_t *fh, fhlist_ent *fhrecp, int *errorp) argument 663 fh_lookup_link(char *fhpath, fhandle_t *dfh, fhandle_t *fh, char *name, fhlist_ent *fhrecp, int *errorp) argument 756 find_fh_in_export_cache(fhandle_t *fh) argument 768 add_fh_to_export_cache(fhandle_t *fh, char *path) argument 809 update_export_point(char *fhpath, fhandle_t *fh, char *path) argument 860 get_export_path(fhandle_t *fh, char *path) argument 876 fh_print_absolute(char *fhpath, fhandle_t *fh, char *name) argument 1016 nfslog_LOOKUP_calc(fhandle_t *dfh, char *name, fhandle_t *fh, char *fhpath, char **pathp1, char **pathp2, char *str) argument 1125 fhandle_t *dfh, *fh; local 1229 fhandle_t *dfh, *fh; local 1357 fhandle_t *dfh, *fh; local 1511 fhandle_t *dfh, *fh; local 1635 fhandle_t *dfh, *fh; local 1681 fhandle_t *dfh, *fh; local 1844 fhandle_t *dfh, *fh; local 1884 fhandle_t *dfh, *fh; local 1928 fhandle_t *dfh, *fh; local 1995 fhandle_t *dfh, *fh; local 2130 fhandle_t *fh; local 2178 fhandle_t *fh; local 2220 fhandle_t *fh; local 2264 nfslog_get_path(fhandle_t *fh, char *name, char *fhpath, char *prtstr) argument [all...] |
H A D | fhtab.h | 32 * Support for the fh mapping file for nfslog. 79 fhandle_t fh; /* filehandle for this component */ member in struct:fhlist_ent 90 #define NAME_DELETED 0x02 /* is the dir info still valid for this fh? */ 91 #define PUBLIC_PATH 0x04 /* is the dir info still valid for this fh? */ 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); 158 * Macro to determine which fhandle to use - input or public fh 160 #define NFSLOG_GET_FHANDLE2(fh) \ [all...] |
/illumos-gate/usr/src/uts/common/sys/fc4/ |
H A D | fcal.h | 59 #define WE_ARE_ORIGINATOR(fh) (fh->f_ctl & F_CTL_XCHG_CONTEXT) 60 #define UNSOLICITED_FRAME(fh) (fh->rx_id == 0xffff) 61 #define FIRST_SEQUENCE(fh) (fh->f_ctl & F_CTL_FIRST_SEQ) 62 #define LAST_FRAME_OF_SEQUENCE(fh) (fh->f_ctl & F_CTL_END_SEQ) 63 #define LAST_SEQUENCE_OF_EXCHANGE(fh) (fh [all...] |
H A D | fc.h | 59 #define WE_ARE_ORIGINATOR(fh) (fh->f_ctl & F_CTL_XCHG_CONTEXT) 60 #define UNSOLICITED_FRAME(fh) (fh->rx_id == 0xffff) 61 #define FIRST_SEQUENCE(fh) (fh->f_ctl & F_CTL_FIRST_SEQ) 62 #define LAST_FRAME_OF_SEQUENCE(fh) (fh->f_ctl & F_CTL_END_SEQ) 63 #define LAST_SEQUENCE_OF_EXCHANGE(fh) (fh [all...] |
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nfs_acl.x | 97 fhandle_t fh; 118 fhandle_t fh; 142 fhandle_t fh; 161 fhandle_t fh; 193 fhandle_t fh; 198 fhandle_t fh; 214 nfs_fh3 fh; 239 nfs_fh3 fh; 263 nfs_fh3 fh; 268 nfs_fh3 fh; [all...] |
/illumos-gate/usr/src/uts/common/klm/ |
H A D | klmops.c | 81 u_offset_t off, struct cred *cr, struct netobj *fh, 85 cr, fh, flcb, NLM_VERS)); 94 u_offset_t off, struct cred *cr, struct netobj *fh, 99 cr, fh, flcb, NLM4_VERS); 109 struct shrlock *shr, int flags, struct netobj *fh) 111 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM_VERSX)); 120 struct shrlock *shr, int flags, struct netobj *fh) 122 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM4_VERS)); 80 lm_frlock(struct vnode *vp, int cmd, struct flock64 *flk, int flags, u_offset_t off, struct cred *cr, struct netobj *fh, struct flk_callback *flcb) argument 93 lm4_frlock(struct vnode *vp, int cmd, struct flock64 *flk, int flags, u_offset_t off, struct cred *cr, struct netobj *fh, struct flk_callback *flcb) argument 108 lm_shrlock(struct vnode *vp, int cmd, struct shrlock *shr, int flags, struct netobj *fh) argument 119 lm4_shrlock(struct vnode *vp, int cmd, struct shrlock *shr, int flags, struct netobj *fh) argument
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | lm.h | 110 netobj *fh, struct flk_callback *); 119 struct shrlock *shr, int flag, netobj *fh); 123 netobj *fh, struct flk_callback *); 125 struct shrlock *shr, int flag, netobj *fh);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs.c | 136 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 490 int fh = 0; local 503 int fh; local 515 int fh; local [all...] |
H A D | snoop_nfs3.c | 167 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 787 int fh; local 801 int fh; local [all...] |