2 * Copyright (c) 2013 Google, Inc
4 * SPDX-License-Identifier: GPL-2.0+
9 void dm_warn(const char *fmt, ...);
12 void dm_dbg(const char *fmt, ...);
14 static inline void dm_dbg(const char *fmt, ...)
22 * list_count_items() - Count number of items in a list
24 * @param head: Head of list
25 * @return number of items, or 0 if empty
27 int list_count_items(struct list_head *head);