/src/sys/dev/sdmmc/ |
sdhc.c | 106 #define HDEVNAME(hp) (device_xname((hp)->sc->sc_dev)) 109 hread1(struct sdhc_host *hp, bus_size_t reg) 112 if (!ISSET(hp->sc->sc_flags, SDHC_FLAG_32BIT_ACCESS)) 113 return bus_space_read_1(hp->iot, hp->ioh, reg); 114 return bus_space_read_4(hp->iot, hp->ioh, reg & -4) >> (8 * (reg & 3)); 118 hread2(struct sdhc_host *hp, bus_size_t reg) 121 if (!ISSET(hp->sc->sc_flags, SDHC_FLAG_32BIT_ACCESS) 255 const struct sdhc_host * const hp = saa->saa_sch; local in function:sdhc_cfprint 278 struct sdhc_host *hp; local in function:sdhc_host_found 666 struct sdhc_host *hp; local in function:sdhc_detach 715 struct sdhc_host *hp; local in function:sdhc_suspend 747 struct sdhc_host *hp; local in function:sdhc_resume 781 struct sdhc_host *hp; local in function:sdhc_shutdown 798 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_host_reset1 856 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_host_reset 869 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_host_ocr 877 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_host_maxblklen 888 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_card_detect 908 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_write_protect 926 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_bus_power 1098 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_bus_clock_ddr 1303 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_bus_width 1357 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_bus_rod 1368 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_card_enable_intr 1386 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_card_intr_ack 1398 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_signal_voltage 1535 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_execute_tuning 1547 struct sdhc_host *hp = arg; local in function:sdhc_tuning_timer 1555 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_hw_reset 1589 struct sdhc_host *hp = (struct sdhc_host *)sch; local in function:sdhc_exec_command 2371 struct sdhc_host *hp; local in function:sdhc_intr [all...] |
/src/usr.sbin/bootp/common/ |
dumptab.c | 51 struct host *hp; local in function:dumptab 109 for (hp = (struct host *) hash_FirstEntry(nmhashtable); hp != NULL; 110 hp = (struct host *) hash_NextEntry(nmhashtable)) { 111 dump_host(fp, hp); 124 * Dump all the available information on the host pointed to by "hp". 129 dump_host(FILE *fp, struct host *hp) 132 if (hp) { 133 fprintf(fp, "%s:", (hp->hostname ? 134 hp->hostname->string : "?")) [all...] |
dovend.c | 45 dovend_rfc1497(struct host *hp, byte *buf, int len) 57 hp->hostname->string, MSG); \ 74 if (hp->flags.time_offset) { 78 insert_u_long(htonl(hp->time_offset), &vp); /* -4 bytes */ 84 if (hp->flags.swap_server) { 89 insert_u_long(hp->swap_server.s_addr, &vp); /* -4 bytes */ 92 if (hp->flags.root_path) { 97 len = strlen(hp->root_path->string); 101 bcopy(hp->root_path->string, vp, len); 105 if (hp->flags.dump_file) [all...] |
dovend.h | 5 extern int dovend_rfc1497(struct host *hp, u_char *buf, int len);
|
readfile.c | 319 struct host *hp; 388 hp = (struct host *) smalloc(sizeof(struct host)); 389 bzero((char *) hp, sizeof(*hp)); 395 if (process_entry(hp, buffer) < 0) { 396 hp->linkcount = 1; 397 free_host((hash_datum *) hp); 405 if (goodname(hp->hostname->string)) { 406 char *hn = hp->hostname->string; 408 if (hp->flags.iaddr == 0) 316 struct host *hp; local in function:readtab 1338 struct host *hp = (struct host *) d2; local in function:nmcmp [all...] |
/src/sys/arch/sparc/dev/ |
sbusvar.h | 92 #define sbus_promaddr_to_handle(tag, promaddr, hp) sparc_promaddr_to_handle(tag, promaddr, hp) 95 sparc_promaddr_to_handle(bus_space_tag_t tag, u_int promaddr, bus_space_handle_t *hp) 97 *(hp) = (bus_space_handle_t)(promaddr);
|
/src/usr.sbin/lpr/pac/ |
pac.c | 214 struct hent *hp; local in function:account 230 hp = lookup(cp); 231 if (hp == NULL) { 234 hp = enter(cp); 236 hp->h_feetpages += t; 238 hp->h_count += ic; 240 hp->h_count++; 252 struct hent *hp, **ap; local in function:dumpit 256 hp = hashtab[0]; 258 base = calloc(sizeof hp, hcount) 296 struct hent *hp; local in function:rewrite 336 struct hent *hp; local in function:enter 365 struct hent *hp; local in function:lookup [all...] |
/src/usr.bin/talk/ |
get_addrs.c | 51 struct hostent *hp; local in function:get_addrs 61 hp = gethostbyname(my_machine_name); 62 if (hp == NULL) 65 memcpy(&my_machine_addr, hp->h_addr, sizeof(my_machine_addr)); 66 hp = gethostbyname(his_machine_name); 67 if (hp == NULL) 70 memcpy(&his_machine_addr, hp->h_addr, sizeof(his_machine_addr));
|
/src/lib/libc/net/ |
sethostent.c | 119 struct hostent *hp; local in function:_hf_gethtbyname 136 hp = _hf_gethtbyname2(name, AF_INET6, info); 138 hp = NULL; 139 if (hp == NULL) 140 hp = _hf_gethtbyname2(name, AF_INET, info); 144 hp = _hf_gethtbyname2(name, af, info); 146 if (hp == NULL) { 156 struct hostent *hp, hent; local in function:_hf_gethtbyname2 185 info->hp->h_addrtype = af; 186 info->hp->h_length = 0 266 struct hostent *hp; local in function:_hf_gethtbyaddr [all...] |
/src/sys/dev/usb/ |
uhso.c | 534 struct uhso_port *hp; local in function:uhso_detach 543 hp = sc->sc_port[i]; 544 if (hp != NULL) 545 (*hp->hp_abort)(hp); 571 hp = sc->sc_port[i]; 572 if (hp != NULL) 573 (*hp->hp_detach)(hp); 733 struct uhso_port *hp; local in function:uhso_mux_attach 995 struct uhso_port *hp; local in function:uhso_mux_intr 1043 struct uhso_port *hp; local in function:uhso_bulk_attach 1316 struct uhso_port *hp = p; local in function:uhso_bulk_intr 1399 struct uhso_port *hp = p; local in function:uhso_tty_write_cb 1432 struct uhso_port *hp = p; local in function:uhso_tty_read_cb 1483 struct uhso_port *hp; local in function:uhso_tty_open 1585 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local in function:uhso_tty_close 1636 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local in function:uhso_tty_read 1659 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local in function:uhso_tty_write 1682 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local in function:uhso_tty_ioctl 1778 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local in function:uhso_tty_tty 1787 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local in function:uhso_tty_poll 1809 struct uhso_port *hp = sc->sc_port[UHSOPORT(tp->t_dev)]; local in function:uhso_tty_param 1847 struct uhso_port *hp = sc->sc_port[UHSOPORT(tp->t_dev)]; local in function:uhso_tty_start 1908 struct uhso_port *hp; local in function:uhso_ifnet_attach 2008 struct uhso_port *hp = p; local in function:uhso_ifnet_write_cb 2049 struct uhso_port *hp = p; local in function:uhso_ifnet_read_cb 2192 struct uhso_port *hp = ifp->if_softc; local in function:uhso_ifnet_ioctl 2312 struct uhso_port *hp = ifp->if_softc; local in function:uhso_ifnet_start [all...] |
/src/sys/kern/ |
vfs_hooks.c | 73 struct vfs_hooks *hp; local in function:vfs_hooks_detach 77 LIST_FOREACH(hp, &vfs_hooks_head, vfs_hooks_list) { 78 if (hp == vfs_hooks) { 79 LIST_REMOVE(hp, vfs_hooks_list); 83 if (hp == NULL) 100 struct vfs_hooks *hp; \ 105 LIST_FOREACH(hp, &vfs_hooks_head, vfs_hooks_list) { \ 106 if (hp-> hook != NULL) { \ 107 error = hp-> hook hargs; \ 126 struct vfs_hooks *hp; \ [all...] |
/src/lib/libc/db/hash/ |
ndbm.c | 92 HTAB *hp; local in function:dbm_error 94 hp = db->internal; 95 return (hp->err); 101 HTAB *hp; local in function:dbm_clearerr 103 hp = db->internal; 104 hp->err = 0; 111 HTAB *hp; local in function:dbm_dirfno 113 hp = db->internal; 114 return hp->fp;
|
/src/lib/libm/src/ |
e_remainder.c | 36 int32_t hx,hp; local in function:__ieee754_remainder 41 EXTRACT_WORDS(hp,lp,p); 43 hp &= 0x7fffffff; 47 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 49 ((hp>=0x7ff00000)&& /* p is NaN */ 50 (((hp-0x7ff00000)|lp)!=0))) 54 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ 55 if (((hx-hp)|(lx-lp))==0) return zero*x; 58 if (hp<0x00200000) {
|
e_remainderf.c | 30 int32_t hx,hp; local in function:__ieee754_remainderf 35 GET_FLOAT_WORD(hp,p); 37 hp &= 0x7fffffff; 41 if(hp==0) return (x*p)/(x*p); /* p = 0 */ 43 ((hp>0x7f800000))) /* p is NaN */ 47 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ 48 if ((hx-hp)==0) return zero*x; 51 if (hp<0x01000000) {
|
/src/bin/csh/ |
hist.c | 56 struct Hist *hp, *np; local in function:savehist 77 for (hp = &Histlist; (np = hp->Hnext) != NULL;) 79 hp->Hnext = np->Hnext, hfree(np); 81 hp = np; 87 loadhist(struct Hist *hp) { 90 if (hi == NULL || hp == NULL) 92 loadhist(hp->Hnext); 93 if (sprlex(&h, &hp->Hlex) != -1) { 131 hfree(struct Hist *hp) [all...] |
/src/usr.sbin/bootp/bootpef/ |
bootpef.c | 130 struct host *hp; 238 hp = (struct host *) hash_Lookup(nmhashtable, 241 if (!hp) { 245 if (!hp->flags.exten_file) { 249 mktagfile(hp); 256 hp = (struct host *) hash_FirstEntry(nmhashtable); 257 while (hp != NULL) { 258 mktagfile(hp); 259 hp = (struct host *) hash_NextEntry(nmhashtable); 273 mktagfile(struct host *hp) 127 struct host *hp; local in function:main [all...] |
/src/usr.bin/config/ |
hash.c | 149 struct hashent *hp; local in function:newhashent2 151 hp = ecalloc(1, sizeof(*hp)); 153 hp->h_name1 = name1; 154 hp->h_name2 = name2; 155 hp->h_hash = h; 156 return (hp); 210 struct hashent *hp; local in function:intern 218 TAILQ_FOREACH(hp, hpp, h_next) { 219 if (hp->h_hash == h && strcmp(hp->h_name, s) == 0 244 struct hashent *hp; local in function:ht_free 267 struct hashent *hp; local in function:ht_insrep2 301 struct hashent *hp; local in function:ht_remove2 329 struct hashent *hp; local in function:ht_lookup2 356 struct hashent *hp; local in function:ht_enumerate2 372 struct hashent *hp; local in function:ht_enumerate [all...] |
/src/sys/arch/sparc64/dev/ |
centralvar.h | 52 #define central_bus_map(t, slot, offset, sz, flags, hp) \ 53 bus_space_map(t, BUS_ADDR(slot, offset), sz, flags, hp)
|
sbusvar.h | 82 #define sbus_promaddr_to_handle(tag, promaddr, hp) \ 83 sparc_promaddr_to_handle(tag, promaddr, hp)
|
/src/lib/libc/rpc/ |
getrpcport.c | 69 struct hostent *hp; local in function:__weak_alias 73 if ((hp = gethostbyname(host)) == NULL) 79 if (hp->h_length > addr.sin_len) 80 hp->h_length = addr.sin_len; 81 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
|
/src/games/robots/ |
auto.c | 196 COORD *hp, *end, *minhp = NULL; local in function:closest_heap 201 for (hp = Scrap; hp < end; hp++) { 202 if (hp->x == 0 && hp->y == 0) 204 tdist = distance(My_pos.x, My_pos.y, hp->x, hp->y); 206 minhp = hp; 261 move_between(COORD *rob, COORD *hp) [all...] |
/src/sys/dev/rasops/ |
rasops1_putchar_width.h | 44 * rp and hp are always half-word aligned, whereas 69 SUBST_UNIT tmp, *rp, *hp; local in function:NAME 71 hp = NULL; /* XXX GCC */ 90 hp = (SUBST_UNIT *)(ri->ri_hwbits + row * ri->ri_yscale + 101 *hp = bg; 102 DELTA(hp, ri->ri_stride, SUBST_UNIT *); 118 *hp = tmp; 119 DELTA(hp, ri->ri_stride, SUBST_UNIT *); 130 DELTA(hp, - ri->ri_stride * ri->ri_ul.off, 137 DELTA(hp, - ri->ri_stride, SUBST_UNIT *) [all...] |
rasops1.c | 98 uint32_t *rp, *hp; local in function:rasops1_putchar 102 hp = NULL; /* XXX GCC */ 123 hp = (uint32_t *)(ri->ri_hwbits + row * ri->ri_yscale + 151 *hp = tmp; 152 DELTA(hp, ri->ri_stride, uint32_t *); 168 *hp = tmp; 169 DELTA(hp, ri->ri_stride, uint32_t *); 180 DELTA(hp, - ri->ri_stride * ri->ri_ul.off, 188 DELTA(hp, - ri->ri_stride, uint32_t *); 189 *hp = tmp [all...] |
/src/sbin/rcorder/ |
hash.c | 143 struct Hash_Entry **hp; local in function:Hash_InitTable 157 t->bucketPtr = hp = (struct Hash_Entry **)emalloc(sizeof(*hp) * i); 159 *hp++ = NULL; 183 struct Hash_Entry **hp, *h, *nexth; local in function:Hash_DeleteTable 187 for (hp = t->bucketPtr, i = t->size; --i >= 0;) { 188 for (h = *hp++; h != NULL; h = nexth) { 271 struct Hash_Entry **hp; local in function:Hash_CreateEntry 297 hp = &t->bucketPtr[h & t->mask]; 298 e->next = *hp; 330 Hash_Entry **hp, *p; local in function:Hash_DeleteEntry 445 Hash_Entry *e, *next, **hp, **xp; local in function:RebuildTable [all...] |
/src/usr.bin/mail/ |
send.c | 339 fixhead(struct header *hp, struct name *tolist) 343 hp->h_to = NULL; 344 hp->h_cc = NULL; 345 hp->h_bcc = NULL; 350 hp->h_to = 351 cat(hp->h_to, nalloc(np->n_name, np->n_type)); 353 hp->h_cc = 354 cat(hp->h_cc, nalloc(np->n_name, np->n_type)); 356 hp->h_bcc = 357 cat(hp->h_bcc, nalloc(np->n_name, np->n_type)) [all...] |