Searched refs:hdrsize (Results 1 - 4 of 4) sorted by relevance
/haiku/src/libs/libfdt/ |
H A D | fdt.c | 52 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) argument 54 return (off >= hdrsize) && (off <= totalsize); 57 static int check_block_(uint32_t hdrsize, uint32_t totalsize, argument 60 if (!check_off_(hdrsize, totalsize, base)) 64 if (!check_off_(hdrsize, totalsize, base + size)) 91 size_t hdrsize; local 107 hdrsize = fdt_header_size(fdt); 110 if ((fdt_totalsize(fdt) < hdrsize) 115 if (!check_off_(hdrsize, fdt_totalsize(fdt), 123 if (!check_off_(hdrsize, fdt_totalsiz [all...] |
H A D | fdt_sw.c | 111 const int hdrsize = FDT_ALIGN(sizeof(struct fdt_header), local 115 if (bufsize < hdrsize) 136 fdt_set_off_mem_rsvmap(fdt, hdrsize);
|
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | pcm.c | 1358 int hdrsize = port->config.buf_header; local 1364 data = ((char *)data)+hdrsize; 1365 to_read -= hdrsize; 1431 if (hdrsize > 0) { 1432 ddprintf(("header %d\n", hdrsize)); 1433 *nread += hdrsize; 1436 if ((uint32)hdrsize > sizeof(hdr)) 1437 hdrsize = sizeof(hdr); 1439 memcpy(hdrptr, &hdr, hdrsize);
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_output.c | 84 u_int hdrsize, u_int ciphdrsize, u_int mtu); 1345 ieee80211_mbuf_adjust(struct ieee80211vap *vap, int hdrsize, argument 1349 int needed_space = vap->iv_ic->ic_headroom + hdrsize; 1481 int hdrsize, hdrspace, datalen, addqos, txfrag, is4addr, is_mcast; local 1566 hdrsize = sizeof(struct ieee80211_qosframe); 1568 hdrsize = sizeof(struct ieee80211_frame); 1590 hdrsize += IEEE80211_ADDR_LEN; 1633 hdrsize += IEEE80211_ADDR_LEN; 1642 hdrspace = roundup(hdrsize, sizeof(uint32_t)); 1644 hdrspace = hdrsize; 1964 ieee80211_fragment(struct ieee80211vap *vap, struct mbuf *m0, u_int hdrsize, u_int ciphdrsize, u_int mtu) argument [all...] |
Completed in 138 milliseconds