Home
last modified time | relevance | path

Searched refs:pblock (Results 1 – 11 of 11) sorted by relevance

/fs/freevxfs/
Dvxfs_subr.c105 daddr_t pblock; in vxfs_bread() local
107 pblock = vxfs_bmap1(ip, block); in vxfs_bread()
108 bp = sb_bread(ip->i_sb, pblock); in vxfs_bread()
132 daddr_t pblock; in vxfs_getblk() local
134 pblock = vxfs_bmap1(ip, iblock); in vxfs_getblk()
135 if (pblock != 0) { in vxfs_getblk()
136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
Dvxfs_bmap.c135 daddr_t pblock = 0; in vxfs_bmap_indir() local
159 pblock = vxfs_bmap_indir(ip, in vxfs_bmap_indir()
163 if (pblock == -2) in vxfs_bmap_indir()
169 pblock = fs32_to_cpu(sbi, typ->vt_block) + block - off; in vxfs_bmap_indir()
192 pblock = 0; in vxfs_bmap_indir()
195 return (pblock); in vxfs_bmap_indir()
214 daddr_t pblock = 0; in vxfs_bmap_typed() local
229 pblock = vxfs_bmap_indir(ip, in vxfs_bmap_typed()
233 if (pblock == -2) in vxfs_bmap_typed()
235 return (pblock); in vxfs_bmap_typed()
/fs/xfs/scrub/
Dbtree.c253 struct xfs_btree_block *pblock; in xchk_btree_block_check_sibling() local
293 pblock = xfs_btree_get_block(ncur, level + 1, &pbp); in xchk_btree_block_check_sibling()
294 pp = xfs_btree_ptr_addr(ncur, ncur->bc_ptrs[level + 1], pblock); in xchk_btree_block_check_sibling()
528 struct xfs_btree_block **pblock, in xchk_btree_get_block() argument
534 *pblock = NULL; in xchk_btree_get_block()
537 error = xfs_btree_lookup_get_block(bs->cur, level, pp, pblock); in xchk_btree_get_block()
539 !*pblock) in xchk_btree_get_block()
544 failed_at = __xfs_btree_check_lblock(bs->cur, *pblock, in xchk_btree_get_block()
547 failed_at = __xfs_btree_check_sblock(bs->cur, *pblock, in xchk_btree_get_block()
556 xchk_btree_check_minrecs(bs, level, *pblock); in xchk_btree_get_block()
[all …]
/fs/ext4/
Dmigrate.c66 ext4_fsblk_t pblock, struct migrate_struct *lb) in update_extent_range() argument
73 (lb->last_pblock+1 == pblock) && in update_extent_range()
75 lb->last_pblock = pblock; in update_extent_range()
84 lb->first_pblock = lb->last_pblock = pblock; in update_extent_range()
91 ext4_fsblk_t pblock, in update_ind_extent_range() argument
99 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_ind_extent_range()
120 ext4_fsblk_t pblock, in update_dind_extent_range() argument
128 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_dind_extent_range()
150 ext4_fsblk_t pblock, in update_tind_extent_range() argument
158 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_tind_extent_range()
Dextents_status.h214 ext4_fsblk_t pblock = ext4_es_pblock(es); in ext4_es_show_pblock() local
215 return pblock == ~ES_MASK ? 0 : pblock; in ext4_es_show_pblock()
Dinode.c2248 ext4_fsblk_t pblock = *m_pblk; in mpage_process_page() local
2284 bh->b_blocknr = pblock++; in mpage_process_page()
2295 *m_pblk = pblock; in mpage_process_page()
2321 ext4_fsblk_t pblock; in mpage_map_and_submit_buffers() local
2328 pblock = mpd->map.m_pblk; in mpage_map_and_submit_buffers()
2339 err = mpage_process_page(mpd, page, &lblk, &pblock, in mpage_map_and_submit_buffers()
/fs/jfs/
Djfs_metapage.c347 sector_t pblock; in metapage_writepage() local
407 pblock = metapage_get_blocks(inode, lblock, &xlen); in metapage_writepage()
408 if (!pblock) { in metapage_writepage()
421 bio->bi_iter.bi_sector = pblock << (inode->i_blkbits - 9); in metapage_writepage()
478 sector_t pblock; in metapage_readpage() local
490 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_readpage()
492 if (pblock) { in metapage_readpage()
502 pblock << (inode->i_blkbits - 9); in metapage_readpage()
/fs/ocfs2/
Dquota_global.c178 u64 pblock = 0, pcount = 0; in ocfs2_quota_read() local
188 err = ocfs2_extent_map_get_blocks(gqinode, blk, &pblock, in ocfs2_quota_read()
196 pblock++; in ocfs2_quota_read()
199 err = ocfs2_read_quota_phys_block(gqinode, pblock, &bh); in ocfs2_quota_read()
227 u64 pblock, pcount; in ocfs2_quota_write() local
252 err = ocfs2_extent_map_get_blocks(gqinode, blk, &pblock, &pcount, NULL); in ocfs2_quota_write()
260 err = ocfs2_read_quota_phys_block(gqinode, pblock, &bh); in ocfs2_quota_write()
263 bh = sb_getblk(sb, pblock); in ocfs2_quota_write()
/fs/gfs2/
Dtrace_gfs2.h449 __field( sector_t, pblock )
460 __entry->pblock = buffer_mapped(bh) ? bh->b_blocknr : 0;
473 (unsigned long long)__entry->pblock,
519 __field( sector_t, pblock )
530 __entry->pblock = iomap->addr == IOMAP_NULL_ADDR ? 0 :
542 (long long)__entry->pblock,
/fs/f2fs/
Ddata.c3927 sector_t pblock; in check_swap_activate() local
3968 pblock = map.m_pblk; in check_swap_activate()
3971 if ((pblock - SM_I(sbi)->main_blkaddr) & sec_blks_mask || in check_swap_activate()
3997 if (pblock < lowest_pblock) in check_swap_activate()
3998 lowest_pblock = pblock; in check_swap_activate()
3999 if (pblock + nr_pblocks - 1 > highest_pblock) in check_swap_activate()
4000 highest_pblock = pblock + nr_pblocks - 1; in check_swap_activate()
4006 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate()
/fs/jbd2/
Djournal.c875 unsigned long long pblock; in jbd2_fc_get_buf() local
894 ret = jbd2_journal_bmap(journal, blocknr, &pblock); in jbd2_fc_get_buf()
898 bh = __getblk(journal->j_dev, pblock, journal->j_blocksize); in jbd2_fc_get_buf()