Searched refs:vp (Results 1 - 25 of 30) sorted by relevance

12

/barrelfish-master/include/vm/
H A Dvm_domain.h46 extern int vm_domain_policy_init(struct vm_domain_policy *vp);
47 extern int vm_domain_policy_set(struct vm_domain_policy *vp,
49 extern int vm_domain_policy_cleanup(struct vm_domain_policy *vp);
54 extern int vm_domain_policy_validate(const struct vm_domain_policy *vp);
H A Dvnode_pager.c82 static int vnode_pager_addr(struct vnode *vp, vm_ooffset_t address,
111 vnode_create_vobject(struct vnode *vp, off_t isize, struct thread *td) argument
117 if (!vn_isdisk(vp, NULL) && vn_canvmio(vp) == FALSE)
120 while ((object = vp->v_object) != NULL) {
126 VOP_UNLOCK(vp, 0);
129 vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
133 if (vn_isdisk(vp, NULL)) {
136 if (VOP_GETATTR(vp, &va, td->td_ucred))
142 object = vnode_pager_alloc(vp, siz
158 vnode_destroy_vobject(struct vnode *vp) argument
209 struct vnode *vp; local
278 struct vnode *vp; local
314 struct vnode *vp = object->handle; local
396 vnode_pager_setsize(struct vnode *vp, vm_ooffset_t nsize) argument
485 vnode_pager_addr(struct vnode *vp, vm_ooffset_t address, daddr_t *rtaddress, int *run) argument
523 struct vnode *vp; local
620 struct vnode *vp; local
689 struct vnode *vp; local
705 struct vnode *vp; local
743 vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m, int count, int *a_rbehind, int *a_rahead, vop_getpages_iodone_t iodone, void *arg) argument
1118 struct vnode *vp; local
1159 vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, int flags, int *rtvals) argument
1310 struct vnode *vp; local
1339 struct vnode *vp; local
[all...]
H A Dvnode_pager.h43 int vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m,
46 int vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *m,
H A Dvm_domain.c105 vm_domain_policy_init(struct vm_domain_policy *vp) argument
108 bzero(vp, sizeof(*vp));
109 vp->p.policy = VM_POLICY_NONE;
110 vp->p.domain = -1;
115 vm_domain_policy_set(struct vm_domain_policy *vp, argument
119 seq_write_begin(&vp->seq);
120 vp->p.policy = vt;
121 vp->p.domain = domain;
122 seq_write_end(&vp
176 vm_domain_policy_validate(const struct vm_domain_policy *vp) argument
204 vm_domain_policy_cleanup(struct vm_domain_policy *vp) argument
[all...]
H A Dvm_object.c450 struct vnode *vp; local
455 vp = object->handle;
456 vref(vp);
466 struct vnode *vp = (struct vnode *) object->handle; local
471 KASSERT(vp != NULL, ("vm_object_vndeallocate: missing vp"));
474 vn_printf(vp, "vm_object_vndeallocate ");
483 * The test for text of vp vnode does not need a bypass to
487 if (object->ref_count > 1 || (vp->v_vflag & VV_TEXT) == 0) {
491 vrele(vp);
526 struct vnode *vp; local
734 struct vnode *vp = (struct vnode *)object->handle; local
1002 struct vnode *vp; local
2275 struct vnode *vp; local
[all...]
H A Dvm_fault.c126 struct vnode *vp; member in struct:faultstate
172 if (fs->vp != NULL) {
173 vput(fs->vp);
174 fs->vp = NULL;
293 struct vnode *vp; local
302 fs.vp = NULL;
340 if (fs.vp != NULL) {
341 vput(fs.vp);
342 fs.vp = NULL;
366 if (fs.vp
[all...]
H A Dswap_pager.c2031 struct vnode *vp; local
2057 vp = nd.ni_vp;
2059 if (vn_isdisk(vp, &error)) {
2060 error = swapongeom(vp);
2061 } else if (vp->v_type == VREG &&
2062 (vp->v_mount->mnt_vfc->vfc_flags & VFCF_NETWORK) != 0 &&
2063 (error = VOP_GETATTR(vp, &attr, td->td_ucred)) == 0) {
2068 error = swaponvp(td, vp, attr.va_size / DEV_BSIZE);
2072 vrele(vp);
2104 swaponsomething(struct vnode *vp, voi argument
2195 struct vnode *vp; local
2608 swapongeom_locked(struct cdev *dev, struct vnode *vp) argument
2655 swapongeom(struct vnode *vp) argument
2711 swaponvp(struct thread *td, struct vnode *vp, u_long nblks) argument
[all...]
H A Dvm_mmap.c1232 struct vnode *vp, vm_ooffset_t *foffp, vm_object_t *objp,
1246 if ((error = vget(vp, locktype, td)) != 0)
1248 AUDIT_ARG_VNODE1(vp);
1251 obj = vp->v_object;
1252 if (vp->v_type == VREG) {
1260 if (obj->type == OBJT_VNODE && obj->handle != vp) {
1261 vput(vp);
1262 vp = (struct vnode *)obj->handle;
1267 error = vget(vp, locktype, td);
1279 if ((error = VOP_GETATTR(vp,
1230 vm_mmap_vnode(struct thread *td, vm_size_t objsize, vm_prot_t prot, vm_prot_t *maxprotp, int *flagsp, struct vnode *vp, vm_ooffset_t *foffp, vm_object_t *objp, boolean_t *writecounted) argument
[all...]
H A Dvm_pager.c366 KASSERT(bp->b_vp == NULL, ("initpbuf with vp"));
473 KASSERT(bp->b_vp == NULL, ("relpbuf with vp"));
500 pbgetvp(struct vnode *vp, struct buf *bp) argument
506 bp->b_vp = vp;
508 bp->b_bufobj = &vp->v_bufobj;
H A Dvm_pageout.c744 struct vnode *vp; local
754 vp = NULL;
771 vp = object->handle;
772 if (vp->v_type == VREG &&
773 vn_start_write(vp, &mp, V_NOWAIT) != 0) {
779 ("vp %p with NULL v_mount", vp));
783 lockmode = MNT_SHARED_WRITES(vp->v_mount) ?
785 if (vget(vp, lockmode | LK_TIMELOCK, curthread)) {
786 vp
[all...]
H A Dvm_page.c1616 struct vnode *vp = NULL; local
1732 vp = m_object->handle;
1771 if (vp != NULL)
1772 vdrop(vp);
1798 if (vp != NULL)
1799 vdrop(vp);
/barrelfish-master/include/sys/
H A Dimgact.h60 struct vnode *vp; /* pointer to vnode of file to exec */ member in struct:image_params
61 struct vm_object *object; /* The vm object for this vp */
H A Dmount.h203 #define MNT_VNODE_FOREACH_ALL(vp, mp, mvp) \
204 for (vp = __mnt_vnode_first_all(&(mvp), (mp)); \
205 (vp) != NULL; vp = __mnt_vnode_next_all(&(mvp), (mp)))
222 #define MNT_VNODE_FOREACH_ACTIVE(vp, mp, mvp) \
223 for (vp = __mnt_vnode_first_active(&(mvp), (mp)); \
224 (vp) != NULL; vp = __mnt_vnode_next_active(&(mvp), (mp)))
792 #define VFS_KNOTE_LOCKED(vp, hint) do \
794 if (((vp)
[all...]
H A Dimgact_aout.h153 int aout_coredump(struct thread *td, struct vnode *vp, off_t limit,
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Dhandlers.c251 p_set_error_handler(value vn, type tn, value vp, type tp, value vm, type tm),
253 p_set_default_error_handler(value vn, type tn, value vp, type tp, value vm, type tm),
254 p_set_interrupt_handler(value vn, type tn, value vp, type tp, value vm, type tm),
883 * p_set_error_handler(vn,tn,vp,tp) FUNCTION
885 * (vp,tp) defines a handler
890 p_set_error_handler(value vn, type tn, value vp, type tp, value vm, type tm) argument
897 if (IsStructure(tp) && vp.ptr->val.did == d_defers_)
899 ++vp.ptr;
900 Dereference_(vp.ptr);
901 tp.all = vp
986 p_set_default_error_handler(value vn, type tn, value vp, type tp, value vm, type tm) argument
1052 p_set_interrupt_handler(value vn, type tn, value vp, type tp, value vm, type tm) argument
[all...]
H A Doperator.c83 p_is_prefix_op(value vp, type tp, value assoc, type ta, value name, type tn, value vv, type tv, value module, type tm),
84 p_is_postfix_op(value vp, type tp, value assoc, type ta, value name, type tn, value vv, type tv, value module, type tm),
85 p_is_infix_op(value vp, type tp, value assoc, type ta, value name, type tn, value vv, type tv, value module, type tm),
659 p_is_prefix_op(value vp, type tp, value assoc, type ta, value name, type tn, value vv, type tv, value module, type tm) argument
673 Request_Unify_Integer(vp, tp, GetOpiPreced(desc));
691 p_is_postfix_op(value vp, type tp, value assoc, type ta, value name, type tn, value vv, type tv, value module, type tm) argument
704 Request_Unify_Integer(vp, tp, GetOpiPreced(desc));
722 p_is_infix_op(value vp, type tp, value assoc, type ta, value name, type tn, value vv, type tv, value module, type tm) argument
735 Request_Unify_Integer(vp, tp, GetOpiPreced(desc));
H A Dbip_delay.c87 p_set_priority(value vp, type tp),
88 p_set_priority2(value vp, type tp, value vt, type tt),
89 p_get_priority(value vp, type tp),
95 p_undo_meta_bind(value vp, type tp, value vv, type tv),
96 p_do_meta_bind(value vp, type tp, value vt, type tt),
1266 p_undo_meta_bind(value vp, type tp, value vv, type tv) argument
1268 vp.ptr->tag.kernel = RefTag(TMETA);
1269 vp.ptr->val.ptr = vp.ptr;
1270 Return_Unify_Pw(vv, tv, vp, tre
1279 p_do_meta_bind(value vp, type tp, value vt, type tt) argument
2091 p_get_priority(value vp, type tp) argument
2098 p_set_priority(value vp, type tp) argument
2108 p_set_priority2(value vp, type tp, value vt, type tt) argument
[all...]
H A Dbip_db.c108 p_external(value vp, type tp, value vf, type tf, value vm, type tm),
109 p_b_external(value vp, type tp, value vf, type tf, value vm, type tm),
123 p_proc_flags(value vn, type tn, value vc, type tc, value vf, type tf, value vm, type tm, value vp, type tp),
782 _external(value vp, type tp, value vf, type tf, value vm, type tm, int nondet) argument
795 wdid = vp.did;
798 Get_Proc_Did(vp, tp, wdid);
823 p_external(value vp, type tp, value vf, type tf, value vm, type tm) argument
825 return _external(vp, tp, vf, tf, vm, tm, 0);
829 p_b_external(value vp, type tp, value vf, type tf, value vm, type tm) argument
831 return _external(vp, t
989 p_proc_flags(value vn, type tn, value vc, type tc, value vf, type tf, value vm, type tm, value vp, type tp) argument
[all...]
H A Dbip_io.c291 p_at(value vs, type ts, value vp, type tp),
310 p_exec(value vc, type tc, value vstr, type tstr, value vp, type tp, value vpr, type tpr),
318 p_seek(value vs, type ts, value vp, type tp),
2134 p_at(value vs, type ts, value vp, type tp) argument
2156 Return_Unify_Integer(vp, tp, pos);
2161 p_seek(value vs, type ts, value vp, type tp) argument
2177 if (IsAtom(tp) && vp.did == d_.eof)
2182 return ec_seek_stream(nst, vp.nint, LSEEK_SET);
4072 p_exec(value vc, type tc, value vstr, type tstr, value vp, type tp, value vpr, type tpr) argument
4265 Return_Unify_Integer(vp, t
4270 p_exec(value vc, type tc, value vstr, type tstr, value vp, type tp, value vpr, type tpr) argument
4278 p_exec(value vc, type tc, value vstr, type tstr, value vp, type tp, value vpr, type tpr) argument
[all...]
H A Dbip_control.c87 p_make_tf(value vpush, type tpush, value vi, type ti, value vg, type tg, value vm, type tm, value vlm, type tlm, value vp, type tp, value vf, type tf),
1055 p_make_tf(value vpush, type tpush, value vi, type ti, value vg, type tg, value vm, type tm, value vlm, type tlm, value vp, type tp, value vf, type tf) argument
1095 Push_Dbg_Frame(pw, invoc, vg, tg, depth, vp.nint, proc, d_.empty, 0, 0, 0, vm.did);
1099 Make_Dbg_Frame(pw, invoc, vg, tg, depth, vp.nint, proc, d_.empty, 0, 0, 0, vm.did);
/barrelfish-master/lib/libc/rpc/
H A Dclnt_simple.c86 rpc_call_destroy(void *vp) argument
88 struct rpc_call_private *rcp = (struct rpc_call_private *)vp;
H A Dkey_call.c271 key_call_destroy(void *vp) argument
273 struct key_call_private *kcp = (struct key_call_private *)vp;
/barrelfish-master/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_asm.c853 volatile BN_ULONG *vp; local
859 vp = tp = alloca((num+2)*sizeof(BN_ULONG));
926 for(i=0;i<num+2;i++) vp[i] = 0;
930 for(i=0;i<num;i++) rp[i] = tp[i], vp[i] = 0;
931 vp[num] = 0;
932 vp[num+1] = 0;
989 volatile BN_ULONG *vp; local
992 vp = tp = alloca((num+2)*sizeof(BN_ULONG));
1015 for(i=0;i<num+2;i++) vp[i] = 0;
1019 for(i=0;i<num;i++) rp[i] = tp[i], vp[
[all...]
/barrelfish-master/usr/drivers/e1000/
H A De1000n_desc.h33 unsigned int vp :1; member in struct:rx_desc::__anon369::__anon370::__anon371
/barrelfish-master/lib/libc/resolv/
H A Dres_debug.c919 u_int8_t vp = 0x13; /*%< default = 1e3 cm = 10.00m */ local
1001 vp = precsize_aton(&cp);
1009 *bcp++ = vp;

Completed in 294 milliseconds

12