BSG_MBOX_SIZE
dmabuf->virt = dma_alloc_coherent(&pcidev->dev, BSG_MBOX_SIZE,
dma_free_coherent(&pcidev->dev, BSG_MBOX_SIZE,
if (job->request_payload.payload_len > BSG_MBOX_SIZE) {
if ((mbox_req->inExtWLen > BSG_MBOX_SIZE/sizeof(uint32_t)) ||
(mbox_req->outExtWLen > BSG_MBOX_SIZE/sizeof(uint32_t))) {
if (unlikely(job->reply_payload.payload_len > BSG_MBOX_SIZE)) {
(transmit_length > BSG_MBOX_SIZE - sizeof(MAILBOX_t))) {
if (receive_length > BSG_MBOX_SIZE - sizeof(MAILBOX_t)) {
BSG_MBOX_SIZE - sizeof(MAILBOX_t)) {
BSG_MBOX_SIZE - sizeof(MAILBOX_t))) {
if (mbx_word_cnt > (BSG_MBOX_SIZE)/4)