Home
last modified time | relevance | path

Searched refs:lblock (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/fs/udf/
H A Dlowlevel.c47 unsigned long lblock = 0; in udf_get_last_block() local
53 if (!cdi || cdrom_get_last_written(cdi, &lblock) || lblock == 0) { in udf_get_last_block()
56 lblock = sb_bdev_nr_blocks(sb); in udf_get_last_block()
59 if (lblock) in udf_get_last_block()
60 return lblock - 1; in udf_get_last_block()
/openbmc/linux/fs/jfs/
H A Djfs_metapage.c244 if (lblock >= file_blocks) in metapage_get_blocks()
246 if (lblock + *len > file_blocks) in metapage_get_blocks()
247 *len = file_blocks - lblock; in metapage_get_blocks()
252 lblock = (sector_t)xaddr; in metapage_get_blocks()
254 lblock = 0; in metapage_get_blocks()
257 return lblock; in metapage_get_blocks()
346 sector_t lblock; in metapage_writepage() local
430 next_block = lblock + len; in metapage_writepage()
662 mp->index = lblock; in __get_metapage()
794 sector_t lblock; in __invalidate_metapages() local
[all …]
H A Djfs_metapage.h51 unsigned long lblock, unsigned int size,
54 #define read_metapage(inode, lblock, size, absolute)\ argument
55 __get_metapage(inode, lblock, size, absolute, false)
57 #define get_metapage(inode, lblock, size, absolute)\ argument
58 __get_metapage(inode, lblock, size, absolute, true)
H A Djfs_dtree.c276 *lblock = blkno; in find_index()
486 s64 lblock; in free_index() local
539 s64 lblock; in read_index() local
1577 s64 lblock; in dtSplitPage() local
1584 rbn, n, &mp, &lblock); in dtSplitPage()
1701 s64 lblock; in dtExtendPage() local
1991 s64 lblock; in dtSplitRoot() local
1999 rbn, n, &mp, &lblock); in dtSplitRoot()
2200 s64 lblock; in dtDelete() local
3727 s64 lblock; in dtInsertEntry() local
[all …]
H A Dinode.c199 int jfs_get_block(struct inode *ip, sector_t lblock, in jfs_get_block() argument
202 s64 lblock64 = lblock; in jfs_get_block()
/openbmc/linux/fs/gfs2/
H A Dbmap.h50 int gfs2_block_map(struct inode *inode, sector_t lblock,
56 int gfs2_get_extent(struct inode *inode, u64 lblock, u64 *dblock,
58 int gfs2_alloc_extent(struct inode *inode, u64 lblock, u64 *dblock,
H A Dbmap.c845 sector_t lblock; in __gfs2_iomap_get() local
891 lblock = pos >> inode->i_blkbits; in __gfs2_iomap_get()
894 len = lblock_stop - lblock + 1; in __gfs2_iomap_get()
900 find_metapath(sdp, lblock, mp, height); in __gfs2_iomap_get()
1763 if (lblock >= lend) in punch_hole()
2211 jext->lblock = lblock; in gfs2_add_jextent()
2240 u64 lblock = 0; in gfs2_map_journal_extents() local
2251 size = (lblock_stop - lblock) << shift; in gfs2_map_journal_extents()
2301 u64 lblock, lblock_stop, size; in gfs2_write_alloc_required() local
2316 lblock = offset >> shift; in gfs2_write_alloc_required()
[all …]
H A Dtrace_gfs2.h439 sector_t lblock, int create, int errno),
441 TP_ARGS(ip, bh, lblock, create, errno),
445 __field( sector_t, lblock )
456 __entry->lblock = lblock;
468 (unsigned long long)__entry->lblock,
H A Dlops.c145 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lblock) in gfs2_log_bmap() argument
150 if (lblock >= je->lblock && lblock < je->lblock + je->blocks) in gfs2_log_bmap()
151 return je->dblock + lblock - je->lblock; in gfs2_log_bmap()
536 for (; block < je->lblock + je->blocks; block++, dblock++) { in gfs2_find_jhead()
H A Drecovery.c266 u32 lblock = head->lh_blkno; in clean_journal() local
268 gfs2_replay_incr_blk(jd, &lblock); in clean_journal()
269 gfs2_write_log_header(sdp, jd, head->lh_sequence + 1, 0, lblock, in clean_journal()
273 sdp->sd_log_flush_head = lblock; in clean_journal()
H A Daops.c71 static int gfs2_get_block_noalloc(struct inode *inode, sector_t lblock, in gfs2_get_block_noalloc() argument
76 error = gfs2_block_map(inode, lblock, bh_result, 0); in gfs2_get_block_noalloc()
594 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() argument
606 dblock = iomap_bmap(mapping, lblock, &gfs2_iomap_ops); in gfs2_bmap()
H A Dlog.h84 u64 seq, u32 tail, u32 lblock, u32 flags,
H A Ddir.c157 u64 lblock, dblock; in gfs2_dir_write_data() local
180 lblock = offset; in gfs2_dir_write_data()
181 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_write_data()
193 error = gfs2_alloc_extent(&ip->i_inode, lblock, &dblock, in gfs2_dir_write_data()
216 lblock++; in gfs2_dir_write_data()
271 u64 lblock, dblock; in gfs2_dir_read_data() local
283 lblock = 0; in gfs2_dir_read_data()
284 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_read_data()
296 error = gfs2_get_extent(&ip->i_inode, lblock, in gfs2_dir_read_data()
318 lblock++; in gfs2_dir_read_data()
H A Dlog.c833 u64 seq, u32 tail, u32 lblock, u32 flags, in gfs2_write_log_header() argument
859 lh->lh_blkno = cpu_to_be32(lblock); in gfs2_write_log_header()
867 dblock = gfs2_log_bmap(jd, lblock); in gfs2_write_log_header()
873 ret = gfs2_get_extent(jd->jd_inode, lblock, &dblock, &extlen); in gfs2_write_log_header()
H A Dincore.h501 unsigned int lblock; /* First logical block */ member
/openbmc/linux/include/trace/events/
H A Df2fs.h2154 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock),
2156 TP_ARGS(inode, lblock, pblock),
2161 __field(sector_t, lblock)
2168 __entry->lblock = lblock;
2174 (unsigned long long)__entry->lblock,
2180 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock,
2183 TP_ARGS(inode, lblock, pblock, len, flags, ret),
2188 __field(sector_t, lblock)
2198 __entry->lblock = lblock;
2208 (unsigned long long)__entry->lblock,
/openbmc/linux/fs/ufs/
H A Dballoc.c248 unsigned pos, j, lblock; in ufs_change_blocknr() local
287 lblock = end & mask; in ufs_change_blocknr()
289 lblock = blks_per_page; in ufs_change_blocknr()
292 if (j >= lblock) in ufs_change_blocknr()
/openbmc/linux/fs/ext4/
H A Dmove_extent.c26 get_ext_path(struct inode *inode, ext4_lblk_t lblock, in get_ext_path() argument
31 path = ext4_find_extent(inode, lblock, ppath, EXT4_EX_NOCACHE); in get_ext_path()
H A Dextents.c367 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent() local
374 if (lblock + len <= lblock) in ext4_valid_extent()
393 ext4_lblk_t lblock = 0; in ext4_valid_extent_entries() local
417 lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent_entries()
418 if (lblock < cur) { in ext4_valid_extent_entries()
422 cur = lblock + ext4_ext_get_actual_len(ext); in ext4_valid_extent_entries()
441 lblock = le32_to_cpu(ext_idx->ei_block); in ext4_valid_extent_entries()
442 if (lblock < cur) { in ext4_valid_extent_entries()
448 cur = lblock + 1; in ext4_valid_extent_entries()
H A Dnamei.c3163 unsigned int lblock; in ext4_empty_dir() local
3165 lblock = offset >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_empty_dir()
3166 bh = ext4_read_dirblock(inode, lblock, EITHER); in ext4_empty_dir()
/openbmc/linux/fs/ntfs/
H A Daops.c175 sector_t iblock, lblock, zblock; in ntfs_read_block() local
214 lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block()
238 if (iblock < lblock) { in ntfs_read_block()
/openbmc/linux/Documentation/fault-injection/
H A Dnvme-fault-injection.rst69 inode #2: comm cp: reading directory lblock 0
/openbmc/linux/fs/
H A Dbuffer.c2368 sector_t iblock, lblock; in block_read_full_folio() local
2387 lblock = (limit+blocksize-1) >> bbits; in block_read_full_folio()
2400 if (iblock < lblock) { in block_read_full_folio()