Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.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()
/linux-5.19.10/fs/f2fs/
Dnamei.c160 size_t sublen = strlen(sub); in is_extension_exist() local
163 if (sublen == 1 && *sub == '*') in is_extension_exist()
170 if (slen < sublen + 2) in is_extension_exist()
175 if (s[slen - sublen - 1] != '.') in is_extension_exist()
177 return !strncasecmp(s + slen - sublen, sub, sublen); in is_extension_exist()
180 for (i = 1; i < slen - sublen; i++) { in is_extension_exist()
183 if (!strncasecmp(s + i + 1, sub, sublen)) in is_extension_exist()
/linux-5.19.10/arch/powerpc/include/asm/
Dsmu.h487 u8 sublen; /* subaddress length */ member
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1517 u16 sublen; in brcmf_sdio_rxglom() local
1544 sublen = get_unaligned_le16(dptr); in brcmf_sdio_rxglom()
1547 if ((sublen < SDPCM_HDRLEN) || in brcmf_sdio_rxglom()
1548 ((num == 0) && (sublen < (2 * SDPCM_HDRLEN)))) { in brcmf_sdio_rxglom()
1550 num, sublen); in brcmf_sdio_rxglom()
1554 if (sublen % bus->sgentry_align) { in brcmf_sdio_rxglom()
1556 sublen, bus->sgentry_align); in brcmf_sdio_rxglom()
1558 totlen += sublen; in brcmf_sdio_rxglom()
1563 sublen += in brcmf_sdio_rxglom()
1569 pnext = brcmu_pkt_buf_get_skb(sublen + bus->sgentry_align); in brcmf_sdio_rxglom()
[all …]
/linux-5.19.10/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-5.19.10/drivers/macintosh/
Dsmu.c850 cmd->info.sublen = 0; in smu_queue_i2c()
857 if (cmd->info.sublen > 3) in smu_queue_i2c()
/linux-5.19.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()
/linux-5.19.10/fs/btrfs/
Dscrub.c1261 u64 sublen; in scrub_setup_recheck_block() local
1276 sublen = min_t(u64, length, fs_info->sectorsize); in scrub_setup_recheck_block()
1277 mapped_length = sublen; in scrub_setup_recheck_block()
1287 if (ret || !bioc || mapped_length < sublen) { in scrub_setup_recheck_block()
1365 length -= sublen; in scrub_setup_recheck_block()
1366 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-5.19.10/drivers/s390/crypto/
Dzcrypt_ccamisc.c1212 u16 sublen; in cca_cipher2protkey() member
1381 u16 sublen; in cca_ecc2protkey() member
/linux-5.19.10/arch/powerpc/platforms/powermac/
Dlow_i2c.c866 cmd->info.sublen = subsize; in smu_i2c_xfer()