Lines Matching full:off
499 os_mbuf_off(const struct os_mbuf *om, int off, uint16_t *out_off) in os_mbuf_off() argument
514 if (cur->om_len > off || in os_mbuf_off()
515 (cur->om_len == off && next == NULL)) { in os_mbuf_off()
517 *out_off = off; in os_mbuf_off()
521 off -= cur->om_len; in os_mbuf_off()
527 os_mbuf_copydata(const struct os_mbuf *m, int off, int len, void *dst) in os_mbuf_copydata() argument
538 while (off > 0) { in os_mbuf_copydata()
543 if (off < m->om_len) in os_mbuf_copydata()
545 off -= m->om_len; in os_mbuf_copydata()
549 count = min(m->om_len - off, len); in os_mbuf_copydata()
550 memcpy(udst, m->om_data + off, count); in os_mbuf_copydata()
553 off = 0; in os_mbuf_copydata()
634 os_mbuf_cmpf(const struct os_mbuf *om, int off, const void *data, int len) in os_mbuf_cmpf() argument
646 om = os_mbuf_off(om, off, &om_off); in os_mbuf_cmpf()
800 os_mbuf_copyinto(struct os_mbuf *om, int off, const void *src, int len) in os_mbuf_copyinto() argument
810 cur = os_mbuf_off(om, off, &cur_off); in os_mbuf_copyinto()
850 max(OS_MBUF_PKTHDR(om)->omp_len, off + len); in os_mbuf_copyinto()