| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_mr.c | 99 WARN_ON(idx >= mr->nbuf); in rxe_mr_iova_to_index() 146 mr->page_info[mr->nbuf].page = page; in rxe_mr_fill_pages_from_sgt() 147 mr->page_info[mr->nbuf].offset = 0; in rxe_mr_fill_pages_from_sgt() 148 mr->nbuf++; in rxe_mr_fill_pages_from_sgt() 164 mr->nbuf = 0; in __alloc_mr_page_info() 271 if (unlikely(mr->nbuf >= mr->max_allowed_buf)) in rxe_set_page() 279 mr->page_info[mr->nbuf].page = sub_page; in rxe_set_page() 280 mr->page_info[mr->nbuf].offset = addr & (PAGE_SIZE - 1); in rxe_set_page() 281 mr->nbuf++; in rxe_set_page() 318 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/net/wireless/ath/ath9k/ |
| H A D | init.c | 284 int nbuf, int ndesc, bool is_tx) in ath_descdma_setup() argument 291 name, nbuf, ndesc); in ath_descdma_setup() 307 dd->dd_desc_len = desc_len * nbuf * ndesc; in ath_descdma_setup() 342 bsize = sizeof(struct ath_buf) * nbuf; in ath_descdma_setup() 347 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() 373 bsize = sizeof(struct ath_rxbuf) * nbuf; in ath_descdma_setup() 378 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup()
|
| H A D | ath9k.h | 79 int nbuf, int ndesc, bool is_tx);
|
| /linux/fs/gfs2/ |
| H A D | lops.c | 715 unsigned int nbuf; in buf_lo_before_commit() local 718 nbuf = tr->tr_num_buf_new - tr->tr_num_buf_rm; in buf_lo_before_commit() 719 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_buf, 0); in buf_lo_before_commit() 992 unsigned int nbuf; in databuf_lo_before_commit() local 995 nbuf = tr->tr_num_databuf_new - tr->tr_num_databuf_rm; in databuf_lo_before_commit() 996 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_databuf, 1); in databuf_lo_before_commit()
|
| /linux/fs/ubifs/ |
| H A D | replay.c | 440 char *nbuf; in insert_dent() local 450 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent() 451 if (!nbuf) { in insert_dent() 466 memcpy(nbuf, name, nlen); in insert_dent() 467 nbuf[nlen] = '\0'; in insert_dent() 468 fname_name(&r->nm) = nbuf; in insert_dent()
|
| /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 | 189 char nbuf[16]; in ext4_journal_abort_handle() local 190 const char *errstr = ext4_decode_error(NULL, err, nbuf); in ext4_journal_abort_handle()
|
| H A D | super.c | 910 char nbuf[16]) in ext4_decode_error() 938 if (nbuf) { in ext4_decode_error() 940 if (snprintf(nbuf, 16, "error %d", -errno) >= 0) in ext4_decode_error() 941 errstr = nbuf; in ext4_decode_error() 955 char nbuf[16]; in __ext4_std_error() local 968 errstr = ext4_decode_error(sb, errno, nbuf); in __ext4_std_error() 6369 char nbuf[16]; in ext4_clear_journal_err() local 6371 errstr = ext4_decode_error(sb, j_errno, nbuf); in ext4_clear_journal_err()
|
| H A D | mballoc.c | 3142 char nbuf[16]; in ext4_mb_seq_groups_show() local 3167 seq_printf(seq, "#%-5u: %s\n", group, ext4_decode_error(NULL, err, nbuf)); in ext4_mb_seq_groups_show()
|
| /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/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/fs/fuse/ |
| H A D | dev.c | 2296 unsigned nbuf; in fuse_dev_splice_write() local 2319 nbuf = 0; in fuse_dev_splice_write() 2333 if (WARN_ON(nbuf >= count || pipe_empty(head, tail))) in fuse_dev_splice_write() 2337 obuf = &bufs[nbuf]; in fuse_dev_splice_write() 2354 nbuf++; in fuse_dev_splice_write() 2361 cs.nr_segs = nbuf; in fuse_dev_splice_write() 2371 for (idx = 0; idx < nbuf; idx++) { in fuse_dev_splice_write()
|
| /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 | 241 void vhost_discard_vq_desc(struct vhost_virtqueue *, int nbuf,
|
| /linux/drivers/staging/media/tegra-video/ |
| H A D | vi.c | 243 struct tegra_channel_buffer *buf, *nbuf; in tegra_channel_release_buffers() local 246 list_for_each_entry_safe(buf, nbuf, &chan->capture, queue) { in tegra_channel_release_buffers() 253 list_for_each_entry_safe(buf, nbuf, &chan->done, queue) { in tegra_channel_release_buffers()
|
| /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()
|