| /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 in rxe_map_mr_sg() [all...] |
| /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/fs/gfs2/ |
| H A D | lops.c | 719 unsigned int nbuf; in buf_lo_before_commit() 722 nbuf = tr->tr_num_buf_new - tr->tr_num_buf_rm; in buf_lo_before_commit() 723 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_buf, 0); 995 unsigned int nbuf; in databuf_lo_before_commit() 998 nbuf = tr->tr_num_databuf_new - tr->tr_num_databuf_rm; in databuf_lo_before_commit() 999 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_databuf, 1); in databuf_lo_before_commit() 717 unsigned int nbuf; buf_lo_before_commit() local 994 unsigned int nbuf; databuf_lo_before_commit() local
|
| /linux/drivers/crypto/ |
| H A D | talitos.c | 947 unsigned int nbuf; 959 unsigned int nbuf; 1829 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done() 1854 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done() 2051 if (!req_ctx->last_request && (nbytes + req_ctx->nbuf <= blocksize)) { in ahash_process_req() 2059 ctx_buf + req_ctx->nbuf, nbytes); in ahash_process_req() 2060 req_ctx->nbuf += nbytes; in ahash_process_req() 2065 nbytes_to_hash = nbytes + req_ctx->nbuf; in ahash_process_req() 2080 if (req_ctx->nbuf) { in ahash_process_req() 2081 nsg = (req_ctx->nbuf < nbytes_to_has in ahash_process_req() 949 unsigned int nbuf; global() member 961 unsigned int nbuf; global() member [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 | 210 char nbuf[16]; in ext4_journal_abort_handle() 211 const char *errstr = ext4_decode_error(NULL, err, nbuf); in ext4_journal_abort_handle() 197 char nbuf[16]; ext4_journal_abort_handle() local
|
| H A D | super.c | 968 char nbuf[16]) in __ext4_std_error() 996 if (nbuf) { in __ext4_msg() 998 if (snprintf(nbuf, 16, "error %d", -errno) >= 0) in __ext4_msg() 999 errstr = nbuf; in __ext4_msg() 1013 char nbuf[16]; 1026 errstr = ext4_decode_error(sb, errno, nbuf); in __ext4_warning() 6554 char nbuf[16]; in ext4_freeze() 6556 errstr = ext4_decode_error(sb, j_errno, nbuf); in ext4_freeze() 961 char nbuf[16]; __ext4_std_error() local 6446 char nbuf[16]; ext4_clear_journal_err() local
|
| /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 | 245 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 | 650 ring_size = dev->wlan.nbuf & ~(MTK_WED_BUF_PER_PAGE - 1); in mtk_wed_tx_buffer_alloc() 1485 dev->wlan.token_start + dev->wlan.nbuf - 1)); in mtk_wed_hw_init() 1497 dev->wlan.nbuf / 128) | in mtk_wed_hw_init() 1499 dev->wlan.nbuf / 128)); in mtk_wed_hw_init()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_main.c | 1731 u8 header, u8 ulp_num, u16 nbuf) in beiscsi_hdq_post_handles() 1757 for (prod = 0; prod < nbuf; prod++) { in beiscsi_hdq_post_handles() 1765 if (nbuf == pasync_ctx->num_entries) { in beiscsi_hdq_post_handles() 1725 beiscsi_hdq_post_handles(struct beiscsi_hba * phba,u8 header,u8 ulp_num,u16 nbuf) beiscsi_hdq_post_handles() argument
|