Searched refs:sublen (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/scripts/basic/
H A Dfixdep.c257 int sublen = strlen(sub); strrcmp() local
259 if (sublen > slen) strrcmp()
262 return memcmp(s + slen - sublen, sub, sublen); strrcmp()
/linux-4.4.14/fs/f2fs/
H A Dnamei.c90 size_t sublen = strlen(sub); is_multimedia_file() local
96 if (slen < sublen + 2) is_multimedia_file()
99 if (s[slen - sublen - 1] != '.') is_multimedia_file()
102 return !strncasecmp(s + slen - sublen, sub, sublen); is_multimedia_file()
/linux-4.4.14/drivers/hwmon/
H A Dabituguru3.c1182 size_t sublen; abituguru3_dmi_detect() local
1198 sublen = strcspn(board_name, "("); abituguru3_dmi_detect()
1199 while (sublen > 0 && board_name[sublen - 1] == ' ') abituguru3_dmi_detect()
1200 sublen--; abituguru3_dmi_detect()
1205 if (strlen(*dmi_name) != sublen) abituguru3_dmi_detect()
1207 if (!strncasecmp(board_name, *dmi_name, sublen)) abituguru3_dmi_detect()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c428 u16 len, tlvlen, sublen, typelength; i40e_parse_cee_tlv() local
452 sublen = (u16)((typelength & i40e_parse_cee_tlv()
474 sublen); i40e_parse_cee_tlv()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dsdio.c1546 u16 sublen; brcmf_sdio_rxglom() local
1573 sublen = get_unaligned_le16(dptr); brcmf_sdio_rxglom()
1576 if ((sublen < SDPCM_HDRLEN) || brcmf_sdio_rxglom()
1577 ((num == 0) && (sublen < (2 * SDPCM_HDRLEN)))) { brcmf_sdio_rxglom()
1579 num, sublen); brcmf_sdio_rxglom()
1583 if (sublen % bus->sgentry_align) { brcmf_sdio_rxglom()
1584 brcmf_err("sublen %d not multiple of %d\n", brcmf_sdio_rxglom()
1585 sublen, bus->sgentry_align); brcmf_sdio_rxglom()
1587 totlen += sublen; brcmf_sdio_rxglom()
1592 sublen += brcmf_sdio_rxglom()
1598 pnext = brcmu_pkt_buf_get_skb(sublen + bus->sgentry_align); brcmf_sdio_rxglom()
1601 num, sublen); brcmf_sdio_rxglom()
1607 pkt_align(pnext, sublen, bus->sgentry_align); brcmf_sdio_rxglom()
1733 sublen = get_unaligned_le16(dptr); brcmf_sdio_rxglom()
1740 __skb_trim(pfirst, sublen); brcmf_sdio_rxglom()
/linux-4.4.14/scripts/mod/
H A Dmodpost.c736 int slen, sublen; strrcmp() local
742 sublen = strlen(sub); strrcmp()
744 if ((slen == 0) || (sublen == 0)) strrcmp()
747 if (sublen > slen) strrcmp()
750 return memcmp(s + slen - sublen, sub, sublen); strrcmp()
/linux-4.4.14/drivers/macintosh/
H A Dsmu.c844 memset(&cmd->info.sublen, 0, 4); smu_queue_i2c()
849 if (cmd->info.sublen > 3) smu_queue_i2c()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dsmu.h493 u8 sublen; /* subaddress length */ member in struct:smu_i2c_param
/linux-4.4.14/fs/btrfs/
H A Dscrub.c1312 u64 sublen; scrub_setup_recheck_block() local
1328 sublen = min_t(u64, length, PAGE_SIZE); scrub_setup_recheck_block()
1329 mapped_length = sublen; scrub_setup_recheck_block()
1338 if (ret || !bbio || mapped_length < sublen) { scrub_setup_recheck_block()
1414 length -= sublen; scrub_setup_recheck_block()
1415 logical += sublen; scrub_setup_recheck_block()
H A Dcheck-integrity.c1806 size_t sublen = i ? PAGE_CACHE_SIZE : btrfsic_test_for_metadata() local
1809 crc = btrfs_crc32c(crc, data, sublen); btrfsic_test_for_metadata()
/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dlow_i2c.c868 cmd->info.sublen = subsize; smu_i2c_xfer()

Completed in 840 milliseconds