/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/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/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/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/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/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,
|
/src/libexec/lfs_cleanerd/ |
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/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/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...] |