Home
last modified time | relevance | path

Searched refs:sublen (Results 1 – 3 of 3) sorted by relevance

/fs/f2fs/
Dnamei.c29 size_t sublen = strlen(sub); in is_extension_exist() local
32 if (sublen == 1 && *sub == '*') in is_extension_exist()
39 if (slen < sublen + 2) in is_extension_exist()
44 if (s[slen - sublen - 1] != '.') in is_extension_exist()
46 return !strncasecmp(s + slen - sublen, sub, sublen); in is_extension_exist()
49 for (i = 1; i < slen - sublen; i++) { in is_extension_exist()
52 if (!strncasecmp(s + i + 1, sub, sublen)) in is_extension_exist()
/fs/btrfs/
Dscrub.c1272 u64 sublen; in scrub_setup_recheck_block() local
1288 sublen = min_t(u64, length, fs_info->sectorsize); in scrub_setup_recheck_block()
1289 mapped_length = sublen; in scrub_setup_recheck_block()
1299 if (ret || !bioc || mapped_length < sublen) { in scrub_setup_recheck_block()
1377 length -= sublen; in scrub_setup_recheck_block()
1378 logical += sublen; in scrub_setup_recheck_block()
Dcheck-integrity.c1667 size_t sublen = i ? PAGE_SIZE : in btrfsic_test_for_metadata() local
1670 crypto_shash_update(shash, data, sublen); in btrfsic_test_for_metadata()