diff options
author | Chris Mi <chrism@mellanox.com> | 2017-08-30 09:31:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-31 00:36:44 +0300 |
commit | 388f79fda74fd3d8700ed5d899573ec58c2e0253 (patch) | |
tree | ce66187430f7273449579dbbb1cc6b1fe9ea3a71 /block/blk-mq.h | |
parent | c2f8a6cee632cdd2e70de0089f4480ddd7998748 (diff) | |
download | linux-388f79fda74fd3d8700ed5d899573ec58c2e0253.tar.xz |
idr: Add new APIs to support unsigned long
The following new APIs are added:
int idr_alloc_ext(struct idr *idr, void *ptr, unsigned long *index,
unsigned long start, unsigned long end, gfp_t gfp);
void *idr_remove_ext(struct idr *idr, unsigned long id);
void *idr_find_ext(const struct idr *idr, unsigned long id);
void *idr_replace_ext(struct idr *idr, void *ptr, unsigned long id);
void *idr_get_next_ext(struct idr *idr, unsigned long *nextid);
Signed-off-by: Chris Mi <chrism@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions