/Linux-v6.1/drivers/macintosh/ |
D | macio_sysfs.c | 13 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-v6.1/sound/aoa/soundbus/ |
D | core.c | 64 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-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 149 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-v6.1/drivers/scsi/esas2r/ |
D | esas2r_int.c | 707 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-v6.1/drivers/of/ |
D | fdt.c | 775 int cplen; in of_fdt_is_compatible() local 778 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible() 781 while (cplen > 0) { in of_fdt_is_compatible() 787 cplen -= l; in of_fdt_is_compatible()
|
D | base.c | 1226 int cplen; in of_modalias_node() local 1228 compatible = of_get_property(node, "compatible", &cplen); in of_modalias_node() 1229 if (!compatible || strlen(compatible) > cplen) in of_modalias_node()
|
/Linux-v6.1/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 1594 int t_cplen, cplen; in bnxt_qplib_put_inline() local 1613 cplen = min_t(int, len, sizeof(struct sq_sge)); in bnxt_qplib_put_inline() 1614 cplen = min_t(int, cplen, in bnxt_qplib_put_inline() 1616 memcpy(il_dst, il_src, cplen); in bnxt_qplib_put_inline() 1617 t_cplen += cplen; in bnxt_qplib_put_inline() 1618 il_src += cplen; in bnxt_qplib_put_inline() 1619 il_dst += cplen; in bnxt_qplib_put_inline() 1620 offt += cplen; in bnxt_qplib_put_inline() 1621 len -= cplen; in bnxt_qplib_put_inline()
|
/Linux-v6.1/net/sunrpc/ |
D | xdr.c | 1407 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local 1411 p = __xdr_inline_decode(xdr, cplen); in xdr_copy_to_scratch() 1414 memcpy(cpdest, p, cplen); in xdr_copy_to_scratch() 1417 cpdest += cplen; in xdr_copy_to_scratch() 1418 nbytes -= cplen; in xdr_copy_to_scratch()
|
/Linux-v6.1/fs/nfsd/ |
D | nfs4xdr.c | 4976 u32 cplen; in nfsd4_vbuf_to_stream() local 4979 cplen = min_t(unsigned long, buflen, in nfsd4_vbuf_to_stream() 4981 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream() 4985 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream() 4986 buf += cplen; in nfsd4_vbuf_to_stream() 4987 buflen -= cplen; in nfsd4_vbuf_to_stream() 4990 cplen = min_t(u32, buflen, PAGE_SIZE); in nfsd4_vbuf_to_stream() 4991 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream() 4995 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream() 4997 if (cplen < PAGE_SIZE) { in nfsd4_vbuf_to_stream() [all …]
|
/Linux-v6.1/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1976 size_t cplen; in rvt_post_one_wr() local 1989 cplen = ret; in rvt_post_one_wr() 2043 memcpy(&wqe->wr, wr, cplen); in rvt_post_one_wr()
|
/Linux-v6.1/fs/ocfs2/ |
D | xattr.c | 1107 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local 1135 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside() 1136 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside() 1137 len -= cplen; in ocfs2_xattr_get_value_outside() 1138 buffer += cplen; in ocfs2_xattr_get_value_outside()
|