| /linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | pci_mac.c | 27 int nbuf = tx_info->nbuf - 1; in mt7615_write_fw_txp() local 30 for (i = 0; i < nbuf; i++) { in mt7615_write_fw_txp() 34 txp->nbuf = nbuf; in mt7615_write_fw_txp() 40 tx_info->nbuf = MT_CT_DMA_BUF_NUM; in mt7615_write_fw_txp()
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_mr.c | 100 WARN_ON(idx >= mr->nbuf); in rxe_mr_iova_to_index() 147 mr->page_info[mr->nbuf].page = page; in rxe_mr_fill_pages_from_sgt() 148 mr->page_info[mr->nbuf].offset = 0; in rxe_mr_fill_pages_from_sgt() 149 mr->nbuf++; in rxe_mr_fill_pages_from_sgt() 165 mr->nbuf = 0; in __alloc_mr_page_info() 272 if (unlikely(mr->nbuf >= mr->max_allowed_buf)) in rxe_set_page() 280 mr->page_info[mr->nbuf].page = sub_page; in rxe_set_page() 281 mr->page_info[mr->nbuf].offset = addr & (PAGE_SIZE - 1); in rxe_set_page() 282 mr->nbuf++; in rxe_set_page() 319 mr->nbuf = 0; in rxe_map_mr_sg()
|
| /linux/arch/sparc/prom/ |
| H A D | tree_32.c | 232 char nbuf[128]; in prom_finddevice() local 242 for (d = nbuf; *s != 0 && *s != '@' && *s != '/';) in prom_finddevice() 246 node = prom_searchsiblings(node, nbuf); in prom_finddevice() 267 node2 = prom_searchsiblings(prom_getsibling(node2), nbuf); in prom_finddevice()
|
| /linux/drivers/crypto/ |
| H A D | talitos.c | 949 unsigned int nbuf; member 961 unsigned int nbuf; member 1831 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done() 1856 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done() 2053 if (!req_ctx->last_request && (nbytes + req_ctx->nbuf <= blocksize)) { in ahash_process_req() 2061 ctx_buf + req_ctx->nbuf, nbytes); in ahash_process_req() 2062 req_ctx->nbuf += nbytes; in ahash_process_req() 2067 nbytes_to_hash = nbytes + req_ctx->nbuf; in ahash_process_req() 2082 if (req_ctx->nbuf) { in ahash_process_req() 2083 nsg = (req_ctx->nbuf < nbytes_to_hash) ? 2 : 1; in ahash_process_req() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xsk.c | 317 void *nbuf; in alloc_iov() local 319 nbuf = realloc(iov->iov_base, len); in alloc_iov() 320 if (!nbuf) in alloc_iov() 323 iov->iov_base = nbuf; in alloc_iov()
|
| /linux/fs/ext4/ |
| H A D | ext4_jbd2.c | 197 char nbuf[16]; in ext4_journal_abort_handle() local 198 const char *errstr = ext4_decode_error(NULL, err, nbuf); in ext4_journal_abort_handle()
|
| H A D | super.c | 916 char nbuf[16]) in ext4_decode_error() 944 if (nbuf) { in ext4_decode_error() 946 if (snprintf(nbuf, 16, "error %d", -errno) >= 0) in ext4_decode_error() 947 errstr = nbuf; in ext4_decode_error() 961 char nbuf[16]; in __ext4_std_error() local 974 errstr = ext4_decode_error(sb, errno, nbuf); in __ext4_std_error() 6437 char nbuf[16]; in ext4_clear_journal_err() 6439 errstr = ext4_decode_error(sb, j_errno, nbuf); in ext4_clear_journal_err() 6436 char nbuf[16]; ext4_clear_journal_err() local
|
| H A D | mballoc.c | 3149 char nbuf[16]; in ext4_mb_seq_groups_show() local 3174 seq_printf(seq, "#%-5u: %s\n", group, ext4_decode_error(NULL, err, nbuf)); in ext4_mb_seq_groups_show()
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76_connac_mac.c | 168 int i, nbuf = tx_info->nbuf - 1; in mt76_connac_write_hw_txp() local 172 tx_info->nbuf = 1; in mt76_connac_write_hw_txp() 182 for (i = 0; i < nbuf; i++) { in mt76_connac_write_hw_txp() 186 if (i == nbuf - 1) in mt76_connac_write_hw_txp() 208 for (i = 0; i < txp->nbuf; i++) in mt76_connac_txp_skb_unmap_fw()
|
| H A D | dma.c | 726 tx_info.nbuf = n; in mt76_dma_tx_queue_skb() 728 if (q->queued + (tx_info.nbuf + 1) / 2 >= q->ndesc - 1) { in mt76_dma_tx_queue_skb() 744 return mt76_dma_add_buf(dev, q, tx_info.buf, tx_info.nbuf, in mt76_dma_tx_queue_skb()
|
| H A D | mt76_connac.h | 145 u8 nbuf; member
|
| H A D | mt76.h | 206 int nbuf; member
|
| /linux/tools/lib/bpf/ |
| H A D | netlink.c | 121 void *nbuf; in alloc_iov() local 123 nbuf = realloc(iov->iov_base, len); in alloc_iov() 124 if (!nbuf) in alloc_iov() 127 iov->iov_base = nbuf; in alloc_iov()
|
| /linux/sound/core/ |
| H A D | info.c | 319 char *nbuf = kvzalloc(PAGE_ALIGN(next), GFP_KERNEL); in snd_info_text_entry_write() local 320 if (!nbuf) in snd_info_text_entry_write() 323 buf->buffer = nbuf; in snd_info_text_entry_write()
|
| /linux/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_main.c | 68 u32 nbuf) in xgene_enet_refill_pagepool() argument 89 for (i = 0; i < nbuf; i++) { in xgene_enet_refill_pagepool() 112 pdata->ring_ops->wr_cmd(buf_pool, nbuf); in xgene_enet_refill_pagepool() 119 u32 nbuf) in xgene_enet_refill_bufpool() argument 139 for (i = 0; i < nbuf; i++) { in xgene_enet_refill_bufpool() 161 pdata->ring_ops->wr_cmd(buf_pool, nbuf); in xgene_enet_refill_bufpool()
|
| /linux/drivers/media/platform/via/ |
| H A D | via-camera.c | 399 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; in viacam_ctlr_cbufs() local 406 if (nbuf >= 3) { in viacam_ctlr_cbufs() 410 } else if (nbuf == 2) { in viacam_ctlr_cbufs()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mac.c | 740 int id, i, nbuf = tx_info->nbuf - 1; in mt7915_tx_prepare_skb() local 773 for (i = 0; i < nbuf; i++) { in mt7915_tx_prepare_skb() 777 txp->nbuf = nbuf; in mt7915_tx_prepare_skb() 804 tx_info->nbuf = MT_CT_DMA_BUF_NUM; in mt7915_tx_prepare_skb() 826 txp->nbuf = 1; in mt7915_wed_init_buf()
|
| H A D | mmio.c | 692 wed->wlan.nbuf = MT7915_HW_TOKEN_SIZE; in mt7915_mmio_wed_init() 696 wed->wlan.token_start = MT7915_TOKEN_SIZE - wed->wlan.nbuf; in mt7915_mmio_wed_init()
|
| /linux/drivers/net/ethernet/apm/xgene-v2/ |
| H A D | main.c | 62 static int xge_refill_buffers(struct net_device *ndev, u32 nbuf) in xge_refill_buffers() argument 76 for (i = 0; i < nbuf; i++) { in xge_refill_buffers()
|
| /linux/drivers/vhost/ |
| H A D | vhost.h | 244 void vhost_discard_vq_desc(struct vhost_virtqueue *, int nbuf,
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | mmio.c | 607 wed->wlan.nbuf = MT7996_HW_TOKEN_SIZE; in mt7996_mmio_wed_init() 608 wed->wlan.token_start = MT7996_TOKEN_SIZE - wed->wlan.nbuf; in mt7996_mmio_wed_init()
|
| H A D | mac.c | 1048 int id, i, pid, nbuf = tx_info->nbuf - 1; in mt7996_tx_prepare_skb() local 1172 for (i = 0; i < nbuf; i++) { in mt7996_tx_prepare_skb() 1184 txp->fw.nbuf = nbuf; in mt7996_tx_prepare_skb() 1215 tx_info->nbuf = MT_CT_DMA_BUF_NUM; in mt7996_tx_prepare_skb() 1241 txp->nbuf = 1; in mt7996_wed_init_buf()
|
| /linux/lib/ |
| H A D | dynamic_debug.c | 182 struct flagsbuf fbuf, nbuf; in ddebug_change() local 262 ddebug_describe_flags(newflags, &nbuf)); in ddebug_change()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_wed.c | 651 ring_size = dev->wlan.nbuf & ~(MTK_WED_BUF_PER_PAGE - 1); in mtk_wed_tx_buffer_alloc() 1478 dev->wlan.token_start + dev->wlan.nbuf - 1)); in mtk_wed_hw_init() 1490 dev->wlan.nbuf / 128) | in mtk_wed_hw_init() 1492 dev->wlan.nbuf / 128)); in mtk_wed_hw_init()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_main.c | 1725 u8 header, u8 ulp_num, u16 nbuf) in beiscsi_hdq_post_handles() argument 1751 for (prod = 0; prod < nbuf; prod++) { in beiscsi_hdq_post_handles() 1759 if (nbuf == pasync_ctx->num_entries) { in beiscsi_hdq_post_handles()
|