Searched refs:nbuf (Results 1 - 25 of 39) sorted by relevance

12

/linux-master/fs/exportfs/
H A Dexpfs.c122 struct dentry *dentry, char *nbuf)
142 err = exportfs_get_name(mnt, parent, nbuf, dentry);
147 dprintk("%s: found name: %s\n", __func__, nbuf);
148 tmp = lookup_one_unlocked(mnt_idmap(mnt), nbuf, parent, strlen(nbuf));
212 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) argument
222 parent = reconnect_one(mnt, dentry, nbuf);
436 char nbuf[NAME_MAX+1]; local
467 err = reconnect_path(mnt, result, nbuf);
518 err = reconnect_path(mnt, target_dir, nbuf);
121 reconnect_one(struct vfsmount *mnt, struct dentry *dentry, char *nbuf) argument
[all...]
/linux-master/arch/x86/events/intel/
H A Dbts.c89 int pg, nbuf, pad; local
92 for (pg = 0, nbuf = 0; pg < nr_pages;) {
95 nbuf++;
101 if (overwrite && nbuf > 1)
104 buf = kzalloc_node(offsetof(struct bts_buffer, buf[nbuf]), GFP_KERNEL, node);
109 buf->nr_bufs = nbuf;
114 for (pg = 0, nbuf = 0, offset = 0, pad = 0; nbuf < buf->nr_bufs; nbuf++) {
119 buf->buf[nbuf]
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_mac.c27 int nbuf = tx_info->nbuf - 1; local
30 for (i = 0; i < nbuf; i++) {
34 txp->nbuf = nbuf;
40 tx_info->nbuf = MT_CT_DMA_BUF_NUM;
/linux-master/arch/sparc/prom/
H A Dtree_32.c232 char nbuf[128]; local
242 for (d = nbuf; *s != 0 && *s != '@' && *s != '/';)
246 node = prom_searchsiblings(node, nbuf);
267 node2 = prom_searchsiblings(prom_getsibling(node2), nbuf);
/linux-master/fs/gfs2/
H A Dtrans.c127 s64 nbuf; local
143 nbuf = tr->tr_num_buf_new + tr->tr_num_databuf_new;
144 nbuf -= tr->tr_num_buf_rm;
145 nbuf -= tr->tr_num_databuf_rm;
147 if (gfs2_assert_withdraw(sdp, nbuf <= tr->tr_blocks) ||
H A Dlops.c719 unsigned int nbuf; local
722 nbuf = tr->tr_num_buf_new - tr->tr_num_buf_rm;
723 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_buf, 0);
996 unsigned int nbuf; local
999 nbuf = tr->tr_num_databuf_new - tr->tr_num_databuf_rm;
1000 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_databuf, 1);
/linux-master/drivers/crypto/
H A Dtalitos.c874 unsigned int nbuf; member in struct:talitos_ahash_req_ctx
886 unsigned int nbuf; member in struct:talitos_export_state
1731 if (is_sec1 && req_ctx->nbuf)
1756 req_ctx->nbuf = req_ctx->to_hash_later;
1821 if (is_sec1 && req_ctx->nbuf)
1822 length -= req_ctx->nbuf;
1833 if (is_sec1 && req_ctx->nbuf) {
1834 map_single_talitos_ptr(dev, &desc->ptr[3], req_ctx->nbuf,
1862 if (is_sec1 && req_ctx->nbuf && length) {
1922 nbytes -= req_ctx->nbuf;
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c122 char nbuf[INET6_ADDRSTRLEN]; local
136 if (!inet_ntop(addr->sa_family, ((void *) addr) + off, nbuf,
137 sizeof(nbuf)))
140 fprintf(stderr, "%s: %s\n", msg, nbuf);
H A Dxsk.c317 void *nbuf; local
319 nbuf = realloc(iov->iov_base, len);
320 if (!nbuf)
323 iov->iov_base = nbuf;
/linux-master/drivers/media/platform/xilinx/
H A Dxilinx-dma.c377 struct xvip_dma_buffer *buf, *nbuf; local
423 list_for_each_entry_safe(buf, nbuf, &dma->queued_bufs, queue) {
436 struct xvip_dma_buffer *buf, *nbuf; local
450 list_for_each_entry_safe(buf, nbuf, &dma->queued_bufs, queue) {
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_mr.c220 if (unlikely(mr->nbuf == mr->num_buf))
223 err = xa_err(xa_store(&mr->page_list, mr->nbuf, page, GFP_KERNEL));
227 mr->nbuf++;
237 mr->nbuf = 0;
H A Drxe_verbs.h317 u32 nbuf; member in struct:rxe_mr
/linux-master/fs/ext4/
H A Dext4_jbd2.c187 char nbuf[16]; local
188 const char *errstr = ext4_decode_error(NULL, err, nbuf);
/linux-master/fs/ubifs/
H A Dreplay.c439 char *nbuf; local
449 nbuf = kmalloc(nlen + 1, GFP_KERNEL);
450 if (!nbuf) {
465 memcpy(nbuf, name, nlen);
466 nbuf[nlen] = '\0';
467 fname_name(&r->nm) = nbuf;
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dinit.c285 int nbuf, int ndesc, bool is_tx)
292 name, nbuf, ndesc);
308 dd->dd_desc_len = desc_len * nbuf * ndesc;
343 bsize = sizeof(struct ath_buf) * nbuf;
348 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) {
374 bsize = sizeof(struct ath_rxbuf) * nbuf;
379 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) {
283 ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, struct list_head *head, const char *name, int nbuf, int ndesc, bool is_tx) argument
/linux-master/sound/core/
H A Dinfo.c319 char *nbuf = kvzalloc(PAGE_ALIGN(next), GFP_KERNEL); local
320 if (!nbuf)
323 buf->buffer = nbuf;
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c165 int i, nbuf = tx_info->nbuf - 1; local
169 tx_info->nbuf = 1;
179 for (i = 0; i < nbuf; i++) {
183 if (i == nbuf - 1)
205 for (i = 0; i < txp->nbuf; i++)
H A Dmt76_connac.h140 u8 nbuf; member in struct:mt76_connac_fw_txp
H A Ddma.c587 tx_info.nbuf = n;
589 if (q->queued + (tx_info.nbuf + 1) / 2 >= q->ndesc - 1) {
602 return mt76_dma_add_buf(dev, q, tx_info.buf, tx_info.nbuf,
/linux-master/tools/lib/bpf/
H A Dnetlink.c121 void *nbuf; local
123 nbuf = realloc(iov->iov_base, len);
124 if (!nbuf)
127 iov->iov_base = nbuf;
/linux-master/drivers/net/ethernet/apm/xgene-v2/
H A Dmain.c64 static int xge_refill_buffers(struct net_device *ndev, u32 nbuf) argument
78 for (i = 0; i < nbuf; i++) {
/linux-master/include/linux/soc/mediatek/
H A Dmtk_wed.h159 unsigned int nbuf; member in struct:mtk_wed_device::__anon2479
/linux-master/drivers/media/platform/via/
H A Dvia-camera.c399 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; local
406 if (nbuf >= 3) {
410 } else if (nbuf == 2) {
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c753 int id, i, nbuf = tx_info->nbuf - 1; local
786 for (i = 0; i < nbuf; i++) {
790 txp->nbuf = nbuf;
817 tx_info->nbuf = MT_CT_DMA_BUF_NUM;
839 txp->nbuf = 1;
/linux-master/fs/fuse/
H A Ddev.c2026 unsigned nbuf; local
2051 nbuf = 0;
2065 if (WARN_ON(nbuf >= count || tail == head))
2069 obuf = &bufs[nbuf];
2086 nbuf++;
2093 cs.nr_segs = nbuf;
2103 for (idx = 0; idx < nbuf; idx++) {

Completed in 286 milliseconds

12