summaryrefslogtreecommitdiffstats
path: root/sbin/recoverdisk
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-29 20:15:33 +0000
committerandre <andre@FreeBSD.org>2005-08-29 20:15:33 +0000
commit41519e2afcbe79366bbd6fd516fe763234690527 (patch)
treea497a54586ed473005ec324efcd5019900ea4284 /sbin/recoverdisk
parente9c5b0a58c0df9dc9eada1a9b38d15acc1a9e16c (diff)
downloadFreeBSD-src-41519e2afcbe79366bbd6fd516fe763234690527.zip
FreeBSD-src-41519e2afcbe79366bbd6fd516fe763234690527.tar.gz
Add m_copymdata(struct mbuf *m, struct mbuf *n, int off, int len,
int prep, int how). Copies the data portion of mbuf (chain) n starting from offset off for length len to mbuf (chain) m. Depending on prep the copied data will be appended or prepended. The function ensures that the mbuf (chain) m will be fully writeable by making real (not refcnt) copies of mbuf clusters. For the prepending the function returns a pointer to the new start of mbuf chain m and leaves as much leading space as possible in the new first mbuf. Reviewed by: glebius
Diffstat (limited to 'sbin/recoverdisk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud