Home
last modified time | relevance | path

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

/linux-2.6.39/fs/exportfs/
Dexpfs.c99 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path() argument
161 err = exportfs_get_name(mnt, ppd, nbuf, pd); in reconnect_path()
172 dprintk("%s: found name: %s\n", __func__, nbuf); in reconnect_path()
174 npd = lookup_one_len(nbuf, ppd, strlen(nbuf)); in reconnect_path()
371 char nbuf[NAME_MAX+1]; in exportfs_decode_fh() local
395 err = reconnect_path(mnt, result, nbuf); in exportfs_decode_fh()
446 err = reconnect_path(mnt, target_dir, nbuf); in exportfs_decode_fh()
457 err = exportfs_get_name(mnt, target_dir, nbuf, result); in exportfs_decode_fh()
460 nresult = lookup_one_len(nbuf, target_dir, in exportfs_decode_fh()
461 strlen(nbuf)); in exportfs_decode_fh()
/linux-2.6.39/fs/xfs/
Dxfs_da_btree.c92 STATIC xfs_dabuf_t *xfs_da_buf_make(int nbuf, xfs_buf_t **bps, inst_t *ra);
2248 xfs_da_buf_make(int nbuf, xfs_buf_t **bps, inst_t *ra) in xfs_da_buf_make() argument
2255 if (nbuf == 1) in xfs_da_buf_make()
2258 dabuf = kmem_alloc(XFS_DA_BUF_SIZE(nbuf), KM_NOFS); in xfs_da_buf_make()
2265 if (nbuf == 1) { in xfs_da_buf_make()
2266 dabuf->nbuf = 1; in xfs_da_buf_make()
2272 dabuf->nbuf = nbuf; in xfs_da_buf_make()
2273 for (i = 0, dabuf->bbcount = 0; i < nbuf; i++) { in xfs_da_buf_make()
2278 for (i = off = 0; i < nbuf; i++, off += XFS_BUF_COUNT(bp)) { in xfs_da_buf_make()
2315 ASSERT(dabuf->nbuf > 1); in xfs_da_buf_clean()
[all …]
Dxfs_da_btree.h144 int nbuf; /* number of buffer pointers present */ member
/linux-2.6.39/arch/sparc/prom/
Dtree_32.c231 char nbuf[128]; in prom_finddevice() local
241 for (d = nbuf; *s != 0 && *s != '@' && *s != '/';) in prom_finddevice()
245 node = prom_searchsiblings(node, nbuf); in prom_finddevice()
266 node2 = prom_searchsiblings(prom_getsibling(node2), nbuf); in prom_finddevice()
/linux-2.6.39/fs/ubifs/
Dreplay.c410 char *nbuf; in insert_dent() local
434 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent()
435 if (!nbuf) { in insert_dent()
447 memcpy(nbuf, name, nlen); in insert_dent()
448 nbuf[nlen] = '\0'; in insert_dent()
449 r->nm.name = nbuf; in insert_dent()
/linux-2.6.39/fs/btrfs/
Dsuper.c61 char nbuf[16]) in btrfs_decode_error()
76 if (nbuf) { in btrfs_decode_error()
77 if (snprintf(nbuf, 16, "error %d", -errno) >= 0) in btrfs_decode_error()
78 errstr = nbuf; in btrfs_decode_error()
126 char nbuf[16]; in __btrfs_std_error() local
136 errstr = btrfs_decode_error(fs_info, errno, nbuf); in __btrfs_std_error()
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dinit.c281 int nbuf, int ndesc, bool is_tx) in ath_descdma_setup() argument
293 name, nbuf, ndesc); in ath_descdma_setup()
310 dd->dd_desc_len = desc_len * nbuf * ndesc; in ath_descdma_setup()
343 bsize = sizeof(struct ath_buf) * nbuf; in ath_descdma_setup()
351 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup()
Drecv.c144 u32 nbuf = 0; in ath_rx_addbuffer_edma() local
152 nbuf++; in ath_rx_addbuffer_edma()
157 if (nbuf >= size) in ath_rx_addbuffer_edma()
Dath9k.h115 int nbuf, int ndesc, bool is_tx);
/linux-2.6.39/sound/core/
Dinfo.c88 char *nbuf; in resize_info_buffer() local
91 nbuf = krealloc(buffer->buffer, nsize, GFP_KERNEL); in resize_info_buffer()
92 if (! nbuf) in resize_info_buffer()
95 buffer->buffer = nbuf; in resize_info_buffer()
/linux-2.6.39/drivers/staging/cxt1e1/
Dpmcc4_drv.c1315 int nts, nbuf, txnum, rxnum; in c4_chan_up() local
1351 nbuf = nts / 8 ? nts / 8 : 1; in c4_chan_up()
1352 if (!nbuf) in c4_chan_up()
1359 addr = c4_fifo_alloc (pi, gchan, &nbuf); in c4_chan_up()
1382 ccd |= (nbuf) << MUSYCC_CCD_BUFFER_LENGTH; in c4_chan_up()
1384 ccd |= (nbuf - 1) << MUSYCC_CCD_BUFFER_LENGTH; in c4_chan_up()
/linux-2.6.39/drivers/crypto/
Dtalitos.c730 u64 nbuf; member
1615 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done()
1731 req_ctx->nbuf = 0; in ahash_init()
1782 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { in ahash_process_req()
1786 req_ctx->buf + req_ctx->nbuf, nbytes); in ahash_process_req()
1787 req_ctx->nbuf += nbytes; in ahash_process_req()
1792 nbytes_to_hash = nbytes + req_ctx->nbuf; in ahash_process_req()
1807 if (req_ctx->nbuf) { in ahash_process_req()
1808 nsg = (req_ctx->nbuf < nbytes_to_hash) ? 2 : 1; in ahash_process_req()
1810 sg_set_buf(req_ctx->bufsl, req_ctx->buf, req_ctx->nbuf); in ahash_process_req()
/linux-2.6.39/fs/ext3/
Dsuper.c65 char nbuf[16]);
125 char nbuf[16]; in ext3_journal_abort_handle() local
126 const char *errstr = ext3_decode_error(NULL, err, nbuf); in ext3_journal_abort_handle()
222 char nbuf[16]) in ext3_decode_error()
243 if (nbuf) { in ext3_decode_error()
245 if (snprintf(nbuf, 16, "error %d", -errno) >= 0) in ext3_decode_error()
246 errstr = nbuf; in ext3_decode_error()
260 char nbuf[16]; in __ext3_std_error() local
270 errstr = ext3_decode_error(sb, errno, nbuf); in __ext3_std_error()
2471 char nbuf[16]; in ext3_clear_journal_err() local
[all …]
/linux-2.6.39/fs/
Dsplice.c1797 int ret = 0, nbuf; in splice_pipe_to_pipe() local
1853 nbuf = (opipe->curbuf + opipe->nrbufs) & (opipe->buffers - 1); in splice_pipe_to_pipe()
1854 obuf = opipe->bufs + nbuf; in splice_pipe_to_pipe()
1915 int ret = 0, i = 0, nbuf; in link_pipe() local
1940 nbuf = (opipe->curbuf + opipe->nrbufs) & (opipe->buffers - 1); in link_pipe()
1948 obuf = opipe->bufs + nbuf; in link_pipe()
/linux-2.6.39/drivers/net/wan/
Dpc300_tty.c924 int nbuf = ((len - 1)/BD_DEF_LEN) + 1; in cpc_tty_send_to_card() local
930 if (nbuf >= card->chan[ch].nfree_tx_bd) { in cpc_tty_send_to_card()
937 for (i = 0 ; i < nbuf ; i++) { in cpc_tty_send_to_card()
947 if ((i + 1) == nbuf) { in cpc_tty_send_to_card()
Dpc300_drv.c470 u8 nbuf = ((len - 1) / BD_DEF_LEN) + 1; in dma_buf_write() local
472 if (nbuf >= card->chan[ch].nfree_tx_bd) { in dma_buf_write()
476 for (i = 0; i < nbuf; i++) { in dma_buf_write()
485 if ((i + 1) == nbuf) { in dma_buf_write()
/linux-2.6.39/fs/fuse/
Ddev.c1751 unsigned nbuf; in fuse_dev_splice_write() local
1768 nbuf = 0; in fuse_dev_splice_write()
1784 BUG_ON(nbuf >= pipe->buffers); in fuse_dev_splice_write()
1787 obuf = &bufs[nbuf]; in fuse_dev_splice_write()
1802 nbuf++; in fuse_dev_splice_write()
1807 fuse_copy_init(&cs, fc, 0, NULL, nbuf); in fuse_dev_splice_write()
1816 for (idx = 0; idx < nbuf; idx++) { in fuse_dev_splice_write()
/linux-2.6.39/drivers/isdn/i4l/
Disdn_ppp.c708 u_char *nbuf; in isdn_ppp_fill_rq() local
721 nbuf = kmalloc(len + 4, GFP_ATOMIC); in isdn_ppp_fill_rq()
722 if (!nbuf) { in isdn_ppp_fill_rq()
726 nbuf[0] = PPP_ALLSTATIONS; in isdn_ppp_fill_rq()
727 nbuf[1] = PPP_UI; in isdn_ppp_fill_rq()
728 nbuf[2] = proto >> 8; in isdn_ppp_fill_rq()
729 nbuf[3] = proto & 0xff; in isdn_ppp_fill_rq()
730 memcpy(nbuf + 4, buf, len); in isdn_ppp_fill_rq()
742 bl->buf = (char *) nbuf; in isdn_ppp_fill_rq()
/linux-2.6.39/fs/ext4/
Dsuper.c70 char nbuf[16]);
316 char nbuf[16]; in ext4_journal_abort_handle() local
317 const char *errstr = ext4_decode_error(NULL, err, nbuf); in ext4_journal_abort_handle()
478 char nbuf[16]) in ext4_decode_error()
500 if (nbuf) { in ext4_decode_error()
502 if (snprintf(nbuf, 16, "error %d", -errno) >= 0) in ext4_decode_error()
503 errstr = nbuf; in ext4_decode_error()
517 char nbuf[16]; in __ext4_std_error() local
527 errstr = ext4_decode_error(sb, errno, nbuf); in __ext4_std_error()
4105 char nbuf[16]; in ext4_clear_journal_err() local
[all …]
/linux-2.6.39/drivers/media/video/
Dvia-camera.c422 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; in viacam_ctlr_cbufs() local
429 if (nbuf >= 3) { in viacam_ctlr_cbufs()
433 } else if (nbuf == 2) { in viacam_ctlr_cbufs()
/linux-2.6.39/drivers/isdn/isdnloop/
Disdnloop.c679 char nbuf[32]; in isdnloop_try_call() local
697 sprintf(nbuf, "%s%c", cc->s0num[0], *e); in isdnloop_try_call()
698 if (!(strcmp(nbuf, cmd->parm.setup.phone))) in isdnloop_try_call()