diff options
author | alc <alc@FreeBSD.org> | 2004-03-16 19:04:28 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-03-16 19:04:28 +0000 |
commit | a2e820d27ba39950df6b8aae95fdca17e3eeb69d (patch) | |
tree | 23b7ae48f580ace96e1510d279da96896036cc35 /sys/net80211/ieee80211.c | |
parent | 71c3a1c44c43ab6da664e5414fb5ae531038d5c5 (diff) | |
download | FreeBSD-src-a2e820d27ba39950df6b8aae95fdca17e3eeb69d.zip FreeBSD-src-a2e820d27ba39950df6b8aae95fdca17e3eeb69d.tar.gz |
Refactor the existing machine-dependent sf_buf_free() into a machine-
dependent function by the same name and a machine-independent function,
sf_buf_mext(). Aside from the virtue of making more of the code machine-
independent, this change also makes the interface more logical. Before,
sf_buf_free() did more than simply undo an sf_buf_alloc(); it also
unwired and if necessary freed the page. That is now the purpose of
sf_buf_mext(). Thus, sf_buf_alloc() and sf_buf_free() can now be used
as a general-purpose emphemeral map cache.
Diffstat (limited to 'sys/net80211/ieee80211.c')
0 files changed, 0 insertions, 0 deletions