Searched refs:nr_of_pages (Results 1 - 8 of 8) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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 = kmalloc(nr_of_pages * sizeof(void *), GFP_KERNEL);
227 queue->queue_pages = vmalloc(nr_of_pages * sizeof(void *));
233 memset(queue->queue_pages, 0, nr_of_pages * sizeof(void *));
240 if (!alloc_queue_pages(queue, 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...]
H A Dipz_pt_fn.h209 const u32 nr_of_pages, const u32 pagesize,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/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 = kmalloc(nr_of_pages * sizeof(void *), GFP_KERNEL);
227 queue->queue_pages = vmalloc(nr_of_pages * sizeof(void *));
233 memset(queue->queue_pages, 0, nr_of_pages * sizeof(void *));
240 if (!alloc_queue_pages(queue, 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...]
H A Dipz_pt_fn.h209 const u32 nr_of_pages, const u32 pagesize,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/storage/
H A Dsddr09.c384 int nr_of_pages, int bulklen, unsigned char *buf,
400 command[10] = MSB_of(nr_of_pages);
401 command[11] = LSB_of(nr_of_pages);
429 * nr_of_pages counts pages of size (1 << pageshift).
433 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
434 int bulklen = nr_of_pages << pageshift;
437 return sddr09_readX(us, 0, fromaddress, nr_of_pages, bulklen,
470 * nr_of_pages counts pages of size (1 << pageshift) + (1 << controlshift).
474 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
476 int bulklen = (nr_of_pages << pageshif
383 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) argument
432 sddr09_read20(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
473 sddr09_read22(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
543 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
587 sddr09_write_inplace(struct us_data *us, unsigned long address, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/usb/storage/
H A Dsddr09.c384 int nr_of_pages, int bulklen, unsigned char *buf,
400 command[10] = MSB_of(nr_of_pages);
401 command[11] = LSB_of(nr_of_pages);
429 * nr_of_pages counts pages of size (1 << pageshift).
433 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
434 int bulklen = nr_of_pages << pageshift;
437 return sddr09_readX(us, 0, fromaddress, nr_of_pages, bulklen,
470 * nr_of_pages counts pages of size (1 << pageshift) + (1 << controlshift).
474 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) {
476 int bulklen = (nr_of_pages << pageshif
383 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, int nr_of_pages, int bulklen, unsigned char *buf, int use_sg) argument
432 sddr09_read20(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
473 sddr09_read22(struct us_data *us, unsigned long fromaddress, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
543 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
587 sddr09_write_inplace(struct us_data *us, unsigned long address, int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/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(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) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/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(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) {

Completed in 179 milliseconds