Home
last modified time | relevance | path

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

/fs/freevxfs/
Dvxfs_subr.c75 daddr_t pblock; in vxfs_bread() local
77 pblock = vxfs_bmap1(ip, block); in vxfs_bread()
78 bp = sb_bread(ip->i_sb, pblock); in vxfs_bread()
102 daddr_t pblock; in vxfs_getblk() local
104 pblock = vxfs_bmap1(ip, iblock); in vxfs_getblk()
105 if (pblock != 0) { in vxfs_getblk()
106 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
Dvxfs_bmap.c111 daddr_t pblock = 0; in vxfs_bmap_indir() local
135 pblock = vxfs_bmap_indir(ip, in vxfs_bmap_indir()
139 if (pblock == -2) in vxfs_bmap_indir()
145 pblock = fs32_to_cpu(sbi, typ->vt_block) + block - off; in vxfs_bmap_indir()
168 pblock = 0; in vxfs_bmap_indir()
171 return (pblock); in vxfs_bmap_indir()
190 daddr_t pblock = 0; in vxfs_bmap_typed() local
205 pblock = vxfs_bmap_indir(ip, in vxfs_bmap_typed()
209 if (pblock == -2) in vxfs_bmap_typed()
211 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_levels[level + 1].ptr, 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.c65 ext4_fsblk_t pblock, struct migrate_struct *lb) in update_extent_range() argument
72 (lb->last_pblock+1 == pblock) && in update_extent_range()
74 lb->last_pblock = pblock; in update_extent_range()
83 lb->first_pblock = lb->last_pblock = pblock; in update_extent_range()
90 ext4_fsblk_t pblock, in update_ind_extent_range() argument
98 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_ind_extent_range()
119 ext4_fsblk_t pblock, in update_dind_extent_range() argument
127 bh = ext4_sb_bread(inode->i_sb, pblock, 0); in update_dind_extent_range()
149 ext4_fsblk_t pblock, in update_tind_extent_range() argument
157 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.c2278 ext4_fsblk_t pblock = *m_pblk; in mpage_process_page() local
2313 bh->b_blocknr = pblock++; in mpage_process_page()
2323 *m_pblk = pblock; in mpage_process_page()
2349 ext4_fsblk_t pblock; in mpage_map_and_submit_buffers() local
2356 pblock = mpd->map.m_pblk; in mpage_map_and_submit_buffers()
2366 err = mpage_process_page(mpd, page, &lblk, &pblock, in mpage_map_and_submit_buffers()
/fs/jfs/
Djfs_metapage.c348 sector_t pblock; in metapage_writepage() local
408 pblock = metapage_get_blocks(inode, lblock, &xlen); in metapage_writepage()
409 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_read_folio() local
490 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_read_folio()
492 if (pblock) { in metapage_read_folio()
502 pblock << (inode->i_blkbits - 9); in metapage_read_folio()
/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.h446 __field( sector_t, pblock )
457 __entry->pblock = buffer_mapped(bh) ? bh->b_blocknr : 0;
470 (unsigned long long)__entry->pblock,
516 __field( sector_t, pblock )
527 __entry->pblock = iomap->addr == IOMAP_NULL_ADDR ? 0 :
539 (long long)__entry->pblock,
/fs/f2fs/
Ddata.c3949 sector_t pblock; in check_swap_activate() local
3990 pblock = map.m_pblk; in check_swap_activate()
3993 if ((pblock - SM_I(sbi)->main_blkaddr) & sec_blks_mask || in check_swap_activate()
4019 if (pblock < lowest_pblock) in check_swap_activate()
4020 lowest_pblock = pblock; in check_swap_activate()
4021 if (pblock + nr_pblocks - 1 > highest_pblock) in check_swap_activate()
4022 highest_pblock = pblock + nr_pblocks - 1; in check_swap_activate()
4028 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate()
/fs/jbd2/
Djournal.c872 unsigned long long pblock; in jbd2_fc_get_buf() local
891 ret = jbd2_journal_bmap(journal, blocknr, &pblock); in jbd2_fc_get_buf()
895 bh = __getblk(journal->j_dev, pblock, journal->j_blocksize); in jbd2_fc_get_buf()