Home
last modified time | relevance | path

Searched refs:sp_chunk (Results 1 – 2 of 2) sorted by relevance

/drivers/infiniband/hw/amso1100/
Dc2_alloc.c41 struct sp_chunk **head) in c2_alloc_mqsp_chunk()
44 struct sp_chunk *new_head; in c2_alloc_mqsp_chunk()
60 i < (PAGE_SIZE - sizeof(struct sp_chunk) - in c2_alloc_mqsp_chunk()
73 struct sp_chunk **root) in c2_init_mqsp_pool()
78 void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root) in c2_free_mqsp_pool()
80 struct sp_chunk *next; in c2_free_mqsp_pool()
90 __be16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head, in c2_alloc_mqsp()
125 struct sp_chunk *head; in c2_free_mqsp()
129 head = (struct sp_chunk *) ((unsigned long) mqsp & PAGE_MASK); in c2_free_mqsp()
136 idx -= (unsigned long) &(((struct sp_chunk *) 0)->shared_ptr[0]) >> 1; in c2_free_mqsp()
Dc2.h250 struct sp_chunk { struct
251 struct sp_chunk *next; argument
325 struct sp_chunk *kern_mqsp_pool;
545 struct sp_chunk **root);
546 extern void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root);
547 extern __be16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head,