Home
last modified time | relevance | path

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

/linux/drivers/macintosh/
A Dmacio_sysfs.c11 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/sound/aoa/soundbus/
A 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dfirmware.c141 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/drivers/scsi/esas2r/
A 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/drivers/of/
A Dfdt.c770 int cplen; in of_fdt_is_compatible() local
773 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
776 while (cplen > 0) { in of_fdt_is_compatible()
782 cplen -= l; in of_fdt_is_compatible()
A Dbase.c1199 int cplen; in of_modalias_node() local
1201 compatible = of_get_property(node, "compatible", &cplen); in of_modalias_node()
1202 if (!compatible || strlen(compatible) > cplen) in of_modalias_node()
/linux/drivers/infiniband/hw/bnxt_re/
A Dqplib_fp.c1595 int t_cplen, cplen; in bnxt_qplib_put_inline() local
1614 cplen = min_t(int, len, sizeof(struct sq_sge)); in bnxt_qplib_put_inline()
1615 cplen = min_t(int, cplen, in bnxt_qplib_put_inline()
1617 memcpy(il_dst, il_src, cplen); in bnxt_qplib_put_inline()
1618 t_cplen += cplen; in bnxt_qplib_put_inline()
1619 il_src += cplen; in bnxt_qplib_put_inline()
1620 il_dst += cplen; in bnxt_qplib_put_inline()
1621 offt += cplen; in bnxt_qplib_put_inline()
1622 len -= cplen; in bnxt_qplib_put_inline()
/linux/net/sunrpc/
A Dxdr.c1348 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local
1352 p = __xdr_inline_decode(xdr, cplen); in xdr_copy_to_scratch()
1355 memcpy(cpdest, p, cplen); in xdr_copy_to_scratch()
1358 cpdest += cplen; in xdr_copy_to_scratch()
1359 nbytes -= cplen; in xdr_copy_to_scratch()
/linux/fs/nfsd/
A Dnfs4xdr.c4946 u32 cplen; in nfsd4_vbuf_to_stream() local
4949 cplen = min_t(unsigned long, buflen, in nfsd4_vbuf_to_stream()
4951 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
4955 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
4956 buf += cplen; in nfsd4_vbuf_to_stream()
4957 buflen -= cplen; in nfsd4_vbuf_to_stream()
4960 cplen = min_t(u32, buflen, PAGE_SIZE); in nfsd4_vbuf_to_stream()
4961 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
4965 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
4967 if (cplen < PAGE_SIZE) { in nfsd4_vbuf_to_stream()
[all …]
/linux/drivers/infiniband/sw/rdmavt/
A Dqp.c1976 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/fs/ocfs2/
A Dxattr.c1107 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()

Completed in 70 milliseconds