Home
last modified time | relevance | path

Searched refs:hc (Results 1 – 24 of 24) sorted by relevance

/dragonfly/bin/cpdup/
HDhcproto.h92 int hc_connect(struct HostConf *hc, int readonly);
95 int hc_hello(struct HostConf *hc);
96 int hc_stat(struct HostConf *hc, const char *path, struct stat *st);
97 int hc_lstat(struct HostConf *hc, const char *path, struct stat *st);
98 DIR *hc_opendir(struct HostConf *hc, const char *path);
99 struct HCDirEntry *hc_readdir(struct HostConf *hc, DIR *dir, struct stat **statpp);
100 int hc_closedir(struct HostConf *hc, DIR *dir);
101 int hc_open(struct HostConf *hc, const char *path, int flags, mode_t mode);
102 int hc_close(struct HostConf *hc, int fd);
103 ssize_t hc_read(struct HostConf *hc, int fd, void *buf, size_t bytes);
[all …]
HDhcproto.c116 hc_connect(struct HostConf *hc, int readonly) in hc_connect() argument
118 if (hcc_connect(hc, readonly) < 0) { in hc_connect()
119 fprintf(stderr, "Unable to connect to %s\n", hc->host); in hc_connect()
122 return(hc_hello(hc)); in hc_connect()
136 hc_hello(struct HostConf *hc) in hc_hello() argument
150 trans = hcc_start_command(hc, HC_HELLO); in hc_hello()
157 hc->host); in hc_hello()
163 hc->host, head->error); in hc_hello()
176 hc->version = HCC_INT32(item); in hc_hello()
180 if (hc->version < HCPROTO_VERSION_COMPAT) { in hc_hello()
[all …]
HDhclink.c17 hcc_connect(struct HostConf *hc, int readonly) in hcc_connect() argument
23 if (hc == NULL || hc->host == NULL) in hcc_connect()
33 if ((hc->pid = fork()) == 0) { in hcc_connect()
53 av[n++] = hc->host; in hcc_connect()
60 } else if (hc->pid < 0) { in hcc_connect()
68 hc->fdin = fdin[0]; in hcc_connect()
70 hc->fdout = fdout[1]; in hcc_connect()
106 trans.hc = &hcslave; in hcc_slave()
115 head = hcc_read_command(trans.hc, &trans); in hcc_slave()
152 hcc_read_command(struct HostConf *hc, hctransaction_t trans) in hcc_read_command() argument
[all …]
HDhclink.h25 struct HostConf *hc; member
89 int hcc_connect(struct HostConf *hc, int readonly);
92 struct HCHead *hcc_read_command(struct HostConf *hc, hctransaction_t trans);
93 hctransaction_t hcc_start_command(struct HostConf *hc, int16_t cmd);
101 intptr_t hcc_alloc_descriptor(struct HostConf *hc, void *ptr, int type);
102 void *hcc_get_descriptor(struct HostConf *hc, intptr_t desc, int type);
103 void hcc_set_descriptor(struct HostConf *hc, intptr_t desc, void *ptr, int type);
107 struct HCLeaf *hcc_nextchaineditem(struct HostConf *hc, struct HCHead *head);
108 struct HCLeaf *hcc_currentchaineditem(struct HostConf *hc, struct HCHead *head);
HDcpdup.c137 static int symlink_mfo_test(struct HostConf *hc, struct stat *st1,
1829 symlink_mfo_test(struct HostConf *hc, struct stat *st1, struct stat *st2) in symlink_mfo_test() argument
1833 if (hc->version >= HCPROTO_VERSION_LUCC) { in symlink_mfo_test()
/dragonfly/sys/dev/drm/i915/
HDintel_hangcheck.c295 struct intel_engine_hangcheck *hc) in hangcheck_load_sample() argument
307 hc->acthd = intel_engine_get_active_head(engine); in hangcheck_load_sample()
308 hc->seqno = intel_engine_get_seqno(engine); in hangcheck_load_sample()
312 const struct intel_engine_hangcheck *hc) in hangcheck_store_sample() argument
314 engine->hangcheck.acthd = hc->acthd; in hangcheck_store_sample()
315 engine->hangcheck.seqno = hc->seqno; in hangcheck_store_sample()
316 engine->hangcheck.action = hc->action; in hangcheck_store_sample()
317 engine->hangcheck.stalled = hc->stalled; in hangcheck_store_sample()
322 const struct intel_engine_hangcheck *hc) in hangcheck_get_action() argument
324 if (engine->hangcheck.seqno != hc->seqno) in hangcheck_get_action()
[all …]
/dragonfly/crypto/openssh/
HDumac.c538 static void nh_transform(nh_ctx *hc, const UINT8 *buf, UINT32 nbytes) in nh_transform() argument
547 key = hc->nh_key + hc->bytes_hashed; in nh_transform()
548 nh_aux(key, buf, hc->state, nbytes); in nh_transform()
583 static void nh_reset(nh_ctx *hc) in nh_reset() argument
586 hc->bytes_hashed = 0; in nh_reset()
587 hc->next_data_empty = 0; in nh_reset()
588 hc->state[0] = 0; in nh_reset()
590 hc->state[1] = 0; in nh_reset()
593 hc->state[2] = 0; in nh_reset()
596 hc->state[3] = 0; in nh_reset()
[all …]
/dragonfly/contrib/lvm2/dist/libdm/datastruct/
HDhash.c95 struct dm_hash_table *hc = dm_malloc(sizeof(*hc)); in dm_hash_create() local
97 if (!hc) { in dm_hash_create()
102 memset(hc, 0, sizeof(*hc)); in dm_hash_create()
108 hc->num_slots = new_size; in dm_hash_create()
109 len = sizeof(*(hc->slots)) * new_size; in dm_hash_create()
110 if (!(hc->slots = dm_malloc(len))) { in dm_hash_create()
114 memset(hc->slots, 0, len); in dm_hash_create()
115 return hc; in dm_hash_create()
118 dm_free(hc->slots); in dm_hash_create()
119 dm_free(hc); in dm_hash_create()
/dragonfly/sys/dev/virtual/hyperv/
HDhyperv.c139 uint64_t hc, hc_orig; in hypercall_create() local
156 hc = ((hypercall_context.hc_dma.hv_paddr >> PAGE_SHIFT) << in hypercall_create()
160 wrmsr(MSR_HV_HYPERCALL, hc); in hypercall_create()
165 hc = rdmsr(MSR_HV_HYPERCALL); in hypercall_create()
166 if ((hc & MSR_HV_HYPERCALL_ENABLE) == 0) { in hypercall_create()
180 uint64_t hc; in hypercall_destroy() local
186 hc = rdmsr(MSR_HV_HYPERCALL); in hypercall_destroy()
187 wrmsr(MSR_HV_HYPERCALL, (hc & MSR_HV_HYPERCALL_RSVD_MASK)); in hypercall_destroy()
/dragonfly/usr.bin/window/
HDcompress.c430 short *hc; in cc_sweep0() local
437 hc = cc_hashcodes; in cc_sweep0()
440 if ((*hc++ = *p++) == pc) in cc_sweep0()
441 hc[-1] = -1; in cc_sweep0()
445 hc = cc_hashcodes; in cc_sweep0()
447 if ((c = *p++) == pc || *hc < 0) in cc_sweep0()
450 c = hash(*hc, c); in cc_sweep0()
451 *hc++ = c; in cc_sweep0()
462 short *hc; in cc_sweep() local
476 hc = cc_hashcodes; in cc_sweep()
[all …]
/dragonfly/sys/dev/sound/pci/
HDhdspe-pcm.c124 if (scp->hc->play) in hdspemixer_init()
127 if (scp->hc->rec) in hdspemixer_init()
322 ch->lslot = scp->hc->left; in hdspechan_init()
323 ch->rslot = scp->hc->right; in hdspechan_init()
645 ksnprintf(desc, sizeof(desc), "HDSPe AIO [%s]", scp->hc->descr); in hdspe_pcm_attach()
654 err = pcm_register(dev, scp, scp->hc->play, scp->hc->rec); in hdspe_pcm_attach()
661 for (i = 0; i < scp->hc->play; i++) { in hdspe_pcm_attach()
666 for (i = 0; i < scp->hc->rec; i++) { in hdspe_pcm_attach()
HDhdspe.h134 struct hdspe_channel *hc; member
HDhdspe.c324 scp->hc = &chan_map[i]; in hdspe_attach()
/dragonfly/contrib/binutils-2.27/gold/
HDdwarf_reader.h186 Abbrev_code(unsigned int t, bool hc) in Abbrev_code()
187 : tag(t), has_children(hc), has_sibling_attribute(false), attributes() in Abbrev_code()
/dragonfly/contrib/binutils-2.34/gold/
HDdwarf_reader.h186 Abbrev_code(unsigned int t, bool hc) in Abbrev_code()
187 : tag(t), has_children(hc), has_sibling_attribute(false), attributes() in Abbrev_code()
/dragonfly/share/termcap/
HDtermcap.src115 :bs:hc:os:pl:co#132:do=^J:kb=^H:up=\E\n:\
120 :kb=^H:le=^H:bs:co#132:hc:hu=\EU:hd=\ED:os:pt:up=\E\n:
151 :kb=^h:le=^H:bs:co#132:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
153 :le=^H:bs:co#132:hc:hd=\Eh:hu=\EH:os:pt:up=^Z:do=^J:
156 :do=^J:le=^H:bs:hc:hd=\E9:hu=\E8:os:up=\E7:
166 :ct=\E3:st=\E1:do=^J:kb=^h:le=^H:bs:co#132:hc:hu=\E]s\E9\E]W:\
170 :kb=^h:le=^H:bs:co#80:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
194 :co#132:le=^H:bs:hc:os:pt:do=^J:ct=\E2:st=\E1:
599 :do=^J:co#132:hc:os:
740 :co#120:hc:os:do=^J:
[all …]
/dragonfly/sys/dev/disk/sym/
HDsym_hipd.c611 int hc = VTOB_HASH_CODE(vaddr); in ___dma_getp() local
614 vbp->next = mp->vtob[hc]; in ___dma_getp()
615 mp->vtob[hc] = vbp; in ___dma_getp()
636 int hc = VTOB_HASH_CODE(m); in ___dma_freep() local
638 vbpp = &mp->vtob[hc]; in ___dma_freep()
741 int hc = VTOB_HASH_CODE(m); in __vtobus() local
748 vp = mp->vtob[hc]; in __vtobus()
/dragonfly/sys/dev/netif/bwn/bwn/
HDif_bwn.c1726 const struct bwn_channel *hc; in bwn_addchannels() local
1728 hc = &ci->channels[i]; in bwn_addchannels()
1731 bwn_addchan(c, hc->freq, flags, hc->ieee, hc->maxTxPow); in bwn_addchannels()
/dragonfly/contrib/file/magic/Magdir/
HDwordprocessors336 # URL: https://support.corel.com/hc/en-us/articles/215876258-Writing-Tools-Spell-Check…
/dragonfly/contrib/tcp_wrappers/
HDCHANGES240 services. Files: tli_sequent.[hc].
/dragonfly/contrib/gcc-8.0/libgcc/
HDlibgcc2.c1905 # define MODE hc
/dragonfly/contrib/ncurses/include/
HDCaps220 hard_copy hc bool hc - - YBCG- hardcopy …
/dragonfly/sys/net/pf/
HDpf.c1981 u_int16_t *ic, u_int16_t *hc, u_int8_t u, sa_family_t af) in pf_change_icmp() argument
2042 *hc = pf_cksum_fixup(pf_cksum_fixup(*hc, in pf_change_icmp()
/dragonfly/contrib/ncurses/misc/
HDterminfo.src311 OTbs, hc, os,
7211 am, hc,
19180 hc, os,
19712 hc, os, xon,
19716 OTbs, hc, os, xon,
19741 OTbs, am, hc, os, xon,
21764 OTbs, hc, os,
21768 OTbs, hc, os,
21788 OTbs, hc, os,
21796 OTbs, am, hc, os,
[all …]