Home
last modified time | relevance | path

Searched refs:vfsp (Results 1 – 25 of 71) sorted by relevance

123

/dports/games/qwdtools/mvdsv-0.34/src/
H A Dvfs_pak.c77 if (vfsp->currentpos - vfsp->startpos + bytestoread > vfsp->length) in VFSPAK_ReadBytes()
78 bytestoread = vfsp->length - (vfsp->currentpos - vfsp->startpos); in VFSPAK_ReadBytes()
82 if (vfsp->parentpak->filepos != vfsp->currentpos) { in VFSPAK_ReadBytes()
88 vfsp->parentpak->filepos = vfsp->currentpos; in VFSPAK_ReadBytes()
107 vfsp->currentpos = vfsp->startpos + offset; in VFSPAK_Seek()
113 vfsp->currentpos = vfsp->startpos + vfsp->length + offset; in VFSPAK_Seek()
120 if (vfsp->currentpos > vfsp->length) { in VFSPAK_Seek()
130 return vfsp->currentpos - vfsp->startpos; in VFSPAK_Tell()
145 Q_free(vfsp); in VFSPAK_Close()
156 vfsp = Q_calloc(1, sizeof(*vfsp)); in FSPAK_OpenVFS()
[all …]
/dports/games/mvdsv/mvdsv-0.34/src/
H A Dvfs_pak.c77 if (vfsp->currentpos - vfsp->startpos + bytestoread > vfsp->length) in VFSPAK_ReadBytes()
78 bytestoread = vfsp->length - (vfsp->currentpos - vfsp->startpos); in VFSPAK_ReadBytes()
82 if (vfsp->parentpak->filepos != vfsp->currentpos) { in VFSPAK_ReadBytes()
88 vfsp->parentpak->filepos = vfsp->currentpos; in VFSPAK_ReadBytes()
107 vfsp->currentpos = vfsp->startpos + offset; in VFSPAK_Seek()
113 vfsp->currentpos = vfsp->startpos + vfsp->length + offset; in VFSPAK_Seek()
120 if (vfsp->currentpos > vfsp->length) { in VFSPAK_Seek()
130 return vfsp->currentpos - vfsp->startpos; in VFSPAK_Tell()
145 Q_free(vfsp); in VFSPAK_Close()
156 vfsp = Q_calloc(1, sizeof(*vfsp)); in FSPAK_OpenVFS()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/sys/kern/
H A Dvfs.c88 vfsp->mnt_flag |= MNT_RDONLY; in vfs_setmntopt()
94 vfsp->mnt_flag |= MNT_NODEV; in vfs_setmntopt()
103 vfsp->mnt_flag |= MNT_NOSUID; in vfs_setmntopt()
109 vfsp->mnt_flag |= MNT_NOEXEC; in vfs_setmntopt()
114 vfsp->mnt_flag |= MNT_LOCAL; in vfs_setmntopt()
122 vfsp->mnt_flag |= MNT_RDONLY; in vfs_clearmntopt()
190 vfs_t *vfsp; in traverse() local
207 vfsp = vn_mountedvfs(cvp); in traverse()
208 if (vfsp == NULL) in traverse()
237 struct vfsconf *vfsp; in domount() local
[all …]
H A Dpolicy.c112 secpolicy_fs_mount(kauth_cred_t cred, struct vnode *mvp, struct mount *vfsp) in secpolicy_fs_mount() argument
116 KAUTH_REQ_SYSTEM_MOUNT_NEW, vfsp, NULL, NULL); in secpolicy_fs_mount()
120 secpolicy_fs_unmount(kauth_cred_t cred, struct mount *vfsp) in secpolicy_fs_unmount() argument
124 KAUTH_REQ_SYSTEM_MOUNT_UNMOUNT, vfsp, NULL, NULL); in secpolicy_fs_unmount()
H A Dzfs_stub.c48 zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp) in zfsctl_lookup_objset() argument
55 zfsctl_umount_snapshots(vfs_t *vfsp, int fflags, cred_t *cr) in zfsctl_umount_snapshots() argument
/dports/net/rpki-client/rpki-client-portable-7.6/openbsd/src/lib/libc/gen/
H A Dstatvfs.c26 vfsp->f_bsize = fsp->f_iosize; /* XXX */ in cvt_statfs_to_statvfs()
27 vfsp->f_frsize = fsp->f_bsize; /* XXX */ in cvt_statfs_to_statvfs()
29 vfsp->f_blocks = fsp->f_blocks; in cvt_statfs_to_statvfs()
30 vfsp->f_bfree = fsp->f_bfree; in cvt_statfs_to_statvfs()
33 vfsp->f_files = fsp->f_files; in cvt_statfs_to_statvfs()
34 vfsp->f_ffree = fsp->f_ffree; in cvt_statfs_to_statvfs()
37 vfsp->f_fsid = fsp->f_fsid.val[0]; /* XXX */ in cvt_statfs_to_statvfs()
38 vfsp->f_flag = 0; in cvt_statfs_to_statvfs()
40 vfsp->f_flag |= ST_RDONLY; in cvt_statfs_to_statvfs()
42 vfsp->f_flag |= ST_NOSUID; in cvt_statfs_to_statvfs()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/coda/
H A Dcoda_vfsops.c186 if (CODA_MOUNTED(vfsp)) { in coda_mount()
246 vfsp->mnt_data = mi; in coda_mount()
249 vfsp->mnt_stat.f_fsid = vfsp->mnt_stat.f_fsidx.__fsid_val[0]; in coda_mount()
251 mi->mi_vfsp = vfsp; in coda_mount()
267 mi->mi_vfsp = vfsp; in coda_mount()
284 vfsp->mnt_op->vfs_name, vfsp, l); in coda_mount()
291 vftomi(vfsp)->mi_started = 1; in coda_start()
303 if (!CODA_MOUNTED(vfsp)) { in coda_unmount()
360 if (vfsp == mi->mi_vfsp) { in coda_root()
432 if (!CODA_MOUNTED(vfsp)) { in coda_nb_statvfs()
[all …]
H A Dcnode.h160 #define vftomi(vfsp) ((struct coda_mntinfo *)(vfsp->mnt_data)) argument
161 #define CODA_MOUNTED(vfsp) ((vftomi(vfsp) != (struct coda_mntinfo *)0) \ argument
162 && (vftomi(vfsp)->mi_started))
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_vfsops.c225 if (vfsp != NULL) { in zfs_sync()
501 ASSERT(vfsp); in zfs_register_callbacks()
502 zfsvfs = vfsp->vfs_data; in zfs_register_callbacks()
1150 ASSERT(vfsp); in zfs_domount()
1156 zfsvfs->z_vfs = vfsp; in zfs_domount()
1162 vfsp->vfs_data = NULL; in zfs_domount()
1494 ASSERT(vfsp); in zfs_mountroot()
1564 vfs_unlock(vfsp); in zfs_mountroot()
1696 vfs_getnewfsid(vfsp); in zfs_mount()
1702 UIO_SYSSPACE, vfsp->mnt_op->vfs_name, vfsp, curlwp); in zfs_mount()
[all …]
H A Dzfs_ctldir.c522 vfs_t *vfsp; in zfsctl_rename_snap() local
530 vfsp = vn_mountedvfs(sep->se_root); in zfsctl_rename_snap()
531 ASSERT(vfsp != NULL); in zfsctl_rename_snap()
533 vfs_lock_wait(vfsp); in zfsctl_rename_snap()
550 pathref = vfs_getmntpoint(vfsp); in zfsctl_rename_snap()
557 vfs_setmntpoint(vfsp, newpath); in zfsctl_rename_snap()
559 pathref = vfs_getresource(vfsp); in zfsctl_rename_snap()
566 vfs_setresource(vfsp, newpath); in zfsctl_rename_snap()
568 vfs_unlock(vfsp); in zfsctl_rename_snap()
743 vfs_t *vfsp; in zfsctl_snapdir_lookup() local
[all …]
H A Dzfs_ioctl.c2929 vfs_t *vfsp = NULL; in zfs_unmount_snap() local
2934 vfsp = zfs_get_vfs(fullname); in zfs_unmount_snap()
2937 vfsp = zfs_get_vfs(name); in zfs_unmount_snap()
2940 if (vfsp) { in zfs_unmount_snap()
2943 if ((err = dounmount(vfsp, MNT_FORCE, curlwp)) != 0) in zfs_unmount_snap()
2953 if ((err = vn_vfswlock(vfsp->vfs_vnodecovered)) != 0) { in zfs_unmount_snap()
2954 VFS_RELE(vfsp); in zfs_unmount_snap()
2957 VFS_RELE(vfsp); in zfs_unmount_snap()
2958 if ((err = dounmount(vfsp, flag, kcred)) != 0) in zfs_unmount_snap()
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/sys/sys/
H A Dvfs.h65 #define VFS_HOLD(vfsp) do { \ argument
68 #define VFS_RELE(vfsp) do { \ argument
138 void vfs_setmntopt(vfs_t *vfsp, const char *name, const char *arg,
140 void vfs_clearmntopt(vfs_t *vfsp, const char *name);
141 int vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp);
146 #define vfs_set_feature(vfsp, feature) do { } while (0) argument
147 #define vfs_has_feature(vfsp, feature) (0) argument
H A Dpolicy.h48 struct mount *vfsp);
49 int secpolicy_fs_unmount(kauth_cred_t cred, struct mount *vfsp);
H A Ddnlc.h39 #define dnlc_purge_vfsp(vfsp, count) (0) argument
/dports/lang/micropython/micropython-1.17/extmod/
H A Dvfs.c249 mp_vfs_mount_t **vfsp = &MP_STATE_VM(vfs_mount_table); in mp_vfs_mount() local
250 while (*vfsp != NULL) { in mp_vfs_mount()
251 if ((*vfsp)->len == 1) { in mp_vfs_mount()
253 vfs->next = *vfsp; in mp_vfs_mount()
256 vfsp = &(*vfsp)->next; in mp_vfs_mount()
258 *vfsp = vfs; in mp_vfs_mount()
272 …for (mp_vfs_mount_t **vfsp = &MP_STATE_VM(vfs_mount_table); *vfsp != NULL; vfsp = &(*vfsp)->next) { in mp_vfs_umount() local
273 … if ((mnt_str != NULL && !memcmp(mnt_str, (*vfsp)->str, mnt_len + 1)) || (*vfsp)->obj == mnt_in) { in mp_vfs_umount()
274 vfs = *vfsp; in mp_vfs_umount()
275 *vfsp = (*vfsp)->next; in mp_vfs_umount()
/dports/misc/rump/buildrump.sh-b914579/src/sys/compat/common/
H A Dvfs_syscalls_43.c500 struct vfsops *vfsp; in sysctl_vfs_generic_conf() local
509 vfsp = vfs_getopsbyname(mountcompatnames[vfsnum]); in sysctl_vfs_generic_conf()
510 if (vfsp == NULL) in sysctl_vfs_generic_conf()
513 vfc.vfc_vfsops = vfsp; in sysctl_vfs_generic_conf()
514 strncpy(vfc.vfc_name, vfsp->vfs_name, sizeof(vfc.vfc_name)); in sysctl_vfs_generic_conf()
516 vfc.vfc_refcount = vfsp->vfs_refcount; in sysctl_vfs_generic_conf()
518 vfc.vfc_mountroot = vfsp->vfs_mountroot; in sysctl_vfs_generic_conf()
520 vfs_delref(vfsp); in sysctl_vfs_generic_conf()
/dports/devel/libstatgrab/libstatgrab-0.92.1/src/libstatgrab/
H A Ddisk_stats.c271 struct xvfsconf *vfsp; in init_valid_fs_types() local
283 free(vfsp); in init_valid_fs_types()
301 free(vfsp); in init_valid_fs_types()
302 vfsp = NULL; nbvfs = 0; in init_valid_fs_types()
305 vfsp = calloc( nbvfs, sizeof(*vfsp) ); in init_valid_fs_types()
306 if( NULL == vfsp ) { in init_valid_fs_types()
308 free(vfsp); in init_valid_fs_types()
312 if( vfsp ) { in init_valid_fs_types()
323 free(vfsp); in init_valid_fs_types()
330 if( vfsp ) { in init_valid_fs_types()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/
H A Dvfs_mount.c167 struct vfsops *vfsp = NULL; in vfs_rootmountalloc() local
171 LIST_FOREACH(vfsp, &vfs_list, vfs_list) in vfs_rootmountalloc()
172 if (!strncmp(vfsp->vfs_name, fstypename, in vfs_rootmountalloc()
175 if (vfsp == NULL) { in vfs_rootmountalloc()
179 vfsp->vfs_refcount++; in vfs_rootmountalloc()
182 if ((mp = vfs_mountalloc(vfsp, NULL)) == NULL) in vfs_rootmountalloc()
185 (void)strlcpy(mp->mnt_stat.f_fstypename, vfsp->vfs_name, in vfs_rootmountalloc()
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/dist/uts/common/fs/
H A Dgfs.c566 gfs_root_create(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino, in gfs_root_create() argument
576 VFS_HOLD(vfsp); in gfs_root_create()
577 VN_SET_VFS_TYPE_DEV(vp, vfsp, VDIR, 0); in gfs_root_create()
590 gfs_root_create_file(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino) in gfs_root_create_file() argument
596 VFS_HOLD(vfsp); in gfs_root_create_file()
597 VN_SET_VFS_TYPE_DEV(vp, vfsp, VREG, 0); in gfs_root_create_file()
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h63 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
H A Dzfs_znode.h334 extern int zfs_sync(vfs_t *vfsp, int flag, cred_t *cr);
/dports/misc/rump/buildrump.sh-b914579/src/sys/fs/nfs/client/
H A Dnfs_clsubs.c95 ncl_uninit(struct vfsconf *vfsp) in ncl_uninit() argument
392 ncl_init(struct vfsconf *vfsp) in ncl_init() argument
/dports/chinese/wenju/wenju-1.6/src/tim/tables/
H A Dcj.tim14549 vfsp=
/dports/devel/m17n-db/m17n-db-1.8.0/MIM/
H A Dzh-cangjie.mim14656 ("vfsp" ?��)
/dports/chinese/scim-tables/scim-tables-0.5.10/tables/zh/
H A DCangJie3.txt.in14945 vfsp �� 10

123