search for: xb_op

Displaying 4 results from an estimated 4 matches for "xb_op".

Did you mean: x_op
2017 Sep 11
1
[PATCH v15 1/5] lib/xbitmap: Introduce xbitmap
...> + RADIX_TREE_MAP_SHIFT)) > +#define XB_PRELOAD_SIZE (XB_MAX_PATH * 2 - 1) I don't understand why you moved the xb_preload code here from the radix tree. I want all the code which touches the preload implementation together in one place, which is the radix tree. > +enum xb_ops { > + XB_SET, > + XB_CLEAR, > + XB_TEST > +}; > + > +static int xb_bit_ops(struct xb *xb, unsigned long bit, enum xb_ops ops) > +{ > + int ret = 0; > + unsigned long index = bit / IDA_BITMAP_BITS; > + struct radix_tree_root *root = &xb->xbrt; > + struct radi...
2017 Sep 11
1
[PATCH v15 1/5] lib/xbitmap: Introduce xbitmap
...> + RADIX_TREE_MAP_SHIFT)) > +#define XB_PRELOAD_SIZE (XB_MAX_PATH * 2 - 1) I don't understand why you moved the xb_preload code here from the radix tree. I want all the code which touches the preload implementation together in one place, which is the radix tree. > +enum xb_ops { > + XB_SET, > + XB_CLEAR, > + XB_TEST > +}; > + > +static int xb_bit_ops(struct xb *xb, unsigned long bit, enum xb_ops ops) > +{ > + int ret = 0; > + unsigned long index = bit / IDA_BITMAP_BITS; > + struct radix_tree_root *root = &xb->xbrt; > + struct radi...
2017 Aug 09
1
[PATCH v13 1/5] Introduce xbitmap
On Thu, 3 Aug 2017 14:38:15 +0800 Wei Wang <wei.w.wang at intel.com> wrote: > From: Matthew Wilcox <mawilcox at microsoft.com> > > The eXtensible Bitmap is a sparse bitmap representation which is > efficient for set bits which tend to cluster. It supports up to > 'unsigned long' worth of bits, and this commit adds the bare bones -- > xb_set_bit(),
2017 Aug 09
1
[PATCH v13 1/5] Introduce xbitmap
On Thu, 3 Aug 2017 14:38:15 +0800 Wei Wang <wei.w.wang at intel.com> wrote: > From: Matthew Wilcox <mawilcox at microsoft.com> > > The eXtensible Bitmap is a sparse bitmap representation which is > efficient for set bits which tend to cluster. It supports up to > 'unsigned long' worth of bits, and this commit adds the bare bones -- > xb_set_bit(),