Searched refs:v_fd (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 125 (void) fstat(vp->v_fd, &st); in fop_read() 144 n = pread(vp->v_fd, iov->iov_base, cnt, uio->uio_loffset); in fop_read() 187 n = pwrite(vp->v_fd, iov->iov_base, iov->iov_len, in fop_write() 200 (void) fsync(vp->v_fd); in fop_write() 245 if (fstat(vp->v_fd, &st) == -1) in fop_getattr() 267 if (ftruncate(vp->v_fd, vap->va_size) == -1) in fop_setattr() 290 (void) futimesat(vp->v_fd, NULL, times); in fop_setattr() 339 if (fstatat(dvp->v_fd, name, &st, AT_SYMLINK_NOFOLLOW) == -1) in fop_lookup() 353 fd = openat(dvp->v_fd, name, omode, 0); in fop_lookup() 401 err = fstatat(dvp->v_fd, name, &st, AT_SYMLINK_NOFOLLOW); in fop_create() [all …]
|
H A D | vncache.c | 63 vp->v_fd = -1; in vn_cache_constructor() 87 ASSERT(vp->v_fd == -1); in vn_recycle() 150 ASSERT(vp->v_fd != -1); in vn_free() 151 (void) close(vp->v_fd); in vn_free() 152 vp->v_fd = -1; in vn_free() 224 new_vp->v_fd = fd; in vncache_enter()
|
H A D | fake_xattr.c | 54 error = fgetattr(vp->v_fd, XATTR_VIEW_READWRITE, &nvl); in fop__getxvattr() 64 if (fgetattr(vp->v_fd, XATTR_VIEW_READONLY, &nvl) == 0) { in fop__getxvattr() 266 error = fsetattr(vp->v_fd, XATTR_VIEW_READWRITE, nvl); in fop__setxvattr()
|
H A D | fake_vfs.c | 162 rc = fstatvfs64(vp->v_fd, sp); in fsop_statfs()
|
/titanic_44/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 473 vp->v_fd = fd; in vn_open() 508 iolen = pread64(vp->v_fd, addr, len, offset); in vn_rdwr() 522 iolen = pwrite64(vp->v_fd, addr, split, offset); in vn_rdwr() 523 iolen += pwrite64(vp->v_fd, (char *)addr + split, in vn_rdwr() 539 close(vp->v_fd); in vn_close() 555 if (fstat64(vp->v_fd, &st) == -1) { in fop_getattr() 556 close(vp->v_fd); in fop_getattr() 777 if (fstat64(vp->v_fd, &st) == -1) { in kobj_get_filesize()
|
/titanic_44/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 401 int v_fd; member 479 #define VOP_FSYNC(vp, f, cr, ct) fsync((vp)->v_fd)
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | vnode.h | 249 int v_fd; member
|
/titanic_44/usr/src/cmd/ztest/ |
H A D | ztest.c | 4870 (void) close(vf->vf_vnode->v_fd); in ztest_fault_inject() 4871 vf->vf_vnode->v_fd = -1; in ztest_fault_inject()
|