Home
last modified time | relevance | path

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

/linux-6.1.9/scripts/basic/
Dfixdep.c179 int sublen = strlen(sub); in str_ends_with() local
181 if (sublen > slen) in str_ends_with()
184 return !memcmp(s + slen - sublen, sub, sublen); in str_ends_with()
/linux-6.1.9/drivers/hwmon/
Dabituguru3.c1164 size_t sublen; in abituguru3_dmi_detect() local
1180 sublen = strcspn(board_name, "("); in abituguru3_dmi_detect()
1181 while (sublen > 0 && board_name[sublen - 1] == ' ') in abituguru3_dmi_detect()
1182 sublen--; in abituguru3_dmi_detect()
1187 if (strlen(*dmi_name) != sublen) in abituguru3_dmi_detect()
1189 if (!strncasecmp(board_name, *dmi_name, sublen)) in abituguru3_dmi_detect()
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/include/asm/
Dsmu.h487 u8 sublen; /* subaddress length */ member
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1519 u16 sublen; in brcmf_sdio_rxglom() local
1546 sublen = get_unaligned_le16(dptr); in brcmf_sdio_rxglom()
1549 if ((sublen < SDPCM_HDRLEN) || in brcmf_sdio_rxglom()
1550 ((num == 0) && (sublen < (2 * SDPCM_HDRLEN)))) { in brcmf_sdio_rxglom()
1552 num, sublen); in brcmf_sdio_rxglom()
1556 if (sublen % bus->sgentry_align) { in brcmf_sdio_rxglom()
1558 sublen, bus->sgentry_align); in brcmf_sdio_rxglom()
1560 totlen += sublen; in brcmf_sdio_rxglom()
1565 sublen += in brcmf_sdio_rxglom()
1571 pnext = brcmu_pkt_buf_get_skb(sublen + bus->sgentry_align); in brcmf_sdio_rxglom()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_dcb.c537 u16 sublen; in ice_parse_cee_tlv() local
540 sublen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv()
560 sublen); in ice_parse_cee_tlv()
/linux-6.1.9/drivers/macintosh/
Dsmu.c850 cmd->info.sublen = 0; in smu_queue_i2c()
857 if (cmd->info.sublen > 3) in smu_queue_i2c()
/linux-6.1.9/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()
/linux-6.1.9/fs/btrfs/
Dscrub.c1456 u64 sublen; in scrub_setup_recheck_block() local
1466 sublen = min_t(u64, length, fs_info->sectorsize); in scrub_setup_recheck_block()
1467 mapped_length = sublen; in scrub_setup_recheck_block()
1477 if (ret || !bioc || mapped_length < sublen) { in scrub_setup_recheck_block()
1548 length -= sublen; in scrub_setup_recheck_block()
1549 logical += sublen; in scrub_setup_recheck_block()
Dcheck-integrity.c1668 size_t sublen = i ? PAGE_SIZE : in btrfsic_test_for_metadata() local
1671 crypto_shash_update(shash, data, sublen); in btrfsic_test_for_metadata()
/linux-6.1.9/drivers/s390/crypto/
Dzcrypt_ccamisc.c1212 u16 sublen; in cca_cipher2protkey() member
1381 u16 sublen; in cca_ecc2protkey() member
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dlow_i2c.c867 cmd->info.sublen = subsize; in smu_i2c_xfer()