Searched refs:fh (Results 1 - 25 of 108) sorted by relevance

12345

/freebsd-10.0-release/sys/arm/arm/
H A Dfiq.c91 fiq_claim(struct fiqhandler *fh) argument
97 if (fh->fh_size > 0x100)
114 if (fh->fh_regs != NULL)
115 fiq_setregs(fh->fh_regs);
117 TAILQ_INSERT_HEAD(&fiqhandler_stack, fh, fh_list);
120 fiq_installhandler(fh->fh_func, fh->fh_size);
136 fiq_release(struct fiqhandler *fh) argument
148 if (fh == TAILQ_FIRST(&fiqhandler_stack)) {
149 if (fh
[all...]
/freebsd-10.0-release/contrib/opie/libopie/
H A Dlock.c93 int fh, waits = 0, rval = -1, pid, t, i; local
145 fh = -1;
146 while (fh < 0) {
151 if ((fh = open(__opie_lockfilename, O_WRONLY | O_CREAT | O_EXCL, 0600)) < 0) {
158 if ((fh = open(__opie_lockfilename, O_RDONLY, 0600)) < 0)
160 if ((i = read(fh, buffer, sizeof(buffer))) <= 0)
188 close(fh);
189 fh = 0;
200 if (fstat(fh, &statbuf[1]) < 0)
209 if (lseek(fh,
[all...]
H A Dunlock.c47 int fh, rval = -1, pid, t, i; variable
56 if (!(fh = open(__opie_lockfilename, O_RDWR, 0600)))
59 if ((i = read(fh, buffer, sizeof(buffer))) < 0)
92 if (fh)
93 close(fh); variable
/freebsd-10.0-release/tools/tools/kdrv/
H A DKernelDriver150 set fh [open $fname r];
162 while {[gets $fh line] >= 0} {
214 while {[gets $fh line] >= 0} {
223 close $fh;
396 set fh [open $fname a];
399 puts $fh "\#\# driver: $Drv(driver)";
400 puts $fh "\# $Drv(description)";
402 puts $fh $l;
404 puts $fh "\#\# enddriver";
405 close $fh;
[all...]
/freebsd-10.0-release/gnu/lib/libsupc++/
H A DVersion.map97 _ZTI[a-fh-z];
98 _ZTIP[a-fh-z];
99 _ZTIPK[a-fh-z];
112 _ZTS[a-fh-z];
113 _ZTSP[a-fh-z];
114 _ZTSPK[a-fh-z];
/freebsd-10.0-release/tools/regression/priv/
H A Dpriv_vfs_fhstat.c50 static fhandle_t fh; variable
59 if (getfh(fpath, &fh) < 0) {
72 error = fhstat(&fh, &sb);
H A Dpriv_vfs_fhstatfs.c49 static fhandle_t fh; variable
58 if (getfh(fpath, &fh) < 0) {
71 error = fhstatfs(&fh, &sf);
H A Dpriv_vfs_getfh.c60 fhandle_t fh; local
63 error = getfh(fpath, &fh);
H A Dpriv_vfs_fhopen.c50 static fhandle_t fh; variable
59 if (getfh(fpath, &fh) < 0) {
71 fd = fhopen(&fh, O_RDONLY);
/freebsd-10.0-release/contrib/ofed/management/opensm/osmtest/
H A Dosmt_slvl_vl_arb.c58 IN FILE * fh,
66 result = fprintf(fh,
74 fprintf(fh, " ");
76 fprintf(fh, "| %-2u ", i);
77 fprintf(fh, "|\nVL: ");
80 fprintf(fh, "|0x%02X", p_rec->vl_arb_tbl.vl_entry[i].vl);
81 fprintf(fh, "|\nWEIGHT:");
84 fprintf(fh, "|0x%02X", p_rec->vl_arb_tbl.vl_entry[i].weight);
85 fprintf(fh, "|\nEND\n\n");
99 IN uint8_t const block_num, IN FILE * fh)
57 osmtest_write_vl_arb_table(IN osmtest_t * const p_osmt, IN FILE * fh, IN const ib_vl_arb_table_record_t * const p_rec) argument
96 osmt_query_vl_arb(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN uint8_t const port_num, IN uint8_t const block_num, IN FILE * fh) argument
185 osmt_query_all_ports_vl_arb(IN osmtest_t * const p_osmt, IN FILE * fh) argument
261 osmtest_write_slvl_map_table(IN osmtest_t * const p_osmt, IN FILE * fh, IN const ib_slvl_table_record_t * const p_rec) argument
297 osmt_query_slvl_map(IN osmtest_t * const p_osmt, IN ib_net16_t const lid, IN uint8_t const out_port_num, IN uint8_t const in_port_num, IN FILE * fh) argument
386 osmt_query_all_ports_slvl_map(IN osmtest_t * const p_osmt, IN FILE * fh) argument
487 FILE *fh; local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBCommandReturnObject.h48 PutOutput (FILE *fh);
57 PutError (FILE *fh);
84 SetImmediateOutputFile (FILE *fh);
87 SetImmediateErrorFile (FILE *fh);
/freebsd-10.0-release/contrib/smbfs/lib/smb/
H A Dfile.c55 smb_read(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, char *dst) argument
59 rwrq.ioc_fh = fh;
69 smb_write(struct smb_ctx *ctx, smbfh fh, off_t offset, size_t count, argument
74 rwrq.ioc_fh = fh;
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dget_window_size.c104 intptr_t fh = 0; local
107 fh = _get_osfhandle(fd);
108 if (fh != (intptr_t) INVALID_HANDLE_VALUE &&
109 GetConsoleScreenBufferInfo((HANDLE) fh, &sb_info)) {
/freebsd-10.0-release/tools/tools/drm/
H A Dgen-drm_pciids16 open(my $fh, '<', $header) or die "Can't open Linux header: $!\n";
24 while (my $line = <$fh>) {
40 close($fh);
48 open(my $fh, '<', $header) or die "Can't open FreeBSD header: $!\n";
56 while (my $line = <$fh>) {
74 close($fh);
82 open(my $fh, '<', $header) or die "Can't open PCI IDs database: $!\n";
88 while (my $line = <$fh>) {
110 close($fh);
/freebsd-10.0-release/usr.bin/sort/
H A Dfile.c932 file_header_init(struct file_header **fh, const char *fn, size_t file_pos) argument
935 if (fh && fn) {
938 *fh = sort_malloc(sizeof(struct file_header));
939 (*fh)->file_pos = file_pos;
940 (*fh)->fr = file_reader_init(fn);
941 if ((*fh)->fr == NULL) {
945 line = file_reader_readline((*fh)->fr);
947 file_reader_free((*fh)->fr);
948 (*fh)->fr = NULL;
949 (*fh)
961 file_header_close(struct file_header **fh) argument
983 file_header_swap(struct file_header **fh, size_t i1, size_t i2) argument
999 file_header_heap_swim(struct file_header **fh, size_t indx) argument
1019 file_header_heap_sink(struct file_header **fh, size_t indx, size_t size) argument
1049 file_header_list_rearrange_from_header(struct file_header **fh, size_t size) argument
1059 file_header_list_push(struct file_header *f, struct file_header **fh, size_t size) argument
1075 file_header_print(struct file_header *fh, FILE *f_out, struct last_printed *lp) argument
1095 file_header_read_next(struct file_header *fh) argument
1122 file_headers_merge(size_t fnum, struct file_header **fh, FILE *f_out) argument
1157 struct file_header **fh; local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Core/
H A DStreamFile.cpp44 StreamFile::StreamFile (FILE *fh, bool transfer_ownership) : argument
46 m_file (fh, transfer_ownership)
/freebsd-10.0-release/sys/nfs/
H A Dnfs_fha.h66 u_int64_t fh; member in struct:fha_hash_entry
77 u_int64_t fh; member in struct:fha_info
85 int (*get_fh)(fhandle_t *fh, int v3, struct mbuf **md, caddr_t *dpos);
H A Dnfs_fha.c133 fhandle_t fh; local
141 * We start off with a random fh. If we get a reasonable
142 * procnum, we set the fh. If there's a concept of offset
145 i->fh = ++random_fh;
180 error = cb->get_fh(&fh, v3, &md, &dpos);
184 bcopy(fh.fh_fid.fid_data, &i->fh, sizeof(i->fh));
195 fha_hash_entry_new(u_int64_t fh) argument
200 e->fh
227 fha_hash_entry_lookup(struct fha_params *softc, u_int64_t fh) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/API/
H A DSBCommandReturnObject.cpp127 SBCommandReturnObject::PutOutput (FILE *fh) argument
129 if (fh)
133 return ::fprintf (fh, "%s", GetOutput());
139 SBCommandReturnObject::PutError (FILE *fh) argument
141 if (fh)
145 return ::fprintf (fh, "%s", GetError());
268 SBCommandReturnObject::SetImmediateOutputFile (FILE *fh) argument
271 m_opaque_ap->SetImmediateOutputFile (fh);
275 SBCommandReturnObject::SetImmediateErrorFile (FILE *fh) argument
278 m_opaque_ap->SetImmediateErrorFile (fh);
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DStreamFile.h40 StreamFile (FILE *fh, bool transfer_ownership);
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DCommandReturnObject.h80 SetImmediateOutputFile (FILE *fh, bool transfer_fh_ownership = false) argument
82 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership));
87 SetImmediateErrorFile (FILE *fh, bool transfer_fh_ownership = false) argument
89 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership));
/freebsd-10.0-release/contrib/smbfs/smbutil/
H A Dprint.c60 smbfh fh; local
111 error = smb_smb_open_print_file(ctx, 0, 1, fnamebuf, &fh);
127 i = smb_write(ctx, fh, offset, count, buf);
141 error = smb_smb_close_print_file(ctx, fh);
/freebsd-10.0-release/sys/net/
H A Dif_fddisubr.c119 struct fddi_header *fh; local
252 fh = mtod(m, struct fddi_header *);
254 switch (fh->fddi_fc & (FDDIFC_C|FDDIFC_L|FDDIFC_F)) {
257 if ((fh->fddi_fc & FDDIFC_Z) > 7)
263 if (fh->fddi_fc & FDDIFC_Z)
269 if ((fh->fddi_fc & FDDIFC_Z) == 0)
279 if (fh->fddi_dhost[0] & 1)
312 fh = mtod(m, struct fddi_header *);
313 fh->fddi_fc = FDDIFC_LLC_ASYNC|FDDIFC_LLC_PRIO4;
314 bcopy((caddr_t)edst, (caddr_t)fh
368 struct fddi_header *fh; local
[all...]
/freebsd-10.0-release/lib/libstand/
H A Dnfs.c75 u_char fh[NFS_FHSIZE]; member in struct:nfs_read_args
98 u_char fh[NFS_FHSIZE]; member in struct:nfs_readdir_args
117 u_char fh[NFS_FHSIZE]; member in struct:nfs_iodesc
182 u_char fh[NFS_V3MAXFHSIZE]; member in struct:nfs_iodesc
228 u_char fh[NFS_FHSIZE]; member in struct:repl
266 bcopy(repl->fh, fhp, sizeof(repl->fh));
279 u_char fh[NFS_FHSIZE]; member in struct:args
285 u_char fh[NFS_FHSIZE]; member in struct:repl
307 bcopy(d->fh, arg
342 u_char fh[NFS_FHSIZE]; member in struct:__anon5654
446 u_char *fh; local
829 u_char fh[NFS_V3MAXFHSIZE]; member in struct:repl
952 u_char fh[NFS_V3MAXFHSIZE]; member in struct:args
1088 u_char *fh; local
[all...]
/freebsd-10.0-release/contrib/atf/atf-run/
H A Dio.hpp120 file_handle(const file_handle& fh);
144 file_handle& operator=(const file_handle& fh);
390 //! object that owns the given file handle \a fh. Ownership of
391 //! \a fh is transferred to the created pistream object.
393 //! \pre \a fh is valid.
394 //! \post \a fh is invalid.
395 //! \post The new pistream object owns \a fh.

Completed in 228 milliseconds

12345