Home
last modified time | relevance | path

Searched refs:extlen (Results 1 – 9 of 9) sorted by relevance

/fs/gfs2/
Dmeta_io.c419 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra() argument
426 BUG_ON(!extlen); in gfs2_meta_ra()
430 if (extlen > max_ra) in gfs2_meta_ra()
431 extlen = max_ra; in gfs2_meta_ra()
441 extlen--; in gfs2_meta_ra()
443 while (extlen) { in gfs2_meta_ra()
450 extlen--; in gfs2_meta_ra()
Ddir.c159 u32 extlen = 0; in gfs2_dir_write_data() local
193 if (!extlen) { in gfs2_dir_write_data()
196 &dblock, &extlen); in gfs2_dir_write_data()
220 extlen--; in gfs2_dir_write_data()
274 u32 extlen = 0; in gfs2_dir_read_data() local
297 if (!extlen) { in gfs2_dir_read_data()
300 &dblock, &extlen); in gfs2_dir_read_data()
303 BUG_ON(extlen < 1); in gfs2_dir_read_data()
304 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_dir_read_data()
316 extlen--; in gfs2_dir_read_data()
Dbmap.h51 u64 *dblock, unsigned *extlen);
Drecovery.c39 u32 extlen; in gfs2_replay_read_block() local
42 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); in gfs2_replay_read_block()
50 *bh = gfs2_meta_ra(gl, dblock, extlen); in gfs2_replay_read_block()
Dmeta_io.h76 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
Dquota.c1195 u32 extlen = 0; in gfs2_quota_init() local
1221 if (!extlen) { in gfs2_quota_init()
1223 error = gfs2_extent_map(&ip->i_inode, x, &new, &dblock, &extlen); in gfs2_quota_init()
1228 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init()
1270 extlen--; in gfs2_quota_init()
Dbmap.c680 int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, u64 *dblock, unsigned *extlen) in gfs2_extent_map() argument
686 BUG_ON(!extlen); in gfs2_extent_map()
692 *extlen = bh.b_size >> inode->i_blkbits; in gfs2_extent_map()
/fs/fat/
Dnamei_vfat.c328 int sz = 0, extlen, baselen, i, numtail_baselen, numtail2_baselen; in vfat_create_shortname() local
400 extlen = 0; in vfat_create_shortname()
402 for (p = ext, ip = ext_start; extlen < 3 && ip < end; ip++) { in vfat_create_shortname()
408 if ((extlen + chl) > 3) { in vfat_create_shortname()
414 extlen++; in vfat_create_shortname()
416 if (extlen >= 3) { in vfat_create_shortname()
423 ext[extlen] = '\0'; in vfat_create_shortname()
437 memcpy(name_res + 8, ext, extlen); in vfat_create_shortname()
/fs/ocfs2/
Dextent_map.c841 u64 extoff, extlen; in ocfs2_seek_data_hole_offset() local
904 extlen = clen; in ocfs2_seek_data_hole_offset()
905 extlen <<= cs_bits; in ocfs2_seek_data_hole_offset()
907 if ((extoff + extlen) > inode->i_size) in ocfs2_seek_data_hole_offset()
908 extlen = inode->i_size - extoff; in ocfs2_seek_data_hole_offset()
909 extoff += extlen; in ocfs2_seek_data_hole_offset()