idr: Add new function idr_is_empty()
[deliverable/linux.git] / include / linux / idr.h
index 871a213a8477eb5f1d7c6ad3318f6b796bac7106..9c95d210458bd6f7e83e6fdae98d090dd1437c22 100644 (file)
@@ -85,6 +85,7 @@ void idr_remove(struct idr *idp, int id);
 void idr_free(struct idr *idp, int id);
 void idr_destroy(struct idr *idp);
 void idr_init(struct idr *idp);
+bool idr_is_empty(struct idr *idp);
 
 /**
  * idr_preload_end - end preload section started with idr_preload()
This page took 0.033003 seconds and 5 git commands to generate.