Home
last modified time | relevance | path

Searched refs:nbuf (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.3-rc2/arch/x86/events/intel/
A Dbts.c89 int pg, nbuf, pad; in bts_buffer_setup_aux() local
92 for (pg = 0, nbuf = 0; pg < nr_pages;) { in bts_buffer_setup_aux()
95 nbuf++; in bts_buffer_setup_aux()
101 if (overwrite && nbuf > 1) in bts_buffer_setup_aux()
109 buf->nr_bufs = nbuf; in bts_buffer_setup_aux()
114 for (pg = 0, nbuf = 0, offset = 0, pad = 0; nbuf < buf->nr_bufs; nbuf++) { in bts_buffer_setup_aux()
119 buf->buf[nbuf].page = page; in bts_buffer_setup_aux()
120 buf->buf[nbuf].offset = offset; in bts_buffer_setup_aux()
122 buf->buf[nbuf].size = buf_size(page) - buf->buf[nbuf].displacement; in bts_buffer_setup_aux()
123 pad = buf->buf[nbuf].size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
[all …]
/linux-6.3-rc2/fs/exportfs/
A Dexpfs.c122 struct dentry *dentry, char *nbuf) in reconnect_one() argument
142 err = exportfs_get_name(mnt, parent, nbuf, dentry); in reconnect_one()
147 dprintk("%s: found name: %s\n", __func__, nbuf); in reconnect_one()
148 tmp = lookup_one_unlocked(mnt_idmap(mnt), nbuf, parent, strlen(nbuf)); in reconnect_one()
222 parent = reconnect_one(mnt, dentry, nbuf); in reconnect_path()
427 char nbuf[NAME_MAX+1]; in exportfs_decode_fh_raw() local
458 err = reconnect_path(mnt, result, nbuf); in exportfs_decode_fh_raw()
509 err = reconnect_path(mnt, target_dir, nbuf); in exportfs_decode_fh_raw()
520 err = exportfs_get_name(mnt, target_dir, nbuf, result); in exportfs_decode_fh_raw()
527 nresult = lookup_one(mnt_idmap(mnt), nbuf, in exportfs_decode_fh_raw()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/
A Dpci_mac.c27 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-6.3-rc2/arch/sparc/prom/
A Dtree_32.c232 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-6.3-rc2/fs/gfs2/
A Dtrans.c127 s64 nbuf; in gfs2_trans_end() local
143 nbuf = tr->tr_num_buf_new + tr->tr_num_databuf_new; in gfs2_trans_end()
144 nbuf -= tr->tr_num_buf_rm; in gfs2_trans_end()
145 nbuf -= tr->tr_num_databuf_rm; in gfs2_trans_end()
147 if (gfs2_assert_withdraw(sdp, nbuf <= tr->tr_blocks) || in gfs2_trans_end()
A Dlops.c728 unsigned int nbuf; in buf_lo_before_commit() local
731 nbuf = tr->tr_num_buf_new - tr->tr_num_buf_rm; in buf_lo_before_commit()
732 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_buf, 0); in buf_lo_before_commit()
1005 unsigned int nbuf; in databuf_lo_before_commit() local
1008 nbuf = tr->tr_num_databuf_new - tr->tr_num_databuf_rm; in databuf_lo_before_commit()
1009 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_databuf, 1); in databuf_lo_before_commit()
/linux-6.3-rc2/drivers/crypto/
A Dtalitos.c874 unsigned int nbuf; member
886 unsigned int nbuf; member
1731 if (is_sec1 && req_ctx->nbuf) in common_nonsnoop_hash_unmap()
1822 length -= req_ctx->nbuf; in common_nonsnoop_hash()
1922 nbytes -= req_ctx->nbuf; in ahash_edesc_alloc()
1939 req_ctx->nbuf = 0; in ahash_init()
2007 req_ctx->nbuf += nbytes; in ahash_process_req()
2034 } else if (is_sec1 && req_ctx->nbuf && req_ctx->nbuf < blocksize) { in ahash_process_req()
2048 req_ctx->nbuf += offset; in ahash_process_req()
2151 export->nbuf = req_ctx->nbuf; in ahash_export()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dinit.c285 int nbuf, int ndesc, bool is_tx) in ath_descdma_setup() argument
292 name, nbuf, ndesc); in ath_descdma_setup()
308 dd->dd_desc_len = desc_len * nbuf * ndesc; in ath_descdma_setup()
343 bsize = sizeof(struct ath_buf) * nbuf; in ath_descdma_setup()
348 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup()
374 bsize = sizeof(struct ath_rxbuf) * nbuf; in ath_descdma_setup()
379 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_flow_dissector.c122 char nbuf[INET6_ADDRSTRLEN]; in util_printaddr() local
136 if (!inet_ntop(addr->sa_family, ((void *) addr) + off, nbuf, in util_printaddr()
137 sizeof(nbuf))) in util_printaddr()
140 fprintf(stderr, "%s: %s\n", msg, nbuf); in util_printaddr()
/linux-6.3-rc2/fs/ubifs/
A Dreplay.c438 char *nbuf; in insert_dent() local
448 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent()
449 if (!nbuf) { in insert_dent()
464 memcpy(nbuf, name, nlen); in insert_dent()
465 nbuf[nlen] = '\0'; in insert_dent()
466 fname_name(&r->nm) = nbuf; in insert_dent()
/linux-6.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_mr.c225 if (unlikely(mr->nbuf == mr->num_buf)) in rxe_set_page()
228 err = xa_err(xa_store(&mr->page_list, mr->nbuf, page, GFP_KERNEL)); in rxe_set_page()
232 mr->nbuf++; in rxe_set_page()
242 mr->nbuf = 0; in rxe_map_mr_sg()
A Drxe_verbs.h310 u32 nbuf; member
/linux-6.3-rc2/drivers/media/platform/xilinx/
A Dxilinx-dma.c376 struct xvip_dma_buffer *buf, *nbuf; in xvip_dma_start_streaming() local
422 list_for_each_entry_safe(buf, nbuf, &dma->queued_bufs, queue) { in xvip_dma_start_streaming()
435 struct xvip_dma_buffer *buf, *nbuf; in xvip_dma_stop_streaming() local
449 list_for_each_entry_safe(buf, nbuf, &dma->queued_bufs, queue) { in xvip_dma_stop_streaming()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76_connac_mac.c161 int i, nbuf = tx_info->nbuf - 1; in mt76_connac_write_hw_txp() local
165 tx_info->nbuf = 1; in mt76_connac_write_hw_txp()
175 for (i = 0; i < nbuf; i++) { in mt76_connac_write_hw_txp()
179 if (i == nbuf - 1) in mt76_connac_write_hw_txp()
201 for (i = 0; i < txp->nbuf; i++) in mt76_connac_txp_skb_unmap_fw()
A Ddma.c540 tx_info.nbuf = n; in mt76_dma_tx_queue_skb()
542 if (q->queued + (tx_info.nbuf + 1) / 2 >= q->ndesc - 1) { in mt76_dma_tx_queue_skb()
555 return mt76_dma_add_buf(dev, q, tx_info.buf, tx_info.nbuf, in mt76_dma_tx_queue_skb()
A Dmt76_connac.h126 u8 nbuf; member
/linux-6.3-rc2/fs/ext4/
A Dext4_jbd2.c186 char nbuf[16]; in ext4_journal_abort_handle() local
187 const char *errstr = ext4_decode_error(NULL, err, nbuf); in ext4_journal_abort_handle()
/linux-6.3-rc2/tools/lib/bpf/
A Dnetlink.c120 void *nbuf; in alloc_iov() local
122 nbuf = realloc(iov->iov_base, len); in alloc_iov()
123 if (!nbuf) in alloc_iov()
126 iov->iov_base = nbuf; in alloc_iov()
/linux-6.3-rc2/sound/core/
A Dinfo.c330 char *nbuf = kvzalloc(PAGE_ALIGN(next), GFP_KERNEL); in snd_info_text_entry_write() local
331 if (!nbuf) { in snd_info_text_entry_write()
336 buf->buffer = nbuf; in snd_info_text_entry_write()
/linux-6.3-rc2/fs/fuse/
A Ddev.c1968 unsigned nbuf; in fuse_dev_splice_write() local
1993 nbuf = 0; in fuse_dev_splice_write()
2007 if (WARN_ON(nbuf >= count || tail == head)) in fuse_dev_splice_write()
2011 obuf = &bufs[nbuf]; in fuse_dev_splice_write()
2028 nbuf++; in fuse_dev_splice_write()
2035 cs.nr_segs = nbuf; in fuse_dev_splice_write()
2045 for (idx = 0; idx < nbuf; idx++) { in fuse_dev_splice_write()
/linux-6.3-rc2/drivers/media/platform/via/
A Dvia-camera.c410 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; in viacam_ctlr_cbufs() local
417 if (nbuf >= 3) { in viacam_ctlr_cbufs()
421 } else if (nbuf == 2) { in viacam_ctlr_cbufs()
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_main.c68 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-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmac.c756 int id, i, nbuf = tx_info->nbuf - 1; in mt7915_tx_prepare_skb() local
789 for (i = 0; i < nbuf; i++) { in mt7915_tx_prepare_skb()
793 txp->nbuf = nbuf; in mt7915_tx_prepare_skb()
820 tx_info->nbuf = MT_CT_DMA_BUF_NUM; in mt7915_tx_prepare_skb()
842 txp->nbuf = 1; in mt7915_wed_init_buf()
/linux-6.3-rc2/include/linux/soc/mediatek/
A Dmtk_wed.h137 unsigned int nbuf; member
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene-v2/
A Dmain.c64 static int xge_refill_buffers(struct net_device *ndev, u32 nbuf) in xge_refill_buffers() argument
78 for (i = 0; i < nbuf; i++) { in xge_refill_buffers()

Completed in 83 milliseconds

12