HomeFreeBSD

Step 3: anonymize struct mbuf_ext_pgs and move all its fields into mbuf

Description

Step 3: anonymize struct mbuf_ext_pgs and move all its fields into mbuf

within m_epg namespace.

All edits except the 'struct mbuf' declaration and mb_dupcl() were done
mechanically with sed:

s/->m_ext_pgs.nrdy/->m_epg_nrdy/g
s/->m_ext_pgs.hdr_len/->m_epg_hdrlen/g
s/->m_ext_pgs.trail_len/->m_epg_trllen/g
s/->m_ext_pgs.first_pg_off/->m_epg_1st_off/g
s/->m_ext_pgs.last_pg_len/->m_epg_last_len/g
s/->m_ext_pgs.flags/->m_epg_flags/g
s/->m_ext_pgs.record_type/->m_epg_record_type/g
s/->m_ext_pgs.enc_cnt/->m_epg_enc_cnt/g
s/->m_ext_pgs.tls/->m_epg_tls/g
s/->m_ext_pgs.so/->m_epg_so/g
s/->m_ext_pgs.seqno/->m_epg_seqno/g
s/->m_ext_pgs.stailq/->m_epg_stailq/g

Reviewed by: gallatin
Differential Revision: https://reviews.freebsd.org/D24598

Details

Provenance
glebiusAuthored on
Reviewer
gallatin
Differential Revision
D24598: More re-working of multipage mbufs.
Parents
rS360578: Step 2.5: Stop using 'struct mbuf_ext_pgs' in the kernel itself.
Branches
Unknown
Tags
Unknown