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

123456

/netbsd-6-1-5-RELEASE/sys/coda/
H A Dcoda_venus.h40 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...]
H A Dcoda_vfsops.h36 * This overlays the fid structure (see vfs.h)
56 int coda_fhtovp(struct mount *, struct fid *, struct mbuf *, struct vnode **,
58 int coda_vptofh(struct vnode *, struct fid *);
H A Dcoda_subr.h36 struct cnode *coda_find(CodaFid *fid);
H A Dcoda.h205 static inline ino_t coda_f2i(CodaFid *fid) argument
207 if (!fid) return 0;
208 return (fid->Unique + (fid->Vnode<<10) + (fid->Volume<<20));
211 static inline char * coda_f2s(CodaFid *fid) argument
214 snprintf (fid_str, 35, "[%lx.%lx.%lx]", fid->Volume,
215 fid->Vnode, fid->Unique);
238 static inline ino_t coda_f2i(CodaFid *fid) argument
244 coda_f2s(CodaFid *fid) argument
[all...]
H A Dcoda_venus.c226 venus_open(void *mdp, CodaFid *fid, int flag, argument
236 inp->Fid = *fid;
252 venus_close(void *mdp, CodaFid *fid, int flag, argument
260 inp->Fid = *fid;
289 venus_ioctl(void *mdp, CodaFid *fid, argument
301 inp->Fid = *fid;
345 venus_getattr(void *mdp, CodaFid *fid, argument
354 inp->Fid = *fid;
366 venus_setattr(void *mdp, CodaFid *fid, struct vattr *vap, argument
374 inp->Fid = *fid;
384 venus_access(void *mdp, CodaFid *fid, int mode, kauth_cred_t cred, struct lwp *l) argument
402 venus_readlink(void *mdp, CodaFid *fid, kauth_cred_t cred, struct lwp *l, char **str, int *len) argument
459 venus_fsync(void *mdp, CodaFid *fid, kauth_cred_t cred, struct lwp *l) argument
476 venus_lookup(void *mdp, CodaFid *fid, const char *nm, int len, kauth_cred_t cred, struct lwp *l, CodaFid *VFid, int *vtype) argument
515 venus_create(void *mdp, CodaFid *fid, const char *nm, int len, int exclusive, int mode, struct vattr *va, kauth_cred_t cred, struct lwp *l, CodaFid *VFid, struct vattr *attr) argument
546 venus_remove(void *mdp, CodaFid *fid, const char *nm, int len, kauth_cred_t cred, struct lwp *l) argument
568 venus_link(void *mdp, CodaFid *fid, CodaFid *tfid, const char *nm, int len, kauth_cred_t cred, struct lwp *l) argument
591 venus_rename(void *mdp, CodaFid *fid, CodaFid *tfid, const char *nm, int len, const char *tnm, int tlen, kauth_cred_t cred, struct lwp *l) argument
617 venus_mkdir(void *mdp, CodaFid *fid, const char *nm, int len, struct vattr *va, kauth_cred_t cred, struct lwp *l, CodaFid *VFid, struct vattr *ova) argument
646 venus_rmdir(void *mdp, CodaFid *fid, const char *nm, int len, kauth_cred_t cred, struct lwp *l) argument
668 venus_symlink(void *mdp, CodaFid *fid, const char *lnm, int llen, const char *nm, int len, struct vattr *va, kauth_cred_t cred, struct lwp *l) argument
694 venus_readdir(void *mdp, CodaFid *fid, int count, int offset, kauth_cred_t cred, struct lwp *l, char *buffer, int *len) argument
742 venus_fhtovp(void *mdp, CodaFid *fid, kauth_cred_t cred, struct proc *p, CodaFid *VFid, int *vtype) argument
[all...]
H A Dcoda_subr.c86 #define coda_hash(fid) \
87 (((fid)->Volume + (fid)->Vnode) & (CODA_CACHESIZE-1))
90 #define coda_hash(fid) \
91 (coda_f2i(fid) & (CODA_CACHESIZE-1))
170 * Lookup a cnode by fid. If the cnode is dying, it is bogus so skip it.
171 * NOTE: this allows multiple cnodes with same fid -- dcs 1/25/95
174 coda_find(CodaFid *fid) argument
178 cp = coda_cache[coda_hash(fid)];
180 if (coda_fid_eq(&(cp->c_fid), fid)
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/include/
H A Drefid.h28 reference_id(int fid, int off) : filename_id(fid), pos(off) { } argument
H A Dsearch.h78 search_item(const char *nm, int fid);
93 search_item *make_index_search_item(const char *filename, int fid);
94 search_item *make_linear_search_item(int fd, const char *filename, int fid);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format_text/
H A Dimport.c81 struct volume_group *text_vg_import_fd(struct format_instance *fid, argument
116 if (!(vg = (*vsn)->read_vg(fid, cft)))
119 (*vsn)->read_desc(fid->fmt->cmd->mem, cft, when, desc);
128 struct volume_group *text_vg_import_file(struct format_instance *fid, argument
132 return text_vg_import_fd(fid, file, NULL, (off_t)0, 0, (off_t)0, 0, NULL, 0,
137 struct format_instance *fid)
145 if (!(cft = create_config_tree_from_string(fid->fmt->cmd, buf)))
151 if (!(vg = (*vsn)->read_vg(fid, cft)))
136 import_vg_from_buffer(char *buf, struct format_instance *fid) argument
H A Dimport-export.h50 struct volume_group *(*read_vg) (struct format_instance * fid,
70 struct volume_group *text_vg_import_file(struct format_instance *fid,
73 struct volume_group *text_vg_import_fd(struct format_instance *fid,
H A Dformat-text.c75 static int _text_vg_setup(struct format_instance *fid __attribute((unused)),
103 static int _mda_in_vg_raw(struct format_instance *fid __attribute((unused)),
260 static int _text_lv_setup(struct format_instance *fid __attribute((unused)),
422 static int _raw_holds_vgname(struct format_instance *fid, argument
432 if (!(mdah = _raw_read_mda_header(fid->fmt, dev_area)))
444 static struct volume_group *_vg_read_raw_area(struct format_instance *fid, argument
459 if (!(mdah = _raw_read_mda_header(fid->fmt, area)))
477 if (!(vg = text_vg_import_fd(fid, NULL, area->dev,
499 static struct volume_group *_vg_read_raw(struct format_instance *fid, argument
505 return _vg_read_raw_area(fid, vgnam
508 _vg_read_precommit_raw(struct format_instance *fid, const char *vgname, struct metadata_area *mda) argument
517 _vg_write_raw(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda) argument
624 _vg_commit_raw_rlocn(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda, int precommit) argument
709 _vg_commit_raw(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda) argument
715 _vg_precommit_raw(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda) argument
723 _vg_revert_raw(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda) argument
746 _vg_remove_raw(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda) argument
786 _vg_read_file_name(struct format_instance *fid, const char *vgname, const char *read_path) argument
813 _vg_read_file(struct format_instance *fid, const char *vgname, struct metadata_area *mda) argument
822 _vg_read_precommit_file(struct format_instance *fid, const char *vgname, struct metadata_area *mda) argument
932 _vg_commit_file(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda) argument
999 struct format_instance *fid; local
1149 struct format_instance fid; local
1818 struct format_instance *fid; local
[all...]
H A Dimport_vsn1.c29 typedef int (*section_fn) (struct format_instance * fid, struct dm_pool * mem,
155 static int _read_pv(struct format_instance *fid, struct dm_pool *mem, argument
191 if (!(pv->dev = device_from_pvid(fid->fmt->cmd, &pv->id))) {
247 pv->fmt = fid->fmt;
256 "for PV %s", display_size(fid->fmt->cmd, pv->size),
491 static int _read_lvnames(struct format_instance *fid __attribute((unused)),
557 static int _read_lvsegs(struct format_instance *fid __attribute((unused)),
610 static int _read_sections(struct format_instance *fid, argument
628 if (!fn(fid, mem, vg, n, vgn, pv_hash))
635 static struct volume_group *_read_vg(struct format_instance *fid, argument
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/puffs/mount_9p/
H A Dsubr.c56 makep9pnode(struct puffs_usermount *pu, p9pfid_t fid) argument
63 p9n->fid_base = fid;
74 newp9pnode_va(struct puffs_usermount *pu, const struct vattr *va, p9pfid_t fid) argument
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
125 dfp->fid = NEXTFID(p9p);
126 rv = proto_cc_open(pu, p9n->fid_base, dfp->fid, P9PROTO_OMODE_READ);
136 p9pbuf_put_4(pb, dfp->fid);
85 newp9pnode_qid(struct puffs_usermount *pu, const struct qid9p *qid, p9pfid_t fid) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format_pool/
H A Dformat_pool.c104 *fid, struct dm_pool *mem,
107 struct dm_pool *smem = fid->fmt->cmd->mem;
117 vg->cmd = fid->fmt->cmd;
119 vg->fid = fid;
134 if (!import_pool_pvs(fid->fmt, vg, &vg->pvs, smem, pds))
161 static struct volume_group *_pool_vg_read(struct format_instance *fid, argument
177 vg_name = strip_dir(vg_name, fid->fmt->cmd->dev_dir);
180 if (!read_pool_pds(fid->fmt, vg_name, mem, &pds))
184 if (!(vg = _build_vg_from_pds(fid, me
103 _build_vg_from_pds(struct format_instance *fid, struct dm_pool *mem, struct dm_list *pds) argument
257 struct format_instance *fid; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format1/
H A Dformat1.c115 static struct volume_group *_build_vg(struct format_instance *fid, argument
130 vg->cmd = fid->fmt->cmd;
132 vg->fid = fid;
147 if (!import_pvs(fid->fmt, mem, vg, pvs, &vg->pvs, &vg->pv_count))
153 if (!import_extents(fid->fmt->cmd, vg, pvs))
166 static struct volume_group *_format1_vg_read(struct format_instance *fid, argument
179 vg_name = strip_dir(vg_name, fid->fmt->cmd->dev_dir);
182 (fid->fmt, vg_name, fid
194 _flatten_pv(struct format_instance *fid, struct dm_pool *mem, struct volume_group *vg, struct physical_volume *pv, const char *dev_dir) argument
221 _flatten_vg(struct format_instance *fid, struct dm_pool *mem, struct volume_group *vg, struct dm_list *pvds, const char *dev_dir, struct dev_filter *filter) argument
245 _format1_vg_write(struct format_instance *fid, struct volume_group *vg, struct metadata_area *mda __attribute((unused))) argument
335 _format1_lv_setup(struct format_instance *fid, struct logical_volume *lv) argument
410 _format1_vg_setup(struct format_instance *fid, struct volume_group *vg) argument
461 struct format_instance *fid; local
[all...]
H A Dvg_number.c28 int get_free_vg_number(struct format_instance *fid, struct dev_filter *filter, argument
41 if (!read_pvs_in_vg(fid->fmt, NULL, filter, mem, &all_pvs))
/netbsd-6-1-5-RELEASE/sys/arch/x86/include/
H A Dpowernow.h111 #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
/netbsd-6-1-5-RELEASE/sys/miscfs/genfs/
H A Dlayer_extern.h95 int layerfs_fhtovp(struct mount *, struct fid *, struct vnode **);
96 int layerfs_vptofh(struct vnode *, struct fid *, size_t *);
/netbsd-6-1-5-RELEASE/sys/rump/include/rump/
H A Drumpvfs_if_pub.h31 int rump_pub_vfs_fhtovp(struct mount *, struct fid *, struct vnode **);
32 int rump_pub_vfs_vptofh(struct vnode *, struct fid *, size_t *);
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpvfs/
H A Drumpvfs_if_priv.h31 int rump_vfs_fhtovp(struct mount *, struct fid *, struct vnode **);
32 int rump_vfs_vptofh(struct vnode *, struct fid *, size_t *);
/netbsd-6-1-5-RELEASE/sys/arch/x86/x86/
H A Dpowernow.c137 static uint64_t powernow_k8_fidvid(u_int fid, uint64_t vid, uint64_t ctrl);
427 DPRINTF(("%s: fid=%d vid=%d\n", __func__,
428 sc->sc_state->state_table[i].fid,
453 powernow_k7_states(device_t self, unsigned int fid, unsigned int vid) argument
498 * and fid/vid match.
507 (fid == pst->fid && vid == pst->vid))) {
532 int cvid, cfid, vid = 0, fid = 0; local
543 fid = sc->sc_state->state_table[i].fid;
735 powernow_k8_states(device_t self, unsigned int fid, unsigned int vid) argument
803 int cfid, cvid, fid = 0, vid = 0; local
916 powernow_k8_fidvid(u_int fid, uint64_t vid, uint64_t ctrl) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/
H A Dmetadata.h128 int (*vg_write) (struct format_instance * fid, struct volume_group * vg,
130 int (*vg_precommit) (struct format_instance * fid,
133 int (*vg_commit) (struct format_instance * fid,
135 int (*vg_revert) (struct format_instance * fid,
247 int (*segtype_supported) (struct format_instance *fid,
261 void (*destroy_instance) (struct format_instance * fid);
364 struct format_instance *fid);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/metadata/
H A Dmetadata.h128 int (*vg_write) (struct format_instance * fid, struct volume_group * vg,
130 int (*vg_precommit) (struct format_instance * fid,
133 int (*vg_commit) (struct format_instance * fid,
135 int (*vg_revert) (struct format_instance * fid,
247 int (*segtype_supported) (struct format_instance *fid,
261 void (*destroy_instance) (struct format_instance * fid);
364 struct format_instance *fid);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/sys/
H A Dmount.h42 typedef struct fid fid_t;
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/
H A Dvgscan.c26 vg->fid->fmt->name);

Completed in 171 milliseconds

123456