Searched refs:sp_chunk (Results 1 – 2 of 2) sorted by relevance
40 struct sp_chunk **head) in c2_alloc_mqsp_chunk()43 struct sp_chunk *new_head; in c2_alloc_mqsp_chunk()59 i < (PAGE_SIZE - sizeof(struct sp_chunk) - in c2_alloc_mqsp_chunk()72 struct sp_chunk **root) in c2_init_mqsp_pool()77 void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root) in c2_free_mqsp_pool()79 struct sp_chunk *next; in c2_free_mqsp_pool()89 __be16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head, in c2_alloc_mqsp()124 struct sp_chunk *head; in c2_free_mqsp()128 head = (struct sp_chunk *) ((unsigned long) mqsp & PAGE_MASK); in c2_free_mqsp()135 idx -= (unsigned long) &(((struct sp_chunk *) 0)->shared_ptr[0]) >> 1; in c2_free_mqsp()
250 struct sp_chunk { struct251 struct sp_chunk *next; argument324 struct sp_chunk *kern_mqsp_pool;542 struct sp_chunk **root);543 extern void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root);544 extern __be16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head,