From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v2 2/3] tools/libxc: add API for bitmap access for restore Date: Thu, 24 Aug 2017 08:36:16 +0200 Message-ID: <20170824063616.GH6372@aepfle.de> References: <20170817170133.30939-1-olaf@aepfle.de> <20170817170133.30939-3-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6174851450632588755==" Return-path: In-Reply-To: <20170817170133.30939-3-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Andrew Cooper , Ian Jackson , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============6174851450632588755== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/8E7gjuj425jZz9t" Content-Disposition: inline --/8E7gjuj425jZz9t Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Thu, Aug 17, Olaf Hering wrote: > Extend API for managing bitmaps. Each bitmap is now represented by a > generic struct xc_sr_bitmap. > +static inline bool xc_sr_bitmap_resize(struct xc_sr_bitmap *bm, unsigned long bits) > +static inline void xc_sr_bitmap_free(struct xc_sr_bitmap *bm) > +static inline bool xc_sr_set_bit(unsigned long bit, struct xc_sr_bitmap *bm) > +static inline bool xc_sr_test_bit(unsigned long bit, struct xc_sr_bitmap *bm) > +static inline int xc_sr_test_and_clear_bit(unsigned long bit, struct xc_sr_bitmap *bm) > +static inline int xc_sr_test_and_set_bit(unsigned long bit, struct xc_sr_bitmap *bm) Any objection to remove the trailing '_bit' from these four function names? Olaf --/8E7gjuj425jZz9t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSkRyP6Rn//f03pRUBdQqD6ppg2fgUCWZ5z4AAKCRBdQqD6ppg2 fnJUAJ9FPwalcgOb2qFGgVxq8fzFcUpk4gCfWSWgf9OGRiXQJ3udDZYy4JffHZs= =v/vP -----END PGP SIGNATURE----- --/8E7gjuj425jZz9t-- --===============6174851450632588755== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============6174851450632588755==--