Searched refs:nbufs (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/fs/jbd/ |
D | recovery.c | 73 unsigned int max, nbufs, next; in do_readahead() local 87 nbufs = 0; in do_readahead() 105 bufs[nbufs++] = bh; in do_readahead() 106 if (nbufs == MAXBUF) { in do_readahead() 107 ll_rw_block(READ, nbufs, bufs); in do_readahead() 108 journal_brelse_array(bufs, nbufs); in do_readahead() 109 nbufs = 0; in do_readahead() 115 if (nbufs) in do_readahead() 116 ll_rw_block(READ, nbufs, bufs); in do_readahead() 120 if (nbufs) in do_readahead() [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | dmabuf.c | 180 dmap->nbufs = 1; in dma_init_buffers() 406 if (adev->d->prepare_for_output(dev, dmap->fragment_size, dmap->nbufs)) in DMAbuf_launch_output() 441 while (!signal_pending(current) && n++ <= adev->dmap_out->nbufs && in DMAbuf_sync() 525 dmap->fragment_size, dmap->nbufs)) < 0) in DMAbuf_activate_recording() 614 dmap->qhead = (dmap->qhead + 1) % dmap->nbufs; in DMAbuf_rmchars() 707 int lim = dmap->nbufs; in DMAbuf_space_in_queue() 885 dmap->qtail = (dmap->qtail + 1) % dmap->nbufs; in DMAbuf_move_wrpointer() 900 if (dmap->qlen > 1 || (dmap->qlen > 0 && (post || dmap->qlen >= dmap->nbufs - 1))) in DMAbuf_move_wrpointer() 962 dmap->qhead = (dmap->qhead + 1) % dmap->nbufs; in do_outputintr() 985 dmap->qhead = (dmap->qhead + 1) % dmap->nbufs; in do_outputintr() [all …]
|
D | audio.c | 163 for (i = dmap->qlen + 1; i < dmap->nbufs; i++) in sync_output() 165 p = (p + 1) % dmap->nbufs; in sync_output() 656 dmap->nbufs = n; in reorganize_buffers() 667 for (i = 0; i < dmap->nbufs; i++) in reorganize_buffers() 790 info.fragstotal = dmap->nbufs; in dma_ioctl() 813 else if (info.fragments > dmap->nbufs) in dma_ioctl() 814 info.fragments = dmap->nbufs; in dma_ioctl() 846 dmap_in->fragment_size, dmap_in->nbufs)) < 0) { in dma_ioctl()
|
D | dev_table.h | 115 int nbufs; member 172 int (*prepare_for_input) (int dev, int bufsize, int nbufs); 173 int (*prepare_for_output) (int dev, int bufsize, int nbufs);
|
/linux-2.4.37.9/drivers/net/ |
D | sgiseeq.c | 592 static inline void setup_tx_ring(struct sgiseeq_tx_desc *buf, int nbufs) in setup_tx_ring() argument 596 while (i < (nbufs - 1)) { in setup_tx_ring() 604 static inline void setup_rx_ring(struct sgiseeq_rx_desc *buf, int nbufs) in setup_rx_ring() argument 608 while (i < (nbufs - 1)) { in setup_rx_ring()
|
/linux-2.4.37.9/drivers/sound/dmasound/ |
D | dmasound_core.c | 1152 int size, nbufs; in sq_ioctl() local 1283 nbufs = (data >> 16) & 0x7fff ; /* 0x7fff is 'use maximum' */ in sq_ioctl() 1287 result = set_queue_frags(&read_sq, nbufs, size) ; in sq_ioctl() 1293 result = set_queue_frags(&write_sq, nbufs, size) ; in sq_ioctl()
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_ialloc.c | 149 int nbufs; /* num bufs of new inodes */ in xfs_ialloc_ag_alloc() local 249 nbufs = (int)args.len; in xfs_ialloc_ag_alloc() 254 nbufs = (int)args.len / blks_per_cluster; in xfs_ialloc_ag_alloc() 273 for (j = 0; j < nbufs; j++) { in xfs_ialloc_ag_alloc()
|
D | xfs_inode.c | 2165 int nbufs; in xfs_ifree_cluster() local 2179 nbufs = XFS_IALLOC_BLOCKS(mp); in xfs_ifree_cluster() 2184 nbufs = XFS_IALLOC_BLOCKS(mp) / blks_per_cluster; in xfs_ifree_cluster() 2189 for (j = 0; j < nbufs; j++, inum += ninodes) { in xfs_ifree_cluster()
|