Go to the documentation of this file.
35 #ifndef MTHCA_MEMFREE_H
36 #define MTHCA_MEMFREE_H
38 #include <linux/list.h>
41 #define MTHCA_ICM_CHUNK_LEN \
42 ((256 - sizeof (struct list_head) - 2 * sizeof (int)) / \
43 (sizeof (struct scatterlist)))
89 int use_lowmem,
int use_coherent);
99 static inline void mthca_icm_first(
struct mthca_icm *
icm,
117 if (iter->
chunk->list.next == &iter->
icm->chunk_list) {
133 static inline unsigned long mthca_icm_size(
struct mthca_icm_iter *iter)