Home
last modified time | relevance | path

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

/fs/gfs2/
Dmeta_io.c510 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra() argument
517 BUG_ON(!extlen); in gfs2_meta_ra()
521 if (extlen > max_ra) in gfs2_meta_ra()
522 extlen = max_ra; in gfs2_meta_ra()
531 extlen--; in gfs2_meta_ra()
533 while (extlen) { in gfs2_meta_ra()
539 extlen--; in gfs2_meta_ra()
Dbmap.h57 unsigned int *extlen);
59 unsigned *extlen, bool *new);
Drgrp.c1568 u32 extlen; in rg_mblk_search() local
1583 extlen = 1; in rg_mblk_search()
1585 extlen = max_t(u32, atomic_read(&ip->i_sizehint), ap->target); in rg_mblk_search()
1586 extlen = clamp(extlen, (u32)RGRP_RSRV_MINBLKS, free_blocks); in rg_mblk_search()
1588 if (free_blocks < extlen || blocks_available < extlen) in rg_mblk_search()
1600 ret = gfs2_rbm_find(&rbm, GFS2_BLKST_FREE, &extlen, &ip->i_res, true); in rg_mblk_search()
1603 rs->rs_requested = extlen; in rg_mblk_search()
1681 u32 extlen = 1; in gfs2_reservation_check_and_update() local
1689 extlen = gfs2_free_extlen(rbm, minext); in gfs2_reservation_check_and_update()
1690 if (extlen <= maxext->len) in gfs2_reservation_check_and_update()
[all …]
Drecovery.c38 u32 extlen; in gfs2_replay_read_block() local
41 extlen = 32; in gfs2_replay_read_block()
42 error = gfs2_get_extent(&ip->i_inode, blk, &dblock, &extlen); in gfs2_replay_read_block()
50 *bh = gfs2_meta_ra(gl, dblock, extlen); in gfs2_replay_read_block()
Ddir.c158 u32 extlen = 0; in gfs2_dir_write_data() local
191 if (!extlen) { in gfs2_dir_write_data()
192 extlen = 1; in gfs2_dir_write_data()
194 &extlen, &new); in gfs2_dir_write_data()
218 extlen--; in gfs2_dir_write_data()
272 u32 extlen = 0; in gfs2_dir_read_data() local
294 if (!extlen) { in gfs2_dir_read_data()
295 extlen = 32; in gfs2_dir_read_data()
297 &dblock, &extlen); in gfs2_dir_read_data()
300 BUG_ON(extlen < 1); in gfs2_dir_read_data()
[all …]
Dmeta_io.h75 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
Dbmap.c1235 unsigned int *extlen) in gfs2_get_extent() argument
1242 ret = gfs2_iomap_get(inode, lblock << blkbits, *extlen << blkbits, in gfs2_get_extent()
1250 if (len < *extlen) in gfs2_get_extent()
1251 *extlen = len; in gfs2_get_extent()
1256 unsigned int *extlen, bool *new) in gfs2_alloc_extent() argument
1263 ret = gfs2_iomap_alloc(inode, lblock << blkbits, *extlen << blkbits, in gfs2_alloc_extent()
1271 if (len < *extlen) in gfs2_alloc_extent()
1272 *extlen = len; in gfs2_alloc_extent()
Dquota.c1374 u32 extlen = 0; in gfs2_quota_init() local
1396 if (!extlen) { in gfs2_quota_init()
1397 extlen = 32; in gfs2_quota_init()
1398 error = gfs2_get_extent(&ip->i_inode, x, &dblock, &extlen); in gfs2_quota_init()
1403 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init()
1452 extlen--; in gfs2_quota_init()
Dlog.c869 unsigned int extlen; in gfs2_write_log_header() local
872 extlen = 1; in gfs2_write_log_header()
873 ret = gfs2_get_extent(jd->jd_inode, lblock, &dblock, &extlen); in gfs2_write_log_header()
/fs/fat/
Dnamei_vfat.c336 int sz = 0, extlen, baselen, i, numtail_baselen, numtail2_baselen; in vfat_create_shortname() local
408 extlen = 0; in vfat_create_shortname()
410 for (p = ext, ip = ext_start; extlen < 3 && ip < end; ip++) { in vfat_create_shortname()
416 if ((extlen + chl) > 3) { in vfat_create_shortname()
422 extlen++; in vfat_create_shortname()
424 if (extlen >= 3) { in vfat_create_shortname()
431 ext[extlen] = '\0'; in vfat_create_shortname()
445 memcpy(name_res + 8, ext, extlen); in vfat_create_shortname()
/fs/ocfs2/
Dextent_map.c869 u64 extoff, extlen; in ocfs2_seek_data_hole_offset() local
932 extlen = clen; in ocfs2_seek_data_hole_offset()
933 extlen <<= cs_bits; in ocfs2_seek_data_hole_offset()
935 if ((extoff + extlen) > i_size_read(inode)) in ocfs2_seek_data_hole_offset()
936 extlen = i_size_read(inode) - extoff; in ocfs2_seek_data_hole_offset()
937 extoff += extlen; in ocfs2_seek_data_hole_offset()
/fs/smb/server/
Dsmb_common.c498 int extlen = 0, len = 0; in ksmbd_extract_shortname() local
515 while (*p && extlen < 3) { in ksmbd_extract_shortname()
517 extension[extlen++] = toupper(*p); in ksmbd_extract_shortname()
520 extension[extlen] = '\0'; in ksmbd_extract_shortname()
/fs/xfs/libxfs/
Dxfs_refcount.c428 unsigned long long extlen, in xfs_refcount_merge_center_extents() argument
485 left->rc_blockcount = extlen; in xfs_refcount_merge_center_extents()