Home
last modified time | relevance | path

Searched refs:cplen (Results 1 – 6 of 6) 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/net/sunrpc/
H A Dxdr.c1670 size_t cplen = (char *)xdr->end - (char *)xdr->p; in xdr_copy_to_scratch() local
1674 p = __xdr_inline_decode(xdr, cplen); in xdr_copy_to_scratch()
1677 memcpy(cpdest, p, cplen); in xdr_copy_to_scratch()
1680 cpdest += cplen; in xdr_copy_to_scratch()
1681 nbytes -= cplen; in xdr_copy_to_scratch()
/linux/fs/nfsd/
H A Dnfs4xdr.c6268 u32 cplen; in nfsd4_vbuf_to_stream() local
6271 cplen = min_t(unsigned long, buflen, in nfsd4_vbuf_to_stream()
6273 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
6277 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
6278 buf += cplen; in nfsd4_vbuf_to_stream()
6279 buflen -= cplen; in nfsd4_vbuf_to_stream()
6282 cplen = min_t(u32, buflen, PAGE_SIZE); in nfsd4_vbuf_to_stream()
6283 p = xdr_reserve_space(xdr, cplen); in nfsd4_vbuf_to_stream()
6287 memcpy(p, buf, cplen); in nfsd4_vbuf_to_stream()
6289 if (cplen < PAGE_SIZE) { in nfsd4_vbuf_to_stream()
[all …]
/linux/fs/ocfs2/
H A Dxattr.c1348 size_t cplen, blocksize; in ocfs2_xattr_get_value_outside() local
1376 cplen = len >= blocksize ? blocksize : len; in ocfs2_xattr_get_value_outside()
1377 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside()
1378 len -= cplen; in ocfs2_xattr_get_value_outside()
1379 buffer += cplen; in ocfs2_xattr_get_value_outside()