/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 563 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 564 &dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc() 565 if (!dma_buf->hbuf.virt) { in lpfc_sli4_rb_alloc() 572 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_rb_alloc() 573 dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc() 596 dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); in lpfc_sli4_rb_free() 621 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc() 622 &dma_buf->hbuf.phys); in lpfc_sli4_nvmet_alloc() 623 if (!dma_buf->hbuf.virt) { in lpfc_sli4_nvmet_alloc() 630 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_nvmet_alloc() [all …]
|
D | lpfc_nvmet.c | 418 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_ctxbuf_post() 430 hbuf.list); in lpfc_nvmet_ctxbuf_post() 435 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_ctxbuf_post() 1922 hbuf.list) { in lpfc_nvmet_rcv_unsol_abort() 1924 (nvmebuf->hbuf.virt); in lpfc_nvmet_rcv_unsol_abort() 1935 list_del_init(&nvmebuf->hbuf.list); in lpfc_nvmet_rcv_unsol_abort() 2239 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */ in lpfc_nvmet_process_rcv_fcp_req() 2390 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_unsol_fcp_buffer() 2413 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_fcp_buffer() 2436 list_add_tail(&nvmebuf->hbuf.list, in lpfc_nvmet_unsol_fcp_buffer() [all …]
|
D | lpfc_sli.c | 2497 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4() 2498 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4() 2662 return container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_sli_rqbuf_get() 3224 fc_hdr = nvmebuf->hbuf.virt; in lpfc_nvme_unsol_ls_handler() 7788 list_add_tail(&rqb_buffer->hbuf.list, &rqb_buf_list); in lpfc_post_rq_buffer() 7794 hbuf.list); in lpfc_post_rq_buffer() 7796 hrqe.address_lo = putPaddrLow(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer() 7797 hrqe.address_hi = putPaddrHigh(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer() 7813 list_add_tail(&rqb_buffer->hbuf.list, in lpfc_post_rq_buffer() 14651 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_sp_handle_rcqe() [all …]
|
D | lpfc.h | 162 struct lpfc_dmabuf hbuf; member 173 struct lpfc_dmabuf hbuf; member
|
D | lpfc_bsg.c | 1141 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_bsg_ct_unsol_abort()
|
D | lpfc_init.c | 10947 rqb_buffer = container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_free_rq_buffer()
|
/linux-6.6.21/include/linux/ |
D | hdlcdrv.h | 107 struct hdlcdrv_hdlcbuffer hbuf; member 122 struct hdlcdrv_hdlcbuffer hbuf; member 223 hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, bits); in hdlcdrv_putbits() 230 if (hdlcdrv_hbuf_empty(&s->hdlctx.hbuf)) { in hdlcdrv_getbits() 237 ret = hdlcdrv_hbuf_get(&s->hdlctx.hbuf); in hdlcdrv_getbits() 239 hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, ret); in hdlcdrv_getbits()
|
/linux-6.6.21/drivers/net/hamradio/ |
D | hdlcdrv.c | 166 while (!hdlcdrv_hbuf_empty(&s->hdlcrx.hbuf)) { in hdlcdrv_receiver() 167 word = hdlcdrv_hbuf_get(&s->hdlcrx.hbuf); in hdlcdrv_receiver() 266 if (hdlcdrv_hbuf_full(&s->hdlctx.hbuf)) { in hdlcdrv_transmitter() 270 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter() 445 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_open() 449 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_open() 643 spin_lock_init(&s->hdlcrx.hbuf.lock); in hdlcdrv_setup() 644 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_setup() 648 spin_lock_init(&s->hdlctx.hbuf.lock); in hdlcdrv_setup() 649 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_setup()
|
/linux-6.6.21/tools/usb/usbip/src/ |
D | usbipd.c | 363 char hbuf[NI_MAXHOST]; in addrinfo_to_text() local 369 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text() 374 snprintf(buf, buf_size, "%s:%s", hbuf, sbuf); in addrinfo_to_text()
|
/linux-6.6.21/drivers/misc/mei/ |
D | dma-ring.c | 151 unsigned char *hbuf = dev->dr_dscr[DMA_DSCR_HOST].vaddr; in mei_dma_copy_to() local 156 memcpy(hbuf + b_offset, buf, b_n); in mei_dma_copy_to()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_lan_tx_rx.h | 454 u16 hbuf; /* bigger than needed, see above for reason */ member
|
D | ice_common.c | 1440 ICE_CTX_STORE(ice_rlan_ctx, hbuf, 5, 109),
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 1285 int mtype, u32 addr, u32 len, void *hbuf) in cudbg_memory_read() argument 1296 if (addr & 0x3 || (uintptr_t)hbuf & 0x3) in cudbg_memory_read() 1299 buf = (u64 *)hbuf; in cudbg_memory_read()
|
D | t4_hw.c | 615 u32 len, void *hbuf, int dir) in t4_memory_rw() argument 624 if (addr & 0x3 || (uintptr_t)hbuf & 0x3) in t4_memory_rw() 626 buf = (u32 *)hbuf; in t4_memory_rw()
|