HomeSort by: relevance | last modified time | path
    Searched defs:hdrsize (Results 1 - 5 of 5) sorted by relevancy

  /src/sys/external/bsd/libfdt/dist/
fdt.c 44 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off)
46 return (off >= hdrsize) && (off <= totalsize);
49 static int check_block_(uint32_t hdrsize, uint32_t totalsize,
52 if (!check_off_(hdrsize, totalsize, base))
56 if (!check_off_(hdrsize, totalsize, base + size))
77 size_t hdrsize; local in function:fdt_check_header
81 hdrsize = fdt_header_size(fdt);
88 if ((fdt_totalsize(fdt) < hdrsize)
93 if (!check_off_(hdrsize, fdt_totalsize(fdt), fdt_off_mem_rsvmap(fdt)))
98 if (!check_off_(hdrsize, fdt_totalsize(fdt)
    [all...]
fdt_sw.c 109 const size_t hdrsize = FDT_ALIGN(sizeof(struct fdt_header), local in function:fdt_create_with_flags
113 if (bufsize < hdrsize)
134 fdt_set_off_mem_rsvmap(fdt, hdrsize);
  /src/lib/libc/db/hash/
hash.c 104 ssize_t hdrsize; local in function:__hash_open
145 hdrsize = read(hashp->fp, &hashp->hdr, sizeof(HASHHDR));
149 if (hdrsize == -1)
151 if (hdrsize != sizeof(HASHHDR))
  /src/sys/net/
if_ethersubr.c 484 int hlen, af, hdrsize; local in function:altq_etherclassify
513 hdrsize = 20; /* sizeof(struct ip) */
518 hdrsize = 40; /* sizeof(struct ip6_hdr) */
523 hdrsize = 0;
534 if (m->m_len < (hlen + hdrsize)) {
542 "%d < %d\n", m->m_len, (hlen + hdrsize));
  /src/sys/net80211/
ieee80211_output.c 78 u_int hdrsize, u_int ciphdrsize, u_int mtu);
408 ieee80211_mbuf_adjust(struct ieee80211com *ic, int hdrsize,
412 int needed_space = hdrsize;
538 int hdrsize, datalen, addqos, txfrag; local in function:ieee80211_encap
585 hdrsize = sizeof(struct ieee80211_qosframe);
587 hdrsize = sizeof(struct ieee80211_frame);
589 hdrsize = roundup(hdrsize, sizeof(u_int32_t));
591 m = ieee80211_mbuf_adjust(ic, hdrsize, key, m);
608 M_PREPEND(m, hdrsize, M_DONTWAIT)
    [all...]

Completed in 15 milliseconds