Home
last modified time | relevance | path

Searched refs:cplen (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/macintosh/
Dmacio_sysfs.c13 int cplen; in compatible_show() local
17 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show()
22 while (cplen > 0) { in compatible_show()
28 cplen -= l; in compatible_show()
/linux-6.6.21/sound/aoa/soundbus/
Dcore.c64 int cplen, seen = 0; in soundbus_uevent() local
88 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in soundbus_uevent()
89 while (compat && cplen > 0) { in soundbus_uevent()
95 cplen -= env->buflen - tmp; in soundbus_uevent()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c149 u32 cplen; in brcmf_nvram_handle_value() local
156 cplen = ekv - skv; in brcmf_nvram_handle_value()
157 if (nvp->nvram_len + cplen + 1 >= BRCMF_FW_MAX_NVRAM_SIZE) in brcmf_nvram_handle_value()
160 memcpy(&nvp->nvram[nvp->nvram_len], skv, cplen); in brcmf_nvram_handle_value()
161 nvp->nvram_len += cplen; in brcmf_nvram_handle_value()
/linux-6.6.21/drivers/scsi/esas2r/
Desas2r_int.c707 u32 cplen = length; in esas2r_lun_event() local
710 if (cplen > sizeof(t->lu_event)) in esas2r_lun_event()
711 cplen = sizeof(t->lu_event); in esas2r_lun_event()
739 memcpy(&t->lu_event, &ae->lu, cplen); in esas2r_lun_event()
/linux-6.6.21/drivers/of/
Dfdt.c772 int cplen; in of_fdt_is_compatible() local
775 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
778 while (cplen > 0) { in of_fdt_is_compatible()
784 cplen -= l; in of_fdt_is_compatible()
Dbase.c1044 int cplen; in of_alias_from_compatible() local
1046 compatible = of_get_property(node, "compatible", &cplen); in of_alias_from_compatible()
1047 if (!compatible || strlen(compatible) > cplen) in of_alias_from_compatible()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1634 int t_cplen, cplen; in bnxt_qplib_put_inline() local
1653 cplen = min_t(int, len, sizeof(struct sq_sge)); in bnxt_qplib_put_inline()
1654 cplen = min_t(int, cplen, in bnxt_qplib_put_inline()
1656 memcpy(il_dst, il_src, cplen); in bnxt_qplib_put_inline()
1657 t_cplen += cplen; in bnxt_qplib_put_inline()
1658 il_src += cplen; in bnxt_qplib_put_inline()
1659 il_dst += cplen; in bnxt_qplib_put_inline()
1660 offt += cplen; in bnxt_qplib_put_inline()
1661 len -= cplen; in bnxt_qplib_put_inline()
/linux-6.6.21/net/sunrpc/
Dxdr.c1491 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local
1495 p = __xdr_inline_decode(xdr, cplen); in xdr_copy_to_scratch()
1498 memcpy(cpdest, p, cplen); in xdr_copy_to_scratch()
1501 cpdest += cplen; in xdr_copy_to_scratch()
1502 nbytes -= cplen; in xdr_copy_to_scratch()
/linux-6.6.21/fs/nfsd/
Dnfs4xdr.c5035 u32 cplen; in nfsd4_vbuf_to_stream() local
5038 cplen = min_t(unsigned long, buflen, in nfsd4_vbuf_to_stream()
5040 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
5044 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
5045 buf += cplen; in nfsd4_vbuf_to_stream()
5046 buflen -= cplen; in nfsd4_vbuf_to_stream()
5049 cplen = min_t(u32, buflen, PAGE_SIZE); in nfsd4_vbuf_to_stream()
5050 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
5054 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
5056 if (cplen < PAGE_SIZE) { in nfsd4_vbuf_to_stream()
[all …]
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dqp.c1974 size_t cplen; in rvt_post_one_wr() local
1987 cplen = ret; in rvt_post_one_wr()
2041 memcpy(&wqe->ud_wr, wr, cplen); in rvt_post_one_wr()
/linux-6.6.21/fs/ocfs2/
Dxattr.c1103 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local
1131 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside()
1132 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside()
1133 len -= cplen; in ocfs2_xattr_get_value_outside()
1134 buffer += cplen; in ocfs2_xattr_get_value_outside()