bsq 862 drivers/atm/fore200e.c int bsq_audit(int where, struct host_bsq* bsq, int scheme, int magn) bsq 867 drivers/atm/fore200e.c buffer = bsq->freebuf; bsq 894 drivers/atm/fore200e.c if (count != bsq->freebuf_count) { bsq 896 drivers/atm/fore200e.c where, scheme, magn, count, bsq->freebuf_count); bsq 908 drivers/atm/fore200e.c struct host_bsq* bsq; bsq 915 drivers/atm/fore200e.c bsq = &fore200e->host_bsq[ scheme ][ magn ]; bsq 918 drivers/atm/fore200e.c bsq_audit(1, bsq, scheme, magn); bsq 920 drivers/atm/fore200e.c while (bsq->freebuf_count >= RBD_BLK_SIZE) { bsq 923 drivers/atm/fore200e.c RBD_BLK_SIZE, scheme, magn, bsq->freebuf_count); bsq 925 drivers/atm/fore200e.c entry = &bsq->host_entry[ bsq->head ]; bsq 930 drivers/atm/fore200e.c buffer = bsq->freebuf; bsq 933 drivers/atm/fore200e.c scheme, magn, bsq->freebuf_count); bsq 936 drivers/atm/fore200e.c bsq->freebuf = buffer->next; bsq 948 drivers/atm/fore200e.c FORE200E_NEXT_ENTRY(bsq->head, QUEUE_SIZE_BS); bsq 951 drivers/atm/fore200e.c bsq->freebuf_count -= RBD_BLK_SIZE; bsq 1056 drivers/atm/fore200e.c struct host_bsq* bsq; bsq 1065 drivers/atm/fore200e.c bsq = &fore200e->host_bsq[ buffer->scheme ][ buffer->magn ]; bsq 1068 drivers/atm/fore200e.c bsq_audit(2, bsq, buffer->scheme, buffer->magn); bsq 1077 drivers/atm/fore200e.c buffer->next = bsq->freebuf; bsq 1078 drivers/atm/fore200e.c bsq->freebuf = buffer; bsq 1081 drivers/atm/fore200e.c bsq->freebuf_count++; bsq 2013 drivers/atm/fore200e.c struct host_bsq* bsq; bsq 2019 drivers/atm/fore200e.c bsq = &fore200e->host_bsq[ scheme ][ magn ]; bsq 2027 drivers/atm/fore200e.c buffer = bsq->buffer = kcalloc(nbr, sizeof(struct buffer), bsq 2033 drivers/atm/fore200e.c bsq->freebuf = NULL; bsq 2057 drivers/atm/fore200e.c buffer[ i ].next = bsq->freebuf; bsq 2058 drivers/atm/fore200e.c bsq->freebuf = &buffer[ i ]; bsq 2061 drivers/atm/fore200e.c bsq->freebuf_count = nbr; bsq 2064 drivers/atm/fore200e.c bsq_audit(3, bsq, scheme, magn); bsq 2078 drivers/atm/fore200e.c struct host_bsq* bsq; bsq 2086 drivers/atm/fore200e.c bsq = &fore200e->host_bsq[ scheme ][ magn ]; bsq 2090 drivers/atm/fore200e.c &bsq->status, bsq 2099 drivers/atm/fore200e.c &bsq->rbd_block, bsq 2104 drivers/atm/fore200e.c fore200e_dma_chunk_free(fore200e, &bsq->status); bsq 2115 drivers/atm/fore200e.c bsq->host_entry[ i ].status = bsq 2116 drivers/atm/fore200e.c FORE200E_INDEX(bsq->status.align_addr, enum status, i); bsq 2117 drivers/atm/fore200e.c bsq->host_entry[ i ].rbd_block = bsq 2118 drivers/atm/fore200e.c FORE200E_INDEX(bsq->rbd_block.align_addr, struct rbd_block, i); bsq 2119 drivers/atm/fore200e.c bsq->host_entry[ i ].rbd_block_dma = bsq 2120 drivers/atm/fore200e.c FORE200E_DMA_INDEX(bsq->rbd_block.dma_addr, struct rbd_block, i); bsq 2121 drivers/atm/fore200e.c bsq->host_entry[ i ].cp_entry = &cp_entry[ i ]; bsq 2123 drivers/atm/fore200e.c *bsq->host_entry[ i ].status = STATUS_FREE; bsq 2125 drivers/atm/fore200e.c fore200e->bus->write(FORE200E_DMA_INDEX(bsq->status.dma_addr, enum status, i),