Searched refs:cplen (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/macintosh/ |
D | macio_sysfs.c | 11 int cplen; in compatible_show() local 15 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in compatible_show() 20 while (cplen > 0) { in compatible_show() 26 cplen -= l; in compatible_show()
|
/Linux-v5.4/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-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 141 u32 cplen; in brcmf_nvram_handle_value() local 148 cplen = ekv - skv; in brcmf_nvram_handle_value() 149 if (nvp->nvram_len + cplen + 1 >= BRCMF_FW_MAX_NVRAM_SIZE) in brcmf_nvram_handle_value() 152 memcpy(&nvp->nvram[nvp->nvram_len], skv, cplen); in brcmf_nvram_handle_value() 153 nvp->nvram_len += cplen; in brcmf_nvram_handle_value()
|
/Linux-v5.4/drivers/scsi/esas2r/ |
D | esas2r_int.c | 706 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-v5.4/drivers/of/ |
D | fdt.c | 730 int cplen; in of_fdt_is_compatible() local 733 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible() 736 while (cplen > 0) { in of_fdt_is_compatible() 742 cplen -= l; in of_fdt_is_compatible()
|
D | base.c | 1204 int cplen; in of_modalias_node() local 1206 compatible = of_get_property(node, "compatible", &cplen); in of_modalias_node() 1207 if (!compatible || strlen(compatible) > cplen) in of_modalias_node()
|
/Linux-v5.4/net/sunrpc/ |
D | xdr.c | 933 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local 937 p = __xdr_inline_decode(xdr, cplen); in xdr_copy_to_scratch() 940 memcpy(cpdest, p, cplen); in xdr_copy_to_scratch() 943 cpdest += cplen; in xdr_copy_to_scratch() 944 nbytes -= cplen; in xdr_copy_to_scratch()
|
/Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1995 size_t cplen; in rvt_post_one_wr() local 2008 cplen = ret; in rvt_post_one_wr() 2062 memcpy(&wqe->wr, wr, cplen); in rvt_post_one_wr()
|
/Linux-v5.4/fs/ocfs2/ |
D | xattr.c | 1109 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local 1137 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside() 1138 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside() 1139 len -= cplen; in ocfs2_xattr_get_value_outside() 1140 buffer += cplen; in ocfs2_xattr_get_value_outside()
|