Searched defs:nr_of_pages (Results 1 - 3 of 3) sorted by relevance

/drivers/infiniband/hw/ehca/
H A Dipz_pt_fn.c102 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 *),
228 queue->queue_pages = vzalloc(nr_of_pages * sizeof(void *));
240 if (!alloc_queue_pages(queue, nr_of_pages))
247 "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 Dehea_qmr.c54 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_array(nr_of_pages, sizeof(void *),
78 while (i < nr_of_pages) {
82 for (k = 0; k < pages_per_kpage && i < nr_of_pages; k++) {
96 for (i = 0; i < nr_of_pages; i += pages_per_kpage) {
/drivers/usb/storage/
H A Dsddr09.c398 int nr_of_pages, int bulklen, unsigned char *buf,
414 command[10] = MSB_of(nr_of_pages);
415 command[11] = LSB_of(nr_of_pages);
443 * nr_of_pages counts pages of size (1 << pageshift).
447 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
448 int bulklen = nr_of_pages << pageshift;
451 return sddr09_readX(us, 0, fromaddress, nr_of_pages, bulklen,
484 * nr_of_pages counts pages of size (1 << pageshift) + (1 << controlshift).
488 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
490 int bulklen = (nr_of_pages << pageshif
397 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) argument
446 sddr09_read20(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
487 sddr09_read22(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
579 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
623 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 565 milliseconds