Lines Matching refs:end
300 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "aip"))) goto end; in hpfs_alloc_if_possible()
309 end: in hpfs_alloc_if_possible()
506 secno end; in do_trim() local
509 end = start + len; in do_trim()
512 if (end > limit_end) in do_trim()
513 end = limit_end; in do_trim()
514 if (start >= end) in do_trim()
516 if (end - start < minlen) in do_trim()
518 err = sb_issue_discard(s, start, end - start, GFP_NOFS, 0); in do_trim()
521 *result += end - start; in do_trim()
525 int hpfs_trim_fs(struct super_block *s, u64 start, u64 end, u64 minlen, unsigned *result) in hpfs_trim_fs() argument
534 if (!end || end > sbi->sb_fs_size) in hpfs_trim_fs()
535 end = sbi->sb_fs_size; in hpfs_trim_fs()
540 if (start < sbi->sb_dirband_start + sbi->sb_dirband_size && end > sbi->sb_dirband_start) { in hpfs_trim_fs()
552 err = do_trim(s, sbi->sb_dirband_start + idx * 4, len * 4, start, end, minlen, result); in hpfs_trim_fs()
560 end_bmp = (end + 0x3fff) >> 14; in hpfs_trim_fs()
573 err = do_trim(s, (start_bmp << 14) + idx, len, start, end, minlen, result); in hpfs_trim_fs()