Lines Matching refs:idx
488 static unsigned find_run(__le32 *bmp, unsigned *idx) in find_run() argument
491 while (tstbits(bmp, *idx, 1)) { in find_run()
492 (*idx)++; in find_run()
493 if (unlikely(*idx >= 0x4000)) in find_run()
497 while (!tstbits(bmp, *idx + len, 1)) in find_run()
528 unsigned idx, len, start_bmp, end_bmp; in hpfs_trim_fs() local
549 idx = 0; in hpfs_trim_fs()
550 while ((len = find_run(bmp, &idx)) && !err) { in hpfs_trim_fs()
551 err = do_trim(s, sbi->sb_dirband_start + idx * 4, len * 4, start, end, minlen, result); in hpfs_trim_fs()
552 idx += len; in hpfs_trim_fs()
570 idx = 0; in hpfs_trim_fs()
571 while ((len = find_run(bmp, &idx)) && !err) { in hpfs_trim_fs()
572 err = do_trim(s, (start_bmp << 14) + idx, len, start, end, minlen, result); in hpfs_trim_fs()
573 idx += len; in hpfs_trim_fs()