/src/sys/coda/ |
coda_venus.h | 40 venus_open(void *mdp, CodaFid *fid, int flag, 45 venus_close(void *mdp, CodaFid *fid, int flag, 55 venus_ioctl(void *mdp, CodaFid *fid, 60 venus_getattr(void *mdp, CodaFid *fid, 65 venus_setattr(void *mdp, CodaFid *fid, struct vattr *vap, 69 venus_access(void *mdp, CodaFid *fid, int mode, 73 venus_readlink(void *mdp, CodaFid *fid, 78 venus_fsync(void *mdp, CodaFid *fid, 82 venus_lookup(void *mdp, CodaFid *fid, 88 venus_create(void *mdp, CodaFid *fid, [all...] |
coda_vfsops.h | 36 * This overlays the fid structure (see vfs.h) 59 int coda_fhtovp(struct mount *, struct fid *, struct mbuf *, struct vnode **, 61 int coda_vptofh(struct vnode *, struct fid *);
|
coda_subr.h | 36 struct cnode *coda_find(CodaFid *fid);
|
coda.h | 215 static __inline ino_t coda_f2i(CodaFid *fid) 217 if (!fid) return 0; 218 return (fid->Unique + (fid->Vnode<<10) + (fid->Volume<<20)); 221 static __inline char * coda_f2s(CodaFid *fid) 224 snprintf (fid_str, 35, "[%lx.%lx.%lx]", fid->Volume, 225 fid->Vnode, fid->Unique); 248 static __inline ino_t coda_f2i(CodaFid *fid) [all...] |
coda_venus.c | 214 *VFid = outp->Fid; 221 venus_open(void *mdp, CodaFid *fid, int flag, 231 inp->Fid = *fid; 247 venus_close(void *mdp, CodaFid *fid, int flag, 255 inp->Fid = *fid; 284 venus_ioctl(void *mdp, CodaFid *fid, 296 inp->Fid = *fid; [all...] |
coda_subr.c | 78 #define coda_hash(fid) \ 79 (((fid)->Volume + (fid)->Vnode) & (CODA_CACHESIZE-1)) 82 #define coda_hash(fid) \ 83 (coda_f2i(fid) & (CODA_CACHESIZE-1)) 90 * Lookup a cnode by fid. If the cnode is dying, it is bogus so skip it. 94 coda_find(CodaFid *fid) 104 fid, sizeof(CodaFid), &vp) != 0) 221 myprintf(("Live cnode fid %s count %d\n", 365 cp = coda_find(&out->coda_zapfile.Fid); [all...] |
coda_namecache.c | 51 * the vnode (FID) of the parent directory, and the cred structure of the 369 * Remove all entries with a parent which has the input fid. 372 coda_nc_zapParentfid(CodaFid *fid, enum dc_status dcstat) 374 /* To get to a specific fid, we might either have another hashing 386 myprintf(("ZapParent: fid %s\n", coda_f2s(fid))); ) 401 if (coda_fid_eq(&(cncp->dcp->c_fid), fid)) { 410 * Remove all entries which have the same fid as the input 413 coda_nc_zapfid(CodaFid *fid, enum dc_status dcstat) 425 myprintf(("Zapfid: fid %s\n", coda_f2s(fid))); [all...] |
/src/sys/arch/arm/arm/ |
psci.c | 64 psci_call(register_t fid, register_t arg1, register_t arg2, register_t arg3) 68 if (fid == 0) 71 return psci_call_fn(fid, arg1, arg2, arg3); 126 psci_features(uint32_t fid) 131 return psci_call(psci_functions[PSCI_FUNC_FEATURES], fid, 0, 0); 154 psci_setfunc(enum psci_function func, uint32_t fid) 156 psci_functions[func] = fid;
|
smccc.c | 103 smccc_call(uint32_t fid, 107 register_t args[5] = { fid, arg1, arg2, arg3, arg4 };
|
/src/usr.sbin/puffs/mount_9p/ |
subr.c | 56 makep9pnode(struct puffs_usermount *pu, p9pfid_t fid) 63 p9n->fid_base = fid; 74 newp9pnode_va(struct puffs_usermount *pu, const struct vattr *va, p9pfid_t fid) 78 pn = makep9pnode(pu, fid); 86 p9pfid_t fid) 90 pn = makep9pnode(pu, fid); 98 * search list of fids, or if none is found, walk a fid for a new one 120 dfp->fid = NEXTFID(p9p); 121 rv = proto_cc_open(pu, p9n->fid_base, dfp->fid, P9PROTO_OMODE_READ); 134 p9pbuf_put_4(pb, dfp->fid); [all...] |
/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
|
/src/sys/miscfs/genfs/ |
layer_extern.h | 90 int layerfs_fhtovp(struct mount *, struct fid *, int, struct vnode **); 91 int layerfs_vptofh(struct vnode *, struct fid *, size_t *);
|
/src/sys/rump/include/rump/ |
rumpvfs_if_pub.h | 29 int rump_pub_vfs_fhtovp(struct mount *, struct fid *, struct vnode **); 30 int rump_pub_vfs_vptofh(struct vnode *, struct fid *, size_t *);
|
rump.h | 41 struct fid;
|
/src/sys/rump/include/rump-sys/ |
vfs_if.h | 52 int rump_vfs_fhtovp(struct mount *, struct fid *, struct vnode **); 53 typedef int (*rump_vfs_fhtovp_fn)(struct mount *, struct fid *, struct vnode **); 54 int rump_vfs_vptofh(struct vnode *, struct fid *, size_t *); 55 typedef int (*rump_vfs_vptofh_fn)(struct vnode *, struct fid *, size_t *);
|
/src/sys/arch/riscv/include/ |
sbi.h | 61 | Function Name | SBI Version | FID | EID 285 sbi_call(int eid, int fid, 292 register register_t _a6 __asm ("a6") = fid; 313 #define SBI_CALL0(eid, fid) sbi_call(eid, fid, 0, 0, 0, 0, 0, 0) 314 #define SBI_CALL1(eid, fid, a0) sbi_call(eid, fid, a0, 0, 0, 0, 0, 0) 315 #define SBI_CALL2(eid, fid, a0, a1) sbi_call(eid, fid, a0, a1, 0, 0, 0, 0) 316 #define SBI_CALL3(eid, fid, a0, a1, a2) sbi_call(eid, fid, a0, a1, a2, 0, 0, 0 [all...] |
/src/sys/arch/arm/pci/ |
pci_smccc.c | 51 pci_smccc_call(uint32_t fid, 64 return smccc_call(fid, arg1, arg2, arg3, arg4, 76 pci_smccc_features(uint32_t fid) 78 return pci_smccc_call(PCI_FEATURES, fid, 0, 0, 0,
|
/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...] |
/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);
|
/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...] |
/src/sys/rump/librump/rumpvfs/ |
rump_vfs.c | 444 rump_vfs_fhtovp(struct mount *mp, struct fid *fid, struct vnode **vpp) 447 return VFS_FHTOVP(mp, fid, LK_EXCLUSIVE, vpp); 451 rump_vfs_vptofh(struct vnode *vp, struct fid *fid, size_t *fidsize) 454 return VFS_VPTOFH(vp, fid, fidsize);
|
/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...] |
/src/tests/fs/puffs/h_dtfs/ |
dtfs_vfsops.c | 241 dtfs_fs_fhtonode(struct puffs_usermount *pu, void *fid, size_t fidsize, 248 dfid = fid; 268 void *fid, size_t *fidsize) 284 dfid = fid;
|
/src/usr.sbin/puffs/mount_psshfs/ |
fs.c | 236 void *fid, size_t *fidsize) 241 struct psshfs_fid *pf = fid; 252 psshfs_fs_fhtonode(struct puffs_usermount *pu, void *fid, size_t fidsize, 256 struct psshfs_fid *pf = 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...] |