Searched defs:nr_of_pages (Results 1 - 3 of 3) sorted by relevance
/drivers/infiniband/hw/ehca/ |
H A D | ipz_pt_fn.c | 102 static int alloc_queue_pages(struct ipz_queue *queue, const u32 nr_of_pages) argument 107 while (f < nr_of_pages) { 112 for (k = 0; k < PAGES_PER_KPAGE && f < nr_of_pages; k++) { 121 for (f = 0; f < nr_of_pages && queue->queue_pages[f]; 205 const u32 nr_of_pages, const u32 pagesize, 216 queue->queue_length = nr_of_pages * pagesize; 225 queue->queue_pages = kzalloc(nr_of_pages * sizeof(void *), GFP_KERNEL); 227 queue->queue_pages = vzalloc(nr_of_pages * sizeof(void *)); 239 if (!alloc_queue_pages(queue, nr_of_pages)) 246 "nr_of_pages 204 ipz_queue_ctor(struct ehca_pd *pd, struct ipz_queue *queue, const u32 nr_of_pages, const u32 pagesize, const u32 qe_size, const u32 nr_of_sg, int is_small) argument [all...] |
/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_qmr.c | 54 static int hw_queue_ctor(struct hw_queue *queue, const u32 nr_of_pages, argument 66 queue->queue_length = nr_of_pages * pagesize; 67 queue->queue_pages = kmalloc(nr_of_pages * sizeof(void *), GFP_KERNEL); 79 while (i < nr_of_pages) { 83 for (k = 0; k < pages_per_kpage && i < nr_of_pages; k++) { 97 for (i = 0; i < nr_of_pages; i += pages_per_kpage) {
|
/drivers/usb/storage/ |
H A D | sddr09.c | 404 int nr_of_pages, int bulklen, unsigned char *buf, 420 command[10] = MSB_of(nr_of_pages); 421 command[11] = LSB_of(nr_of_pages); 449 * nr_of_pages counts pages of size (1 << pageshift). 453 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { 454 int bulklen = nr_of_pages << pageshift; 457 return sddr09_readX(us, 0, fromaddress, nr_of_pages, bulklen, 490 * nr_of_pages counts pages of size (1 << pageshift) + (1 << controlshift). 494 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { 496 int bulklen = (nr_of_pages << pageshif 403 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) argument 452 sddr09_read20(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument 493 sddr09_read22(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument 586 sddr09_writeX(struct us_data *us, unsigned long Waddress, unsigned long Eaddress, int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) argument 630 sddr09_write_inplace(struct us_data *us, unsigned long address, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument [all...] |
Completed in 74 milliseconds