Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/macintosh/
Dmacio_sysfs.c22 int cplen; in compatible_show() local
26 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show()
31 while (cplen > 0) { in compatible_show()
37 cplen -= l; in compatible_show()
/Linux-v4.19/sound/aoa/soundbus/
Dcore.c65 int cplen, seen = 0; in soundbus_uevent() local
89 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in soundbus_uevent()
90 while (compat && cplen > 0) { in soundbus_uevent()
96 cplen -= env->buflen - tmp; in soundbus_uevent()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c151 u32 cplen; in brcmf_nvram_handle_value() local
158 cplen = ekv - skv; in brcmf_nvram_handle_value()
159 if (nvp->nvram_len + cplen + 1 >= BRCMF_FW_MAX_NVRAM_SIZE) in brcmf_nvram_handle_value()
162 memcpy(&nvp->nvram[nvp->nvram_len], skv, cplen); in brcmf_nvram_handle_value()
163 nvp->nvram_len += cplen; in brcmf_nvram_handle_value()
/Linux-v4.19/drivers/scsi/esas2r/
Desas2r_int.c706 u32 cplen = length; in esas2r_lun_event() local
709 if (cplen > sizeof(t->lu_event)) in esas2r_lun_event()
710 cplen = sizeof(t->lu_event); in esas2r_lun_event()
738 memcpy(&t->lu_event, &ae->lu, cplen); in esas2r_lun_event()
/Linux-v4.19/drivers/of/
Dfdt.c96 int cplen; in of_fdt_is_compatible() local
99 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
102 while (cplen > 0) { in of_fdt_is_compatible()
108 cplen -= l; in of_fdt_is_compatible()
Dbase.c1116 int cplen; in of_modalias_node() local
1118 compatible = of_get_property(node, "compatible", &cplen); in of_modalias_node()
1119 if (!compatible || strlen(compatible) > cplen) in of_modalias_node()
/Linux-v4.19/net/sunrpc/
Dxdr.c863 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local
867 p = __xdr_inline_decode(xdr, cplen); in xdr_copy_to_scratch()
870 memcpy(cpdest, p, cplen); in xdr_copy_to_scratch()
871 cpdest += cplen; in xdr_copy_to_scratch()
872 nbytes -= cplen; in xdr_copy_to_scratch()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dqp.c1733 size_t cplen; in rvt_post_one_wr() local
1746 cplen = ret; in rvt_post_one_wr()
1800 memcpy(&wqe->wr, wr, cplen); in rvt_post_one_wr()
/Linux-v4.19/fs/ocfs2/
Dxattr.c1117 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local
1145 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside()
1146 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside()
1147 len -= cplen; in ocfs2_xattr_get_value_outside()
1148 buffer += cplen; in ocfs2_xattr_get_value_outside()