Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/scripts/basic/
Dfixdep.c229 int sublen = strlen(sub); in str_ends_with() local
231 if (sublen > slen) in str_ends_with()
234 return !memcmp(s + slen - sublen, sub, sublen); in str_ends_with()
/kernel/linux/linux-5.10/drivers/hwmon/
Dabituguru3.c1169 size_t sublen; in abituguru3_dmi_detect() local
1185 sublen = strcspn(board_name, "("); in abituguru3_dmi_detect()
1186 while (sublen > 0 && board_name[sublen - 1] == ' ') in abituguru3_dmi_detect()
1187 sublen--; in abituguru3_dmi_detect()
1192 if (strlen(*dmi_name) != sublen) in abituguru3_dmi_detect()
1194 if (!strncasecmp(board_name, *dmi_name, sublen)) in abituguru3_dmi_detect()
/kernel/linux/linux-5.10/fs/f2fs/
Dnamei.c162 size_t sublen = strlen(sub); in is_extension_exist() local
165 if (sublen == 1 && *sub == '*') in is_extension_exist()
172 if (slen < sublen + 2) in is_extension_exist()
177 if (s[slen - sublen - 1] != '.') in is_extension_exist()
179 return !strncasecmp(s + slen - sublen, sub, sublen); in is_extension_exist()
182 for (i = 1; i < slen - sublen; i++) { in is_extension_exist()
185 if (!strncasecmp(s + i + 1, sub, sublen)) in is_extension_exist()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsmu.h487 u8 sublen; /* subaddress length */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c414 u16 len, tlvlen, sublen, typelength; in i40e_parse_cee_tlv() local
438 sublen = (u16)((typelength & in i40e_parse_cee_tlv()
460 sublen); in i40e_parse_cee_tlv()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1506 u16 sublen; in brcmf_sdio_rxglom() local
1533 sublen = get_unaligned_le16(dptr); in brcmf_sdio_rxglom()
1536 if ((sublen < SDPCM_HDRLEN) || in brcmf_sdio_rxglom()
1537 ((num == 0) && (sublen < (2 * SDPCM_HDRLEN)))) { in brcmf_sdio_rxglom()
1539 num, sublen); in brcmf_sdio_rxglom()
1543 if (sublen % bus->sgentry_align) { in brcmf_sdio_rxglom()
1545 sublen, bus->sgentry_align); in brcmf_sdio_rxglom()
1547 totlen += sublen; in brcmf_sdio_rxglom()
1552 sublen += in brcmf_sdio_rxglom()
1558 pnext = brcmu_pkt_buf_get_skb(sublen + bus->sgentry_align); in brcmf_sdio_rxglom()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb.c538 u16 sublen; in ice_parse_cee_tlv() local
541 sublen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv()
561 sublen); in ice_parse_cee_tlv()
/kernel/linux/linux-5.10/scripts/mod/
Dmodpost.c804 int slen, sublen; in strrcmp() local
810 sublen = strlen(sub); in strrcmp()
812 if ((slen == 0) || (sublen == 0)) in strrcmp()
815 if (sublen > slen) in strrcmp()
818 return memcmp(s + slen - sublen, sub, sublen); in strrcmp()
/kernel/linux/linux-5.10/drivers/macintosh/
Dsmu.c851 memset(&cmd->info.sublen, 0, 4); in smu_queue_i2c()
857 if (cmd->info.sublen > 3) in smu_queue_i2c()
/kernel/linux/linux-5.10/fs/btrfs/
Dscrub.c1277 u64 sublen; in scrub_setup_recheck_block() local
1293 sublen = min_t(u64, length, PAGE_SIZE); in scrub_setup_recheck_block()
1294 mapped_length = sublen; in scrub_setup_recheck_block()
1304 if (ret || !bbio || mapped_length < sublen) { in scrub_setup_recheck_block()
1382 length -= sublen; in scrub_setup_recheck_block()
1383 logical += sublen; in scrub_setup_recheck_block()
Dcheck-integrity.c1720 size_t sublen = i ? PAGE_SIZE : in btrfsic_test_for_metadata() local
1723 crypto_shash_update(shash, data, sublen); in btrfsic_test_for_metadata()
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_ccamisc.c1209 u16 sublen; in cca_cipher2protkey() member
1375 u16 sublen; in cca_ecc2protkey() member
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dlow_i2c.c866 cmd->info.sublen = subsize; in smu_i2c_xfer()