Lines Matching defs:size
163 static int __do_index(struct sw842_param *p, u8 size, u8 bits, u64 fsize)
172 offset = index * size;
190 if (offset + size > total) {
191 pr_debug("index%x %lx points past end %lx\n", size,
196 if (size != 2 && size != 4 && size != 8)
197 WARN(1, "__do_index invalid size %x\n", size);
200 size, (unsigned long)index,
201 (unsigned long)(index * size), (unsigned long)offset,
203 (unsigned long)beN_to_cpu(&p->ostart[offset], size));
205 memcpy(p->out, &p->ostart[offset], size);
206 p->out += size;
207 p->olen -= size;