HomeSort by: relevance | last modified time | path
    Searched refs:hp (Results 1 - 25 of 618) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/bsd/ipf/dist/lib/
printhashdata.c 14 printhashdata(hp, opts)
15 iphtable_t *hp;
20 if ((hp->iph_type & IPHASH_ANON) == IPHASH_ANON)
21 PRINTF("# 'anonymous' table refs %d\n", hp->iph_ref);
22 if ((hp->iph_flags & IPHASH_DELETE) == IPHASH_DELETE)
24 switch (hp->iph_type & ~IPHASH_ANON)
31 if (hp->iph_flags & FR_INQUE)
33 else if (hp->iph_flags & FR_OUTQUE)
39 PRINTF("%#x", hp->iph_type);
45 ISDIGIT(*hp->iph_name) ? "Number" : "Name"
    [all...]
printhash_live.c 15 printhash_live(hp, fd, name, opts, fields)
16 iphtable_t *hp;
27 if ((name != NULL) && strncmp(name, hp->iph_name, FR_GROUPLEN))
28 return hp->iph_next;
31 printhashdata(hp, opts);
33 if ((hp->iph_flags & IPHASH_DELETE) != 0)
48 iter.ili_unit = hp->iph_unit;
49 strncpy(iter.ili_name, hp->iph_name, FR_GROUPLEN);
60 (void) printhashnode(hp, &entry, bcopywrap, opts, fields);
71 return hp->iph_next
    [all...]
hostname.c 17 struct hostent *hp; local
31 hp = gethostbyaddr(ip, 4, AF_INET);
32 if (hp != NULL && hp->h_name != NULL &&
33 *hp->h_name != '\0') {
34 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
  /src/external/cddl/osnet/dist/common/ctf/
ctf_hash.c 38 ctf_hash_create(ctf_hash_t *hp, ulong_t nelems)
48 memset(hp, 0, sizeof (ctf_hash_t));
49 hp->h_buckets = __UNCONST(_CTF_EMPTY);
50 hp->h_nbuckets = 1;
54 hp->h_nbuckets = 211; /* use a prime number of hash buckets */
55 hp->h_nelems = nelems + 1; /* we use index zero as a sentinel */
56 hp->h_free = 1; /* first free element is index 1 */
58 hp->h_buckets = ctf_alloc(sizeof (*hp->h_buckets) * hp->h_nbuckets)
    [all...]
  /src/external/cddl/osnet/dist/lib/libdtrace/common/
dt_inttab.c 57 dt_inthash_t *hp, *np; local
59 for (hp = ip->int_head; hp != NULL; hp = np) {
60 np = hp->inh_next;
61 dt_free(ip->int_hdl, hp);
72 dt_inthash_t *hp; local
75 for (hp = ip->int_hash[h]; hp != NULL; hp = hp->inh_hash)
111 const dt_inthash_t *hp; local
    [all...]
  /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
278 struct sdhc_host *hp; local
667 struct sdhc_host *hp; local
716 struct sdhc_host *hp; local
748 struct sdhc_host *hp; local
782 struct sdhc_host *hp; local
799 struct sdhc_host *hp = (struct sdhc_host *)sch; local
857 struct sdhc_host *hp = (struct sdhc_host *)sch; local
870 struct sdhc_host *hp = (struct sdhc_host *)sch; local
878 struct sdhc_host *hp = (struct sdhc_host *)sch; local
889 struct sdhc_host *hp = (struct sdhc_host *)sch; local
909 struct sdhc_host *hp = (struct sdhc_host *)sch; local
927 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1099 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1304 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1358 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1369 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1387 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1399 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1536 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1548 struct sdhc_host *hp = arg; local
1556 struct sdhc_host *hp = (struct sdhc_host *)sch; local
1590 struct sdhc_host *hp = (struct sdhc_host *)sch; local
2375 struct sdhc_host *hp; local
    [all...]
  /src/usr.sbin/bootp/common/
dumptab.c 51 struct host *hp; local
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...]
  /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
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
256 hp = hashtab[0];
258 base = calloc(sizeof hp, hcount)
296 struct hent *hp; local
336 struct hent *hp; local
365 struct hent *hp; local
    [all...]
  /src/external/bsd/tcpdump/dist/
print-hsrp.c 102 const struct hsrp *hp = (const struct hsrp *) bp; local
106 version = GET_U_1(hp->hsrp_version);
112 tok2strary(op_code_str, "unknown (%u)", GET_U_1(hp->hsrp_op_code)));
115 tok2str(states, "Unknown (%u)", GET_U_1(hp->hsrp_state)));
116 ND_PRINT("group=%u ", GET_U_1(hp->hsrp_group));
117 if (GET_U_1(hp->hsrp_reserved) != 0) {
118 ND_PRINT("[reserved=%u!] ", GET_U_1(hp->hsrp_reserved));
120 ND_PRINT("addr=%s", GET_IPADDR_STRING(hp->hsrp_virtaddr));
123 unsigned_relts_print(ndo, GET_U_1(hp->hsrp_hellotime));
125 unsigned_relts_print(ndo, GET_U_1(hp->hsrp_holdtime))
    [all...]
  /src/external/bsd/am-utils/dist/fsinfo/
wr_bparam.c 70 write_boot_info(FILE *ef, host *hp)
74 fprintf(ef, "%s\troot=", hp->h_hostname);
75 errors += write_nfsname(ef, hp->h_netroot, hp->h_hostname);
77 errors += write_nfsname(ef, hp->h_netswap, hp->h_hostname);
95 host *hp; local
96 ITER(hp, host, q)
97 if (hp->h_netroot && hp->h_netswap
    [all...]
  /src/usr.bin/talk/
get_addrs.c 51 struct hostent *hp; local
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/external/ibm-public/postfix/dist/src/local/
biff_notify.c 60 struct hostent *hp; local
71 if ((hp = gethostbyname("localhost")) == 0) {
75 if ((int) hp->h_length > (int) sizeof(sin.sin_addr)) {
76 msg_warn("bad address size %d for localhost", hp->h_length);
79 sin.sin_family = hp->h_addrtype;
81 memcpy((void *) &sin.sin_addr, hp->h_addr_list[0], hp->h_length);
  /src/lib/libc/net/
sethostent.c 119 struct hostent *hp; local
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
185 info->hp->h_addrtype = af;
186 info->hp->h_length = 0
266 struct hostent *hp; local
    [all...]
  /src/sys/dev/usb/
uhso.c 534 struct uhso_port *hp; local
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
995 struct uhso_port *hp; local
1043 struct uhso_port *hp; local
1316 struct uhso_port *hp = p; local
1399 struct uhso_port *hp = p; local
1432 struct uhso_port *hp = p; local
1483 struct uhso_port *hp; local
1585 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local
1636 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local
1659 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local
1682 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local
1778 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local
1787 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)]; local
1809 struct uhso_port *hp = sc->sc_port[UHSOPORT(tp->t_dev)]; local
1847 struct uhso_port *hp = sc->sc_port[UHSOPORT(tp->t_dev)]; local
1908 struct uhso_port *hp; local
2008 struct uhso_port *hp = p; local
2049 struct uhso_port *hp = p; local
2192 struct uhso_port *hp = ifp->if_softc; local
2312 struct uhso_port *hp = ifp->if_softc; local
    [all...]
  /src/sys/kern/
vfs_hooks.c 73 struct vfs_hooks *hp; local
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/external/bsd/atf/dist/test-programs/
srcdir_test.sh 46 for hp in $(get_helpers); do
47 h=${hp##*/}
48 cp ${hp} tmp
51 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists
68 for hp in $(get_helpers c_helpers cpp_helpers); do
69 h=${hp##*/}
70 cp ${hp} tmp
71 cp ${hp} tmp/.libs
74 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists
78 for hp in $(get_helpers c_helpers cpp_helpers); d
    [all...]
  /src/lib/libc/db/hash/
ndbm.c 92 HTAB *hp; local
94 hp = db->internal;
95 return (hp->err);
101 HTAB *hp; local
103 hp = db->internal;
104 hp->err = 0;
111 HTAB *hp; local
113 hp = db->internal;
114 return hp->fp;
  /src/lib/libm/src/
e_remainder.c 36 int32_t hx,hp; local
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) {
  /src/external/gpl3/gcc/dist/libquadmath/math/
remainderq.c 32 int64_t hx,hp; local
37 GET_FLT128_WORDS64(hp,lp,p);
39 hp &= 0x7fffffffffffffffLL;
43 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
45 ((hp>=0x7fff000000000000LL)&& /* p is NaN */
46 (((hp-0x7fff000000000000LL)|lp)!=0)))
50 if (hp<=0x7ffdffffffffffffLL) x = fmodq(x,p+p); /* now x < 2p */
51 if (((hx-hp)|(lx-lp))==0) return zero*x;
54 if (hp<0x0002000000000000LL) {
  /src/external/gpl3/gcc.old/dist/libquadmath/math/
remainderq.c 32 int64_t hx,hp; local
37 GET_FLT128_WORDS64(hp,lp,p);
39 hp &= 0x7fffffffffffffffLL;
43 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
45 ((hp>=0x7fff000000000000LL)&& /* p is NaN */
46 (((hp-0x7fff000000000000LL)|lp)!=0)))
50 if (hp<=0x7ffdffffffffffffLL) x = fmodq(x,p+p); /* now x < 2p */
51 if (((hx-hp)|(lx-lp))==0) return zero*x;
54 if (hp<0x0002000000000000LL) {
  /src/bin/csh/
hist.c 56 struct Hist *hp, *np; local
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/external/ibm-public/postfix/dist/src/global/
header_opts.c 107 const HEADER_OPTS *hp; local
116 for (hp = header_opts; hp < header_opts + HEADER_OPTS_SIZE; hp++) {
118 for (cp = hp->name; *cp; cp++)
121 htable_enter(header_hash, vstring_str(header_key), (void *) hp);
132 HEADER_OPTS *hp; local
148 hp = (HEADER_OPTS *) mymalloc(sizeof(*hp));
149 hp->type = HDR_OTHER
    [all...]
  /src/external/cddl/osnet/dist/tools/ctf/cvt/
strtab.c 73 strhash_t *hp, *hq; local
77 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) {
78 hq = hp->str_next;
79 free(hp);
111 strtab_compare(strtab_t *sp, strhash_t *hp, const char *str, size_t len)
113 ulong_t b = hp->str_buf;
114 const char *buf = hp->str_data;
161 strhash_t *hp; local
237 const strhash_t *hp; local
    [all...]

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 91011>>