hf
HANDLE hf = NULL;
hf = CreateFile(filename, FILE_ALL_ACCESS, 0, NULL, OPEN_EXISTING,
if (hf == INVALID_HANDLE_VALUE) {
CloseHandle(hf);
HANDLE hf = NULL;
hf = CreateFile(lpszCmdLine, GENERIC_READ | DELETE, 0, NULL, OPEN_EXISTING,
if (hf == INVALID_HANDLE_VALUE) {
CloseHandle(hf);
int (*hf)(SSL *) = sc->handshake_func;
if (hf == sm->ssl_connect)
else if (hf == sm->ssl_accept)
host_close(hf->hf_fd);
hostfs_free(hf);
hostfs_file *hf = f->f_fsdata;
sz = host_read(hf->hf_fd, start, size);
hostfs_file *hf = f->f_fsdata;
err = host_llseek(hf->hf_fd, offh, offl, &res, whence);
hostfs_file *hf = f->f_fsdata;
if (host_fstat(hf->hf_fd, &ksb) < 0)
hostfs_file *hf = f->f_fsdata;
if (hf->hf_curdent == NULL) {
dentlen = host_getdents64(hf->hf_fd, hf->hf_dents, sizeof(hf->hf_dents));
hf->hf_dentlen = dentlen;
hf->hf_curdent = hf->hf_dents;
dent = (struct host_dirent64 *)hf->hf_curdent;
hf->hf_curdent += dent->d_reclen;
if (hf->hf_curdent >= hf->hf_dents + hf->hf_dentlen) {
hf->hf_curdent = NULL;
hf->hf_dentlen = 0;
hostfs_file *hf;
hf = malloc(sizeof(*hf));
if (hf != NULL)
memset(hf, 0, sizeof(*hf));
return (hf);
hostfs_free(hostfs_file *hf)
free(hf);
hostfs_file *hf;
hf = hostfs_alloc();
hf->hf_fd = host_open(path, HOST_O_RDONLY, 0);
if (hf->hf_fd < 0) {
hostfs_free(hf);
if (host_fstat(hf->hf_fd, &ksb) < 0) {
hostfs_free(hf);
if (S_ISDIR(hf->hf_fd)) {
hf->hf_type = dir;
hf->hf_type = regular;
f->f_fsdata = hf;
hostfs_file *hf = f->f_fsdata;
uint64_t hf;
hf = bwn_hf_read(mac);
hf |= BWN_HF_GPHY_SYM_WORKAROUND;
hf |= BWN_HF_PAGAINBOOST_OFDM_ON;
hf |= BWN_HF_GPHY_DC_CANCELFILTER;
hf |= BWN_HF_FORCE_VCO_RECALC;
hf |= BWN_HF_4318_TSSI;
hf |= BWN_HF_SLOWCLOCK_REQ_OFF;
hf |= BWN_HF_PCI_SLOWCLOCK_WORKAROUND;
hf &= ~BWN_HF_SKIP_CFP_UPDATE;
bwn_hf_write(mac, hf);
uint64_t hf;
hf = bwn_hf_read(mac);
hf |= BWN_HF_BT_COEXISTALT;
hf |= BWN_HF_BT_COEXIST;
bwn_hf_write(mac, hf);
uint64_t hf;
hf = bwn_hf_read(mac) & ~BWN_HF_UCODE_ANTDIV_HELPER;
bwn_hf_write(mac, hf);
hf |= BWN_HF_UCODE_ANTDIV_HELPER;
bwn_hf_write(mac, hf);
static const uint8_t hf[] = {
bwn_tab_write_multi(mac, BWN_TAB_1(16, 0), N(hf), hf);
float vf, hf;
hf = 1000.0 * vmp->dot_clock / vmp->htotal;
vf = 1.0 * hf / vmp->vtotal;
vmp->hdisplay, vmp->vdisplay, vf, hf, vmp->dot_clock / 1000.0);
h = dn_ht_init(NULL, 10, 0, hf, matchf, NULL);
h = dn_ht_init(NULL, 10, 0, hf, matchf, newfn);