Home
last modified time | relevance | path

Searched refs:buflen (Results 1 – 25 of 42) sorted by relevance

12

/include/crypto/internal/
Dblake2b.h29 const size_t fill = BLAKE2B_BLOCK_SIZE - state->buflen; in __blake2b_update()
34 memcpy(state->buf + state->buflen, in, fill); in __blake2b_update()
36 state->buflen = 0; in __blake2b_update()
47 memcpy(state->buf + state->buflen, in, inlen); in __blake2b_update()
48 state->buflen += inlen; in __blake2b_update()
57 memset(state->buf + state->buflen, 0, in __blake2b_final()
58 BLAKE2B_BLOCK_SIZE - state->buflen); /* Padding */ in __blake2b_final()
59 (*compress)(state, state->buf, 1, state->buflen); in __blake2b_final()
/include/crypto/
Dblake2b.h28 unsigned int buflen; member
58 state->buflen = 0; in __blake2b_init()
63 state->buflen = BLAKE2B_BLOCK_SIZE; in __blake2b_init()
Dblake2s.h31 unsigned int buflen; member
61 state->buflen = 0; in __blake2s_init()
66 state->buflen = BLAKE2S_BLOCK_SIZE; in __blake2s_init()
Dnhpoly1305.h47 unsigned int buflen; member
Dpoly1305.h45 unsigned int buflen; member
Ddrbg.h97 unsigned char *buf, unsigned int buflen,
/include/linux/
Dscatterlist.h140 unsigned int buflen) in sg_set_buf() argument
145 sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); in sg_set_buf()
347 size_t buflen, off_t skip, bool to_buffer);
350 const void *buf, size_t buflen);
352 void *buf, size_t buflen);
355 const void *buf, size_t buflen, off_t skip);
357 void *buf, size_t buflen, off_t skip);
359 size_t buflen, off_t skip);
Dof_pdt.h30 int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
Dcgroup.h122 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen);
670 static inline int cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_name() argument
672 return kernfs_name(cgrp->kn, buf, buflen); in cgroup_name()
675 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() argument
677 return kernfs_path(cgrp->kn, buf, buflen); in cgroup_path()
716 void cgroup_path_from_kernfs_id(u64 id, char *buf, size_t buflen);
770 static inline void cgroup_path_from_kernfs_id(u64 id, char *buf, size_t buflen) in cgroup_path_from_kernfs_id() argument
882 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen,
Dif_tun.h23 int buflen; member
Dkernfs.h372 int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen);
374 char *buf, size_t buflen);
449 static inline int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name() argument
454 char *buf, size_t buflen) in kernfs_path_from_node() argument
566 static inline int kernfs_path(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_path() argument
568 return kernfs_path_from_node(kn, NULL, buf, buflen); in kernfs_path()
Dkey-type.h133 long (*read)(const struct key *key, char *buffer, size_t buflen);
Dtpm.h418 extern int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen);
439 static inline int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen) in tpm_send() argument
/include/trace/events/
Dandroid_fs.h41 android_fstrace_get_pathname(char *buf, int buflen, struct inode *inode) in android_fstrace_get_pathname() argument
54 path = dentry_path_raw(d, buf, buflen); in android_fstrace_get_pathname()
/include/keys/
Dbig_key-type.h20 extern long big_key_read(const struct key *key, char *buffer, size_t buflen);
Duser-type.h44 extern long user_read(const struct key *key, char *buffer, size_t buflen);
Dtrusted_tpm.h42 int trusted_tpm_send(unsigned char *cmd, size_t buflen);
/include/linux/usb/
Dcdc.h50 int buflen);
Drndis_host.h203 rndis_command(struct usbnet *dev, struct rndis_msg_hdr *buf, int buflen);
/include/scsi/
Dscsi_cmnd.h220 const void *buf, int buflen) in scsi_sg_copy_from_buffer() argument
223 buf, buflen); in scsi_sg_copy_from_buffer()
227 void *buf, int buflen) in scsi_sg_copy_to_buffer() argument
230 buf, buflen); in scsi_sg_copy_to_buffer()
Dlibiscsi.h398 int buflen);
422 enum iscsi_param param, char *buf, int buflen);
/include/acpi/
Dapei.h51 size_t buflen);
/include/xen/interface/io/
Dnetif.h302 const uint8_t *buf, unsigned int buflen) in xen_netif_toeplitz_hash() argument
314 for (bufi = 0; bufi < buflen; bufi++) { in xen_netif_toeplitz_hash()
/include/sound/
Dhda_chmap.h73 void snd_hdac_print_channel_allocation(int spk_alloc, char *buf, int buflen);
/include/linux/sunrpc/
Dxdr.h69 unsigned int buflen, /* Total length of storage buffer */ member
83 buf->buflen = len; in xdr_buf_init()
278 xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen) in xdr_set_scratch_buffer() argument
281 xdr->scratch.iov_len = buflen; in xdr_set_scratch_buffer()

12