Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dlog.c225 u32 sublen; in bpf_vlog_finalize() local
271 div_u64_rem(log->start_pos, log->len_total, &sublen); in bpf_vlog_finalize()
272 sublen = log->len_total - sublen; in bpf_vlog_finalize()
275 err = err ?: bpf_vlog_reverse_ubuf(log, 0, sublen); in bpf_vlog_finalize()
276 err = err ?: bpf_vlog_reverse_ubuf(log, sublen, log->len_total); in bpf_vlog_finalize()
/linux-6.6.21/scripts/basic/
Dfixdep.c182 int sublen = strlen(sub); in str_ends_with() local
184 if (sublen > slen) in str_ends_with()
187 return !memcmp(s + slen - sublen, sub, sublen); in str_ends_with()
/linux-6.6.21/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.6.21/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()
55 if (i == slen - sublen - 1 || s[i + 1 + sublen] == '.') in is_extension_exist()
/linux-6.6.21/arch/powerpc/include/asm/
Dsmu.h487 u8 sublen; /* subaddress length */ member
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/intel/ice/
Dice_dcb.c540 u16 sublen; in ice_parse_cee_tlv() local
543 sublen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv()
563 sublen); in ice_parse_cee_tlv()
/linux-6.6.21/drivers/macintosh/
Dsmu.c850 cmd->info.sublen = 0; in smu_queue_i2c()
857 if (cmd->info.sublen > 3) in smu_queue_i2c()
/linux-6.6.21/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.6.21/drivers/s390/crypto/
Dzcrypt_ccamisc.c1212 u16 sublen; in cca_cipher2protkey() member
1381 u16 sublen; in cca_ecc2protkey() member
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dlow_i2c.c867 cmd->info.sublen = subsize; in smu_i2c_xfer()
/linux-6.6.21/fs/btrfs/
Dcheck-integrity.c1675 size_t sublen = i ? PAGE_SIZE : in btrfsic_test_for_metadata() local
1678 crypto_shash_update(shash, data, sublen); in btrfsic_test_for_metadata()