Lines Matching refs:size
45 int size = 32; in cxio_dump_tpt() local
47 m = kmalloc(sizeof(*m) + size, GFP_ATOMIC); in cxio_dump_tpt()
53 m->len = size; in cxio_dump_tpt()
63 while (size > 0) { in cxio_dump_tpt()
66 size -= 8; in cxio_dump_tpt()
78 int size, npages; in cxio_dump_pbl() local
82 size = npages * sizeof(u64); in cxio_dump_pbl()
84 m = kmalloc(sizeof(*m) + size, GFP_ATOMIC); in cxio_dump_pbl()
90 m->len = size; in cxio_dump_pbl()
101 while (size > 0) { in cxio_dump_pbl()
104 size -= 8; in cxio_dump_pbl()
114 uint size = (uint)(be64_to_cpu(*data) & 0xff); in cxio_dump_wqe() local
116 if (size == 0) in cxio_dump_wqe()
117 size = 8; in cxio_dump_wqe()
118 while (size > 0) { in cxio_dump_wqe()
121 size--; in cxio_dump_wqe()
129 int size = sizeof(*wce); in cxio_dump_wce() local
131 while (size > 0) { in cxio_dump_wce()
134 size -= 8; in cxio_dump_wce()
142 int size = nents * 64; in cxio_dump_rqt() local
146 m = kmalloc(sizeof(*m) + size, GFP_ATOMIC); in cxio_dump_rqt()
152 m->len = size; in cxio_dump_rqt()
162 while (size > 0) { in cxio_dump_rqt()
165 size -= 8; in cxio_dump_rqt()
175 int size = TCB_SIZE; in cxio_dump_tcb() local
179 m = kmalloc(sizeof(*m) + size, GFP_ATOMIC); in cxio_dump_tcb()
184 m->addr = hwtid * size; in cxio_dump_tcb()
185 m->len = size; in cxio_dump_tcb()
195 while (size > 0) { in cxio_dump_tcb()
200 size -= 32; in cxio_dump_tcb()