HomeSort by: relevance | last modified time | path
    Searched refs:fsp (Results 1 - 23 of 23) sorted by relevancy

  /src/usr.bin/fstat/
isofs.c 48 isofs_filestat(struct vnode *vp, struct filestat *fsp)
56 fsp->fsid = inode.i_dev & 0xffff;
57 fsp->fileid = inode.i_number;
58 fsp->mode = inode.inode.iso_mode;
59 fsp->size = inode.i_size;
60 fsp->rdev = inode.i_dev;
zfs.c 48 zfs_filestat(struct vnode *vp, struct filestat *fsp)
69 fsp->fsid = mt.mnt_stat.f_fsidx.__fsid_val[0];
70 fsp->fileid = inode.z_id;
71 fsp->mode = inode.z_mode;
72 fsp->size = inode.z_size;
73 fsp->rdev = 0;
ptyfs.c 58 ptyfs_filestat(struct vnode *vp, struct filestat *fsp)
74 fsp->fsid = mt.mnt_stat.f_fsidx.__fsid_val[0];
75 fsp->fileid = pn.ptyfs_fileno;
76 fsp->mode = pn.ptyfs_mode;
77 fsp->size = 0;
86 fsp->rdev = sn.sn_rdev;
87 fsp->mode |= S_IFCHR;
90 fsp->rdev = 0;
91 fsp->mode |= S_IFDIR;
tmpfs.c 48 tmpfs_filestat(struct vnode *vp, struct filestat *fsp)
64 fsp->fsid = mt.mnt_stat.f_fsidx.__fsid_val[0];
65 fsp->fileid = tn.tn_id;
66 fsp->mode = tn.tn_mode | getftype(vp->v_type);
67 fsp->size = tn.tn_size;
71 fsp->rdev = tn.tn_spec.tn_dev.tn_rdev;
74 fsp->rdev = 0;
ntfs.c 51 ntfs_filestat(struct vnode *vp, struct filestat *fsp)
74 fsp->fsid = ntnode.i_dev & 0xffff;
75 fsp->fileid = ntnode.i_number;
76 fsp->mode = (mode_t)ntm.ntm_mode | getftype(vp->v_type);
77 fsp->size = fn.f_size;
78 fsp->rdev = 0; /* XXX */
fstat.c 568 vfilestat(struct vnode *vp, struct filestat *fsp)
584 if (!ufs_filestat(vp, fsp))
588 if (!msdosfs_filestat(vp, fsp))
592 if (!nfs_filestat(vp, fsp))
596 if (!ext2fs_filestat(vp, fsp))
600 if (!isofs_filestat(vp, fsp))
604 if (!ntfs_filestat(vp, fsp))
608 if (!ptyfs_filestat(vp, fsp))
612 if (!tmpfs_filestat(vp, fsp))
617 if (!zfs_filestat(vp, fsp))
    [all...]
  /src/libexec/lfs_cleanerd/
cleansrv.c 56 extern struct clfs **fsp;
83 nfsp = (struct clfs **)realloc(fsp,
84 nfss * sizeof(*fsp));
89 fsp = nfsp;
91 fsp[nfss - 1] = (struct clfs *)malloc(sizeof(**fsp));
92 if (fsp[nfss - 1] == NULL) {
99 if ((r = init_fs(fsp[nfss - 1], cmd.data)) < 0) {
102 handle_error(fsp, nfss - 1);
lfs_cleanerd.c 74 struct clfs **fsp; /* Array of extended filesystem structures */ variable in typeref:struct:clfs **
1621 fsp = (struct clfs **)malloc(sizeof(*fsp));
1622 fsp[0] = (struct clfs *)calloc(1, sizeof(**fsp));
1624 if (init_unmounted_fs(fsp[0], argv[0]) < 0) {
1627 dlog("Filesystem has %d segments", fsp[0]->lfs_nseg);
1628 for (i = 0; i < fsp[0]->lfs_nseg; i++) {
1629 load_segment(fsp[0], i, &bip, &bic);
1640 fsp = (struct clfs **)malloc(nfss * sizeof(*fsp))
    [all...]
  /src/games/gomoku/
makemove.c 119 struct spotstr *fsp = &board[mv]; local in function:makemove
121 for (int f = 5; --f >= 0; fsp -= d) { /* for each frame */
122 if (fsp->s_occ == BORDER)
124 if (is_blocked(fsp, r))
127 struct combostr *cbp = &frames[fsp->s_frame[r]];
130 int val = old_weight_value(fsp, r);
133 bool space = fsp->s_occ == EMPTY;
135 sp = fsp;
142 set_blocked(fsp, r);
144 fsp->s_fval[BLACK][r].s = 0x600
    [all...]
pickmove.c 457 struct spotstr *fsp = osp; local in function:makecombo2
459 for (u_char f = 0; f < 5; f++, fsp -= d) { /* for each frame */
460 if (fsp->s_occ == BORDER)
462 if ((fsp->s_flags & bmask) != 0)
466 fcb.s = fsp->s_fval[curcolor][r].s;
495 fcbp = &frames[fsp->s_frame[r]];
567 struct spotstr *fsp; local in function:addframes
599 fsp = &board[cbp->c_vertex];
602 if ((fsp->s_flags & (FFLAG << r)) != 0)
609 fcb.s = fsp->s_fval[curcolor][r].s
    [all...]
  /src/sys/arch/sparc64/sparc64/
netbsd32_machdep.c 450 struct fpstate *fsp;
460 fsp = l->l_md.md_fpstate;
461 memcpy(&fpr->__fpu_fr, fsp->fs_regs, sizeof (fpr->__fpu_fr));
536 struct fpstate *fsp; local in function:netbsd32_cpu_setmcontext
550 if ((fsp = l->l_md.md_fpstate) == NULL) {
551 fsp = pool_cache_get(fpstate_cache, PR_WAITOK);
552 l->l_md.md_fpstate = fsp;
558 /* Note: sizeof fpr->__fpu_fr <= sizeof fsp->fs_regs. */
559 memcpy(fsp->fs_regs, fpr->__fpu_fr, sizeof (fpr->__fpu_fr));
560 fsp->fs_fsr = fpr->__fpu_fsr; /* don't care about fcc1-3 *
873 struct fpstate64 *fsp; local in function:cpu_setmcontext32
958 struct fpstate64 *fsp; local in function:cpu_getmcontext32
    [all...]
machdep.c 2480 struct fpstate64 *fsp; local in function:cpu_getmcontext
2490 fsp = l->l_md.md_fpstate;
2491 memcpy(&fpr->__fpu_fr, fsp->fs_regs, sizeof (fpr->__fpu_fr));
2493 mcp->__fpregs.__fpu_fsr = fsp->fs_fsr;
2582 struct fpstate64 *fsp; local in function:cpu_setmcontext
2591 if ((fsp = l->l_md.md_fpstate) == NULL) {
2592 fsp = pool_cache_get(fpstate_cache, PR_WAITOK);
2593 l->l_md.md_fpstate = fsp;
2598 /* Note: sizeof fpr->__fpu_fr <= sizeof fsp->fs_regs. */
2599 memcpy(fsp->fs_regs, &fpr->__fpu_fr, sizeof (fpr->__fpu_fr))
    [all...]
  /src/sys/fs/nfs/client/
nfs_clport.c 1009 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp)
1012 if ((nmp->nm_wsize == 0 || fsp->fs_wtpref < nmp->nm_wsize) &&
1013 fsp->fs_wtpref >= NFS_FABLKSIZE)
1014 nmp->nm_wsize = (fsp->fs_wtpref + NFS_FABLKSIZE - 1) &
1016 if (fsp->fs_wtmax < nmp->nm_wsize && fsp->fs_wtmax > 0) {
1017 nmp->nm_wsize = fsp->fs_wtmax & ~(NFS_FABLKSIZE - 1);
1019 nmp->nm_wsize = fsp->fs_wtmax;
1023 if ((nmp->nm_rsize == 0 || fsp->fs_rtpref < nmp->nm_rsize) &&
1024 fsp->fs_rtpref >= NFS_FABLKSIZE
    [all...]
nfs_clrpcops.c 4047 nfsrpc_statfs(vnode_t vp, struct nfsstatfs *sbp, struct nfsfsinfo *fsp,
4072 NULL, NULL, sbp, fsp, NULL, 0, NULL, NULL, NULL, p,
4187 nfsrpc_fsinfo(vnode_t vp, struct nfsfsinfo *fsp, struct ucred *cred,
4204 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++);
4205 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++);
4206 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++);
4207 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++);
4208 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++);
4209 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++);
4210 fsp->fs_dtpref = fxdr_unsigned(u_int32_t, *tl++)
    [all...]
  /src/sbin/fsck/
fsutil.c 189 struct fstab *fsp; local in function:blockcheck
239 } else if ((fsp = getfsfile(newname)) != 0 && !retried) {
240 newname = getfsspecname(cbuf, sizeof(cbuf), fsp->fs_spec);
  /src/sys/fs/nfs/common/
nfs_commonsubs.c 813 struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp,
874 if (fsp != NULL) {
875 fsp->fs_rtmax = 8192;
876 fsp->fs_rtpref = 8192;
877 fsp->fs_maxname = NFS_MAXNAMLEN;
878 fsp->fs_wtmax = 8192;
879 fsp->fs_wtpref = 8192;
880 fsp->fs_wtmult = NFS_FABLKSIZE;
881 fsp->fs_dtpref = 8192;
882 fsp->fs_maxfilesize = 0xffffffffffffffffull
    [all...]
  /src/usr.sbin/quot/
quot.c 347 struct fsizes *fp, **fsp; local in function:dofsizes
377 for (fsp = &fsizes; (fp = *fsp) != NULL;
378 fsp = &fp->fsz_next) {
385 fp->fsz_next = *fsp;
386 *fsp = fp;
  /src/sys/coda/
coda_venus.h 132 /*out*/ struct coda_statfs *fsp);
coda_venus.c 718 /*out*/ struct coda_statfs *fsp)
729 *fsp = outp->stat;
  /src/sys/nfs/
nfs_vfsops.c 251 struct nfsv3_fsinfo *fsp; local in function:nfs_fsinfo
267 nfsm_dissect(fsp, struct nfsv3_fsinfo *, NFSX_V3FSINFO);
268 pref = fxdr_unsigned(u_int32_t, fsp->fs_wtpref);
273 xmax = fxdr_unsigned(u_int32_t, fsp->fs_wtmax);
279 pref = fxdr_unsigned(u_int32_t, fsp->fs_rtpref);
284 xmax = fxdr_unsigned(u_int32_t, fsp->fs_rtmax);
290 pref = fxdr_unsigned(u_int32_t, fsp->fs_dtpref);
300 maxfsize = fxdr_hyper(&fsp->fs_maxfilesize);
  /src/usr.sbin/mountd/
mountd.c 960 int got_nondir, char *cp, struct exportlist **ep, struct statvfs *fsp)
965 if (statvfs1(cp, fsp, ST_WAIT) == -1) {
971 if ((fsp->f_flag & MNT_AUTOMOUNTED) != 0)
982 if ((*ep)->ex_fs.__fsid_val[0] != fsp->f_fsidx.__fsid_val[0] ||
983 (*ep)->ex_fs.__fsid_val[1] != fsp->f_fsidx.__fsid_val[1]) {
994 *ep = ex_search(&fsp->f_fsidx);
997 (*ep)->ex_fs = fsp->f_fsidx;
998 (*ep)->ex_fsdir = estrdup(fsp->f_mntonname);
1002 fsp->f_fsidx.__fsid_val[0], fsp->f_fsidx.__fsid_val[1])
1232 struct statvfs *fsp; local in function:get_exportlist
    [all...]
  /src/sys/dev/scsipi/
ses.c 1750 uint8_t fsp; local in function:safte_set_objstat
1752 fsp = 4;
1754 fsp = 3;
1756 fsp = 2;
1758 fsp = 1;
1760 (void) wrbuf16(ssc, SAFTE_WT_FANSPD, idx, fsp, 0, slp);
  /src/lib/libcurses/
refresh.c 1146 __LDATA *nsp, *csp, *cp, *cep, *fsp; local in function:makech
1240 nsp = fsp = &win->alines[wy]->line[wx];
1420 nsp == fsp ? NULL : nsp - 1,

Completed in 31 milliseconds