HomeSort by: relevance | last modified time | path
    Searched defs:fh (Results 1 - 25 of 54) sorted by relevancy

1 2 3

  /src/usr.bin/crunch/crunchide/
exec_coff.c 60 struct coff_filehdr fh; local in function:check_coff
71 if (read(fd, &fh, sizeof fh) != sizeof fh)
74 if (COFF_BADMAG(&fh))
  /src/sys/compat/common/
vfs_syscalls_20.c 167 struct compat_30_fhandle fh; local in function:compat_20_sys_fhstatfs
179 if ((error = copyin(SCARG(uap, fhp), &fh, sizeof(fh))) != 0)
182 if ((mp = vfs_getvfs(&fh.fh_fsid)) == NULL)
184 error = VFS_FHTOVP(mp, (struct fid*)&fh.fh_fid, LK_EXCLUSIVE, &vp);
vfs_syscalls_30.c 345 struct compat_30_fhandle fh; local in function:compat_30_sys_getfh
371 error = vfs_composefh(vp, (void *)&fh, &sz);
379 return copyout(&fh, SCARG(uap, fhp), sizeof(fh));
  /src/sys/compat/netbsd32/
netbsd32_fd.c 57 fhandle_t *fh; local in function:netbsd32___getfh30
86 error = vfs_composefh_alloc(vp, &fh);
95 sz = FHANDLE_SIZE(fh);
103 error = copyout(fh, SCARG_P32(uap, fhp), sz);
108 vfs_composefh_free(fh);
netbsd32_compat_30.c 177 struct compat_30_fhandle fh; local in function:compat_30_netbsd32_fhstat
188 if ((error = copyin(SCARG_P32(uap, fhp), &fh, sizeof(fh))) != 0)
191 if ((mp = vfs_getvfs(&fh.fh_fsid)) == NULL)
195 if ((error = VFS_FHTOVP(mp, (struct fid*)&fh.fh_fid, LK_EXCLUSIVE, &vp)))
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_flag_parser.h 135 FlagHandler<T> *fh = new (FlagParser::Alloc) FlagHandler<T>(var); // NOLINT local in function:__sanitizer::RegisterFlag
136 parser->RegisterHandler(name, fh, desc);
  /src/sys/external/bsd/drm/dist/bsd-core/
radeon_drv.c 239 firmware_handle_t fh; local in function:radeon_load_a_microcode
244 if ((error = firmware_open("radeon", fw_name, &fh)) != 0) {
248 *sizep = firmware_get_size(fh);
251 firmware_close(fh);
254 if ((error = firmware_read(fh, 0, *codep, *sizep)) != 0) {
258 firmware_close(fh);
  /src/tests/fs/tmpfs/
h_tools.c 68 void *fh; local in function:getfh_main
75 fh = NULL;
78 fh = malloc(fh_size);
79 if (fh == NULL) {
89 error = getfh(argv[1], fh, &fh_size);
93 if (fh != NULL)
94 free(fh);
102 error = write(STDOUT_FILENO, fh, fh_size);
107 free(fh);
  /src/sbin/mount_nfs/
getnfsargs_small.c 151 u_char fh[NFSX_V3FHMAX]; member in struct:nfs_getrootfh::repl
185 memcpy(nfhret->nfh, repl->fh, sizeof(repl->fh));
256 nfsargsp->fh = nfhret.nfh;
259 nfsargsp->fh += sizeof(uint32_t);
  /src/sys/dev/usb/
stuirda.c 144 firmware_handle_t fh; local in function:stuirda_fwload
179 rc = firmware_open("stuirda", fwname, &fh);
186 fwsize = firmware_get_size(fh);
198 rc = firmware_read(fh, 0, buffer, (size_t)fwsize);
272 giveup2: firmware_close(fh);
  /src/sys/fs/nfs/common/
nfsdiskless.h 81 u_char *fh; /* File handle to be mounted */ member in struct:onfs_args
82 int fhsize; /* Size, in bytes, of fh */
nfs_fha.h 65 u_int64_t fh; member in struct:fha_hash_entry
81 u_int64_t fh; member in struct:fha_info
89 int (*get_fh)(uint64_t *fh, int v3, struct mbuf **md, caddr_t *dpos);
  /src/sys/dev/
firmload.c 66 firmware_handle_free(firmware_handle_t fh)
69 kmem_free(fh, sizeof(*fh));
209 firmware_handle_t fh; local in function:firmware_open
225 fh = firmware_handle_alloc();
226 KASSERT(fh != NULL);
247 firmware_handle_free(fh);
255 firmware_handle_free(fh);
262 firmware_handle_free(fh);
268 fh->fh_vp = vp
    [all...]
  /src/sys/arch/acorn32/stand/nbfs/
nbfs.c 180 int fh = r->r3; local in function:nbfs_open
198 nof->fileswitch_handle = fh;
  /src/sys/arch/hpc/stand/hpcboot/arm/
arm_pxa2x0.cpp 219 HANDLE fh; local in function:PXA2X0Architecture::dumpCS0
222 fh = CreateFile(TEXT("rom.bin"), GENERIC_WRITE, FILE_SHARE_READ,
224 if (fh == INVALID_HANDLE_VALUE) {
236 WriteFile(fh, buf, 0x1000, &wrote, 0);
239 CloseHandle(fh);
  /src/sys/dev/i2c/
nxt2k.c 267 firmware_handle_t fh; local in function:nxt2k4_load_firmware
274 error = firmware_open("nxt2k", "dvb-fe-nxt2004.fw", &fh);
280 fwsize = firmware_get_size(fh);
285 firmware_close(fh);
289 error = firmware_read(fh, 0, blob, fwsize);
293 firmware_close(fh);
342 firmware_close(fh);
  /src/sys/fs/nfs/server/
nfs_nfsdsocket.c 481 struct nfsrvfh fh; local in function:nfsrvd_dorpc
497 error = nfsrv_mtofh(nd, &fh);
520 nfsd_fhtovp(nd, &fh, lktype, &vp, &nes,
569 vp, NULL, (fhandle_t *)fh.nfsrvfh_data, p, &nes);
629 struct nfsrvfh fh; local in function:nfsrvd_compound
785 * Check for a referral on the current FH and, if so, return
855 error = nfsrv_mtofh(nd, &fh);
859 nfsd_fhtovp(nd, &fh, LK_SHARED, &nvp, &nes,
980 &nvp, (fhandle_t *)fh.nfsrvfh_data, p, &vpnes);
  /src/usr.sbin/veriexecgen/
veriexecgen.c 280 FTS *fh; local in function:walk_dir
283 if ((fh = fts_open(search_path, FTS_PHYSICAL, NULL)) == NULL) {
288 while ((file = fts_read(fh)) != NULL) {
290 fts_set(fh, file, FTS_SKIP);
313 fts_close(fh);
  /src/sys/nfs/
nfs_boot.c 605 args->fh = ndm->ndm_fh;
688 u_int8_t fh[1]; member in struct:md_mount::rdata::__anon2a7a6e7c010a::__anon2a7a6e7c0208
690 } fh; member in struct:md_mount::rdata
693 u_int8_t *fh; local in function:md_mount
735 /* Have errno==0, so the fh must be there. */
737 argp->fhsize = fxdr_unsigned(u_int32_t, rdata->fh.v3fh.fhlen);
753 fh = (mntver == 3) ?
754 rdata->fh.v3fh.fh : rdata->fh.v2fh
    [all...]
  /src/sys/arch/macppc/stand/fixcoff/
fixcoff.c 128 struct filehdr fh; local in function:main
152 if (read(fd, &fh, sizeof(fh)) != sizeof(fh))
155 i = be16toh(*(uint16_t *)fh.f_magic);
160 i = be16toh(*(uint16_t *)fh.f_opthdr);
172 n = be16toh(*(uint16_t *)fh.f_nsect);
  /src/sys/arch/hpcmips/stand/pbsdboot/
disptest.c 277 HANDLE fh = INVALID_HANDLE_VALUE; local in function:dump_memory
287 fh = CreateFile(
296 if (fh == INVALID_HANDLE_VALUE) {
309 if (WriteFile(fh, buf, 2048, &n, NULL) == 0 ||
316 CloseHandle(fh);
  /src/sys/compat/ultrix/
ultrix_fs.c 317 void *fh; /* file handle to be mounted */ member in struct:ultrix_nfs_args
390 na.fh = una.fh;
  /src/sys/arch/atari/dev/
ite_cc.c 576 u_int fh = cci->ft_y; local in function:putc8
597 while (fh--) {
605 ul = (mode & ATTR_UL) ? fh - cci->underline : fh;
606 for (; fh--; pl += ro) {
607 if (fh != ul) {
  /src/sys/arch/x68k/dev/
ite_tv.c 271 short fh; local in function:tv_putc
282 for (fh = 0; fh < FONTHEIGHT; fh++, p += ROWBYTES)
285 for (fh = 0; fh < FONTHEIGHT; fh++, p += ROWBYTES)
311 short fh, hi, lo; local in function:tv_putc_nm
323 for (fh = 0; fh < FONTHEIGHT; fh++, p += ROWBYTES
339 short fh, hi, lo; local in function:tv_putc_in
367 short fh, hi, lo; local in function:tv_putc_bd
416 short fh, hi, lo; local in function:tv_putc_ul
452 short fh, hi, lo; local in function:tv_putc_bd_in
485 short fh, hi, lo; local in function:tv_putc_ul_in
521 short fh, hi, lo; local in function:tv_putc_bd_ul
568 short fh, hi, lo; local in function:tv_putc_bd_ul_in
620 short fh; local in function:tv_cursor
662 short fh; local in function:tv_clear
729 short fh; local in function:tv_scroll
744 short fh; local in function:tv_scroll
    [all...]
  /src/usr.bin/pkill/
pkill.c 678 FILE *fh; local in function:takepid
681 fh = fopen(pidfile, "r");
682 if (fh == NULL)
690 if (flock(fileno(fh), LOCK_EX | LOCK_NB) == 0) {
691 (void)fclose(fh);
701 if (fgets(line, sizeof(line), fh) == NULL) {
702 if (feof(fh)) {
703 (void)fclose(fh);
706 (void)fclose(fh);
709 (void)fclose(fh);
    [all...]

Completed in 69 milliseconds

1 2 3