Searched refs:b_size (Results 1 - 5 of 5) sorted by relevance

/drivers/usb/mon/
H A Dmon_bin.c183 unsigned int b_size; /* Current size of the buffer - bytes */ member in struct:mon_reader_bin
247 if ((off += step_len) >= this->b_size) off = 0;
280 if ((off += step_len) >= this->b_size) off = 0;
298 if (rp->b_cnt + size > rp->b_size)
302 if ((rp->b_in += size) >= rp->b_size)
303 rp->b_in -= rp->b_size;
324 if (rp->b_cnt + size > rp->b_size)
326 if (rp->b_in + size > rp->b_size) {
332 fill_size = rp->b_size - rp->b_in;
333 if (rp->b_cnt + size + fill_size > rp->b_size)
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.h137 int b_size; /* Size of script B */ member in struct:sym_fw
H A Dsym_hipd.c5589 np->scriptb_sz = fw->b_size;
/drivers/scsi/
H A Dosst.c4446 int i, b_size, new_session = 0, retval = 0;
4520 for (i = 0, b_size = 0;
4521 (i < STp->buffer->sg_segs) && ((b_size + STp->buffer->sg[i].length) <= OS_DATA_SIZE);
4522 b_size += STp->buffer->sg[i++].length);
4523 STp->buffer->aux = (os_aux_t *) (page_address(sg_page(&STp->buffer->sg[i])) + OS_DATA_SIZE - b_size);
5337 int segs, nbr, max_segs, b_size, order, got;
5358 for (b_size = OS_DATA_SIZE, order = OSST_FIRST_ORDER; b_size >= PAGE_SIZE; order--, b_size /= 2) {
5363 sg_set_page(&STbuffer->sg[0], page, b_size,
4442 int i, b_size, new_session = 0, retval = 0; local
5332 int segs, nbr, max_segs, b_size, order, got; local
5405 int i, order, b_size; local
[all...]
H A Dst.c3758 int segs, max_segs, b_size, order, got;
3778 b_size = PAGE_SIZE << order;
3780 for (b_size = PAGE_SIZE, order = 0;
3783 order++, b_size *= 2)
3806 got += b_size;
3742 int segs, max_segs, b_size, order, got; local

Completed in 158 milliseconds