Searched defs:vp (Results 1 - 25 of 456) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dreparse.c53 reparse_vnode_parse(vnode_t *vp, nvlist_t *nvl) argument
60 if (vp == NULL || nvl == NULL)
77 if ((err = VOP_READLINK(vp, &uio, zone_kcred(), NULL)) == 0) {
H A Dfake_vnode.c54 vn_mountedvfs(vnode_t *vp) argument
H A Dfake_xattr.c44 fop__getxvattr(vnode_t *vp, xvattr_t *xvap) argument
54 error = fgetattr(vp->v_fd, XATTR_VIEW_READWRITE, &nvl);
64 if (fgetattr(vp->v_fd, XATTR_VIEW_READONLY, &nvl) == 0) {
203 fop__setxvattr(vnode_t *vp, xvattr_t *xvap) argument
266 error = fsetattr(vp->v_fd, XATTR_VIEW_READWRITE, nvl);
/illumos-gate/usr/src/uts/common/syscall/
H A Dmkdir.c55 vnode_t *vp; local
70 error = vn_createat(dname, UIO_USERSPACE, &vattr, EXCL, 0, &vp,
76 VN_RELE(vp);
H A Dmount.c70 vnode_t *vp = NULL; local
99 if (error = lookupname(uap->dir, UIO_USERSPACE, FOLLOW, NULLVPP, &vp))
107 if ((vp->v_flag & VPXFS) && ((uap->flags & MS_GLOBAL) != MS_GLOBAL)) {
125 error = domount("pxfs", uap, vp, CRED(), &vfsp);
130 error = domount(NULL, uap, vp, CRED(), &vfsp);
134 VN_RELE(vp);
H A Dioctl.c65 vnode_t *vp; local
72 vp = fp->f_vnode;
74 if (vp->v_type == VREG || vp->v_type == VDIR) {
92 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL);
H A Dmknod.c62 vnode_t *vp; local
101 error = vn_createat(fname, UIO_USERSPACE, &vattr, EXCL, 0, &vp,
107 VN_RELE(vp);
H A Dpathconf.c56 cpathconf(register vnode_t *vp, int cmd, struct cred *cr) argument
64 if (error = VOP_PATHCONF(vp, _PC_SYMLINK_MAX, &val, cr, NULL))
73 if ((error = VFS_STATVFS(vp->v_vfsp, &sb)) != 0)
110 if (!(error = VOP_FSYNC(vp, FSYNC, cr, NULL)))
115 return ((vp->v_vfsp->vfs_flag & VFS_XATTR) ? 1 : 0);
118 if (error = VOP_PATHCONF(vp, cmd, &val, cr, NULL))
143 vnode_t *vp; local
149 if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) {
155 retval = cpathconf(vp, name, CRED());
156 VN_RELE(vp);
[all...]
H A Dreadlink.c57 vnode_t *vp; local
76 NULLVPP, &vp, startvp)) {
82 if (vp->v_type != VLNK) {
88 error = VOP_GETATTR(vp, &vattr, 0, CRED(), NULL);
90 VN_RELE(vp);
106 error = VOP_READLINK(vp, &auio, CRED(), NULL);
107 VN_RELE(vp);
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kgtstate.c74 vnode_t *vp; local
81 vp = fp->f_vnode;
92 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(),
H A Dt_kunbind.c75 vnode_t *vp; local
85 vp = fp->f_vnode;
102 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, CRED(),
H A Dt_kbind.c73 vnode_t *vp; local
83 vp = fp->f_vnode;
119 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, fp->f_cred,
H A Dt_kspoll.c86 vnode_t *vp; local
95 vp = fp->f_vnode;
119 error = kstrgetmsg(vp, NULL, NULL, &pri, &pflag, timout, &rval);
/illumos-gate/usr/src/lib/libast/common/stdio/
H A D_stdfun.c52 _stdfun(Sfio_t* f, Funvec_t* vp) argument
63 if (!vp->vec[1])
70 if (bp && (vp->vec[1] = (Fun_f)dlsym(bp, vp->name)))
74 if (!(vp->vec[1] = (Fun_f)dlsym(np, vp->name)))
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_sample.c68 version_list *vp; local
74 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) {
75 write_sample_client(def->def_name, vp);
82 write_sample_client(char *program_name, version_list *vp) argument
89 pvname(program_name, vp->vers_num);
97 for (proc = vp->procs; proc != NULL; proc = proc->next) {
124 pvname(proc->proc_name, vp
213 version_list *vp; local
302 version_list *vp; local
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_log.c42 ufs_fiologenable(vnode_t *vp, fiolog_t *ufl, cred_t *cr, int flags) argument
52 error = lufs_enable(vp, &fl, cr);
61 ufs_fiologdisable(vnode_t *vp, fiolog_t *ufl, cred_t *cr, int flags) argument
71 error = lufs_disable(vp, &fl);
84 ufs_fioislog(vnode_t *vp, uint32_t *islog, cred_t *cr, int flags) argument
86 ufsvfs_t *ufsvfsp = VTOI(vp)->i_ufsvfs;
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_sym.c60 vnode_t *vp; local
63 vp = gfs_file_create(sizeof (ctfs_symnode_t), pvp, ctfs_ops_sym);
64 vp->v_type = VLNK;
65 symnode = vp->v_data;
76 return (vp);
85 vnode_t *vp,
91 ctfs_symnode_t *symnode = vp->v_data;
99 ctfs_common_getattr(vp, vap);
112 ctfs_sym_readlink(vnode_t *vp, uio_t *uiop, cred_t *cr, caller_context_t *ct) argument
114 ctfs_symnode_t *symnode = vp
84 ctfs_sym_getattr( vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, caller_context_t *ct) argument
125 ctfs_sym_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c53 objfs_common_close(vnode_t *vp, int flag, int count, offset_t off, cred_t *cr, argument
64 objfs_dir_access(vnode_t *vp, int mode, int flags, cred_t *cr, argument
77 objfs_common_getattr(vnode_t *vp, vattr_t *vap) argument
85 vap->va_fsid = vp->v_vfsp->vfs_dev;
H A Dobjfs_odir.c44 objfs_odir_do_inode(vnode_t *vp, int index) argument
46 objfs_odirnode_t *odir = vp->v_data;
54 vnode_t *vp = gfs_dir_create(sizeof (objfs_odirnode_t), pvp, local
57 objfs_odirnode_t *onode = vp->v_data;
61 return (vp);
66 objfs_odir_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, argument
74 vap->va_nodeid = gfs_file_inode(vp);
78 return (objfs_common_getattr(vp, vap));
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvfsops.c114 register struct vnode *vp; local
130 vp = STOV(sp);
132 * Don't bother sync'ing a vp if it's
135 if (IS_SWAPVP(vp))
138 if (vp->v_type == VBLK && vn_has_cached_data(vp)) {
140 * Prevent vp from going away before we
144 VN_HOLD(vp);
156 vp = STOV(sp);
157 (void) VOP_PUTPAGE(vp, (offset_
[all...]
/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashalloc.c49 va_list* vp = va; local
149 if (vp < &va[elementsof(va)])
151 va_copy(*vp, ap);
152 vp++;
157 if (vp > va)
159 vp--;
160 va_copy(ap, *vp);
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmgetputm.c70 va_list vp; local
75 va_start(vp, type);
77 va_start(vp);
99 ret = _getmessage(MBG, type, vp);
101 va_end(vp);
115 va_list vp; local
119 va_start(vp, type);
121 va_start(vp);
123 needsize = _putmessage(NULL, type, vp);
124 va_end(vp);
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtrace.c57 va_list vp; local
73 va_start(vp, fmt);
74 (void) vfprintf(fp, fmt, vp);
75 va_end(vp);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpriocntl.c52 static int pc_vaargs2parms(va_list valist, pc_vaparms_t *vp);
127 pc_vaargs2parms(va_list valist, pc_vaparms_t *vp) argument
129 pc_vaparm_t *vpp = &vp->pc_parms[0];
132 for (vp->pc_vaparmscnt = 0;
134 if (++vp->pc_vaparmscnt > PC_VAPARMCNT)
/illumos-gate/usr/src/cmd/mailx/
H A Dvars.c61 register struct var *vp; local
70 vp = lookup(name);
71 if (vp == NOVAR) {
72 if ((vp = (struct var *)
73 calloc(sizeof (*vp), 1)) == NULL)
75 vp->v_name = vcopy(name);
76 vp->v_link = variables[h];
77 variables[h] = vp;
79 vfree(vp->v_value);
80 vp
95 register struct var *vp, *vp2; local
168 register struct var *vp; local
187 register struct var *vp; local
[all...]

Completed in 420 milliseconds

1234567891011>>