Home
last modified time | relevance | path

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

/linux/drivers/macintosh/
H A 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/sound/aoa/soundbus/
H A Dcore.c66 int cplen, seen = 0; in soundbus_uevent() local
90 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in soundbus_uevent()
91 while (compat && cplen > 0) { in soundbus_uevent()
97 cplen -= env->buflen - tmp; in soundbus_uevent()
/linux/drivers/scsi/esas2r/
H 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/
H A Dfdt.c683 int cplen; in of_fdt_is_compatible() local
686 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
689 while (cplen > 0) { in of_fdt_is_compatible()
695 cplen -= l; in of_fdt_is_compatible()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1741 int t_cplen, cplen; in bnxt_qplib_put_inline() local
1760 cplen = min_t(int, len, sizeof(struct sq_sge)); in bnxt_qplib_put_inline()
1761 cplen = min_t(int, cplen, in bnxt_qplib_put_inline()
1763 memcpy(il_dst, il_src, cplen); in bnxt_qplib_put_inline()
1764 t_cplen += cplen; in bnxt_qplib_put_inline()
1765 il_src += cplen; in bnxt_qplib_put_inline()
1766 il_dst += cplen; in bnxt_qplib_put_inline()
1767 offt += cplen; in bnxt_qplib_put_inline()
1768 len -= cplen; in bnxt_qplib_put_inline()
/linux/net/sunrpc/
H A Dxdr.c1467 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local
1471 p = __xdr_inline_decode(xdr, cplen); in xdr_copy_to_scratch()
1474 memcpy(cpdest, p, cplen); in xdr_copy_to_scratch()
1477 cpdest += cplen; in xdr_copy_to_scratch()
1478 nbytes -= cplen; in xdr_copy_to_scratch()
/linux/fs/nfsd/
H A Dnfs4xdr.c5527 u32 cplen; in nfsd4_vbuf_to_stream() local
5530 cplen = min_t(unsigned long, buflen, in nfsd4_vbuf_to_stream()
5532 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
5536 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
5537 buf += cplen; in nfsd4_vbuf_to_stream()
5538 buflen -= cplen; in nfsd4_vbuf_to_stream()
5541 cplen = min_t(u32, buflen, PAGE_SIZE); in nfsd4_vbuf_to_stream()
5542 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
5546 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
5548 if (cplen < PAGE_SIZE) { in nfsd4_vbuf_to_stream()
[all …]
/linux/fs/ocfs2/
H A Dxattr.c1142 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local
1170 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside()
1171 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside()
1172 len -= cplen; in ocfs2_xattr_get_value_outside()
1173 buffer += cplen; in ocfs2_xattr_get_value_outside()