Searched refs:pbufs (Results 1 – 3 of 3) sorted by relevance
709 struct printk_buffers pbufs; member791 char *outbuf = &user->pbufs.outbuf[0]; in devkmsg_read()793 .pbufs = &user->pbufs, in devkmsg_read()2738 struct printk_buffers *pbufs = pmsg->pbufs; in console_prepend_dropped() local2739 const size_t scratchbuf_sz = sizeof(pbufs->scratchbuf); in console_prepend_dropped()2740 const size_t outbuf_sz = sizeof(pbufs->outbuf); in console_prepend_dropped()2741 char *scratchbuf = &pbufs->scratchbuf[0]; in console_prepend_dropped()2742 char *outbuf = &pbufs->outbuf[0]; in console_prepend_dropped()2795 struct printk_buffers *pbufs = pmsg->pbufs; in printk_get_next_message() local2796 const size_t scratchbuf_sz = sizeof(pbufs->scratchbuf); in printk_get_next_message()[all …]
101 struct printk_buffers *pbufs; member
3261 unsigned int pbufs; in alloc_desc() local3272 pbufs = (unsigned int)info->bufs_dma_addr; in alloc_desc()3280 info->rbufs[i].pdesc = pbufs + (i * sizeof(struct slgt_desc)); in alloc_desc()3284 info->rbufs[i].next = cpu_to_le32(pbufs); in alloc_desc()3286 info->rbufs[i].next = cpu_to_le32(pbufs + ((i+1) * sizeof(struct slgt_desc))); in alloc_desc()3292 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc()3296 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc)); in alloc_desc()3298 …info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc))); in alloc_desc()