Searched refs:fid (Results 1 - 25 of 86) sorted by relevance

1234

/freebsd-9.3-release/usr.sbin/asf/
H A Dasf_kld.c45 int fid = 0; /* indicates the beginning of the linker file list */ local
47 while ((fid = kldnext(fid)) != 0) {
48 if (fid == -1)
52 if (kldstat(fid, &kfs) == -1)
/freebsd-9.3-release/lib/libutil/
H A Dkld.c44 int fid, mid; local
46 for (fid = kldnext(0); fid > 0; fid = kldnext(fid)) {
48 if (kldstat(fid, &fstat) != 0)
59 for (mid = kldfirstmod(fid); mid > 0; mid = modfnext(mid)) {
/freebsd-9.3-release/sys/fs/coda/
H A Dcoda_venus.h38 int venus_open(void *mdp, struct CodaFid *fid, int flag,
40 int venus_close(void *mdp, struct CodaFid *fid, int flag,
44 int venus_ioctl(void *mdp, struct CodaFid *fid, int com, int flag,
46 int venus_getattr(void *mdp, struct CodaFid *fid, struct ucred *cred,
48 int venus_setattr(void *mdp, struct CodaFid *fid, struct vattr *vap,
50 int venus_access(void *mdp, struct CodaFid *fid, int mode,
52 int venus_readlink(void *mdp, struct CodaFid *fid, struct ucred *cred,
54 int venus_fsync(void *mdp, struct CodaFid *fid, struct proc *p);
55 int venus_lookup(void *mdp, struct CodaFid *fid, const char *nm, int len,
58 int venus_create(void *mdp, struct CodaFid *fid, cons
[all...]
H A Dcoda_vfsops.h39 * This overlays the fid structure (see vfs.h); only used below and will
51 int coda_fhtovp(struct mount *, struct fid *, struct mbuf *,
H A Dcoda_subr.h38 struct cnode *coda_find(struct CodaFid *fid);
H A Dcoda.h181 static __inline__ ino_t coda_f2i(struct CodaFid *fid) argument
183 if (!fid) return 0;
184 return (fid->Unique + (fid->Vnode<<10) + (fid->Volume<<20));
187 static __inline__ char * coda_f2s(struct CodaFid *fid) argument
190 snprintf (fid_str, 35, "[%lx.%lx.%lx]", fid->Volume,
191 fid->Vnode, fid->Unique);
213 static __inline__ ino_t coda_f2i(struct CodaFid *fid) argument
220 coda_f2s(struct CodaFid *fid) argument
[all...]
H A Dcoda_venus.c197 venus_open(void *mdp, struct CodaFid *fid, int flag, struct ucred *cred, argument
206 inp->Fid = *fid;
218 venus_close(void *mdp, struct CodaFid *fid, int flag, struct ucred *cred, argument
226 inp->Fid = *fid;
255 venus_ioctl(void *mdp, struct CodaFid *fid, int com, int flag, caddr_t data, argument
266 inp->Fid = *fid;
313 venus_getattr(void *mdp, struct CodaFid *fid, struct ucred *cred, argument
325 inp->Fid = *fid;
336 venus_setattr(void *mdp, struct CodaFid *fid, struct vattr *vap, argument
348 inp->Fid = *fid;
358 venus_access(void *mdp, struct CodaFid *fid, accmode_t accmode, struct ucred *cred, struct proc *p) argument
385 venus_readlink(void *mdp, struct CodaFid *fid, struct ucred *cred, struct proc *p, char **str, int *len) argument
411 venus_fsync(void *mdp, struct CodaFid *fid, struct proc *p) argument
431 venus_lookup(void *mdp, struct CodaFid *fid, const char *nm, int len, struct ucred *cred, struct proc *p, struct CodaFid *VFid, int *vtype) argument
469 venus_create(void *mdp, struct CodaFid *fid, const char *nm, int len, int exclusive, int mode, struct vattr *va, struct ucred *cred, struct proc *p, struct CodaFid *VFid, struct vattr *attr) argument
500 venus_remove(void *mdp, struct CodaFid *fid, const char *nm, int len, struct ucred *cred, struct proc *p) argument
523 venus_link(void *mdp, struct CodaFid *fid, struct CodaFid *tfid, const char *nm, int len, struct ucred *cred, struct proc *p) argument
547 venus_rename(void *mdp, struct CodaFid *fid, struct CodaFid *tfid, const char *nm, int len, const char *tnm, int tlen, struct ucred *cred, struct proc *p) argument
575 venus_mkdir(void *mdp, struct CodaFid *fid, const char *nm, int len, struct vattr *va, struct ucred *cred, struct proc *p, struct CodaFid *VFid, struct vattr *ova) argument
604 venus_rmdir(void *mdp, struct CodaFid *fid, const char *nm, int len, struct ucred *cred, struct proc *p) argument
627 venus_symlink(void *mdp, struct CodaFid *fid, const char *lnm, int llen, const char *nm, int len, struct vattr *va, struct ucred *cred, struct proc *p) argument
658 venus_readdir(void *mdp, struct CodaFid *fid, int count, int offset, struct ucred *cred, struct proc *p, char *buffer, int *len) argument
685 venus_fhtovp(void *mdp, struct CodaFid *fid, struct ucred *cred, struct proc *p, struct CodaFid *VFid, int *vtype) argument
[all...]
H A Dcoda_subr.c80 #define coda_hash(fid) (((fid)->Volume + (fid)->Vnode) & (CODA_CACHESIZE-1))
83 #define coda_hash(fid) (coda_f2i(fid) & (CODA_CACHESIZE-1))
162 * Lookup a cnode by fid. If the cnode is dying, it is bogus so skip it.
164 * NOTE: this allows multiple cnodes with same fid -- dcs 1/25/95
167 coda_find(struct CodaFid *fid) argument
171 cp = coda_cache[coda_hash(fid)];
173 if (coda_fid_eq(&(cp->c_fid), fid)
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfeature.h37 #define VALID_FEATURE_FID(fid) ((fid) >= 0 && (fid) < SPA_FEATURES)
38 #define VALID_FEATURE_OR_NONE(fid) ((fid) == SPA_FEATURE_NONE || \
39 VALID_FEATURE_FID(fid))
52 extern boolean_t spa_feature_enabled_txg(spa_t *spa, spa_feature_t fid,
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dmount.h39 typedef struct fid fid_t;
/freebsd-9.3-release/contrib/groff/src/include/
H A Drefid.h26 reference_id(int fid, int off) : filename_id(fid), pos(off) { } argument
H A Dsearch.h76 search_item(const char *nm, int fid);
91 search_item *make_index_search_item(const char *filename, int fid);
92 search_item *make_linear_search_item(int fd, const char *filename, int fid);
/freebsd-9.3-release/lib/libc/db/mpool/
H A Dmpool.libtp212 error_log1 ("Invalid fid %d\n", bhp->id.file_id);
240 buf_alloc ( fid, new_pageno )
241 int fid;
253 if ( buf_fids[fid].npages == -1 ) {
255 fd = bf_fid_to_fd ( fid );
257 assert (fid < NUM_FILE_ENTRIES);
259 *new_pageno = buf_fids[fid].npages;
264 buf_fids[fid].npages++;
265 ndx = BUF_HASH ( fid, *new_pageno );
266 fobj.file_id = fid;
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessorLexer.cpp22 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid) argument
23 : PP(pp), FID(fid), InitialNumSLocEntries(0),
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfeature.c377 feature_do_action(spa_t *spa, spa_feature_t fid, feature_action_t action, argument
381 zfeature_info_t *feature = &spa_feature_table[fid];
385 ASSERT(VALID_FEATURE_FID(fid));
436 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument
439 ASSERT(VALID_FEATURE_FID(fid));
440 feature_enable_sync(spa, &spa_feature_table[fid], tx);
444 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument
446 feature_do_action(spa, fid, FEATURE_ACTION_INCR, tx);
450 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument
452 feature_do_action(spa, fid, FEATURE_ACTION_DEC
456 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) argument
471 spa_feature_is_active(spa_t *spa, spa_feature_t fid) argument
495 spa_feature_enabled_txg(spa_t *spa, spa_feature_t fid, uint64_t *txg) argument
[all...]
/freebsd-9.3-release/sys/x86/cpufreq/
H A Dpowernow.c148 #define WRITE_FIDVID(fid, vid, ctrl) \
150 (((ctrl) << 32) | (1ULL << 16) | ((vid) << 8) | (fid)))
155 #define FID_TO_VCO_FID(fid) \
156 (((fid) < 8) ? (8 + ((fid) << 1)) : (fid))
212 int fid; member in struct:powernow_state
277 pn7_setfidvid(struct pn_softc *sc, int fid, int vid) argument
287 if (fid == cfid && vid == cvid)
292 ctl |= PN7_CTR_FID(fid);
328 pn8_write_fidvid(u_int fid, u_int vid, uint64_t ctrl, uint64_t *status) argument
340 pn8_setfidvid(struct pn_softc *sc, int fid, int vid) argument
445 int fid, vid; local
606 int fid = sc->powernow_states[i].fid; local
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfeature_common.c118 zfeature_depends_on(spa_feature_t fid, spa_feature_t check) { argument
119 zfeature_info_t *feature = &spa_feature_table[fid];
129 zfeature_register(spa_feature_t fid, const char *guid, const char *name, argument
133 zfeature_info_t *feature = &spa_feature_table[fid];
139 ASSERT3U(fid, <, SPA_FEATURES);
145 feature->fi_feature = fid;
H A Dzfeature_common.h80 extern boolean_t zfeature_depends_on(spa_feature_t fid, spa_feature_t check);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Edit/
H A DFileOffset.h24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } argument
/freebsd-9.3-release/sys/fs/nwfs/
H A Dnwfs_node.c93 printf("Name:uc:hc:fid:pfid\n");
107 * Search nwnode with given fid.
111 nwfs_hashlookup(struct nwmount *nmp, ncpfid fid, struct nwnode **npp) argument
118 nhpp = NWNOHASH(fid);
120 if (nmp != np->n_mount || !NWCMPF(&fid, &np->n_fid))
134 nwfs_allocvp(struct mount *mp, ncpfid fid, struct nw_entry_info *fap, argument
146 if (nwfs_hashlookup(nmp, fid, &np) == 0) {
184 np->n_fid = fid;
193 if (nwfs_hashlookup(nmp, fid, NULL) == 0) {
201 nhpp = NWNOHASH(fid);
216 nwfs_nget(struct mount *mp, ncpfid fid, struct nw_entry_info *fap, struct vnode *dvp, struct vnode **vpp) argument
233 nwfs_lookupnp(struct nwmount *nmp, ncpfid fid, struct thread *td, struct nwnode **npp) argument
[all...]
H A Dnwfs_node.h80 int nwfs_lookupnp(struct nwmount *nmp, ncpfid fid, struct thread *td,
84 int nwfs_nget(struct mount *mp, ncpfid fid, struct nw_entry_info *fap,
H A Dnwfs_vnops.c415 ncpfid fid; local
433 fid.f_parent = VTONW(dvp)->n_fid.f_id;
434 fid.f_id = no.fattr.dirEntNum;
435 error = nwfs_nget(VTOVFS(dvp), fid, &no.fattr, dvp, &vp);
623 ncpfid fid; local
641 fid.f_parent = VTONW(dvp)->n_fid.f_id;
642 fid.f_id = no.fattr.dirEntNum;
643 error = nwfs_nget(VTOVFS(dvp), fid, &no.fattr, dvp, &newvp);
740 printf("\tnwfs node: name = '%s', fid = %d, pfid = %d\n",
823 ncpfid fid; local
[all...]
/freebsd-9.3-release/sys/fs/udf/
H A Dudf_vnops.c639 struct fileid_desc *fid; local
670 fid = (struct fileid_desc*)&ds->data[ds->off];
673 * Check to see if the fid is fragmented. The first test
678 ds->off + le16toh(fid->l_iu) + fid->l_fi + UDF_FID_SIZE > ds->size){
680 /* Copy what we have of the fid into a buffer */
694 bcopy(fid, ds->buf, frag_size);
697 fid = (struct fileid_desc*)ds->buf;
721 * Now that we have enough of the fid to work with,
722 * copy in the rest of the fid fro
774 struct fileid_desc *fid; local
1109 struct fileid_desc *fid = NULL; local
[all...]
/freebsd-9.3-release/contrib/groff/src/libs/libbib/
H A Dsearch.cpp111 search_item::search_item(const char *nm, int fid) argument
112 : name(strsave(nm)), filename_id(fid), next(0)
/freebsd-9.3-release/sys/netsmb/
H A Dsmb_smb.c626 smb_smb_readx(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, argument
645 mb_put_mem(mbp, (caddr_t)&fid, sizeof(fid), MB_MSYSTEM);
707 smb_smb_writex(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, argument
725 mb_put_mem(mbp, (caddr_t)&fid, sizeof(fid), MB_MSYSTEM);
764 smb_smb_read(struct smb_share *ssp, u_int16_t fid, argument
775 return (smb_smb_readx(ssp, fid, len, rresid, uio, scred));
786 mb_put_mem(mbp, (caddr_t)&fid, sizeof(fid), MB_MSYSTE
822 smb_read(struct smb_share *ssp, u_int16_t fid, struct uio *uio, struct smb_cred *scred) argument
843 smb_smb_write(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, struct uio *uio, struct smb_cred *scred) argument
897 smb_write(struct smb_share *ssp, u_int16_t fid, struct uio *uio, struct smb_cred *scred) argument
[all...]

Completed in 249 milliseconds

1234