Searched refs:fsb (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/regress/lib/libc/mkstemp/
H A Dmkstemp_test.c41 struct stat sb, fsb; local
55 if (fstat(fd, &fsb))
57 if (sb.st_dev != fsb.st_dev || sb.st_ino != fsb.st_ino)
113 struct stat sb, fsb; local
/openbsd-current/sys/arch/i386/i386/
H A Dpowernow-k7.c110 unsigned int fsb; member in struct:k7pnow_cpu_state
128 uint8_t fsb; /* Front Side Bus frequency (MHz) */ member in struct:pst_s
220 state.freq = k7pnow_fid_to_mult[state.fid]/10 * cstate->fsb;
267 cstate->sgtc = psb->ttime * cstate->fsb;
268 if (cstate->sgtc < 100 * cstate->fsb)
269 cstate->sgtc = 100 * cstate->fsb;
280 if (abs(cstate->fsb - pst->fsb) > 5)
422 cstate->fsb = cpuspeed / (k7pnow_fid_to_mult[currentfid]/10);
/openbsd-current/bin/mv/
H A Dmv.c156 struct stat sb, fsb; local
160 if (lstat(from, &fsb)) {
226 if (S_ISDIR(fsb.st_mode)) {
257 return (S_ISREG(fsb.st_mode) ?
258 fastcopy(from, to, &fsb) : mvcopy(from, to));
/openbsd-current/libexec/mail.local/
H A Dmail.local.c157 struct stat sb, fsb; local
220 if (fstat(mbfd, &fsb) == -1) {
225 if (sb.st_dev != fsb.st_dev || sb.st_ino != fsb.st_ino) {
230 if (fsb.st_nlink != 1 || !S_ISREG(fsb.st_mode)) {
/openbsd-current/bin/rm/
H A Drm.c297 struct statfs fsb; local
324 if (fstatfs(fd, &fsb) == -1)
326 bsize = MAXIMUM(fsb.f_iosize, 1024U);
/openbsd-current/usr.sbin/installboot/
H A Di386_installboot.c729 struct stat dsb, fsb; local
777 if (fstat(fd, &fsb) != 0)
789 if (fsb.st_dev / MAXPARTITIONS != dev / MAXPARTITIONS)
793 pp = &dl->d_partitions[DISKPART(fsb.st_dev)];
805 blk = fsbtodb(fs, ino_to_fsba(fs, fsb.st_ino));
815 ino_to_fsbo(fs, fsb.st_ino);
821 ino_to_fsbo(fs, fsb.st_ino);
852 ino_to_fsba(fs, fsb.st_ino));
865 ino_to_fsba(fs, fsb.st_ino),
/openbsd-current/sys/ufs/ffs/
H A Dfs.h534 #define fragnum(fs, fsb) /* calculates (fsb % fs->fs_frag) */ \
535 ((fsb) & ((fs)->fs_frag - 1))
536 #define blknum(fs, fsb) /* calculates rounddown(fsb, fs->fs_frag) */ \
537 ((fsb) &~ ((fs)->fs_frag - 1))
/openbsd-current/sbin/mountd/
H A Dmountd.c741 struct statfs fsb; local
784 statfs(dirpath, &fsb) == -1) {
791 ep = bad ? NULL : ex_search(&fsb.f_fsid);
1054 struct statfs fsb, *ofsp, *fsp; local
1167 statfs(cp, &fsb) >= 0) {
1174 if (ep->ex_fs.val[0] != fsb.f_fsid.val[0] ||
1175 ep->ex_fs.val[1] != fsb.f_fsid.val[1]) {
1184 ep = ex_search(&fsb.f_fsid);
1189 ep->ex_fs = fsb.f_fsid;
1190 len = strlen(fsb
[all...]
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Di9xx_wm.c75 int fsb,
81 if (fsb == 0 || mem == 0)
88 fsb == latency->fsb_freq && mem == latency->mem_freq)
4025 "(found ddr%s fsb freq %d, mem freq %d), "
73 intel_get_cxsr_latency(bool is_desktop, bool is_ddr3, int fsb, int mem) argument

Completed in 146 milliseconds