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

1 2

  /src/usr.sbin/puffs/mount_9p/
ninepuffs.h 114 p9pfid_t fid; member in struct:dirfid
ninepuffs.h 114 p9pfid_t fid; member in struct:dirfid
  /src/usr.bin/at/
at.c 147 FILE *fid; local in function:nextjob
149 if ((fid = fopen(_PATH_SEQFILE, "r+")) != NULL) {
150 if (fscanf(fid, "%5x", &jobno) == 1) {
151 (void)rewind(fid);
153 (void)fprintf(fid, "%05x\n", jobno);
156 (void)fclose(fid);
158 } else if ((fid = fopen(_PATH_SEQFILE, "w")) != NULL) {
159 (void)fprintf(fid, "%05x\n", jobno = 1);
160 (void)fclose(fid);
at.c 147 FILE *fid; local in function:nextjob
149 if ((fid = fopen(_PATH_SEQFILE, "r+")) != NULL) {
150 if (fscanf(fid, "%5x", &jobno) == 1) {
151 (void)rewind(fid);
153 (void)fprintf(fid, "%05x\n", jobno);
156 (void)fclose(fid);
158 } else if ((fid = fopen(_PATH_SEQFILE, "w")) != NULL) {
159 (void)fprintf(fid, "%05x\n", jobno = 1);
160 (void)fclose(fid);
  /src/sys/fs/udf/
udf_readwrite.c 77 struct fileid_desc *fid; local in function:udf_fixup_fid_block
84 /* first resync with the FID stream !!! */
88 fid = (struct fileid_desc *) fid_pos;
89 if (udf_rw16(fid->tag.id) == TAGID_FID) {
90 if (udf_check_tag((union dscrptr *) fid) == 0)
102 fid = (struct fileid_desc *) fid_pos;
103 if (udf_rw16(fid->tag.id) != TAGID_FID) {
104 /* end of FID stream; end of directory or currupted */
109 fid->tag.tag_loc = udf_rw32(lb_num);
110 udf_validate_tag_sum((union dscrptr *) fid);
    [all...]
udf_readwrite.c 77 struct fileid_desc *fid; local in function:udf_fixup_fid_block
84 /* first resync with the FID stream !!! */
88 fid = (struct fileid_desc *) fid_pos;
89 if (udf_rw16(fid->tag.id) == TAGID_FID) {
90 if (udf_check_tag((union dscrptr *) fid) == 0)
102 fid = (struct fileid_desc *) fid_pos;
103 if (udf_rw16(fid->tag.id) != TAGID_FID) {
104 /* end of FID stream; end of directory or currupted */
109 fid->tag.tag_loc = udf_rw32(lb_num);
110 udf_validate_tag_sum((union dscrptr *) fid);
    [all...]
udf_vnops.c 541 struct fileid_desc *fid; local in function:udf_readdir
566 * Add `.' pseudo entry if at offset zero since its not in the fid
585 /* allocate temporary space for fid */
587 fid = malloc(lb_size, M_UDFTEMP, M_WAITOK);
595 DPRINTF(READDIR, ("\tread in fid stream\n"));
596 /* transfer a new fid/dirent */
597 error = udf_read_fid_stream(vp, &diroffset, fid, dirent);
598 DPRINTFIF(READDIR, error, ("read error in read fid "
614 if (fid->file_char & UDF_FILE_CHAR_DEL)
618 if (fid->file_char & UDF_FILE_CHAR_VIS
    [all...]
udf_vnops.c 541 struct fileid_desc *fid; local in function:udf_readdir
566 * Add `.' pseudo entry if at offset zero since its not in the fid
585 /* allocate temporary space for fid */
587 fid = malloc(lb_size, M_UDFTEMP, M_WAITOK);
595 DPRINTF(READDIR, ("\tread in fid stream\n"));
596 /* transfer a new fid/dirent */
597 error = udf_read_fid_stream(vp, &diroffset, fid, dirent);
598 DPRINTFIF(READDIR, error, ("read error in read fid "
614 if (fid->file_char & UDF_FILE_CHAR_DEL)
618 if (fid->file_char & UDF_FILE_CHAR_VIS
    [all...]
  /src/sys/coda/
coda_vfsops.c 382 * with the new fid key.
492 CodaFid fid; local in function:coda_loadvnode
497 memcpy(&fid, key, key_len);
501 cp->c_fid = fid;
516 * a type-specific fid.
519 coda_fhtovp(struct mount *vfsp, struct fid *fhp, struct mbuf *nam,
558 coda_vptofh(struct vnode *vnp, struct fid *fidp)
626 return coda_fhtovp(mi->mi_vfsp, (struct fid*)&cfid, NULL, vpp,
coda_vfsops.c 382 * with the new fid key.
492 CodaFid fid; local in function:coda_loadvnode
497 memcpy(&fid, key, key_len);
501 cp->c_fid = fid;
516 * a type-specific fid.
519 coda_fhtovp(struct mount *vfsp, struct fid *fhp, struct mbuf *nam,
558 coda_vptofh(struct vnode *vnp, struct fid *fidp)
626 return coda_fhtovp(mi->mi_vfsp, (struct fid*)&cfid, NULL, vpp,
  /src/sys/arch/x86/include/
powernow.h 111 #define FID_TO_VCO_FID(fid) \
112 (((fid) < 8) ? (8 + ((fid) << 1)) : (fid))
124 uint8_t fid; member in struct:powernow_state
153 uint8_t fid; member in struct:powernow_pst_s
powernow.h 111 #define FID_TO_VCO_FID(fid) \
112 (((fid) < 8) ? (8 + ((fid) << 1)) : (fid))
124 uint8_t fid; member in struct:powernow_state
153 uint8_t fid; member in struct:powernow_pst_s
  /src/sys/arch/x86/x86/
powernow.c 92 * in the PST tables, but they have correct FID/VID values.
137 static uint64_t powernow_k8_fidvid(u_int fid, uint64_t vid, uint64_t ctrl);
419 DPRINTF(("%s: fid=%d vid=%d\n", __func__,
420 sc->sc_state->state_table[i].fid,
445 powernow_k7_states(device_t self, unsigned int fid, unsigned int vid)
490 * and fid/vid match.
499 (fid == pst->fid && vid == pst->vid))) {
524 int cvid, cfid, vid = 0, fid = 0; local in function:powernow_k7_setperf
535 fid = sc->sc_state->state_table[i].fid
787 int cfid, cvid, fid = 0, vid = 0; local in function:powernow_k8_setperf
    [all...]
powernow.c 92 * in the PST tables, but they have correct FID/VID values.
137 static uint64_t powernow_k8_fidvid(u_int fid, uint64_t vid, uint64_t ctrl);
419 DPRINTF(("%s: fid=%d vid=%d\n", __func__,
420 sc->sc_state->state_table[i].fid,
445 powernow_k7_states(device_t self, unsigned int fid, unsigned int vid)
490 * and fid/vid match.
499 (fid == pst->fid && vid == pst->vid))) {
524 int cvid, cfid, vid = 0, fid = 0; local in function:powernow_k7_setperf
535 fid = sc->sc_state->state_table[i].fid
787 int cfid, cvid, fid = 0, vid = 0; local in function:powernow_k8_setperf
    [all...]
  /src/sys/sys/
fstypes.h 44 struct fid { struct
55 struct fid fh_fid; /* File sys specific id */
fstypes.h 44 struct fid { struct
55 struct fid fh_fid; /* File sys specific id */
  /src/sys/nfs/
nfs_vfsops.c 1055 nfs_fhtovp(struct mount *mp, struct fid *fid, int lktype, struct vnode **vpp)
1063 fidsize = fid->fid_len;
1064 if (fidsize < sizeof(*fid)) {
1067 fhsize = fidsize - sizeof(*fid);
1081 error = nfs_nget(mp, (void *)fid->fid_data, fhsize, &np);
1096 nfs_vptofh(struct vnode *vp, struct fid *buf, size_t *bufsize)
1099 struct fid *fid; local in function:nfs_vptofh
1104 fidsize = sizeof(*fid) + np->n_fhsize
    [all...]
nfs_vfsops.c 1055 nfs_fhtovp(struct mount *mp, struct fid *fid, int lktype, struct vnode **vpp)
1063 fidsize = fid->fid_len;
1064 if (fidsize < sizeof(*fid)) {
1067 fhsize = fidsize - sizeof(*fid);
1081 error = nfs_nget(mp, (void *)fid->fid_data, fhsize, &np);
1096 nfs_vptofh(struct vnode *vp, struct fid *buf, size_t *bufsize)
1099 struct fid *fid; local in function:nfs_vptofh
1104 fidsize = sizeof(*fid) + np->n_fhsize
    [all...]
  /src/sys/arch/x86/acpi/
acpi_cpu_md.c 104 #define FID_TO_VCO_FID(fidd) (((fid) < 8) ? (8 + ((fid) << 1)) : (fid))
252 * Evaluate support for the "FID/VID
776 uint32_t fid, i, vid; local in function:acpicpu_md_pstate_fidvid_get
797 fid = __SHIFTOUT(ps->ps_status, ACPI_0FH_STATUS_FID);
800 if (cfid == fid && cvid == vid) {
813 uint32_t cfid, cvid, fid, i, irt; local in function:acpicpu_md_pstate_fidvid_set
823 fid = __SHIFTOUT(ctrl, ACPI_0FH_CONTROL_FID);
862 if (cfid != fid) {
    [all...]
acpi_cpu_md.c 104 #define FID_TO_VCO_FID(fidd) (((fid) < 8) ? (8 + ((fid) << 1)) : (fid))
252 * Evaluate support for the "FID/VID
776 uint32_t fid, i, vid; local in function:acpicpu_md_pstate_fidvid_get
797 fid = __SHIFTOUT(ps->ps_status, ACPI_0FH_STATUS_FID);
800 if (cfid == fid && cvid == vid) {
813 uint32_t cfid, cvid, fid, i, irt; local in function:acpicpu_md_pstate_fidvid_set
823 fid = __SHIFTOUT(ctrl, ACPI_0FH_CONTROL_FID);
862 if (cfid != fid) {
    [all...]
  /src/sys/dev/ic/
an.c 534 int i, error, fid; local in function:an_init
554 if ((error = an_alloc_fid(sc, AN_TX_MAX_LEN, &fid)) != 0) {
560 DPRINTF2(("an_init: txbuf %d allocated %x\n", i, fid));
561 sc->sc_txd[i].d_fid = fid;
727 int cur, fid; local in function:an_start
829 fid = sc->sc_txd[cur].d_fid;
830 if (an_write_bap(sc, fid, 0, &frmhdr, sizeof(frmhdr)) != 0)
833 an_write_bap(sc, fid, -1, &frmhdr, AN_TXGAP_802_11);
834 an_mwrite_bap(sc, fid, -1, m, m->m_pkthdr.len);
839 fid, cur))
1381 int fid, gaplen, len, off, s; local in function:an_rx_intr
1537 int cur, fid, s; local in function:an_tx_intr
    [all...]
an.c 534 int i, error, fid; local in function:an_init
554 if ((error = an_alloc_fid(sc, AN_TX_MAX_LEN, &fid)) != 0) {
560 DPRINTF2(("an_init: txbuf %d allocated %x\n", i, fid));
561 sc->sc_txd[i].d_fid = fid;
727 int cur, fid; local in function:an_start
829 fid = sc->sc_txd[cur].d_fid;
830 if (an_write_bap(sc, fid, 0, &frmhdr, sizeof(frmhdr)) != 0)
833 an_write_bap(sc, fid, -1, &frmhdr, AN_TXGAP_802_11);
834 an_mwrite_bap(sc, fid, -1, m, m->m_pkthdr.len);
839 fid, cur))
1381 int fid, gaplen, len, off, s; local in function:an_rx_intr
1537 int cur, fid, s; local in function:an_tx_intr
    [all...]
  /src/usr.sbin/makefs/
udf.c 380 struct fileid_desc *fid; local in function:udf_prepare_fids
394 /* for each FID: */
395 fid = (struct fileid_desc *) (dirdata + offset);
396 assert(udf_rw16(fid->tag.id) == TAGID_FID);
401 fid->tag.tag_loc = udf_rw32(location);
402 udf_validate_tag_and_crc_sums((union dscrptr *) fid);
404 fidsize = udf_fidsize(fid);
691 struct fileid_desc *fid; local in function:udf_estimate_walk
712 fid = (struct fileid_desc *) malloc(context.sector_size);
713 assert(fid);
881 struct fileid_desc *fid; local in function:udf_populate_walk
    [all...]
udf.c 380 struct fileid_desc *fid; local in function:udf_prepare_fids
394 /* for each FID: */
395 fid = (struct fileid_desc *) (dirdata + offset);
396 assert(udf_rw16(fid->tag.id) == TAGID_FID);
401 fid->tag.tag_loc = udf_rw32(location);
402 udf_validate_tag_and_crc_sums((union dscrptr *) fid);
404 fidsize = udf_fidsize(fid);
691 struct fileid_desc *fid; local in function:udf_estimate_walk
712 fid = (struct fileid_desc *) malloc(context.sector_size);
713 assert(fid);
881 struct fileid_desc *fid; local in function:udf_populate_walk
    [all...]
  /src/sys/dev/pci/
cz.c 482 u_int32_t fid; local in function:cz_load_firmware
576 fid = bus_space_read_4(cz->cz_win_st, cz->cz_win_sh,
578 if (fid == ZFIRM_SIG) {
581 } else if (fid == ZFIRM_HLT) {
604 ZFIRM_SIG, fid);
644 fid = CZ_FWCTL_READ(cz, BRDCTL_FWVERSION);
653 (fid >> 8) & 0xf, (fid >> 4) & 0xf, fid & 0xf);

Completed in 71 milliseconds

1 2