Searched refs:nblocks (Results 51 - 75 of 89) sorted by relevance

1234

/linux-master/fs/nilfs2/
H A Dsufile.h29 unsigned long nblocks, time64_t modtime);
H A Drecovery.c327 unsigned long nblocks, ndatablk, nnodeblk; local
336 nblocks = le32_to_cpu(finfo->fi_nblocks);
338 nnodeblk = nblocks - ndatablk;
806 unsigned long nblocks; local
842 nblocks = le32_to_cpu(sum->ss_nblocks);
843 pseg_end = pseg_start + nblocks - 1;
892 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start;
909 pseg_start += nblocks;
H A Dsegment.c452 sci->sc_nblk_this_inc += sci->sc_curseg->sb_sum.nblocks;
468 if (segbuf->sb_sum.nblocks >= segbuf->sb_rest_blocks) {
555 if (segbuf->sb_sum.nblocks + required + 1 > segbuf->sb_rest_blocks) {
1028 (sci->sc_nblk_this_inc + sci->sc_curseg->sb_sum.nblocks);
1434 live_blocks = segbuf->sb_sum.nblocks +
1493 sci->sc_nblk_this_inc += sci->sc_curseg->sb_sum.nblocks;
1548 unsigned long nblocks = 0, ndatablk = 0; local
1571 nblocks = le32_to_cpu(finfo->fi_nblocks);
1599 if (--nblocks == 0) {
1814 + segbuf->sb_sum.nblocks;
[all...]
/linux-master/arch/x86/crypto/
H A Dsm3_avx_glue.c21 const u8 *data, int nblocks);
/linux-master/drivers/staging/greybus/
H A Dsdio.c255 size_t len, u16 nblocks, off_t skip)
277 request->data_blocks = cpu_to_le16(nblocks);
309 size_t len, u16 nblocks, off_t skip)
331 request->data_blocks = cpu_to_le16(nblocks);
365 u16 nblocks; local
385 nblocks = len / data->blksz;
386 len = nblocks * data->blksz;
389 ret = _gb_sdio_recv(host, data, len, nblocks, skip);
393 ret = _gb_sdio_send(host, data, len, nblocks, skip);
254 _gb_sdio_send(struct gb_sdio_host *host, struct mmc_data *data, size_t len, u16 nblocks, off_t skip) argument
308 _gb_sdio_recv(struct gb_sdio_host *host, struct mmc_data *data, size_t len, u16 nblocks, off_t skip) argument
/linux-master/include/uapi/linux/
H A Dnvme_ioctl.h16 __u16 nblocks; member in struct:nvme_user_io
H A Dnilfs2_api.h134 NILFS_SUINFO_UPDATE_FNS(NBLOCKS, nblocks)
/linux-master/include/sound/
H A Dtas2781-dsp.h159 unsigned int nblocks; member in struct:tasdevice_config_info
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c680 u32 blocksize, nbytes, nblocks, cbcbytes; local
686 nblocks = (nbytes + blocksize - 1) / blocksize;
688 if (nblocks > 2)
689 cbcbytes = (nblocks - 2) * blocksize;
744 u32 blocksize, nblocks, cbcbytes; local
749 nblocks = (buf->len + blocksize - 1) / blocksize;
751 if (nblocks > 2)
752 cbcbytes = (nblocks - 2) * blocksize;
/linux-master/fs/gfs2/
H A Drgrp.c2412 * @nblocks: requested number of blocks/extent length (value/result)
2418 int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *nblocks, argument
2428 BUG_ON(ip->i_res.rs_reserved < *nblocks);
2442 fs_warn(sdp, "inum=%llu error=%d, nblocks=%u, full=%d fail_pt=%d\n",
2443 (unsigned long long)ip->i_no_addr, error, *nblocks,
2449 gfs2_alloc_extent(&rbm, dinode, nblocks);
2453 ip->i_goal = block + *nblocks - 1;
2465 gfs2_adjust_reservation(ip, &rbm, *nblocks);
2466 if (rbm.rgd->rd_free < *nblocks || rbm.rgd->rd_reserved < *nblocks) {
[all...]
/linux-master/drivers/mtd/
H A Dftl.c749 u_long sector, u_long nblocks)
757 part, sector, nblocks);
764 for (i = 0; i < nblocks; i++) {
863 u_long sector, u_long nblocks)
871 part, sector, nblocks);
877 while (part->FreeTotal < nblocks) {
886 for (i = 0; i < nblocks; i++) {
748 ftl_read(partition_t *part, caddr_t buffer, u_long sector, u_long nblocks) argument
862 ftl_write(partition_t *part, caddr_t buffer, u_long sector, u_long nblocks) argument
/linux-master/fs/ext4/
H A Dialloc.c870 int nblocks = 0; local
879 nblocks += (S_ISDIR(mode) ? 2 : 1) *
898 nblocks += num_security_xattrs *
905 nblocks += __ext4_xattr_set_credits(sb,
910 return nblocks;
928 int nblocks)
1001 nblocks += ret2;
1077 BUG_ON(nblocks <= 0);
1079 line_no, handle_type, nblocks, 0,
923 __ext4_new_inode(struct mnt_idmap *idmap, handle_t *handle, struct inode *dir, umode_t mode, const struct qstr *qstr, __u32 goal, uid_t *owner, __u32 i_flags, int handle_type, unsigned int line_no, int nblocks) argument
/linux-master/net/ipv4/
H A Dinet_hashtables.c1231 unsigned int i, nblocks = 1; local
1235 nblocks = max(2U * L1_CACHE_BYTES / locksz, 1U);
1236 nblocks = roundup_pow_of_two(nblocks * num_possible_cpus());
1239 nblocks = min(nblocks, hashinfo->ehash_mask + 1);
1241 hashinfo->ehash_locks = kvmalloc_array(nblocks, locksz, GFP_KERNEL);
1245 for (i = 0; i < nblocks; i++)
1248 hashinfo->ehash_locks_mask = nblocks - 1;
/linux-master/fs/erofs/
H A Ddata.c86 erofs_blk_t nblocks, lastblk; local
92 nblocks = erofs_iblks(inode);
93 lastblk = nblocks - tailendpacking;
/linux-master/sound/synth/emux/
H A Demux_proc.c36 snd_iprintf(buf, "Allocated Blocks: %d\n", emu->memhdr->nblocks);
/linux-master/fs/xfs/libxfs/
H A Dxfs_inode_buf.c476 xfs_filblks_t nblocks; local
513 nblocks = be64_to_cpu(dip->di_nblocks);
516 if (mode && nextents + naextents > nblocks)
519 if (nextents + naextents == 0 && nblocks != 0)
/linux-master/fs/xfs/scrub/
H A Dbmap_repair.c73 xfs_rfsblock_t nblocks; member in struct:xrep_bmap
258 rb->nblocks += rec->rm_blockcount;
503 sc->ip->i_nblocks = rb->nblocks + delta;
H A Dinode_repair.c1250 xfs_filblks_t nblocks; local
1261 nblocks = be64_to_cpu(dip->di_nblocks);
1264 if (data_extents > nblocks)
1266 if (attr_extents > nblocks)
1268 if (data_extents + attr_extents > nblocks)
/linux-master/include/linux/
H A Djbd2.h1507 extern handle_t *jbd2_journal_start(journal_t *, int nblocks);
1511 extern int jbd2_journal_restart(handle_t *, int nblocks);
1512 extern int jbd2__journal_restart(handle_t *, int nblocks,
1517 extern int jbd2_journal_extend(handle_t *handle, int nblocks,
/linux-master/drivers/dma/
H A Dapple-admac.c155 int i, ret = 0, nblocks; local
164 nblocks = sram->size / SRAM_BLOCK;
165 for (i = 0; i < nblocks; i++)
169 if (i < nblocks) {
/linux-master/drivers/nvme/host/
H A Dioctl.c228 length = (io.nblocks + 1) << ns->head->lba_shift;
241 meta_len = (io.nblocks + 1) * ns->head->ms;
258 c.rw.length = cpu_to_le16(io.nblocks);
536 __u16 nblocks; member in struct:nvme_user_io32
/linux-master/fs/xfs/
H A Dxfs_rtalloc.c661 xfs_extlen_t nblocks, /* new count of blocks */
683 while (oblocks < nblocks) {
684 resblks = XFS_GROWFSRT_SPACE_RES(mp, nblocks - oblocks);
710 error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks,
658 xfs_growfs_rt_alloc( struct xfs_mount *mp, xfs_extlen_t oblocks, xfs_extlen_t nblocks, struct xfs_inode *ip) argument
/linux-master/fs/ocfs2/
H A Djournal.c393 * 'nblocks' is what you want to add to the current transaction.
409 int ocfs2_extend_trans(handle_t *handle, int nblocks) argument
414 BUG_ON(nblocks < 0);
416 if (!nblocks)
421 trace_ocfs2_extend_trans(old_nblocks, nblocks);
426 status = jbd2_journal_extend(handle, nblocks, 0);
434 trace_ocfs2_extend_trans_restart(old_nblocks + nblocks);
436 old_nblocks + nblocks);
H A Djournal.h224 * ocfs2_extend_trans - Extend a handle by nblocks credits. This may
245 int ocfs2_extend_trans(handle_t *handle, int nblocks);
/linux-master/fs/btrfs/
H A Dfile-item.c350 const unsigned int nblocks = orig_len >> fs_info->sectorsize_bits; local
375 if (nblocks * csum_size > BTRFS_BIO_INLINE_CSUM_SIZE) {
376 bbio->csum = kmalloc_array(nblocks, csum_size, GFP_NOFS);
389 if (nblocks > fs_info->csums_per_leaf)

Completed in 302 milliseconds

1234