Home
last modified time | relevance | path

Searched refs:fsb (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/openbsm/compat/
H A Dflopen.h41 struct stat sb, fsb; in flopen() local
80 if (fstat(fd, &fsb) == -1) { in flopen()
87 if (sb.st_dev != fsb.st_dev || in flopen()
88 sb.st_ino != fsb.st_ino) { in flopen()
/freebsd/lib/libutil/
H A Dflopen.c52 struct stat sb, fsb; in vflopenat() local
87 if (fstat(fd, &fsb) == -1) { in vflopenat()
94 if (sb.st_dev != fsb.st_dev || in vflopenat()
95 sb.st_ino != fsb.st_ino) { in vflopenat()
/freebsd/sys/x86/cpufreq/
H A Dpowernow.c84 uint8_t fsb; member
217 u_int fsb; member
399 sc->pll * (uint64_t) sc->fsb, in pn8_setfidvid()
412 sc->pll * (uint64_t) sc->fsb, in pn8_setfidvid()
571 state.freq = 100 * pn7_fid_to_mult[state.fid] * sc->fsb; in decode_pst()
577 state.freq = 100 * pn8_fid_to_mult[state.fid] * sc->fsb; in decode_pst()
716 sc->sgtc = psb->settlingtime * sc->fsb; in pn_decode_pst()
717 if (sc->sgtc < 100 * sc->fsb) in pn_decode_pst()
718 sc->sgtc = 100 * sc->fsb; in pn_decode_pst()
736 if (abs(sc->fsb - pst->fsb) > 5) in pn_decode_pst()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_diff.c264 struct zfs_stat fsb, tsb; in write_inuse_diffs_one() local
284 MAXPATHLEN, &fsb); in write_inuse_diffs_one()
314 fmode = fsb.zs_mode & S_IFMT; in write_inuse_diffs_one()
316 if (fmode == S_IFDIR || tmode == S_IFDIR || fsb.zs_links == 0 || in write_inuse_diffs_one()
320 change = tsb.zs_links - fsb.zs_links; in write_inuse_diffs_one()
331 print_link_change(fp, di, change, fobjname, &fsb); in write_inuse_diffs_one()
334 print_file(fp, di, ZDIFF_REMOVED, fobjname, &fsb); in write_inuse_diffs_one()
338 if (fmode != tmode && fsb.zs_gen == tsb.zs_gen) in write_inuse_diffs_one()
342 if (fsb.zs_gen == tsb.zs_gen) { in write_inuse_diffs_one()
344 if (fsb.zs_ctime[0] == tsb.zs_ctime[0] && in write_inuse_diffs_one()
[all …]
/freebsd/usr.bin/sort/
H A Dsort.c913 struct stat fsb, rsb; in get_random_seed() local
930 if (fstat(rsfd, &fsb) != 0) in get_random_seed()
933 if (!S_ISREG(fsb.st_mode) && !S_ISCHR(fsb.st_mode)) in get_random_seed()
941 if (S_ISREG(fsb.st_mode)) { in get_random_seed()
942 if (fsb.st_size > (off_t)sizeof(randseed)) in get_random_seed()
944 " %zu)!", (intmax_t)fsb.st_size, in get_random_seed()
946 else if (fsb.st_size < 1) in get_random_seed()
952 rd = read(rsfd, randseed, fsb.st_size); in get_random_seed()
956 if (rd < (ssize_t)fsb.st_size) in get_random_seed()
958 } else if (S_ISCHR(fsb.st_mode)) { in get_random_seed()
[all …]
/freebsd/contrib/sendmail/mail.local/
H A Dmail.local.c1010 struct stat fsb; local
1251 else if (fstat(mbfd, &fsb) < 0 ||
1252 fsb.st_nlink != 1 ||
1254 !S_ISREG(fsb.st_mode) ||
1255 sb.st_dev != fsb.st_dev ||
1256 sb.st_ino != fsb.st_ino ||
1258 sb.st_gen != fsb.st_gen ||
1260 sb.st_uid != fsb.st_uid)
1433 sb.st_dev != fsb.st_dev ||
1434 sb.st_ino != fsb.st_ino ||
[all …]
/freebsd/usr.sbin/mountd/
H A Dmountd.c1140 struct statfs fsb; in mntsrv() local
1201 statfs(dirpath, &fsb) < 0) { in mntsrv()
1226 ep = ex_search(&fsb.f_fsid, exphead); in mntsrv()
1562 struct statfs fsb; in get_exportlist_one() local
1655 check_statfs(unvis_dir, &fsb, &err_msg)) { in get_exportlist_one()
1656 if ((fsb.f_flags & MNT_AUTOMOUNTED) != 0) in get_exportlist_one()
1686 if (fsidcmp(&ep->ex_fs, &fsb.f_fsid) in get_exportlist_one()
1697 ep = ex_search(&fsb.f_fsid, exphead); in get_exportlist_one()
1700 ep->ex_fs = fsb.f_fsid; in get_exportlist_one()
1701 ep->ex_fsdir = strdup(fsb.f_mntonname); in get_exportlist_one()
[all …]
/freebsd/stand/libsa/
H A Dufsread.c74 #define FS_TO_VBA(fs, fsb, off) (fsbtodb(fs, fsb) + \ argument
76 #define FS_TO_VBO(fs, fsb, off) ((off) & VBLKMASK) argument
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c11569 new_total = acked_amount + rack->r_ctl.fsb.left_to_send; in rack_gain_for_fastoutput()
11575 rack->r_ctl.fsb.left_to_send = new_total; in rack_gain_for_fastoutput()
11576 …KASSERT((rack->r_ctl.fsb.left_to_send <= (sbavail(&rack->rc_inp->inp_socket->so_snd) - (tp->snd_ma… in rack_gain_for_fastoutput()
11578 rack, rack->r_ctl.fsb.left_to_send, in rack_gain_for_fastoutput()
12217 if ((out + rack->r_ctl.fsb.left_to_send) > tp->snd_wnd) { in rack_validate_fo_sendwin_up()
12224 rack->r_ctl.fsb.left_to_send = tp->snd_wnd - out; in rack_validate_fo_sendwin_up()
12225 if (rack->r_ctl.fsb.left_to_send < ctf_fixed_maxseg(tp)) { in rack_validate_fo_sendwin_up()
14093 rack->r_ctl.fsb.tcp_ip_hdr_len = sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in rack_init_fsb_block()
14094 ip6 = (struct ip6_hdr *)rack->r_ctl.fsb.tcp_ip_hdr; in rack_init_fsb_block()
14096 rack->r_ctl.fsb.tcp_ip_hdr_len += sizeof(struct udphdr); in rack_init_fsb_block()
[all …]
H A Dtcp_rack.h386 struct rack_fast_send_blk fsb; /* The fast-send block */ member
/freebsd/sys/ufs/ffs/
H A Dfs.h717 #define fragnum(fs, fsb) /* calculates (fsb % fs->fs_frag) */ \ argument
718 ((fsb) & ((fs)->fs_frag - 1))
719 #define blknum(fs, fsb) /* calculates rounddown(fsb, fs->fs_frag) */ \ argument
720 ((fsb) &~ ((fs)->fs_frag - 1))
/freebsd/sys/contrib/xen/arch-x86/hvm/
H A Dsave.h530 uint64_t fsb; /* FSB route, not supported now */ member