Home
last modified time | relevance | path

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

/linux-6.6.21/sound/isa/gus/
Dgus_mem.c31 struct snd_gf1_mem_block *pblock, *nblock; in snd_gf1_mem_xalloc() local
43 pblock = alloc->first; in snd_gf1_mem_xalloc()
44 while (pblock) { in snd_gf1_mem_xalloc()
45 if (pblock->ptr > nblock->ptr) { in snd_gf1_mem_xalloc()
46 nblock->prev = pblock->prev; in snd_gf1_mem_xalloc()
47 nblock->next = pblock; in snd_gf1_mem_xalloc()
48 pblock->prev = nblock; in snd_gf1_mem_xalloc()
49 if (pblock == alloc->first) in snd_gf1_mem_xalloc()
56 pblock = pblock->next; in snd_gf1_mem_xalloc()
135 struct snd_gf1_mem_block *pblock; in snd_gf1_mem_find() local
[all …]
/linux-6.6.21/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()
/linux-6.6.21/fs/xfs/scrub/
Dbtree.c266 struct xfs_btree_block *pblock; in xchk_btree_block_check_sibling() local
306 pblock = xfs_btree_get_block(ncur, level + 1, &pbp); in xchk_btree_block_check_sibling()
307 pp = xfs_btree_ptr_addr(ncur, ncur->bc_levels[level + 1].ptr, pblock); in xchk_btree_block_check_sibling()
585 struct xfs_btree_block **pblock, in xchk_btree_get_block() argument
591 *pblock = NULL; in xchk_btree_get_block()
594 error = xfs_btree_lookup_get_block(bs->cur, level, pp, pblock); in xchk_btree_get_block()
596 !*pblock) in xchk_btree_get_block()
601 failed_at = __xfs_btree_check_lblock(bs->cur, *pblock, in xchk_btree_get_block()
604 failed_at = __xfs_btree_check_sblock(bs->cur, *pblock, in xchk_btree_get_block()
613 xchk_btree_check_minrecs(bs, level, *pblock); in xchk_btree_get_block()
[all …]
/linux-6.6.21/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.c2025 ext4_fsblk_t pblock = *m_pblk; in mpage_process_folio() local
2060 bh->b_blocknr = pblock++; in mpage_process_folio()
2070 *m_pblk = pblock; in mpage_process_folio()
2096 ext4_fsblk_t pblock; in mpage_map_and_submit_buffers() local
2103 pblock = mpd->map.m_pblk; in mpage_map_and_submit_buffers()
2113 err = mpage_process_folio(mpd, folio, &lblk, &pblock, in mpage_map_and_submit_buffers()
/linux-6.6.21/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()
/linux-6.6.21/arch/s390/crypto/
Dprng.c138 u8 *pg, pblock[80] = { in generate_entropy() local
170 cpacf_klmd(CPACF_KLMD_SHA_512, pblock, pg, PAGE_SIZE); in generate_entropy()
172 memcpy(ebuf, pblock, n); in generate_entropy()
178 memzero_explicit(pblock, sizeof(pblock)); in generate_entropy()
/linux-6.6.21/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,
/linux-6.6.21/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()
/linux-6.6.21/include/trace/events/
Df2fs.h2153 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock),
2155 TP_ARGS(inode, lblock, pblock),
2161 __field(sector_t, pblock)
2168 __entry->pblock = pblock;
2174 (unsigned long long)__entry->pblock)
2179 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock,
2182 TP_ARGS(inode, lblock, pblock, len, flags, ret),
2188 __field(sector_t, pblock)
2198 __entry->pblock = pblock;
2208 (unsigned long long)__entry->pblock,
/linux-6.6.21/fs/f2fs/
Ddata.c3983 sector_t pblock; in check_swap_activate() local
4024 pblock = map.m_pblk; in check_swap_activate()
4027 if ((pblock - SM_I(sbi)->main_blkaddr) & sec_blks_mask || in check_swap_activate()
4053 if (pblock < lowest_pblock) in check_swap_activate()
4054 lowest_pblock = pblock; in check_swap_activate()
4055 if (pblock + nr_pblocks - 1 > highest_pblock) in check_swap_activate()
4056 highest_pblock = pblock + nr_pblocks - 1; in check_swap_activate()
4062 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate()
/linux-6.6.21/fs/jbd2/
Djournal.c860 unsigned long long pblock; in jbd2_fc_get_buf() local
879 ret = jbd2_journal_bmap(journal, blocknr, &pblock); in jbd2_fc_get_buf()
883 bh = __getblk(journal->j_dev, pblock, journal->j_blocksize); in jbd2_fc_get_buf()