buflen           2116 arch/ia64/kernel/perfmon.c static char *pfmfs_dname(struct dentry *dentry, char *buffer, int buflen)
buflen           2118 arch/ia64/kernel/perfmon.c 	return dynamic_dname(dentry, buffer, buflen, "pfm:[%lu]",
buflen            203 arch/powerpc/boot/devtree.c                       int naddr, int nsize, int buflen)
buflen            208 arch/powerpc/boot/devtree.c 	for (i = 0; i + nrange <= buflen; i += nrange) {
buflen            236 arch/powerpc/boot/devtree.c 	int buflen, offset;
buflen            272 arch/powerpc/boot/devtree.c 		buflen = getprop(node, "ranges", prop_buf,
buflen            274 arch/powerpc/boot/devtree.c 		if (buflen == 0)
buflen            276 arch/powerpc/boot/devtree.c 		if (buflen < 0 || buflen > sizeof(prop_buf))
buflen            280 arch/powerpc/boot/devtree.c 		                    naddr, prev_nsize, buflen / 4);
buflen            321 arch/powerpc/boot/devtree.c int dt_xlate_addr(void *node, u32 *buf, int buflen, unsigned long *xlated_addr)
buflen            324 arch/powerpc/boot/devtree.c 	if (buflen > sizeof(prop_buf))
buflen            327 arch/powerpc/boot/devtree.c 	memcpy(prop_buf, buf, buflen);
buflen            328 arch/powerpc/boot/devtree.c 	return dt_xlate(node, 0, buflen / 4, xlated_addr, NULL);
buflen             68 arch/powerpc/boot/libfdt-wrapper.c 			       void *buf, const int buflen)
buflen             76 arch/powerpc/boot/libfdt-wrapper.c 	memcpy(buf, p, min(len, buflen));
buflen             18 arch/powerpc/boot/of.h 	       const int buflen);
buflen             20 arch/powerpc/boot/of.h 	       const int buflen);
buflen            210 arch/powerpc/boot/oflib.c 	       const int buflen)
buflen            212 arch/powerpc/boot/oflib.c 	return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen);
buflen            216 arch/powerpc/boot/oflib.c 	       const int buflen)
buflen            218 arch/powerpc/boot/oflib.c 	return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen);
buflen             41 arch/powerpc/boot/ops.h 			const int buflen);
buflen             43 arch/powerpc/boot/ops.h 			const void *buf, const int buflen);
buflen             97 arch/powerpc/boot/ops.h int dt_xlate_addr(void *node, u32 *buf, int buflen, unsigned long *xlated_addr);
buflen            107 arch/powerpc/boot/ops.h static inline int getprop(void *devp, const char *name, void *buf, int buflen)
buflen            109 arch/powerpc/boot/ops.h 	return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1;
buflen            113 arch/powerpc/boot/ops.h                           const void *buf, int buflen)
buflen            115 arch/powerpc/boot/ops.h 	return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1;
buflen           2128 arch/powerpc/kvm/book3s_hv.c 	unsigned int	buflen;
buflen           2170 arch/powerpc/kvm/book3s_hv.c 	if (!p->buflen) {
buflen           2204 arch/powerpc/kvm/book3s_hv.c 		p->buflen = s - p->buf;
buflen           2208 arch/powerpc/kvm/book3s_hv.c 	if (pos >= p->buflen)
buflen           2210 arch/powerpc/kvm/book3s_hv.c 	if (len > p->buflen - pos)
buflen           2211 arch/powerpc/kvm/book3s_hv.c 		len = p->buflen - pos;
buflen              5 arch/sparc/include/asm/memctrl.h typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen);
buflen            147 arch/sparc/include/asm/oplib_64.h 		    char *buf, int buflen);
buflen            295 arch/sparc/kernel/chmc.c 			     char *buf, int buflen)
buflen            541 arch/sparc/kernel/chmc.c 			   char *buf, int buflen)
buflen            140 arch/sparc/kernel/traps_64.c static int sprintf_dimm(int synd_code, unsigned long paddr, char *buf, int buflen)
buflen            147 arch/sparc/kernel/traps_64.c 		ret = dimm_handler(synd_code, paddr, buf, buflen);
buflen            149 arch/sparc/kernel/traps_64.c 		if (prom_getunumber(synd_code, paddr, buf, buflen) == -1)
buflen            320 arch/sparc/prom/misc_64.c 		    char *buf, int buflen)
buflen            329 arch/sparc/prom/misc_64.c 	args[5] = buflen;
buflen            130 arch/x86/crypto/poly1305_glue.c 	if (unlikely(dctx->buflen)) {
buflen            131 arch/x86/crypto/poly1305_glue.c 		bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen);
buflen            132 arch/x86/crypto/poly1305_glue.c 		memcpy(dctx->buf + dctx->buflen, src, bytes);
buflen            135 arch/x86/crypto/poly1305_glue.c 		dctx->buflen += bytes;
buflen            137 arch/x86/crypto/poly1305_glue.c 		if (dctx->buflen == POLY1305_BLOCK_SIZE) {
buflen            140 arch/x86/crypto/poly1305_glue.c 			dctx->buflen = 0;
buflen            153 arch/x86/crypto/poly1305_glue.c 		dctx->buflen = srclen;
buflen            108 arch/x86/platform/olpc/olpc_dt.c 		const int buflen, int *len)
buflen            110 arch/x86/platform/olpc/olpc_dt.c 	const void *args[] = { (void *)node, buf, (void *)buflen };
buflen            109 block/compat_ioctl.c 	compat_uint_t	buflen;
buflen            160 block/compat_ioctl.c 	    copy_in_user(&cgc->buflen, &cgc32->buflen,
buflen            621 block/partitions/ldm.c static int ldm_relative(const u8 *buffer, int buflen, int base, int offset)
buflen            625 block/partitions/ldm.c 	if (!buffer || offset < 0 || base > buflen) {
buflen            630 block/partitions/ldm.c 		if (base > buflen)
buflen            631 block/partitions/ldm.c 			ldm_error("base (%d) > buflen (%d)", base, buflen);
buflen            634 block/partitions/ldm.c 	if (base + buffer[base] >= buflen) {
buflen            636 block/partitions/ldm.c 				buffer[base], buflen);
buflen            692 block/partitions/ldm.c static int ldm_get_vstr (const u8 *block, u8 *buffer, int buflen)
buflen            699 block/partitions/ldm.c 	if (length >= buflen) {
buflen            700 block/partitions/ldm.c 		ldm_error ("Truncating string %d -> %d.", length, buflen);
buflen            701 block/partitions/ldm.c 		length = buflen - 1;
buflen            720 block/partitions/ldm.c static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb)
buflen            727 block/partitions/ldm.c 	r_objid  = ldm_relative (buffer, buflen, 0x18, 0);
buflen            728 block/partitions/ldm.c 	r_name   = ldm_relative (buffer, buflen, 0x18, r_objid);
buflen            729 block/partitions/ldm.c 	r_vstate = ldm_relative (buffer, buflen, 0x18, r_name);
buflen            730 block/partitions/ldm.c 	r_child  = ldm_relative (buffer, buflen, 0x1D, r_vstate);
buflen            731 block/partitions/ldm.c 	r_parent = ldm_relative (buffer, buflen, 0x2D, r_child);
buflen            734 block/partitions/ldm.c 		r_stripe = ldm_relative (buffer, buflen, 0x2E, r_parent);
buflen            735 block/partitions/ldm.c 		r_cols   = ldm_relative (buffer, buflen, 0x2E, r_stripe);
buflen            771 block/partitions/ldm.c static int ldm_parse_dgr3 (const u8 *buffer, int buflen, struct vblk *vb)
buflen            778 block/partitions/ldm.c 	r_objid  = ldm_relative (buffer, buflen, 0x18, 0);
buflen            779 block/partitions/ldm.c 	r_name   = ldm_relative (buffer, buflen, 0x18, r_objid);
buflen            780 block/partitions/ldm.c 	r_diskid = ldm_relative (buffer, buflen, 0x18, r_name);
buflen            783 block/partitions/ldm.c 		r_id1 = ldm_relative (buffer, buflen, 0x24, r_diskid);
buflen            784 block/partitions/ldm.c 		r_id2 = ldm_relative (buffer, buflen, 0x24, r_id1);
buflen            815 block/partitions/ldm.c static bool ldm_parse_dgr4 (const u8 *buffer, int buflen, struct vblk *vb)
buflen            822 block/partitions/ldm.c 	r_objid  = ldm_relative (buffer, buflen, 0x18, 0);
buflen            823 block/partitions/ldm.c 	r_name   = ldm_relative (buffer, buflen, 0x18, r_objid);
buflen            826 block/partitions/ldm.c 		r_id1 = ldm_relative (buffer, buflen, 0x44, r_name);
buflen            827 block/partitions/ldm.c 		r_id2 = ldm_relative (buffer, buflen, 0x44, r_id1);
buflen            856 block/partitions/ldm.c static bool ldm_parse_dsk3 (const u8 *buffer, int buflen, struct vblk *vb)
buflen            863 block/partitions/ldm.c 	r_objid   = ldm_relative (buffer, buflen, 0x18, 0);
buflen            864 block/partitions/ldm.c 	r_name    = ldm_relative (buffer, buflen, 0x18, r_objid);
buflen            865 block/partitions/ldm.c 	r_diskid  = ldm_relative (buffer, buflen, 0x18, r_name);
buflen            866 block/partitions/ldm.c 	r_altname = ldm_relative (buffer, buflen, 0x18, r_diskid);
buflen            895 block/partitions/ldm.c static bool ldm_parse_dsk4 (const u8 *buffer, int buflen, struct vblk *vb)
buflen            902 block/partitions/ldm.c 	r_objid = ldm_relative (buffer, buflen, 0x18, 0);
buflen            903 block/partitions/ldm.c 	r_name  = ldm_relative (buffer, buflen, 0x18, r_objid);
buflen            928 block/partitions/ldm.c static bool ldm_parse_prt3(const u8 *buffer, int buflen, struct vblk *vb)
buflen            934 block/partitions/ldm.c 	r_objid = ldm_relative(buffer, buflen, 0x18, 0);
buflen            939 block/partitions/ldm.c 	r_name = ldm_relative(buffer, buflen, 0x18, r_objid);
buflen            944 block/partitions/ldm.c 	r_size = ldm_relative(buffer, buflen, 0x34, r_name);
buflen            949 block/partitions/ldm.c 	r_parent = ldm_relative(buffer, buflen, 0x34, r_size);
buflen            954 block/partitions/ldm.c 	r_diskid = ldm_relative(buffer, buflen, 0x34, r_parent);
buflen            960 block/partitions/ldm.c 		r_index = ldm_relative(buffer, buflen, 0x34, r_diskid);
buflen           1004 block/partitions/ldm.c static bool ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb)
buflen           1011 block/partitions/ldm.c 	r_objid = ldm_relative(buffer, buflen, 0x18, 0);
buflen           1016 block/partitions/ldm.c 	r_name = ldm_relative(buffer, buflen, 0x18, r_objid);
buflen           1021 block/partitions/ldm.c 	r_vtype = ldm_relative(buffer, buflen, 0x18, r_name);
buflen           1026 block/partitions/ldm.c 	r_disable_drive_letter = ldm_relative(buffer, buflen, 0x18, r_vtype);
buflen           1032 block/partitions/ldm.c 	r_child = ldm_relative(buffer, buflen, 0x2D, r_disable_drive_letter);
buflen           1037 block/partitions/ldm.c 	r_size = ldm_relative(buffer, buflen, 0x3D, r_child);
buflen           1043 block/partitions/ldm.c 		r_id1 = ldm_relative(buffer, buflen, 0x52, r_size);
buflen           1051 block/partitions/ldm.c 		r_id2 = ldm_relative(buffer, buflen, 0x52, r_id1);
buflen           1059 block/partitions/ldm.c 		r_size2 = ldm_relative(buffer, buflen, 0x52, r_id2);
buflen           1067 block/partitions/ldm.c 		r_drive = ldm_relative(buffer, buflen, 0x52, r_size2);
buflen            606 block/scsi_ioctl.c 			hdr.dxfer_len = cgc.buflen;
buflen            643 block/scsi_ioctl.c 			cgc.buflen = hdr.resid;
buflen            334 block/sed-opal.c 	size_t buflen = IO_BUFFER_LENGTH;
buflen            348 block/sed-opal.c 		memset(buffer, 0, buflen);
buflen            594 crypto/drbg.c  			     unsigned char *buf, unsigned int buflen,
buflen            598 crypto/drbg.c  	int len = min_t(int, buflen, INT_MAX);
buflen            707 crypto/drbg.c  			      unsigned int buflen,
buflen            724 crypto/drbg.c  	while (len < buflen) {
buflen            730 crypto/drbg.c  		outlen = (drbg_blocklen(drbg) < (buflen - len)) ?
buflen            731 crypto/drbg.c  			  drbg_blocklen(drbg) : (buflen - len);
buflen            936 crypto/drbg.c  			     unsigned int buflen)
buflen            950 crypto/drbg.c  	while (len < buflen) {
buflen            958 crypto/drbg.c  		outlen = (drbg_blocklen(drbg) < (buflen - len)) ?
buflen            959 crypto/drbg.c  			  drbg_blocklen(drbg) : (buflen - len);
buflen            964 crypto/drbg.c  		if (len < buflen)
buflen            976 crypto/drbg.c  			      unsigned char *buf, unsigned int buflen,
buflen            994 crypto/drbg.c  	len = drbg_hash_hashgen(drbg, buf, buflen);
buflen           1334 crypto/drbg.c  			 unsigned char *buf, unsigned int buflen,
buflen           1344 crypto/drbg.c  	if (0 == buflen || !buf) {
buflen           1355 crypto/drbg.c  	if (buflen > (drbg_max_request_bytes(drbg))) {
buflen           1357 crypto/drbg.c  			 buflen);
buflen           1394 crypto/drbg.c  	len = drbg->d_ops->generate(drbg, buf, buflen, &addtllist);
buflen           1461 crypto/drbg.c  			      unsigned char *buf, unsigned int buflen,
buflen           1469 crypto/drbg.c  		slice = ((buflen - len) / drbg_max_request_bytes(drbg));
buflen           1470 crypto/drbg.c  		chunk = slice ? drbg_max_request_bytes(drbg) : (buflen - len);
buflen           1477 crypto/drbg.c  	} while (slice > 0 && (len < buflen));
buflen            148 crypto/nhpoly1305.c 	state->buflen = 0;
buflen            162 crypto/nhpoly1305.c 	if (state->buflen) {
buflen            163 crypto/nhpoly1305.c 		bytes = min(srclen, (int)NH_MESSAGE_UNIT - state->buflen);
buflen            164 crypto/nhpoly1305.c 		memcpy(&state->buffer[state->buflen], src, bytes);
buflen            165 crypto/nhpoly1305.c 		state->buflen += bytes;
buflen            166 crypto/nhpoly1305.c 		if (state->buflen < NH_MESSAGE_UNIT)
buflen            170 crypto/nhpoly1305.c 		state->buflen = 0;
buflen            184 crypto/nhpoly1305.c 		state->buflen = srclen;
buflen            202 crypto/nhpoly1305.c 	if (state->buflen) {
buflen            203 crypto/nhpoly1305.c 		memset(&state->buffer[state->buflen], 0,
buflen            204 crypto/nhpoly1305.c 		       NH_MESSAGE_UNIT - state->buflen);
buflen             42 crypto/poly1305_generic.c 	dctx->buflen = 0;
buflen            187 crypto/poly1305_generic.c 	if (unlikely(dctx->buflen)) {
buflen            188 crypto/poly1305_generic.c 		bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen);
buflen            189 crypto/poly1305_generic.c 		memcpy(dctx->buf + dctx->buflen, src, bytes);
buflen            192 crypto/poly1305_generic.c 		dctx->buflen += bytes;
buflen            194 crypto/poly1305_generic.c 		if (dctx->buflen == POLY1305_BLOCK_SIZE) {
buflen            197 crypto/poly1305_generic.c 			dctx->buflen = 0;
buflen            208 crypto/poly1305_generic.c 		dctx->buflen = srclen;
buflen            273 crypto/poly1305_generic.c 	if (unlikely(dctx->buflen)) {
buflen            274 crypto/poly1305_generic.c 		dctx->buf[dctx->buflen++] = 1;
buflen            275 crypto/poly1305_generic.c 		memset(dctx->buf + dctx->buflen, 0,
buflen            276 crypto/poly1305_generic.c 		       POLY1305_BLOCK_SIZE - dctx->buflen);
buflen            113 crypto/tcrypt.c 			 unsigned int buflen, const void *assoc,
buflen            116 crypto/tcrypt.c 	int np = (buflen + PAGE_SIZE - 1)/PAGE_SIZE;
buflen            123 crypto/tcrypt.c 		rem = buflen % PAGE_SIZE;
buflen            821 drivers/acpi/apei/erst.c 			   size_t buflen)
buflen            832 drivers/acpi/apei/erst.c 	if (len <= buflen)
buflen            844 drivers/acpi/apei/erst.c 		  size_t buflen)
buflen            853 drivers/acpi/apei/erst.c 	len = __erst_read(record_id, record, buflen);
buflen            254 drivers/acpi/device_sysfs.c 	len = create_pnp_modalias(adev, &env->buf[env->buflen - 1],
buflen            255 drivers/acpi/device_sysfs.c 				  sizeof(env->buf) - env->buflen);
buflen            259 drivers/acpi/device_sysfs.c 	env->buflen += len;
buflen            266 drivers/acpi/device_sysfs.c 	len = create_of_modalias(adev, &env->buf[env->buflen - 1],
buflen            267 drivers/acpi/device_sysfs.c 				 sizeof(env->buf) - env->buflen);
buflen            271 drivers/acpi/device_sysfs.c 	env->buflen += len;
buflen           1606 drivers/ata/libata-core.c 		unsigned int i, buflen = 0;
buflen           1610 drivers/ata/libata-core.c 			buflen += sg->length;
buflen           1613 drivers/ata/libata-core.c 		qc->nbytes = buflen;
buflen           1725 drivers/ata/libata-core.c 			   int dma_dir, void *buf, unsigned int buflen,
buflen           1733 drivers/ata/libata-core.c 		sg_init_one(&sg, buf, buflen);
buflen            543 drivers/ata/libata-sff.c 			       unsigned int buflen, int rw)
buflen            547 drivers/ata/libata-sff.c 	unsigned int words = buflen >> 1;
buflen            556 drivers/ata/libata-sff.c 	if (unlikely(buflen & 0x01)) {
buflen            560 drivers/ata/libata-sff.c 		buf += buflen - 1;
buflen            598 drivers/ata/libata-sff.c 			       unsigned int buflen, int rw)
buflen            603 drivers/ata/libata-sff.c 	unsigned int words = buflen >> 2;
buflen            604 drivers/ata/libata-sff.c 	int slop = buflen & 3;
buflen            607 drivers/ata/libata-sff.c 		return ata_sff_data_xfer(qc, buf, buflen, rw);
buflen            620 drivers/ata/libata-sff.c 		buf += buflen - slop;
buflen            640 drivers/ata/libata-sff.c 	return (buflen + 1) & ~1;
buflen             51 drivers/ata/libata.h 				  int dma_dir, void *buf, unsigned int buflen,
buflen             67 drivers/ata/pata_buddha.c 					 unsigned int buflen, int rw)
buflen             72 drivers/ata/pata_buddha.c 	unsigned int words = buflen >> 1;
buflen             81 drivers/ata/pata_buddha.c 	if (unlikely(buflen & 0x01)) {
buflen             85 drivers/ata/pata_buddha.c 		buf += buflen - 1;
buflen            480 drivers/ata/pata_ep93xx.c 					  unsigned int buflen, int rw)
buflen            485 drivers/ata/pata_ep93xx.c 	unsigned int words = buflen >> 1;
buflen            498 drivers/ata/pata_ep93xx.c 	if (unlikely(buflen & 0x01)) {
buflen            501 drivers/ata/pata_ep93xx.c 		buf += buflen - 1;
buflen             45 drivers/ata/pata_falcon.c 					  unsigned int buflen, int rw)
buflen             50 drivers/ata/pata_falcon.c 	unsigned int words = buflen >> 1;
buflen             72 drivers/ata/pata_falcon.c 	if (unlikely(buflen & 0x01)) {
buflen             76 drivers/ata/pata_falcon.c 		buf += buflen - 1;
buflen             45 drivers/ata/pata_gayle.c 					 unsigned int buflen, int rw)
buflen             50 drivers/ata/pata_gayle.c 	unsigned int words = buflen >> 1;
buflen             59 drivers/ata/pata_gayle.c 	if (unlikely(buflen & 0x01)) {
buflen             63 drivers/ata/pata_gayle.c 		buf += buflen - 1;
buflen             40 drivers/ata/pata_ixp4xx_cf.c 				unsigned char *buf, unsigned int buflen, int rw)
buflen             43 drivers/ata/pata_ixp4xx_cf.c 	unsigned int words = buflen >> 1;
buflen             64 drivers/ata/pata_ixp4xx_cf.c 	if (unlikely(buflen & 0x01)) {
buflen             66 drivers/ata/pata_ixp4xx_cf.c 		unsigned char *trailing_buf = buf + buflen - 1;
buflen            293 drivers/ata/pata_legacy.c 			unsigned char *buf, unsigned int buflen, int rw)
buflen            297 drivers/ata/pata_legacy.c 	int slop = buflen & 3;
buflen            313 drivers/ata/pata_legacy.c 			ioread32_rep(ap->ioaddr.data_addr, buf, buflen >> 2);
buflen            315 drivers/ata/pata_legacy.c 			iowrite32_rep(ap->ioaddr.data_addr, buf, buflen >> 2);
buflen            321 drivers/ata/pata_legacy.c 				memcpy(buf + buflen - slop, &pad, slop);
buflen            323 drivers/ata/pata_legacy.c 				memcpy(&pad, buf + buflen - slop, slop);
buflen            326 drivers/ata/pata_legacy.c 			buflen += 4 - slop;
buflen            330 drivers/ata/pata_legacy.c 		buflen = ata_sff_data_xfer32(qc, buf, buflen, rw);
buflen            332 drivers/ata/pata_legacy.c 	return buflen;
buflen            694 drivers/ata/pata_legacy.c 				    unsigned int buflen, int rw)
buflen            698 drivers/ata/pata_legacy.c 	int slop = buflen & 3;
buflen            703 drivers/ata/pata_legacy.c 			iowrite32_rep(ap->ioaddr.data_addr, buf, buflen >> 2);
buflen            705 drivers/ata/pata_legacy.c 			ioread32_rep(ap->ioaddr.data_addr, buf, buflen >> 2);
buflen            710 drivers/ata/pata_legacy.c 				memcpy(&pad, buf + buflen - slop, slop);
buflen            714 drivers/ata/pata_legacy.c 				memcpy(buf + buflen - slop, &pad, slop);
buflen            717 drivers/ata/pata_legacy.c 		return (buflen + 3) & ~3;
buflen            719 drivers/ata/pata_legacy.c 		return ata_sff_data_xfer(qc, buf, buflen, rw);
buflen            295 drivers/ata/pata_octeon_cf.c 					 unsigned int buflen,
buflen            303 drivers/ata/pata_octeon_cf.c 	words = buflen;
buflen            321 drivers/ata/pata_octeon_cf.c 	return buflen;
buflen            334 drivers/ata/pata_octeon_cf.c 					  unsigned int buflen,
buflen            342 drivers/ata/pata_octeon_cf.c 	words = buflen / 2;
buflen            364 drivers/ata/pata_octeon_cf.c 	if (unlikely(buflen & 0x01)) {
buflen            376 drivers/ata/pata_octeon_cf.c 	return buflen;
buflen             92 drivers/ata/pata_pcmcia.c 				unsigned char *buf, unsigned int buflen, int rw)
buflen             97 drivers/ata/pata_pcmcia.c 		ioread8_rep(ap->ioaddr.data_addr, buf, buflen);
buflen             99 drivers/ata/pata_pcmcia.c 		iowrite8_rep(ap->ioaddr.data_addr, buf, buflen);
buflen            101 drivers/ata/pata_pcmcia.c 	return buflen;
buflen            265 drivers/ata/pata_samsung_cf.c 				unsigned char *buf, unsigned int buflen, int rw)
buflen            270 drivers/ata/pata_samsung_cf.c 	unsigned int words = buflen >> 1, i;
buflen            288 drivers/ata/pata_samsung_cf.c 	if (buflen & 0x01)
buflen            451 drivers/ata/sata_rcar.c 					      unsigned int buflen, int rw)
buflen            455 drivers/ata/sata_rcar.c 	unsigned int words = buflen >> 1;
buflen            464 drivers/ata/sata_rcar.c 	if (unlikely(buflen & 0x01)) {
buflen            468 drivers/ata/sata_rcar.c 		buf += buflen - 1;
buflen           1628 drivers/atm/nicstar.c 	unsigned long buflen;
buflen           1671 drivers/atm/nicstar.c 		buflen = (skb->len + 47 + 8) / 48 * 48;	/* Multiple of 48 */
buflen           1682 drivers/atm/nicstar.c 		buflen = ATM_CELL_PAYLOAD;	/* i.e., 48 bytes */
buflen           1699 drivers/atm/nicstar.c 		scqe.word_1 = ns_tbd_mkword_1_novbr(flags, (u32) buflen);
buflen           1703 drivers/atm/nicstar.c 		    ns_tbd_mkword_1(flags, (u32) 1, (u32) 1, (u32) buflen);
buflen            231 drivers/atm/nicstar.h #define ns_tbd_mkword_1(flags, m, n, buflen) \
buflen            232 drivers/atm/nicstar.h       (cpu_to_le32((flags) | (m) << 23 | (n) << 16 | (buflen)))
buflen            233 drivers/atm/nicstar.h #define ns_tbd_mkword_1_novbr(flags, buflen) \
buflen            234 drivers/atm/nicstar.h       (cpu_to_le32((flags) | (buflen) | 0x00810000))
buflen            189 drivers/atm/solos-pci.c 	int buflen;
buflen            191 drivers/atm/solos-pci.c 	buflen = strlen(attr->attr.name) + 10;
buflen            193 drivers/atm/solos-pci.c 	skb = alloc_skb(sizeof(*header) + buflen, GFP_KERNEL);
buflen            201 drivers/atm/solos-pci.c 	buflen = snprintf((void *)&header[1], buflen - 1,
buflen            203 drivers/atm/solos-pci.c 	skb_put(skb, buflen);
buflen            205 drivers/atm/solos-pci.c 	header->size = cpu_to_le16(buflen);
buflen            229 drivers/atm/solos-pci.c 	buflen = prm.response->len;
buflen            230 drivers/atm/solos-pci.c 	memcpy(buf, prm.response->data, buflen);
buflen            233 drivers/atm/solos-pci.c 	return buflen;
buflen            244 drivers/atm/solos-pci.c 	int buflen;
buflen            247 drivers/atm/solos-pci.c 	buflen = strlen(attr->attr.name) + 11 + count;
buflen            249 drivers/atm/solos-pci.c 	skb = alloc_skb(sizeof(*header) + buflen, GFP_KERNEL);
buflen            257 drivers/atm/solos-pci.c 	buflen = snprintf((void *)&header[1], buflen - 1,
buflen            260 drivers/atm/solos-pci.c 	skb_put(skb, buflen);
buflen            261 drivers/atm/solos-pci.c 	header->size = cpu_to_le16(buflen);
buflen            287 drivers/atm/solos-pci.c 	buflen = skb->len;
buflen            290 drivers/atm/solos-pci.c 	if (skb->data[buflen - 1] == '\n')
buflen            291 drivers/atm/solos-pci.c 		buflen--;
buflen            293 drivers/atm/solos-pci.c 	if (buflen == 2 && !strncmp(skb->data, "OK", 2))
buflen            295 drivers/atm/solos-pci.c 	else if (buflen == 5 && !strncmp(skb->data, "ERROR", 5))
buflen            300 drivers/atm/solos-pci.c 		skb->data[buflen] = 0;
buflen            273 drivers/bcma/driver_pci_host.c 				   unsigned char *buf, u32 *buflen)
buflen            311 drivers/bcma/driver_pci_host.c 	if ((buf != NULL) && (buflen != NULL)) {
buflen            314 drivers/bcma/driver_pci_host.c 		bufsize = *buflen;
buflen            318 drivers/bcma/driver_pci_host.c 		*buflen = 0;
buflen            324 drivers/bcma/driver_pci_host.c 		*buflen = bufsize;
buflen           3164 drivers/block/mtip32xx/mtip32xx.c 				 int buflen)
buflen           3168 drivers/block/mtip32xx/mtip32xx.c 	char *end = buf + buflen;
buflen            525 drivers/block/paride/pcd.c 	return pcd_atapi(cdi->handle, cgc->cmd, cgc->buflen, cgc->buffer,
buflen            711 drivers/block/pktcdvd.c 	if (cgc->buflen) {
buflen            712 drivers/block/pktcdvd.c 		ret = blk_rq_map_kern(q, rq, cgc->buffer, cgc->buflen,
buflen           1537 drivers/block/pktcdvd.c 	cgc->cmd[7] = cgc->buflen >> 8;
buflen           1538 drivers/block/pktcdvd.c 	cgc->cmd[8] = cgc->buflen & 0xff;
buflen           1549 drivers/block/pktcdvd.c 	cgc->cmd[7] = cgc->buflen >> 8;
buflen           1550 drivers/block/pktcdvd.c 	cgc->cmd[8] = cgc->buflen & 0xff;
buflen           1563 drivers/block/pktcdvd.c 	cgc.cmd[8] = cgc.buflen = 2;
buflen           1573 drivers/block/pktcdvd.c 	cgc.buflen = be16_to_cpu(di->disc_information_length) +
buflen           1576 drivers/block/pktcdvd.c 	if (cgc.buflen > sizeof(disc_information))
buflen           1577 drivers/block/pktcdvd.c 		cgc.buflen = sizeof(disc_information);
buflen           1579 drivers/block/pktcdvd.c 	cgc.cmd[8] = cgc.buflen;
buflen           1600 drivers/block/pktcdvd.c 	cgc.buflen = be16_to_cpu(ti->track_information_length) +
buflen           1603 drivers/block/pktcdvd.c 	if (cgc.buflen > sizeof(track_information))
buflen           1604 drivers/block/pktcdvd.c 		cgc.buflen = sizeof(track_information);
buflen           1606 drivers/block/pktcdvd.c 	cgc.cmd[8] = cgc.buflen;
buflen           1724 drivers/block/pktcdvd.c 	cgc.buflen = cgc.cmd[8] = size;
buflen           1925 drivers/block/pktcdvd.c 	cgc.buflen = pd->mode_offset + 12;
buflen           1938 drivers/block/pktcdvd.c 	cgc.buflen = cgc.cmd[8] = 2 + ((buf[0] << 8) | (buf[1] & 0xff));
buflen           1976 drivers/block/pktcdvd.c 		cgc.buflen = pd->mode_offset + cap_buf[1] + 2 +
buflen            633 drivers/block/virtio_blk.c static int virtblk_name_format(char *prefix, int index, char *buf, int buflen)
buflen            637 drivers/block/virtio_blk.c 	char *end = buf + buflen;
buflen            379 drivers/cdrom/cdrom.c 	int ret, buflen;
buflen            384 drivers/cdrom/cdrom.c 	cgc.cmd[8] = cgc.buflen = 2;
buflen            394 drivers/cdrom/cdrom.c 	buflen = be16_to_cpu(di->disc_information_length) +
buflen            397 drivers/cdrom/cdrom.c 	if (buflen > sizeof(disc_information))
buflen            398 drivers/cdrom/cdrom.c 		buflen = sizeof(disc_information);
buflen            400 drivers/cdrom/cdrom.c 	cgc.cmd[8] = cgc.buflen = buflen;
buflen            406 drivers/cdrom/cdrom.c 	return buflen;
buflen            567 drivers/cdrom/cdrom.c 	cgc.buflen = sizeof(buffer);
buflen            578 drivers/cdrom/cdrom.c 	cgc.buflen = size;
buflen            832 drivers/cdrom/cdrom.c 		cgc.buflen = 255;
buflen           1590 drivers/cdrom/cdrom.c 	cgc->buflen = len;
buflen           1606 drivers/cdrom/cdrom.c 			cgc->buflen = 8;
buflen           1610 drivers/cdrom/cdrom.c 			cgc->buflen = 16;
buflen           1614 drivers/cdrom/cdrom.c 			cgc->buflen = 12;
buflen           1618 drivers/cdrom/cdrom.c 	cgc->cmd[9] = cgc->buflen;
buflen           1628 drivers/cdrom/cdrom.c 			cgc->buflen = 16;
buflen           1632 drivers/cdrom/cdrom.c 			cgc->buflen = 12;
buflen           1636 drivers/cdrom/cdrom.c 			cgc->buflen = 8;
buflen           1640 drivers/cdrom/cdrom.c 	cgc->cmd[9] = cgc->buflen;
buflen           1807 drivers/cdrom/cdrom.c 	cgc->cmd[9] = cgc->buflen & 0xff;
buflen           1854 drivers/cdrom/cdrom.c 	cgc->cmd[8] = cgc->buflen >> 8;
buflen           1855 drivers/cdrom/cdrom.c 	cgc->cmd[9] = cgc->buflen & 0xff;
buflen           1909 drivers/cdrom/cdrom.c 	cgc->cmd[9] = cgc->buflen & 0xff;
buflen           2007 drivers/cdrom/cdrom.c 	cgc->cmd[7] = cgc->buflen >> 8;
buflen           2008 drivers/cdrom/cdrom.c 	cgc->cmd[8] = cgc->buflen & 0xff;
buflen           2022 drivers/cdrom/cdrom.c 	cgc->cmd[7] = cgc->buflen >> 8;
buflen           2023 drivers/cdrom/cdrom.c 	cgc->cmd[8] = cgc->buflen & 0xff;
buflen           2090 drivers/cdrom/cdrom.c 	cgc->buflen = blocksize * nblocks;
buflen           2114 drivers/cdrom/cdrom.c 	cgc->buflen = blksize * nblocks;
buflen           2794 drivers/cdrom/cdrom.c 	cgc.buflen = sizeof(mh);
buflen           2809 drivers/cdrom/cdrom.c 	int ret, buflen;
buflen           2823 drivers/cdrom/cdrom.c 	buflen = be16_to_cpu(ti->track_information_length) +
buflen           2826 drivers/cdrom/cdrom.c 	if (buflen > sizeof(track_information))
buflen           2827 drivers/cdrom/cdrom.c 		buflen = sizeof(track_information);
buflen           2829 drivers/cdrom/cdrom.c 	cgc.cmd[8] = cgc.buflen = buflen;
buflen           2835 drivers/cdrom/cdrom.c 	return buflen;
buflen           3123 drivers/cdrom/cdrom.c 	cgc->buflen = 24;
buflen           3137 drivers/cdrom/cdrom.c 	if (offset + 16 > cgc->buflen) {
buflen           3138 drivers/cdrom/cdrom.c 		cgc->buflen = offset + 16;
buflen            175 drivers/cdrom/gdrom.c static void gdrom_spicommand(void *spi_string, int buflen)
buflen            183 drivers/cdrom/gdrom.c 	__raw_writeb(buflen & 0xFF, GDROM_BCL_REG);
buflen            184 drivers/cdrom/gdrom.c 	__raw_writeb((buflen >> 8) & 0xFF, GDROM_BCH_REG);
buflen            236 drivers/cdrom/gdrom.c 	spin_command->buflen = 0;
buflen            273 drivers/cdrom/gdrom.c 	toc_command->buflen = tocsize;
buflen            402 drivers/cdrom/gdrom.c 	gdrom_spicommand(&command->cmd, command->buflen);
buflen            424 drivers/cdrom/gdrom.c 	sense_command->buflen = 10;
buflen            437 drivers/cdrom/gdrom.c 	insw(GDROM_DATA_REG, &sense, sense_command->buflen/2);
buflen            352 drivers/char/tpm/tpm-interface.c int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen)
buflen            212 drivers/crypto/atmel-aes.c 	size_t			buflen;
buflen            708 drivers/crypto/atmel-aes.c 		if (dd->buflen < len + padlen)
buflen           1553 drivers/crypto/atmel-aes.c 	if (datalen > dd->buflen)
buflen           1612 drivers/crypto/atmel-aes.c 	if (unlikely(req->assoclen + padlen > dd->buflen))
buflen           2358 drivers/crypto/atmel-aes.c 	dd->buflen = ATMEL_AES_BUFFER_SIZE;
buflen           2359 drivers/crypto/atmel-aes.c 	dd->buflen &= ~(AES_BLOCK_SIZE - 1);
buflen             95 drivers/crypto/atmel-sha.c 	size_t	buflen;
buflen            306 drivers/crypto/atmel-sha.c 	while ((ctx->bufcnt < ctx->buflen) && ctx->total) {
buflen            308 drivers/crypto/atmel-sha.c 		count = min(count, ctx->buflen - ctx->bufcnt);
buflen            468 drivers/crypto/atmel-sha.c 	ctx->buflen = SHA_BUFFER_LEN;
buflen            721 drivers/crypto/atmel-sha.c 				ctx->buflen + ctx->block_size, DMA_TO_DEVICE);
buflen            723 drivers/crypto/atmel-sha.c 		dev_err(dd->dev, "dma %zu bytes error\n", ctx->buflen +
buflen            750 drivers/crypto/atmel-sha.c 	if (final || (ctx->bufcnt == ctx->buflen)) {
buflen            812 drivers/crypto/atmel-sha.c 			ctx->buflen + ctx->block_size, DMA_TO_DEVICE);
buflen            815 drivers/crypto/atmel-sha.c 				ctx->buflen + ctx->block_size);
buflen            867 drivers/crypto/atmel-sha.c 				ctx->buflen + ctx->block_size, DMA_TO_DEVICE);
buflen            870 drivers/crypto/atmel-sha.c 		dma_unmap_single(dd->dev, ctx->dma_addr, ctx->buflen +
buflen           1173 drivers/crypto/atmel-sha.c 	} else if (ctx->bufcnt + ctx->total < ctx->buflen) {
buflen           2381 drivers/crypto/atmel-sha.c 	ctx->buflen = SHA_BUFFER_LEN;
buflen            119 drivers/crypto/atmel-tdes.c 	size_t	buflen;
buflen            148 drivers/crypto/atmel-tdes.c 			void *buf, size_t buflen, size_t total, int out)
buflen            152 drivers/crypto/atmel-tdes.c 	while (buflen && total) {
buflen            154 drivers/crypto/atmel-tdes.c 		count = min(count, buflen);
buflen            162 drivers/crypto/atmel-tdes.c 		buflen -= count;
buflen            333 drivers/crypto/atmel-tdes.c 				dd->buf_out, dd->buflen, dd->dma_size, 1);
buflen            349 drivers/crypto/atmel-tdes.c 	dd->buflen = PAGE_SIZE;
buflen            350 drivers/crypto/atmel-tdes.c 	dd->buflen &= ~(DES_BLOCK_SIZE - 1);
buflen            359 drivers/crypto/atmel-tdes.c 					dd->buflen, DMA_TO_DEVICE);
buflen            361 drivers/crypto/atmel-tdes.c 		dev_err(dd->dev, "dma %zd bytes error\n", dd->buflen);
buflen            367 drivers/crypto/atmel-tdes.c 					dd->buflen, DMA_FROM_DEVICE);
buflen            369 drivers/crypto/atmel-tdes.c 		dev_err(dd->dev, "dma %zd bytes error\n", dd->buflen);
buflen            377 drivers/crypto/atmel-tdes.c 	dma_unmap_single(dd->dev, dd->dma_addr_in, dd->buflen,
buflen            390 drivers/crypto/atmel-tdes.c 	dma_unmap_single(dd->dev, dd->dma_addr_out, dd->buflen,
buflen            392 drivers/crypto/atmel-tdes.c 	dma_unmap_single(dd->dev, dd->dma_addr_in, dd->buflen,
buflen            551 drivers/crypto/atmel-tdes.c 				dd->buf_in, dd->buflen, dd->total, 0);
buflen            658 drivers/crypto/atmel-tdes.c 				dd->buf_out, dd->buflen, dd->dma_size, 1);
buflen            495 drivers/crypto/bcm/spu.c 	u32 buflen = 0;
buflen            499 drivers/crypto/bcm/spu.c 		buflen = assoc_len;
buflen            503 drivers/crypto/bcm/spu.c 		pad = spum_gcm_ccm_pad_len(cipher_mode, buflen);
buflen            504 drivers/crypto/bcm/spu.c 		buflen += pad;
buflen            511 drivers/crypto/bcm/spu.c 		pad = spum_gcm_ccm_pad_len(cipher_mode, buflen + 2);
buflen            512 drivers/crypto/bcm/spu.c 		buflen += pad;
buflen            515 drivers/crypto/bcm/spu.c 	return buflen;
buflen           3015 drivers/crypto/caam/caamalg_qi2.c 	int buflen;
buflen           3051 drivers/crypto/caam/caamalg_qi2.c 	int buflen = *current_buflen(state);
buflen           3053 drivers/crypto/caam/caamalg_qi2.c 	if (!buflen)
buflen           3056 drivers/crypto/caam/caamalg_qi2.c 	state->buf_dma = dma_map_single(dev, current_buf(state), buflen,
buflen           3064 drivers/crypto/caam/caamalg_qi2.c 	dma_to_qm_sg_one(qm_sg, state->buf_dma, buflen, 0);
buflen           3468 drivers/crypto/caam/caamalg_qi2.c 	int *buflen = current_buflen(state);
buflen           3471 drivers/crypto/caam/caamalg_qi2.c 	int in_len = *buflen + req->nbytes, to_hash;
buflen           3510 drivers/crypto/caam/caamalg_qi2.c 		qm_sg_src_index = 1 + (*buflen ? 1 : 0);
buflen           3529 drivers/crypto/caam/caamalg_qi2.c 							 to_hash - *buflen,
buflen           3566 drivers/crypto/caam/caamalg_qi2.c 		scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
buflen           3568 drivers/crypto/caam/caamalg_qi2.c 		*buflen = *next_buflen;
buflen           3573 drivers/crypto/caam/caamalg_qi2.c 			     DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1);
buflen           3595 drivers/crypto/caam/caamalg_qi2.c 	int buflen = *current_buflen(state);
buflen           3607 drivers/crypto/caam/caamalg_qi2.c 	qm_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) * sizeof(*sg_table);
buflen           3619 drivers/crypto/caam/caamalg_qi2.c 	dpaa2_sg_set_final(sg_table + (buflen ? 1 : 0), true);
buflen           3634 drivers/crypto/caam/caamalg_qi2.c 	dpaa2_fl_set_len(in_fle, ctx->ctx_len + buflen);
buflen           3666 drivers/crypto/caam/caamalg_qi2.c 	int buflen = *current_buflen(state);
buflen           3699 drivers/crypto/caam/caamalg_qi2.c 	qm_sg_src_index = 1 + (buflen ? 1 : 0);
buflen           3728 drivers/crypto/caam/caamalg_qi2.c 	dpaa2_fl_set_len(in_fle, ctx->ctx_len + buflen + req->nbytes);
buflen           3856 drivers/crypto/caam/caamalg_qi2.c 	int buflen = *current_buflen(state);
buflen           3866 drivers/crypto/caam/caamalg_qi2.c 	if (buflen) {
buflen           3867 drivers/crypto/caam/caamalg_qi2.c 		state->buf_dma = dma_map_single(ctx->dev, buf, buflen,
buflen           3892 drivers/crypto/caam/caamalg_qi2.c 	if (buflen) {
buflen           3895 drivers/crypto/caam/caamalg_qi2.c 		dpaa2_fl_set_len(in_fle, buflen);
buflen           3929 drivers/crypto/caam/caamalg_qi2.c 	int *buflen = current_buflen(state);
buflen           3932 drivers/crypto/caam/caamalg_qi2.c 	int in_len = *buflen + req->nbytes, to_hash;
buflen           3982 drivers/crypto/caam/caamalg_qi2.c 						 to_hash - *buflen,
buflen           4029 drivers/crypto/caam/caamalg_qi2.c 		scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
buflen           4031 drivers/crypto/caam/caamalg_qi2.c 		*buflen = *next_buflen;
buflen           4036 drivers/crypto/caam/caamalg_qi2.c 			     DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1);
buflen           4058 drivers/crypto/caam/caamalg_qi2.c 	int buflen = *current_buflen(state);
buflen           4122 drivers/crypto/caam/caamalg_qi2.c 	dpaa2_fl_set_len(in_fle, buflen + req->nbytes);
buflen           4337 drivers/crypto/caam/caamalg_qi2.c 	export->buflen = len;
buflen           4351 drivers/crypto/caam/caamalg_qi2.c 	memcpy(state->buf_0, export->buf, export->buflen);
buflen           4353 drivers/crypto/caam/caamalg_qi2.c 	state->buflen_0 = export->buflen;
buflen            124 drivers/crypto/caam/caamhash.c 	int buflen;
buflen            186 drivers/crypto/caam/caamhash.c 	int buflen = *current_buflen(state);
buflen            188 drivers/crypto/caam/caamhash.c 	if (!buflen)
buflen            191 drivers/crypto/caam/caamhash.c 	state->buf_dma = dma_map_single(jrdev, current_buf(state), buflen,
buflen            199 drivers/crypto/caam/caamhash.c 	dma_to_sec4_sg_one(sec4_sg, state->buf_dma, buflen, 0);
buflen            790 drivers/crypto/caam/caamhash.c 	int *buflen = current_buflen(state);
buflen            794 drivers/crypto/caam/caamhash.c 	int in_len = *buflen + req->nbytes, to_hash;
buflen            836 drivers/crypto/caam/caamhash.c 		sec4_sg_src_index = 1 + (*buflen ? 1 : 0);
buflen            873 drivers/crypto/caam/caamhash.c 						 to_hash - *buflen,
buflen            901 drivers/crypto/caam/caamhash.c 		scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
buflen            903 drivers/crypto/caam/caamhash.c 		*buflen = *next_buflen;
buflen            908 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1);
buflen            928 drivers/crypto/caam/caamhash.c 	int buflen = *current_buflen(state);
buflen            935 drivers/crypto/caam/caamhash.c 	sec4_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) *
buflen            957 drivers/crypto/caam/caamhash.c 	sg_to_sec4_set_last(edesc->sec4_sg + (buflen ? 1 : 0));
buflen            967 drivers/crypto/caam/caamhash.c 	append_seq_in_ptr(desc, edesc->sec4_sg_dma, ctx->ctx_len + buflen,
buflen            994 drivers/crypto/caam/caamhash.c 	int buflen = *current_buflen(state);
buflen           1019 drivers/crypto/caam/caamhash.c 	sec4_sg_src_index = 1 + (buflen ? 1 : 0);
buflen           1044 drivers/crypto/caam/caamhash.c 				  sec4_sg_src_index, ctx->ctx_len + buflen,
buflen           1152 drivers/crypto/caam/caamhash.c 	int buflen = *current_buflen(state);
buflen           1166 drivers/crypto/caam/caamhash.c 	if (buflen) {
buflen           1167 drivers/crypto/caam/caamhash.c 		state->buf_dma = dma_map_single(jrdev, buf, buflen,
buflen           1174 drivers/crypto/caam/caamhash.c 		append_seq_in_ptr(desc, state->buf_dma, buflen, 0);
buflen           1211 drivers/crypto/caam/caamhash.c 	int *buflen = current_buflen(state);
buflen           1215 drivers/crypto/caam/caamhash.c 	int in_len = *buflen + req->nbytes, to_hash;
buflen           1283 drivers/crypto/caam/caamhash.c 						 to_hash - *buflen,
buflen           1317 drivers/crypto/caam/caamhash.c 		scatterwalk_map_and_copy(buf + *buflen, req->src, 0,
buflen           1319 drivers/crypto/caam/caamhash.c 		*buflen = *next_buflen;
buflen           1324 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1);
buflen           1345 drivers/crypto/caam/caamhash.c 	int buflen = *current_buflen(state);
buflen           1391 drivers/crypto/caam/caamhash.c 	ret = ahash_edesc_add_src(ctx, edesc, req, mapped_nents, 1, buflen,
buflen           1597 drivers/crypto/caam/caamhash.c 	export->buflen = len;
buflen           1611 drivers/crypto/caam/caamhash.c 	memcpy(state->buf_0, export->buf, export->buflen);
buflen           1613 drivers/crypto/caam/caamhash.c 	state->buflen_0 = export->buflen;
buflen             79 drivers/crypto/cavium/nitrox/nitrox_aead.c 			    int buflen)
buflen             81 drivers/crypto/cavium/nitrox/nitrox_aead.c 	int nents = sg_nents_for_len(src, buflen);
buflen             95 drivers/crypto/cavium/nitrox/nitrox_aead.c 	nitrox_creq_set_src_sg(nkreq, nents, ivsize, src, buflen);
buflen            101 drivers/crypto/cavium/nitrox/nitrox_aead.c 			    struct scatterlist *dst, int ivsize, int buflen)
buflen            103 drivers/crypto/cavium/nitrox/nitrox_aead.c 	int nents = sg_nents_for_len(dst, buflen);
buflen            120 drivers/crypto/cavium/nitrox/nitrox_aead.c 	nitrox_creq_set_dst_sg(nkreq, nents, ivsize, dst, buflen);
buflen            566 drivers/crypto/cavium/nitrox/nitrox_req.h 						   void *buf, int buflen)
buflen            568 drivers/crypto/cavium/nitrox/nitrox_req.h 	sg_set_buf(sg, buf, buflen);
buflen            584 drivers/crypto/cavium/nitrox/nitrox_req.h 						  int buflen)
buflen            589 drivers/crypto/cavium/nitrox/nitrox_req.h 	for (; buflen && from_sg; buflen -= sglen) {
buflen            591 drivers/crypto/cavium/nitrox/nitrox_req.h 		if (sglen > buflen)
buflen            592 drivers/crypto/cavium/nitrox/nitrox_req.h 			sglen = buflen;
buflen            636 drivers/crypto/cavium/nitrox/nitrox_req.h 					  struct scatterlist *src, int buflen)
buflen            655 drivers/crypto/cavium/nitrox/nitrox_req.h 	create_multi_sg(sg, src, buflen);
buflen            694 drivers/crypto/cavium/nitrox/nitrox_req.h 					  struct scatterlist *dst, int buflen)
buflen            715 drivers/crypto/cavium/nitrox/nitrox_req.h 	sg = create_multi_sg(sg, dst, buflen);
buflen            149 drivers/crypto/omap-sham.c 	size_t			buflen;
buflen            979 drivers/crypto/omap-sham.c 	ctx->buflen = BUFLEN;
buflen           1206 drivers/crypto/omap-sham.c 	if (ctx->bufcnt + req->nbytes <= ctx->buflen) {
buflen            199 drivers/crypto/qce/sha.c 	rctx->buflen = (unsigned int)(in_count & (blocksize - 1));
buflen            242 drivers/crypto/qce/sha.c 	total = req->nbytes + rctx->buflen;
buflen            245 drivers/crypto/qce/sha.c 		scatterwalk_map_and_copy(rctx->buf + rctx->buflen, req->src,
buflen            247 drivers/crypto/qce/sha.c 		rctx->buflen += req->nbytes;
buflen            259 drivers/crypto/qce/sha.c 	if (rctx->buflen)
buflen            260 drivers/crypto/qce/sha.c 		memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen);
buflen            273 drivers/crypto/qce/sha.c 	len = rctx->buflen;
buflen            289 drivers/crypto/qce/sha.c 	if (rctx->buflen) {
buflen            291 drivers/crypto/qce/sha.c 		sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen);
buflen            297 drivers/crypto/qce/sha.c 	rctx->buflen = hash_later;
buflen            308 drivers/crypto/qce/sha.c 	if (!rctx->buflen)
buflen            316 drivers/crypto/qce/sha.c 	memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen);
buflen            317 drivers/crypto/qce/sha.c 	sg_init_one(rctx->sg, rctx->tmpbuf, rctx->buflen);
buflen            320 drivers/crypto/qce/sha.c 	req->nbytes = rctx->buflen;
buflen             45 drivers/crypto/qce/sha.h 	unsigned int buflen;
buflen            130 drivers/crypto/stm32/stm32-hash.c 	size_t			buflen;
buflen            299 drivers/crypto/stm32/stm32-hash.c 	while ((rctx->bufcnt < rctx->buflen) && rctx->total) {
buflen            301 drivers/crypto/stm32/stm32-hash.c 		count = min(count, rctx->buflen - rctx->bufcnt);
buflen            387 drivers/crypto/stm32/stm32-hash.c 	while ((rctx->total >= rctx->buflen) ||
buflen            388 drivers/crypto/stm32/stm32-hash.c 	       (rctx->bufcnt + rctx->total >= rctx->buflen)) {
buflen            709 drivers/crypto/stm32/stm32-hash.c 	rctx->buflen = HASH_BUFLEN;
buflen            734 drivers/crypto/stm32/stm32-hash.c 	int buflen = rctx->bufcnt;
buflen            741 drivers/crypto/stm32/stm32-hash.c 		err = stm32_hash_xmit_cpu(hdev, rctx->buffer, buflen, 1);
buflen            906 drivers/crypto/stm32/stm32-hash.c 	if ((rctx->bufcnt + rctx->total < rctx->buflen)) {
buflen             41 drivers/dma-buf/dma-buf.c static char *dmabuffs_dname(struct dentry *dentry, char *buffer, int buflen)
buflen             53 drivers/dma-buf/dma-buf.c 	return dynamic_dname(dentry, buffer, buflen, "/%s:%s",
buflen            155 drivers/firmware/dmi-id.c 	len = get_modalias(&env->buf[env->buflen - 1],
buflen            156 drivers/firmware/dmi-id.c 			   sizeof(env->buf) - env->buflen);
buflen            157 drivers/firmware/dmi-id.c 	if (len >= (sizeof(env->buf) - env->buflen))
buflen            159 drivers/firmware/dmi-id.c 	env->buflen += len;
buflen            229 drivers/gpu/drm/drm_dp_mst_topology.c 					   u8 *buf, int buflen, u8 *hdrlen)
buflen            239 drivers/gpu/drm/drm_dp_mst_topology.c 	if (len > buflen)
buflen           2863 drivers/gpu/drm/omapdrm/dss/dsi.c 			       int buflen, enum dss_dsi_content_type type)
buflen           2895 drivers/gpu/drm/omapdrm/dss/dsi.c 		if (buflen < 1) {
buflen           2912 drivers/gpu/drm/omapdrm/dss/dsi.c 		if (buflen < 2) {
buflen           2931 drivers/gpu/drm/omapdrm/dss/dsi.c 		if (len > buflen) {
buflen           2971 drivers/gpu/drm/omapdrm/dss/dsi.c 		u8 *buf, int buflen)
buflen           2984 drivers/gpu/drm/omapdrm/dss/dsi.c 	r = dsi_vc_read_rx_fifo(dsi, channel, buf, buflen,
buflen           2989 drivers/gpu/drm/omapdrm/dss/dsi.c 	if (r != buflen) {
buflen           3001 drivers/gpu/drm/omapdrm/dss/dsi.c 		u8 *reqdata, int reqlen, u8 *buf, int buflen)
buflen           3014 drivers/gpu/drm/omapdrm/dss/dsi.c 	r = dsi_vc_read_rx_fifo(dsi, channel, buf, buflen,
buflen           3019 drivers/gpu/drm/omapdrm/dss/dsi.c 	if (r != buflen) {
buflen            393 drivers/hv/connection.c int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep)
buflen            410 drivers/hv/connection.c 		ret = hv_post_message(conn_id, 1, buffer, buflen);
buflen            191 drivers/hv/hyperv_vmbus.h 		       void *buffer, u32 buflen, u32 *buffer_actual_len,
buflen            348 drivers/hv/hyperv_vmbus.h int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep);
buflen            329 drivers/hv/ring_buffer.c 		       void *buffer, u32 buflen, u32 *buffer_actual_len,
buflen            335 drivers/hv/ring_buffer.c 	if (unlikely(buflen == 0))
buflen            356 drivers/hv/ring_buffer.c 	if (unlikely(packetlen > buflen))
buflen            603 drivers/i2c/busses/i2c-qup.c 			  unsigned int buflen, struct qup_i2c_dev *qup,
buflen            608 drivers/i2c/busses/i2c-qup.c 	sg_set_buf(sg, buf, buflen);
buflen           1037 drivers/ide/ide-cd.c 				int format, char *buf, int buflen)
buflen           1047 drivers/ide/ide-cd.c 	cmd[7] = (buflen >> 8);
buflen           1048 drivers/ide/ide-cd.c 	cmd[8] = (buflen & 0xff);
buflen           1054 drivers/ide/ide-cd.c 	return ide_cd_queue_pc(drive, cmd, 0, buf, &buflen, NULL, 0, RQF_QUIET);
buflen            446 drivers/ide/ide-cd_ioctl.c 	unsigned len = cgc->buflen;
buflen            466 drivers/ide/ide-cd_ioctl.c 		cgc->buflen -= len;
buflen           1135 drivers/infiniband/hw/mlx5/mlx5_ib.h 			     int buflen, size_t *bc);
buflen           1137 drivers/infiniband/hw/mlx5/mlx5_ib.h 			     int buflen, size_t *bc);
buflen           1139 drivers/infiniband/hw/mlx5/mlx5_ib.h 			      void *buffer, int buflen, size_t *bc);
buflen            134 drivers/infiniband/hw/mlx5/qp.c 					u32 buflen,
buflen            150 drivers/infiniband/hw/mlx5/qp.c 	copy_length = min_t(u32, buflen, wq_end - offset);
buflen            166 drivers/infiniband/hw/mlx5/qp.c 			     int buflen,
buflen            179 drivers/infiniband/hw/mlx5/qp.c 	if (buflen < sizeof(*ctrl))
buflen            185 drivers/infiniband/hw/mlx5/qp.c 					   buflen,
buflen            190 drivers/infiniband/hw/mlx5/qp.c 					   buflen,
buflen            215 drivers/infiniband/hw/mlx5/qp.c 					   buflen - bytes_copied,
buflen            232 drivers/infiniband/hw/mlx5/qp.c 			     int buflen,
buflen            243 drivers/infiniband/hw/mlx5/qp.c 					   buflen,
buflen            248 drivers/infiniband/hw/mlx5/qp.c 					   buflen,
buflen            260 drivers/infiniband/hw/mlx5/qp.c 			      int buflen,
buflen            269 drivers/infiniband/hw/mlx5/qp.c 					   buflen,
buflen            274 drivers/infiniband/hw/mlx5/qp.c 					   buflen,
buflen            698 drivers/infiniband/ulp/iser/iscsi_iser.c 		     enum iscsi_param param, char *buf, int buflen)
buflen            735 drivers/infiniband/ulp/iser/iscsi_iser.c 		return iscsi_set_param(cls_conn, param, buf, buflen);
buflen           1566 drivers/input/input.c 	len = input_print_bitmap(&env->buf[env->buflen - 1],
buflen           1567 drivers/input/input.c 				 sizeof(env->buf) - env->buflen,
buflen           1569 drivers/input/input.c 	if (len >= (sizeof(env->buf) - env->buflen))
buflen           1572 drivers/input/input.c 	env->buflen += len;
buflen           1584 drivers/input/input.c 	len = input_print_modalias(&env->buf[env->buflen - 1],
buflen           1585 drivers/input/input.c 				   sizeof(env->buf) - env->buflen,
buflen           1587 drivers/input/input.c 	if (len >= (sizeof(env->buf) - env->buflen))
buflen           1590 drivers/input/input.c 	env->buflen += len;
buflen           1359 drivers/input/keyboard/applespi.c 				size_t buflen)
buflen           1363 drivers/input/keyboard/applespi.c 	crc = crc16(0, buffer, buflen);
buflen           1367 drivers/input/keyboard/applespi.c 		trace_applespi_bad_crc(ET_RD_CRC, READ, buffer, buflen);
buflen           1611 drivers/input/misc/ims-pcu.c 	size_t buflen = intf->altsetting->extralen;
buflen           1619 drivers/input/misc/ims-pcu.c 	if (!buflen) {
buflen           1624 drivers/input/misc/ims-pcu.c 	while (buflen >= sizeof(*union_desc)) {
buflen           1627 drivers/input/misc/ims-pcu.c 		if (union_desc->bLength > buflen) {
buflen           1645 drivers/input/misc/ims-pcu.c 		buflen -= union_desc->bLength;
buflen            154 drivers/input/touchscreen/edt-ft5x06.c 				    u8 *buf, int buflen)
buflen            159 drivers/input/touchscreen/edt-ft5x06.c 	for (i = 0; i < buflen - 1; i++)
buflen            162 drivers/input/touchscreen/edt-ft5x06.c 	if (crc != buf[buflen-1]) {
buflen            165 drivers/input/touchscreen/edt-ft5x06.c 				    crc, buf[buflen-1]);
buflen            797 drivers/media/pci/saa7164/saa7164-api.c int saa7164_api_read_eeprom(struct saa7164_dev *dev, u8 *buf, int buflen)
buflen            801 drivers/media/pci/saa7164/saa7164-api.c 	if (buflen < 128)
buflen           1315 drivers/media/pci/saa7164/saa7164-api.c 	u32 buflen = 0;
buflen           1322 drivers/media/pci/saa7164/saa7164-api.c 		GET_DESCRIPTORS_CONTROL, sizeof(buflen), &buflen);
buflen           1327 drivers/media/pci/saa7164/saa7164-api.c 		__func__, buflen);
buflen           1330 drivers/media/pci/saa7164/saa7164-api.c 	buf = kzalloc(buflen, GFP_KERNEL);
buflen           1336 drivers/media/pci/saa7164/saa7164-api.c 		GET_DESCRIPTORS_CONTROL, buflen, buf);
buflen           1344 drivers/media/pci/saa7164/saa7164-api.c 			       buflen & ~15, false);
buflen           1346 drivers/media/pci/saa7164/saa7164-api.c 	saa7164_api_dump_subdevs(dev, buf, buflen);
buflen            526 drivers/media/pci/saa7164/saa7164.h int saa7164_api_read_eeprom(struct saa7164_dev *dev, u8 *buf, int buflen);
buflen             20 drivers/media/usb/as102/as10x_handle.h 			      unsigned char *buf, int buflen, int swap32);
buflen             23 drivers/media/usb/as102/as10x_handle.h 			 unsigned char *buf, int buflen);
buflen            110 drivers/media/usb/b2c2/flexcop-usb.c 		u8 *pbBuffer, u32 buflen)
buflen            117 drivers/media/usb/b2c2/flexcop-usb.c 	if (buflen > sizeof(fc_usb->data)) {
buflen            144 drivers/media/usb/b2c2/flexcop-usb.c 			wAddress, wIndex, buflen);
buflen            149 drivers/media/usb/b2c2/flexcop-usb.c 		memcpy(fc_usb->data, pbBuffer, buflen);
buflen            157 drivers/media/usb/b2c2/flexcop-usb.c 			buflen,
buflen            159 drivers/media/usb/b2c2/flexcop-usb.c 	if (ret != buflen)
buflen            165 drivers/media/usb/b2c2/flexcop-usb.c 			memcpy(pbBuffer, fc_usb->data, buflen);
buflen            174 drivers/media/usb/b2c2/flexcop-usb.c #define bytes_left_to_read_on_page(paddr,buflen) \
buflen            175 drivers/media/usb/b2c2/flexcop-usb.c 	((V8_MEMORY_PAGE_SIZE - (paddr & V8_MEMORY_PAGE_MASK)) > buflen \
buflen            176 drivers/media/usb/b2c2/flexcop-usb.c 	 ? buflen : (V8_MEMORY_PAGE_SIZE - (paddr & V8_MEMORY_PAGE_MASK)))
buflen            233 drivers/media/usb/b2c2/flexcop-usb.c 		u8 chipaddr, u8 addr, u8 *buf, u8 buflen)
buflen            240 drivers/media/usb/b2c2/flexcop-usb.c 	if (buflen > sizeof(fc_usb->data)) {
buflen            276 drivers/media/usb/b2c2/flexcop-usb.c 		memcpy(fc_usb->data, buf, buflen);
buflen            284 drivers/media/usb/b2c2/flexcop-usb.c 			buflen,
buflen            287 drivers/media/usb/b2c2/flexcop-usb.c 	if (ret != buflen)
buflen            293 drivers/media/usb/b2c2/flexcop-usb.c 			memcpy(buf, fc_usb->data, buflen);
buflen            155 drivers/media/usb/dvb-usb/gp8psk.c 		u16 buflen = ptr[0] + 4;
buflen            156 drivers/media/usb/dvb-usb/gp8psk.c 		if (ptr + buflen >= fw->data + fw->size) {
buflen            160 drivers/media/usb/dvb-usb/gp8psk.c 		if (buflen > 64) {
buflen            165 drivers/media/usb/dvb-usb/gp8psk.c 		memcpy(buf, ptr, buflen);
buflen            166 drivers/media/usb/dvb-usb/gp8psk.c 		if (dvb_usb_generic_write(d, buf, buflen)) {
buflen            170 drivers/media/usb/dvb-usb/gp8psk.c 		ptr += buflen;
buflen            119 drivers/media/usb/dvb-usb/vp702x.c 	int buflen = max(olen + 2, ilen + 1);
buflen            125 drivers/media/usb/dvb-usb/vp702x.c 	if (buflen > st->buf_len) {
buflen            126 drivers/media/usb/dvb-usb/vp702x.c 		buf = kmalloc(buflen, GFP_KERNEL);
buflen            134 drivers/media/usb/dvb-usb/vp702x.c 		st->buf_len = buflen;
buflen            112 drivers/media/usb/pwc/pwc-ctrl.c 	int index, const unsigned char *buf, int buflen)
buflen            116 drivers/media/usb/pwc/pwc-ctrl.c 	memcpy(pdev->ctrl_buf, buf, buflen);
buflen            122 drivers/media/usb/pwc/pwc-ctrl.c 			pdev->ctrl_buf, buflen, USB_CTRL_SET_TIMEOUT);
buflen            124 drivers/media/usb/pwc/pwc-ctrl.c 		memcpy(pdev->cmd_buf, buf, buflen);
buflen            132 drivers/media/usb/pwc/pwc-ctrl.c 	u8 request, u16 value, void *buf, int buflen)
buflen            138 drivers/media/usb/pwc/pwc-ctrl.c 			buf, buflen, USB_CTRL_SET_TIMEOUT);
buflen            362 drivers/media/usb/pwc/pwc.h 			    u8 request, u16 value, void *buf, int buflen);
buflen            443 drivers/media/usb/uvc/uvc_driver.c 	u32 **intervals, unsigned char *buffer, int buflen)
buflen            462 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < n) {
buflen            526 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 11) {
buflen            542 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 9) {
buflen            599 drivers/media/usb/uvc/uvc_driver.c 	buflen -= buffer[0];
buflen            605 drivers/media/usb/uvc/uvc_driver.c 	while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
buflen            609 drivers/media/usb/uvc/uvc_driver.c 			n = buflen > 25 ? buffer[25] : 0;
buflen            611 drivers/media/usb/uvc/uvc_driver.c 			n = buflen > 21 ? buffer[21] : 0;
buflen            615 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 26 + 4*n) {
buflen            686 drivers/media/usb/uvc/uvc_driver.c 		buflen -= buffer[0];
buflen            690 drivers/media/usb/uvc/uvc_driver.c 	if (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
buflen            692 drivers/media/usb/uvc/uvc_driver.c 		buflen -= buffer[0];
buflen            696 drivers/media/usb/uvc/uvc_driver.c 	if (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
buflen            698 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 6) {
buflen            708 drivers/media/usb/uvc/uvc_driver.c 		buflen -= buffer[0];
buflen            723 drivers/media/usb/uvc/uvc_driver.c 	int _buflen, buflen = alts->extralen;
buflen            754 drivers/media/usb/uvc/uvc_driver.c 	if (buflen == 0) {
buflen            766 drivers/media/usb/uvc/uvc_driver.c 				buflen = alts->endpoint[i].extralen;
buflen            773 drivers/media/usb/uvc/uvc_driver.c 	while (buflen > 2 && buffer[1] != USB_DT_CS_INTERFACE) {
buflen            774 drivers/media/usb/uvc/uvc_driver.c 		buflen -= buffer[0];
buflen            778 drivers/media/usb/uvc/uvc_driver.c 	if (buflen <= 2) {
buflen            803 drivers/media/usb/uvc/uvc_driver.c 	p = buflen >= 4 ? buffer[3] : 0;
buflen            804 drivers/media/usb/uvc/uvc_driver.c 	n = buflen >= size ? buffer[size-1] : 0;
buflen            806 drivers/media/usb/uvc/uvc_driver.c 	if (buflen < size + p*n) {
buflen            833 drivers/media/usb/uvc/uvc_driver.c 	buflen -= buffer[0];
buflen            837 drivers/media/usb/uvc/uvc_driver.c 	_buflen = buflen;
buflen            905 drivers/media/usb/uvc/uvc_driver.c 	while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE) {
buflen            913 drivers/media/usb/uvc/uvc_driver.c 				&interval, buffer, buflen);
buflen            920 drivers/media/usb/uvc/uvc_driver.c 			buflen -= ret;
buflen            928 drivers/media/usb/uvc/uvc_driver.c 		buflen -= buffer[0];
buflen            932 drivers/media/usb/uvc/uvc_driver.c 	if (buflen)
buflen            935 drivers/media/usb/uvc/uvc_driver.c 			dev->udev->devnum, alts->desc.bInterfaceNumber, buflen);
buflen            997 drivers/media/usb/uvc/uvc_driver.c 	const unsigned char *buffer, int buflen)
buflen           1036 drivers/media/usb/uvc/uvc_driver.c 		p = buflen >= 22 ? buffer[21] : 0;
buflen           1037 drivers/media/usb/uvc/uvc_driver.c 		n = buflen >= 25 + p ? buffer[22+p] : 0;
buflen           1039 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 25 + p + 2*n) {
buflen           1075 drivers/media/usb/uvc/uvc_driver.c 	const unsigned char *buffer, int buflen)
buflen           1086 drivers/media/usb/uvc/uvc_driver.c 		n = buflen >= 12 ? buffer[11] : 0;
buflen           1088 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 12 + n) {
buflen           1113 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 8) {
buflen           1146 drivers/media/usb/uvc/uvc_driver.c 			n = buflen >= 15 ? buffer[14] : 0;
buflen           1150 drivers/media/usb/uvc/uvc_driver.c 			n = buflen >= 9 ? buffer[8] : 0;
buflen           1151 drivers/media/usb/uvc/uvc_driver.c 			p = buflen >= 10 + n ? buffer[9+n] : 0;
buflen           1155 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < len + n + p) {
buflen           1202 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 9) {
buflen           1238 drivers/media/usb/uvc/uvc_driver.c 		p = buflen >= 5 ? buffer[4] : 0;
buflen           1240 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 5 || buflen < 6 + p) {
buflen           1263 drivers/media/usb/uvc/uvc_driver.c 		n = buflen >= 8 ? buffer[7] : 0;
buflen           1266 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < p + n) {
buflen           1296 drivers/media/usb/uvc/uvc_driver.c 		p = buflen >= 22 ? buffer[21] : 0;
buflen           1297 drivers/media/usb/uvc/uvc_driver.c 		n = buflen >= 24 + p ? buffer[22+p] : 0;
buflen           1299 drivers/media/usb/uvc/uvc_driver.c 		if (buflen < 24 + p + n) {
buflen           1339 drivers/media/usb/uvc/uvc_driver.c 	int buflen = alts->extralen;
buflen           1347 drivers/media/usb/uvc/uvc_driver.c 	while (buflen > 2) {
buflen           1348 drivers/media/usb/uvc/uvc_driver.c 		if (uvc_parse_vendor_control(dev, buffer, buflen) ||
buflen           1352 drivers/media/usb/uvc/uvc_driver.c 		if ((ret = uvc_parse_standard_control(dev, buffer, buflen)) < 0)
buflen           1356 drivers/media/usb/uvc/uvc_driver.c 		buflen -= buffer[0];
buflen            193 drivers/misc/sgi-gru/grukdump.c 	ubufend = req.buf + req.buflen;
buflen            124 drivers/misc/sgi-gru/grulib.h 	size_t		buflen;
buflen            671 drivers/mtd/chips/cfi_cmdset_0020.c 	size_t	 buflen = 0;
buflen            689 drivers/mtd/chips/cfi_cmdset_0020.c 		if (buflen) { /* cut off head */
buflen            690 drivers/mtd/chips/cfi_cmdset_0020.c 			if (buflen + elem_len < ECCBUF_SIZE) { /* just accumulate */
buflen            691 drivers/mtd/chips/cfi_cmdset_0020.c 				memcpy(buffer+buflen, elem_base, elem_len);
buflen            692 drivers/mtd/chips/cfi_cmdset_0020.c 				buflen += elem_len;
buflen            695 drivers/mtd/chips/cfi_cmdset_0020.c 			memcpy(buffer+buflen, elem_base, ECCBUF_SIZE-buflen);
buflen            701 drivers/mtd/chips/cfi_cmdset_0020.c 			elem_len -= thislen-buflen;
buflen            702 drivers/mtd/chips/cfi_cmdset_0020.c 			elem_base += thislen-buflen;
buflen            713 drivers/mtd/chips/cfi_cmdset_0020.c 		buflen = ECCBUF_MOD(elem_len); /* cut off tail */
buflen            714 drivers/mtd/chips/cfi_cmdset_0020.c 		if (buflen) {
buflen            716 drivers/mtd/chips/cfi_cmdset_0020.c 			memcpy(buffer, elem_base + thislen, buflen);
buflen            719 drivers/mtd/chips/cfi_cmdset_0020.c 	if (buflen) { /* flush last page, even if not full */
buflen            721 drivers/mtd/chips/cfi_cmdset_0020.c 		ret = mtd_write(mtd, to, buflen, &thislen, buffer);
buflen            142 drivers/net/can/softing/softing_fw.c 	int buflen = 0;
buflen            187 drivers/net/can/softing/softing_fw.c 		if (len > buflen) {
buflen            189 drivers/net/can/softing/softing_fw.c 			buflen = (len + (1024-1)) & ~(1024-1);
buflen            190 drivers/net/can/softing/softing_fw.c 			new_buf = krealloc(buf, buflen, GFP_KERNEL);
buflen           2153 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	size_t buflen;
buflen           2170 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	buflen = dir_entries * entry_length;
buflen           2171 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	buf = dma_alloc_coherent(&bp->pdev->dev, buflen, &dma_handle,
buflen           2175 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 			   (unsigned)buflen);
buflen           2182 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 		memcpy(data, buf, len > buflen ? buflen : len);
buflen           2183 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	dma_free_coherent(&bp->pdev->dev, buflen, buf, dma_handle);
buflen           1145 drivers/net/ethernet/cortina/gemini.c 	unsigned int word1, word3, buflen;
buflen           1184 drivers/net/ethernet/cortina/gemini.c 			buflen = skb_headlen(skb);
buflen           1188 drivers/net/ethernet/cortina/gemini.c 			buflen = skb_frag_size(skb_frag);
buflen           1196 drivers/net/ethernet/cortina/gemini.c 		mapping = dma_map_single(geth->dev, buffer, buflen,
buflen           1202 drivers/net/ethernet/cortina/gemini.c 		txd->word0.bits32 = buflen;
buflen            411 drivers/net/ethernet/dec/tulip/de2104x.c 		unsigned copying_skb, buflen;
buflen            439 drivers/net/ethernet/dec/tulip/de2104x.c 		buflen = copying_skb ? (len + RX_OFFSET) : de->rx_buf_sz;
buflen            440 drivers/net/ethernet/dec/tulip/de2104x.c 		copy_skb = netdev_alloc_skb(de->dev, buflen);
buflen            450 drivers/net/ethernet/dec/tulip/de2104x.c 					 buflen, PCI_DMA_FROMDEVICE);
buflen            456 drivers/net/ethernet/dec/tulip/de2104x.c 					       buflen, PCI_DMA_FROMDEVICE);
buflen            480 drivers/net/ethernet/freescale/fec_main.c 	unsigned short buflen;
buflen            507 drivers/net/ethernet/freescale/fec_main.c 	buflen = skb_headlen(skb);
buflen            512 drivers/net/ethernet/freescale/fec_main.c 		memcpy(txq->tx_bounce[index], skb->data, buflen);
buflen            516 drivers/net/ethernet/freescale/fec_main.c 			swap_buffer(bufaddr, buflen);
buflen            520 drivers/net/ethernet/freescale/fec_main.c 	addr = dma_map_single(&fep->pdev->dev, bufaddr, buflen, DMA_TO_DEVICE);
buflen            532 drivers/net/ethernet/freescale/fec_main.c 					 buflen, DMA_TO_DEVICE);
buflen            546 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_datlen = cpu_to_fec16(buflen);
buflen           2200 drivers/net/ethernet/freescale/gianfar.c 	size_t buflen;
buflen           2233 drivers/net/ethernet/freescale/gianfar.c 			buflen = be16_to_cpu(next->length) +
buflen           2236 drivers/net/ethernet/freescale/gianfar.c 			buflen = be16_to_cpu(bdp->length);
buflen           2239 drivers/net/ethernet/freescale/gianfar.c 				 buflen, DMA_TO_DEVICE);
buflen             63 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 			   i, txd->buffer_addr, txd->buflen, txd->vlan,
buflen            913 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	tx_desc->buflen = cpu_to_le16(size);
buflen            666 drivers/net/ethernet/intel/fm10k/fm10k_type.h 	__le16 buflen;		/* Length of data to be DMAed */
buflen           1937 drivers/net/ethernet/natsemi/natsemi.c 			unsigned int buflen = np->rx_buf_sz+NATSEMI_PADDING;
buflen           1938 drivers/net/ethernet/natsemi/natsemi.c 			skb = netdev_alloc_skb(dev, buflen);
buflen           1943 drivers/net/ethernet/natsemi/natsemi.c 				skb->data, buflen, PCI_DMA_FROMDEVICE);
buflen           2029 drivers/net/ethernet/natsemi/natsemi.c 	unsigned int buflen = np->rx_buf_sz;
buflen           2038 drivers/net/ethernet/natsemi/natsemi.c 				buflen + NATSEMI_PADDING,
buflen           2288 drivers/net/ethernet/natsemi/natsemi.c 	unsigned int buflen = np->rx_buf_sz;
buflen           2364 drivers/net/ethernet/natsemi/natsemi.c 					buflen,
buflen           2371 drivers/net/ethernet/natsemi/natsemi.c 					buflen,
buflen           2375 drivers/net/ethernet/natsemi/natsemi.c 						 buflen + NATSEMI_PADDING,
buflen            477 drivers/net/ethernet/realtek/8139cp.c 		const unsigned buflen = cp->rx_buf_sz;
buflen            510 drivers/net/ethernet/realtek/8139cp.c 		new_skb = napi_alloc_skb(napi, buflen);
buflen            516 drivers/net/ethernet/realtek/8139cp.c 		new_mapping = dma_map_single(&cp->pdev->dev, new_skb->data, buflen,
buflen            525 drivers/net/ethernet/realtek/8139cp.c 				 buflen, PCI_DMA_FROMDEVICE);
buflen             98 drivers/net/ethernet/sfc/efx.c void efx_get_udp_tunnel_type_name(u16 type, char *buf, size_t buflen)
buflen            102 drivers/net/ethernet/sfc/efx.c 		snprintf(buf, buflen, "%s", efx_udp_tunnel_type_names[type]);
buflen            104 drivers/net/ethernet/sfc/efx.c 		snprintf(buf, buflen, "type %d", type);
buflen            635 drivers/net/ethernet/sfc/mcdi.c 	const size_t buflen = sizeof(testbuf);
buflen            637 drivers/net/ethernet/sfc/mcdi.c 	if (!proxy_handle || data_len < buflen)
buflen            640 drivers/net/ethernet/sfc/mcdi.c 	efx->type->mcdi_read_response(efx, testbuf, hdr_len, buflen);
buflen            574 drivers/net/ethernet/sfc/net_driver.h void efx_get_udp_tunnel_type_name(u16 type, char *buf, size_t buflen);
buflen            172 drivers/net/ethernet/ti/cpmac.c 	u16 buflen;
buflen            395 drivers/net/ethernet/ti/cpmac.c 	desc->buflen = CPMAC_SKB_SIZE;
buflen            568 drivers/net/ethernet/ti/cpmac.c 	desc->buflen = len;
buflen            960 drivers/net/ethernet/ti/cpmac.c 		desc->buflen = CPMAC_SKB_SIZE;
buflen            219 drivers/net/hyperv/hyperv_net.h 			 void *data, u32 buflen);
buflen           1146 drivers/net/hyperv/netvsc.c 		u32 buflen = vmxferpage_packet->ranges[i].byte_count;
buflen           1150 drivers/net/hyperv/netvsc.c 		if (unlikely(offset + buflen > net_device->recv_buf_size)) {
buflen           1155 drivers/net/hyperv/netvsc.c 				  offset, buflen);
buflen           1168 drivers/net/hyperv/netvsc.c 					   nvchan, data, buflen);
buflen            463 drivers/net/hyperv/rndis_filter.c 			 void *data, u32 buflen)
buflen            474 drivers/net/hyperv/rndis_filter.c 						 rndis_msg, buflen);
buflen           1152 drivers/net/tap.c 	int buflen = hdr->buflen;
buflen           1161 drivers/net/tap.c 	skb = build_skb(xdp->data_hard_start, buflen);
buflen           1606 drivers/net/tun.c 				       int buflen, int len, int pad)
buflen           1608 drivers/net/tun.c 	struct sk_buff *skb = build_skb(buf, buflen);
buflen           1618 drivers/net/tun.c 	alloc_frag->offset += buflen;
buflen           1663 drivers/net/tun.c 	int buflen = SKB_DATA_ALIGN(sizeof(struct skb_shared_info));
buflen           1673 drivers/net/tun.c 	buflen += SKB_DATA_ALIGN(len + pad);
buflen           1677 drivers/net/tun.c 	if (unlikely(!skb_page_frag_refill(buflen, alloc_frag, GFP_KERNEL)))
buflen           1693 drivers/net/tun.c 		return __tun_build_skb(tfile, alloc_frag, buf, buflen, len,
buflen           1715 drivers/net/tun.c 			alloc_frag->offset += buflen;
buflen           1735 drivers/net/tun.c 	return __tun_build_skb(tfile, alloc_frag, buf, buflen, len, pad);
buflen           2440 drivers/net/tun.c 	int buflen = hdr->buflen;
buflen           2483 drivers/net/tun.c 	skb = build_skb(xdp->data_hard_start, buflen);
buflen            104 drivers/net/usb/kalmia.c 	static const int buflen = 28;
buflen            108 drivers/net/usb/kalmia.c 	usb_buf = kmalloc(buflen, GFP_DMA | GFP_KERNEL);
buflen             58 drivers/net/usb/rndis_host.c 				int buflen)
buflen             64 drivers/net/usb/rndis_host.c 		dev->driver_info->indication(dev, msg, buflen);
buflen             91 drivers/net/usb/rndis_host.c int rndis_command(struct usbnet *dev, struct rndis_msg_hdr *buf, int buflen)
buflen            148 drivers/net/usb/rndis_host.c 			buf, buflen,
buflen            173 drivers/net/usb/rndis_host.c 				rndis_msg_indicate(dev, (void *)buf, buflen);
buflen            263 drivers/net/usb/sierra_net.c static int parse_hip(const u8 *buf, const u32 buflen, struct hip_hdr *hh)
buflen            268 drivers/net/usb/sierra_net.c 	if (buflen < SIERRA_NET_HIP_HDR_LEN)
buflen            280 drivers/net/usb/sierra_net.c 		if (buflen < SIERRA_NET_HIP_EXT_HDR_LEN)
buflen            300 drivers/net/usb/sierra_net.c 	if (buflen < (hh->hdrlen + hh->payload_len.word))
buflen            369 drivers/net/veth.c 				      int buflen)
buflen            373 drivers/net/veth.c 	if (!buflen) {
buflen            374 drivers/net/veth.c 		buflen = SKB_DATA_ALIGN(headroom + len) +
buflen            377 drivers/net/veth.c 	skb = build_skb(head, buflen);
buflen            595 drivers/net/virtio_net.c 		unsigned int buflen;
buflen            599 drivers/net/virtio_net.c 		buf = virtqueue_get_buf(rq->vq, &buflen);
buflen            609 drivers/net/virtio_net.c 		if ((page_off + buflen + tailroom) > PAGE_SIZE) {
buflen            615 drivers/net/virtio_net.c 		       page_address(p) + off, buflen);
buflen            616 drivers/net/virtio_net.c 		page_off += buflen;
buflen            641 drivers/net/virtio_net.c 	unsigned int buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) +
buflen            671 drivers/net/virtio_net.c 			buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) +
buflen            731 drivers/net/virtio_net.c 	skb = build_skb(buf, buflen);
buflen            842 drivers/net/wireless/ath/ar5523/ar5523.c 		desc->buflen = cpu_to_be32(paylen);
buflen            174 drivers/net/wireless/ath/ar5523/ar5523_hw.h 	__be32	buflen;		/* payload length */
buflen            338 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_parse_tlvs(const void *buf, int buflen, uint key)
buflen            341 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	int totlen = buflen;
buflen           1076 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	results->buflen = WL_ESCAN_RESULTS_FIXED_SIZE;
buflen           3141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		escan_buflen = le32_to_cpu(escan_result_le->buflen);
buflen           3182 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		if (bi_length > BRCMF_ESCAN_BUF_SIZE - list->buflen) {
buflen           3195 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		memcpy(&cfg->escan_info.escan_buf[list->buflen], bss_info_le,
buflen           3198 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		list->buflen += bi_length;
buflen            141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	u32 buflen;
buflen            153 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	buflen = sizeof(cnt) + (cnt * ETH_ALEN);
buflen            154 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	buf = kmalloc(buflen, GFP_ATOMIC);
buflen            171 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	err = brcmf_fil_iovar_data_set(ifp, "mcast_list", buf, buflen);
buflen            194 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 		   char *buf, u32 buflen)
buflen            200 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	if ((len + datalen) > buflen)
buflen            219 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	u32 buflen;
buflen            227 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	buflen = brcmf_create_iovar(name, data, len, drvr->proto_buf,
buflen            229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	if (buflen) {
buflen            231 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 					 buflen, true);
buflen            247 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	u32 buflen;
buflen            251 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	buflen = brcmf_create_iovar(name, data, len, drvr->proto_buf,
buflen            253 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	if (buflen) {
buflen            255 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 					 buflen, false);
buflen            293 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 		    char *buf, u32 buflen)
buflen            303 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 		return brcmf_create_iovar(name, data, datalen, buf, buflen);
buflen            309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	if (buflen < iolen) {
buflen            342 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	u32 buflen;
buflen            351 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	buflen = brcmf_create_bsscfg(ifp->bsscfgidx, name, data, len,
buflen            353 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	if (buflen) {
buflen            355 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 					 buflen, true);
buflen            371 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	u32 buflen;
buflen            375 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	buflen = brcmf_create_bsscfg(ifp->bsscfgidx, name, data, len,
buflen            377 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 	if (buflen) {
buflen            379 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c 					 buflen, false);
buflen            388 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	u32 buflen;
buflen            402 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32 buflen;
buflen           1099 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u16 buflen;
buflen           1105 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	buflen = le16_to_cpu(event->event_data_len);
buflen           1119 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	skb_trim(skb, buflen);
buflen           1144 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u16 buflen;
buflen           1153 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	buflen = le16_to_cpu(rx_complete->data_len);
buflen           1167 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	skb_trim(skb, buflen);
buflen            711 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 			    void *buffer, int buflen)
buflen            720 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	tmpbuf = kmalloc(buflen, GFP_ATOMIC);
buflen            724 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	size = buflen;
buflen            750 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 		memcpy(buffer, tmpbuf, buflen);
buflen           5161 drivers/net/wireless/cisco/airo.c static int get_wep_key(struct airo_info *ai, u16 index, char *buf, u16 buflen)
buflen           5173 drivers/net/wireless/cisco/airo.c 			int klen = min_t(int, buflen, le16_to_cpu(wkr.klen));
buflen             68 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c #define FWRT_DEBUGFS_OPEN_WRAPPER(name, buflen, argtype)		\
buflen             73 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	char rbuf[buflen];						\
buflen            118 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c #define _FWRT_DEBUGFS_READ_FILE_OPS(name, buflen, argtype)		\
buflen            119 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c FWRT_DEBUGFS_OPEN_WRAPPER(name, buflen, argtype)			\
buflen            128 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c #define FWRT_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype)		\
buflen            135 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	char buf[buflen] = {};						\
buflen            144 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c #define _FWRT_DEBUGFS_READ_WRITE_FILE_OPS(name, buflen, argtype)	\
buflen            145 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c FWRT_DEBUGFS_OPEN_WRAPPER(name, buflen, argtype)			\
buflen            146 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c FWRT_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype)			\
buflen            156 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c #define _FWRT_DEBUGFS_WRITE_FILE_OPS(name, buflen, argtype)		\
buflen            157 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c FWRT_DEBUGFS_OPEN_WRAPPER(name, buflen, argtype)			\
buflen            158 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c FWRT_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype)			\
buflen             68 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h #define MVM_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype)		\
buflen             74 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h 	char buf[buflen] = {};						\
buflen             83 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h #define _MVM_DEBUGFS_READ_WRITE_FILE_OPS(name, buflen, argtype)		\
buflen             84 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h MVM_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype)			\
buflen             92 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h #define _MVM_DEBUGFS_WRITE_FILE_OPS(name, buflen, argtype)		\
buflen             93 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h MVM_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype)			\
buflen           1955 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 					char *buffer, int buflen)
buflen           1960 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	char *end_buf = buffer + buflen;
buflen            387 drivers/net/wireless/intersil/orinoco/hermes.h 	int (*read_ltv)(struct hermes *hw, int bap, u16 rid, unsigned buflen,
buflen            100 drivers/net/wireless/mediatek/mt7601u/trace.h 		 u16 val, u16 offset, void *buf, size_t buflen, int ret),
buflen            101 drivers/net/wireless/mediatek/mt7601u/trace.h 	TP_ARGS(dev, pipe, req, req_type, val, offset, buf, buflen, ret),
buflen            106 drivers/net/wireless/mediatek/mt7601u/trace.h 		__field(int, buflen) __field(int, ret)
buflen            116 drivers/net/wireless/mediatek/mt7601u/trace.h 		__entry->buflen = buflen;
buflen            123 drivers/net/wireless/mediatek/mt7601u/trace.h 		  !!__entry->buf, __entry->buflen)
buflen             89 drivers/net/wireless/mediatek/mt7601u/usb.c 			   void *buf, const size_t buflen)
buflen             99 drivers/net/wireless/mediatek/mt7601u/usb.c 				      val, offset, buf, buflen,
buflen            102 drivers/net/wireless/mediatek/mt7601u/usb.c 				  buf, buflen, ret);
buflen             66 drivers/net/wireless/mediatek/mt7601u/usb.h 			   void *buf, const size_t buflen);
buflen            703 drivers/net/wireless/rndis_wlan.c 	int ret, buflen;
buflen            706 drivers/net/wireless/rndis_wlan.c 	buflen = *len + sizeof(*u.get);
buflen            707 drivers/net/wireless/rndis_wlan.c 	if (buflen < CONTROL_BUFFER_SIZE)
buflen            708 drivers/net/wireless/rndis_wlan.c 		buflen = CONTROL_BUFFER_SIZE;
buflen            710 drivers/net/wireless/rndis_wlan.c 	if (buflen > COMMAND_BUFFER_SIZE) {
buflen            711 drivers/net/wireless/rndis_wlan.c 		u.buf = kmalloc(buflen, GFP_KERNEL);
buflen            726 drivers/net/wireless/rndis_wlan.c 	ret = rndis_command(dev, u.header, buflen);
buflen            737 drivers/net/wireless/rndis_wlan.c 		if (respoffs > buflen) {
buflen            741 drivers/net/wireless/rndis_wlan.c 				oid_to_string(oid), respoffs, buflen);
buflen            747 drivers/net/wireless/rndis_wlan.c 		if ((resplen + respoffs) > buflen) {
buflen            751 drivers/net/wireless/rndis_wlan.c 			copylen = buflen - respoffs;
buflen            788 drivers/net/wireless/rndis_wlan.c 	int ret, buflen;
buflen            790 drivers/net/wireless/rndis_wlan.c 	buflen = len + sizeof(*u.set);
buflen            791 drivers/net/wireless/rndis_wlan.c 	if (buflen < CONTROL_BUFFER_SIZE)
buflen            792 drivers/net/wireless/rndis_wlan.c 		buflen = CONTROL_BUFFER_SIZE;
buflen            794 drivers/net/wireless/rndis_wlan.c 	if (buflen > COMMAND_BUFFER_SIZE) {
buflen            795 drivers/net/wireless/rndis_wlan.c 		u.buf = kmalloc(buflen, GFP_KERNEL);
buflen            814 drivers/net/wireless/rndis_wlan.c 	ret = rndis_command(dev, u.header, buflen);
buflen           2899 drivers/net/wireless/rndis_wlan.c 	int flags, buflen, key_id;
buflen           2913 drivers/net/wireless/rndis_wlan.c 	buflen = len - offsetof(struct ndis_80211_status_indication, u);
buflen           2915 drivers/net/wireless/rndis_wlan.c 	while (buflen >= sizeof(*auth_req)) {
buflen           2917 drivers/net/wireless/rndis_wlan.c 		if (buflen < le32_to_cpu(auth_req->length))
buflen           2960 drivers/net/wireless/rndis_wlan.c 		buflen -= le32_to_cpu(auth_req->length);
buflen           3013 drivers/net/wireless/rndis_wlan.c 			struct rndis_indicate *msg, int buflen)
buflen           3028 drivers/net/wireless/rndis_wlan.c 	if (len > buflen || offset > buflen || offset + len > buflen) {
buflen           3030 drivers/net/wireless/rndis_wlan.c 			    offset + len, buflen);
buflen           3061 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_indication(struct usbnet *usbdev, void *ind, int buflen)
buflen           3096 drivers/net/wireless/rndis_wlan.c 		rndis_wlan_media_specific_indication(usbdev, msg, buflen);
buflen             22 drivers/net/wireless/ti/wl1251/debugfs.c #define DEBUGFS_READONLY_FILE(name, buflen, fmt, value...)		\
buflen             27 drivers/net/wireless/ti/wl1251/debugfs.c 	char buf[buflen];						\
buflen             30 drivers/net/wireless/ti/wl1251/debugfs.c 	res = scnprintf(buf, buflen, fmt "\n", ##value);		\
buflen             50 drivers/net/wireless/ti/wl1251/debugfs.c #define DEBUGFS_FWSTATS_FILE(sub, name, buflen, fmt)			\
buflen             56 drivers/net/wireless/ti/wl1251/debugfs.c 	char buf[buflen];						\
buflen             61 drivers/net/wireless/ti/wl1251/debugfs.c 	res = scnprintf(buf, buflen, fmt "\n",				\
buflen            329 drivers/nfc/pn544/i2c.c static int check_crc(u8 *buf, int buflen)
buflen            343 drivers/nfc/pn544/i2c.c 			       16, 2, buf, buflen, false);
buflen            252 drivers/nfc/st21nfca/i2c.c static int get_frame_size(u8 *buf, int buflen)
buflen            259 drivers/nfc/st21nfca/i2c.c 	for (len = 1; len < buflen && buf[len] != ST21NFCA_SOF_EOF; len++)
buflen            265 drivers/nfc/st21nfca/i2c.c static int check_crc(u8 *buf, int buflen)
buflen            269 drivers/nfc/st21nfca/i2c.c 	crc = crc_ccitt(0xffff, buf, buflen - 2);
buflen            272 drivers/nfc/st21nfca/i2c.c 	if (buf[buflen - 2] != (crc & 0xff) || buf[buflen - 1] != (crc >> 8)) {
buflen            274 drivers/nfc/st21nfca/i2c.c 		       ": CRC error 0x%x != 0x%x 0x%x\n", crc, buf[buflen - 1],
buflen            275 drivers/nfc/st21nfca/i2c.c 		       buf[buflen - 2]);
buflen            279 drivers/nfc/st21nfca/i2c.c 			       16, 2, buf, buflen, false);
buflen           1172 drivers/nvme/host/core.c 		unsigned int dword11, void *buffer, size_t buflen, u32 *result)
buflen           1184 drivers/nvme/host/core.c 			buffer, buflen, 0, NVME_QID_ANY, 0, 0, false);
buflen           1191 drivers/nvme/host/core.c 		      unsigned int dword11, void *buffer, size_t buflen,
buflen           1195 drivers/nvme/host/core.c 			     buflen, result);
buflen           1200 drivers/nvme/host/core.c 		      unsigned int dword11, void *buffer, size_t buflen,
buflen           1204 drivers/nvme/host/core.c 			     buflen, result);
buflen            495 drivers/nvme/host/nvme.h 		      unsigned int dword11, void *buffer, size_t buflen,
buflen            498 drivers/nvme/host/nvme.h 		      unsigned int dword11, void *buffer, size_t buflen,
buflen           1238 drivers/nvme/target/fc.c nvmet_fc_format_rjt(void *buf, u16 buflen, u8 ls_cmd,
buflen            330 drivers/of/device.c 	sl = of_device_get_modalias(dev, &env->buf[env->buflen-1],
buflen            331 drivers/of/device.c 				    sizeof(env->buf) - env->buflen);
buflen            332 drivers/of/device.c 	if (sl >= (sizeof(env->buf) - env->buflen))
buflen            334 drivers/of/device.c 	env->buflen += sl;
buflen            789 drivers/platform/x86/sony-laptop.c 		void *buffer, size_t buflen)
buflen            799 drivers/platform/x86/sony-laptop.c 		len = MIN(buflen, object->buffer.length);
buflen            803 drivers/platform/x86/sony-laptop.c 		len = MIN(buflen, sizeof(object->integer.value));
buflen             56 drivers/s390/char/diag_ftp.c 	u64 buflen;
buflen            170 drivers/s390/char/diag_ftp.c 	ldfpl->buflen = ftp->len;
buflen            514 drivers/s390/net/ctcm_fsms.c 	__u16 buflen;
buflen            518 drivers/s390/net/ctcm_fsms.c 	buflen = *((__u16 *)ch->trans_skb->data);
buflen            520 drivers/s390/net/ctcm_fsms.c 			__func__, dev->name, buflen);
buflen            522 drivers/s390/net/ctcm_fsms.c 	if (buflen >= CTCM_INITIAL_BLOCKLEN) {
buflen            536 drivers/s390/net/ctcm_fsms.c 					buflen, CTCM_INITIAL_BLOCKLEN);
buflen           3032 drivers/scsi/BusLogic.c 	int buflen = scsi_bufflen(command);
buflen           3092 drivers/scsi/BusLogic.c 		ccb->datalen = buflen;
buflen           3101 drivers/scsi/BusLogic.c 		blogic_addcount(&tgt_stats[tgt_id].bytesread, buflen);
buflen           3102 drivers/scsi/BusLogic.c 		blogic_incszbucket(tgt_stats[tgt_id].read_sz_buckets, buflen);
buflen           3108 drivers/scsi/BusLogic.c 		blogic_addcount(&tgt_stats[tgt_id].byteswritten, buflen);
buflen           3109 drivers/scsi/BusLogic.c 		blogic_incszbucket(tgt_stats[tgt_id].write_sz_buckets, buflen);
buflen            985 drivers/scsi/aic7xxx/aic79xx_osm.c 		void *buf, bus_size_t buflen, bus_dmamap_callback_t *cb,
buflen            879 drivers/scsi/aic7xxx/aic7xxx_osm.c 		void *buf, bus_size_t buflen, bus_dmamap_callback_t *cb,
buflen            643 drivers/scsi/be2iscsi/be_iscsi.c 		      enum iscsi_param param, char *buf, int buflen)
buflen            655 drivers/scsi/be2iscsi/be_iscsi.c 	ret = iscsi_set_param(cls_conn, param, buf, buflen);
buflen             61 drivers/scsi/be2iscsi/be_iscsi.h 		      enum iscsi_param param, char *buf, int buflen);
buflen           3025 drivers/scsi/bfa/bfa_ioc.c 				u32 *offset, int *buflen)
buflen           3033 drivers/scsi/bfa/bfa_ioc.c 		*offset = *buflen = 0;
buflen           3038 drivers/scsi/bfa/bfa_ioc.c 	dlen = *buflen;
buflen           3053 drivers/scsi/bfa/bfa_ioc.c 		*offset = *buflen = 0;
buflen           3062 drivers/scsi/bfa/bfa_ioc.c 	*buflen = dlen;
buflen            920 drivers/scsi/bfa/bfa_ioc.h 	u32 *offset, int *buflen);
buflen           2655 drivers/scsi/bnx2i/bnx2i_hwi.c 			      char *buf, u16 buflen)
buflen           2664 drivers/scsi/bnx2i/bnx2i_hwi.c 				msg_type, buf, buflen);
buflen           2242 drivers/scsi/cxgbi/libcxgbi.c 			enum iscsi_param param, char *buf, int buflen)
buflen           2252 drivers/scsi/cxgbi/libcxgbi.c 		cls_conn, param, buflen, buf);
buflen           2256 drivers/scsi/cxgbi/libcxgbi.c 		err = iscsi_set_param(cls_conn, param, buf, buflen);
buflen           2263 drivers/scsi/cxgbi/libcxgbi.c 		err = iscsi_set_param(cls_conn, param, buf, buflen);
buflen           2272 drivers/scsi/cxgbi/libcxgbi.c 		err = iscsi_set_param(cls_conn, param, buf, buflen);
buflen           2277 drivers/scsi/cxgbi/libcxgbi.c 		err = iscsi_set_param(cls_conn, param, buf, buflen);
buflen           2282 drivers/scsi/cxgbi/libcxgbi.c 		return iscsi_set_param(cls_conn, param, buf, buflen);
buflen           2477 drivers/scsi/cxgbi/libcxgbi.c 			char *buf, int buflen)
buflen           2489 drivers/scsi/cxgbi/libcxgbi.c 		shost, chba, chba->ndev->name, param, buflen, buf);
buflen           2504 drivers/scsi/cxgbi/libcxgbi.c 		return iscsi_host_set_param(shost, param, buf, buflen);
buflen           3291 drivers/scsi/dpt_i2o.c 			int group, int field, void *buf, int buflen)
buflen           3303 drivers/scsi/dpt_i2o.c 			sizeof(u8) * (8 + buflen), &resblk_pa, GFP_KERNEL);
buflen           3312 drivers/scsi/dpt_i2o.c 		dma_free_coherent(&pHba->pDev->dev, sizeof(u8) * (8+buflen),
buflen           3324 drivers/scsi/dpt_i2o.c 		resblk_va, resblk_pa, sizeof(u8)*(8+buflen));
buflen           3327 drivers/scsi/dpt_i2o.c 		dma_free_coherent(&pHba->pDev->dev, sizeof(u8) * (8+buflen),
buflen           3332 drivers/scsi/dpt_i2o.c 		dma_free_coherent(&pHba->pDev->dev, sizeof(u8) * (8+buflen),
buflen           3338 drivers/scsi/dpt_i2o.c 	memcpy(buf, resblk_va+8, buflen);  /* cut off header */
buflen           3340 drivers/scsi/dpt_i2o.c 	dma_free_coherent(&pHba->pDev->dev, sizeof(u8) * (8+buflen),
buflen           3345 drivers/scsi/dpt_i2o.c 	return buflen;
buflen            270 drivers/scsi/dpti.h 			int group, int field, void *buf, int buflen);
buflen            125 drivers/scsi/esas2r/esas2r_log.c 		size_t buflen = EVENT_LOG_BUFF_SIZE;
buflen            133 drivers/scsi/esas2r/esas2r_log.c 		memset(buffer, 0, buflen);
buflen            142 drivers/scsi/esas2r/esas2r_log.c 			snprintf(buffer, buflen, fmt_nodev, slevel,
buflen            145 drivers/scsi/esas2r/esas2r_log.c 			snprintf(buffer, buflen, fmt_dev, slevel,
buflen            153 drivers/scsi/esas2r/esas2r_log.c 		buflen -= strlen(event_buffer);
buflen            155 drivers/scsi/esas2r/esas2r_log.c 		retval = vsnprintf(buffer, buflen, format, args);
buflen           2801 drivers/scsi/hpsa.c 		size_t buflen,
buflen           2806 drivers/scsi/hpsa.c 	if (buflen == 0 || data_direction == DMA_NONE) {
buflen           2812 drivers/scsi/hpsa.c 	addr64 = dma_map_single(&pdev->dev, buf, buflen, data_direction);
buflen           2820 drivers/scsi/hpsa.c 	cp->SG[0].Len = cpu_to_le32(buflen);
buflen           3686 drivers/scsi/hpsa.c 	unsigned char *device_id, int index, int buflen)
buflen           3702 drivers/scsi/hpsa.c 		if (buflen > 16)
buflen           3703 drivers/scsi/hpsa.c 			buflen = 16;
buflen           3704 drivers/scsi/hpsa.c 		memcpy(device_id, &buf[8], buflen);
buflen           1097 drivers/scsi/initio.c 						scb->buflen = scb->senselen;
buflen           1456 drivers/scsi/initio.c 		if (scb->buflen == 0)
buflen           1476 drivers/scsi/initio.c 				scb->buflen = 0;
buflen           1557 drivers/scsi/initio.c 		scb->buflen = 0;
buflen           1561 drivers/scsi/initio.c 	xcnt = (long) scb->buflen - cnt;	/* xcnt== bytes already xferred */
buflen           1562 drivers/scsi/initio.c 	scb->buflen = (u32) cnt;		/* cnt == bytes left to be xferred */
buflen           1680 drivers/scsi/initio.c 	outl(scb->buflen, host->addr + TUL_SCnt0);
buflen           1688 drivers/scsi/initio.c 		outl(scb->buflen, host->addr + TUL_XCntH);
buflen           1712 drivers/scsi/initio.c 	outl(scb->buflen, host->addr + TUL_SCnt0);
buflen           1720 drivers/scsi/initio.c 		outl(scb->buflen, host->addr + TUL_XCntH);
buflen           2594 drivers/scsi/initio.c 		cblk->buflen = (scsi_bufflen(cmnd) > total_len) ?
buflen           2597 drivers/scsi/initio.c 		cblk->buflen = 0;
buflen            372 drivers/scsi/initio.h 	u32 buflen;		/*2C Data Allocation Length */
buflen            708 drivers/scsi/iscsi_tcp.c 				       int buflen)
buflen            716 drivers/scsi/iscsi_tcp.c 		iscsi_set_param(cls_conn, param, buf, buflen);
buflen            719 drivers/scsi/iscsi_tcp.c 		iscsi_set_param(cls_conn, param, buf, buflen);
buflen            726 drivers/scsi/iscsi_tcp.c 		return iscsi_set_param(cls_conn, param, buf, buflen);
buflen           3206 drivers/scsi/libiscsi.c 		    enum iscsi_param param, char *buf, int buflen)
buflen           3621 drivers/scsi/libiscsi.c 			 char *buf, int buflen)
buflen            426 drivers/scsi/mvsas/mv_sas.h void mvs_get_sas_addr(void *buf, u32 buflen);
buflen           3218 drivers/scsi/pmcraid.c static struct pmcraid_sglist *pmcraid_alloc_sglist(int buflen)
buflen           3224 drivers/scsi/pmcraid.c 	sg_size = buflen / (PMCRAID_MAX_IOADLS - 1);
buflen           3233 drivers/scsi/pmcraid.c 	sgl_alloc_order(buflen, order, false,
buflen           3485 drivers/scsi/pmcraid.c 	int buflen,
buflen           3495 drivers/scsi/pmcraid.c 	sglist = pmcraid_alloc_sglist(buflen);
buflen           3544 drivers/scsi/pmcraid.c 	int buflen,
buflen           3550 drivers/scsi/pmcraid.c 	if (buflen > 0) {
buflen           3573 drivers/scsi/pmcraid.c 	unsigned int buflen,
buflen           3843 drivers/scsi/pmcraid.c 	unsigned int buflen,
buflen           3822 drivers/scsi/qla4xxx/ql4_os.c 	int buflen = 0;
buflen           3855 drivers/scsi/qla4xxx/ql4_os.c 			(char *)ip_addr, buflen);
buflen           3857 drivers/scsi/qla4xxx/ql4_os.c 			(char *)fw_ddb_entry->iscsi_name, buflen);
buflen           3859 drivers/scsi/qla4xxx/ql4_os.c 			(char *)ha->name_string, buflen);
buflen           3244 drivers/scsi/sd.c static int sd_format_disk_name(char *prefix, int index, char *buf, int buflen)
buflen           3248 drivers/scsi/sd.c 	char *end = buf + buflen;
buflen             67 drivers/scsi/sd_zbc.c 				  unsigned int buflen, sector_t lba,
buflen             81 drivers/scsi/sd_zbc.c 	put_unaligned_be32(buflen, &cmd[10]);
buflen             86 drivers/scsi/sd_zbc.c 				  buf, buflen, &sshdr,
buflen            126 drivers/scsi/sd_zbc.c 					unsigned int nr_zones, size_t *buflen)
buflen            149 drivers/scsi/sd_zbc.c 		*buflen = bufsize;
buflen            169 drivers/scsi/sd_zbc.c 	size_t buflen = 0, offset = 0;
buflen            176 drivers/scsi/sd_zbc.c 	buf = sd_zbc_alloc_report_buffer(sdkp, nrz, &buflen);
buflen            180 drivers/scsi/sd_zbc.c 	ret = sd_zbc_do_report_zones(sdkp, buf, buflen,
buflen            340 drivers/scsi/sd_zbc.c 	size_t bufsize, buflen;
buflen            397 drivers/scsi/sd_zbc.c 		buflen = min_t(size_t, get_unaligned_be32(&buf[0]) + 64,
buflen            402 drivers/scsi/sd_zbc.c 		while (rec < buf + buflen) {
buflen             57 drivers/scsi/sr_ioctl.c 	cgc.buflen = 12;
buflen             89 drivers/scsi/sr_ioctl.c 	cgc.buflen = 12;
buflen            204 drivers/scsi/sr_ioctl.c 			      cgc->buffer, cgc->buflen, NULL, sshdr,
buflen            399 drivers/scsi/sr_ioctl.c 	cgc.buflen = 24;
buflen            504 drivers/scsi/sr_ioctl.c 	cgc.buflen = blksize;
buflen            547 drivers/scsi/sr_ioctl.c 	cgc.buflen = blksize;
buflen            140 drivers/scsi/sr_vendor.c 	cgc.buflen = sizeof(*modesel);
buflen            187 drivers/scsi/sr_vendor.c 		cgc.buflen = 12;
buflen            215 drivers/scsi/sr_vendor.c 			cgc.buflen = 0x16;
buflen            244 drivers/scsi/sr_vendor.c 			cgc.buflen = 4;
buflen            272 drivers/scsi/sr_vendor.c 		cgc.buflen = 0x04;
buflen            290 drivers/scsi/sr_vendor.c 		cgc.buflen = 12;
buflen            763 drivers/staging/isdn/gigaset/ev-layer.c 	size_t buflen;
buflen            765 drivers/staging/isdn/gigaset/ev-layer.c 	buflen = strlen(cmd) + 12; /* DLE ( A T 1 2 3 4 5 <cmd> DLE ) \0 */
buflen            766 drivers/staging/isdn/gigaset/ev-layer.c 	cb = kmalloc(sizeof(struct cmdbuf_t) + buflen, GFP_ATOMIC);
buflen            772 drivers/staging/isdn/gigaset/ev-layer.c 		cb->len = snprintf(cb->buf, buflen,
buflen            776 drivers/staging/isdn/gigaset/ev-layer.c 		cb->len = snprintf(cb->buf, buflen,
buflen            265 drivers/staging/isdn/hysdn/boardergo.c 	unsigned char buflen;
buflen            275 drivers/staging/isdn/hysdn/boardergo.c 	buflen = sp->Len;	/* maximum len of spooled data */
buflen            294 drivers/staging/isdn/hysdn/boardergo.c 			nr_write += buflen;	/* now we got number of free bytes - 1 in buffer */
buflen            307 drivers/staging/isdn/hysdn/boardergo.c 			if (++wr_mirror >= buflen)
buflen             33 drivers/staging/rts5208/rtsx_transport.c 				       unsigned int buflen,
buflen             47 drivers/staging/rts5208/rtsx_transport.c 		cnt = min(buflen, scsi_bufflen(srb) - *offset);
buflen             74 drivers/staging/rts5208/rtsx_transport.c 		while (cnt < buflen && *index < scsi_sg_count(srb)) {
buflen             81 drivers/staging/rts5208/rtsx_transport.c 			if (sglen > buflen - cnt) {
buflen             83 drivers/staging/rts5208/rtsx_transport.c 				sglen = buflen - cnt;
buflen            121 drivers/staging/rts5208/rtsx_transport.c 			    unsigned int buflen, struct scsi_cmnd *srb)
buflen            125 drivers/staging/rts5208/rtsx_transport.c 	rtsx_stor_access_xfer_buf(buffer, buflen, srb, &index, &offset,
buflen            127 drivers/staging/rts5208/rtsx_transport.c 	if (buflen < scsi_bufflen(srb))
buflen            128 drivers/staging/rts5208/rtsx_transport.c 		scsi_set_resid(srb, scsi_bufflen(srb) - buflen);
buflen            132 drivers/staging/rts5208/rtsx_transport.c 			    unsigned int buflen, struct scsi_cmnd *srb)
buflen            136 drivers/staging/rts5208/rtsx_transport.c 	rtsx_stor_access_xfer_buf(buffer, buflen, srb, &index, &offset,
buflen            138 drivers/staging/rts5208/rtsx_transport.c 	if (buflen < scsi_bufflen(srb))
buflen            139 drivers/staging/rts5208/rtsx_transport.c 		scsi_set_resid(srb, scsi_bufflen(srb) - buflen);
buflen             21 drivers/staging/rts5208/rtsx_transport.h 				       unsigned int buflen,
buflen             26 drivers/staging/rts5208/rtsx_transport.h void rtsx_stor_set_xfer_buf(unsigned char *buffer, unsigned int buflen,
buflen             28 drivers/staging/rts5208/rtsx_transport.h void rtsx_stor_get_xfer_buf(unsigned char *buffer, unsigned int buflen,
buflen            540 drivers/thunderbolt/property.c 			 const void *buf, size_t buflen)
buflen            543 drivers/thunderbolt/property.c 	size_t size = round_up(buflen, 4);
buflen            560 drivers/thunderbolt/property.c 	memcpy(property->value.data, buf, buflen);
buflen            717 drivers/usb/atm/cxacru.c 	int buflen =  ((size - 1) / stride + 1 + size * 2) * 4;
buflen            719 drivers/usb/atm/cxacru.c 	buf = kmalloc(buflen, GFP_KERNEL);
buflen            723 drivers/usb/atm/cxacru.c 	ret = cxacru_cm(instance, cm, NULL, 0, (u8 *) buf, buflen);
buflen           1153 drivers/usb/class/cdc-acm.c 	int buflen = intf->altsetting->extralen;
buflen           1204 drivers/usb/class/cdc-acm.c 	if (!buflen) {
buflen           1210 drivers/usb/class/cdc-acm.c 			buflen = intf->cur_altsetting->endpoint->extralen;
buflen           1219 drivers/usb/class/cdc-acm.c 	cdc_parse_cdc_header(&h, intf, buffer, buflen);
buflen            916 drivers/usb/class/cdc-wdm.c 	int buflen = intf->altsetting->extralen;
buflen            922 drivers/usb/class/cdc-wdm.c 	cdc_parse_cdc_header(&hdr, intf, buffer, buflen);
buflen           1489 drivers/usb/class/usbtmc.c 	u32 transfersize, aligned, buflen;
buflen           1525 drivers/usb/class/usbtmc.c 	buflen = urb->transfer_buffer_length;
buflen           1551 drivers/usb/class/usbtmc.c 	if (transfersize + USBTMC_HEADER_SIZE > buflen) {
buflen           1552 drivers/usb/class/usbtmc.c 		transfersize = buflen - USBTMC_HEADER_SIZE;
buflen           1553 drivers/usb/class/usbtmc.c 		aligned = buflen;
buflen           2147 drivers/usb/core/message.c 				int buflen)
buflen           2163 drivers/usb/core/message.c 	while (buflen > 0) {
buflen           2170 drivers/usb/core/message.c 		if ((buflen < elength) || (elength < 3)) {
buflen           2272 drivers/usb/core/message.c 		buflen -= elength;
buflen             34 drivers/usb/gadget/config.c usb_descriptor_fillbuf(void *buf, unsigned buflen,
buflen             46 drivers/usb/gadget/config.c 		if (len > buflen)
buflen             49 drivers/usb/gadget/config.c 		buflen -= len;
buflen             35 drivers/usb/gadget/function/f_loopback.c 	unsigned                buflen;
buflen            330 drivers/usb/gadget/function/f_loopback.c 		out_req = lb_alloc_ep_req(loop->out_ep, loop->buflen);
buflen            440 drivers/usb/gadget/function/f_loopback.c 	loop->buflen = lb_opts->bulk_buflen;
buflen             95 drivers/usb/gadget/function/f_midi.c 	unsigned int buflen, qlen;
buflen            384 drivers/usb/gadget/function/f_midi.c 			midi_alloc_ep_req(midi->in_ep, midi->buflen);
buflen            398 drivers/usb/gadget/function/f_midi.c 			midi_alloc_ep_req(midi->out_ep, midi->buflen);
buflen            639 drivers/usb/gadget/function/f_midi.c 		while (req->length + 3 < midi->buflen) {
buflen           1130 drivers/usb/gadget/function/f_midi.c F_MIDI_OPT(buflen, false, 0);
buflen           1231 drivers/usb/gadget/function/f_midi.c 	opts->buflen = 512;
buflen           1323 drivers/usb/gadget/function/f_midi.c 	midi->buflen = opts->buflen;
buflen             48 drivers/usb/gadget/function/f_sourcesink.c 	unsigned buflen;
buflen            603 drivers/usb/gadget/function/f_sourcesink.c 		size = ss->buflen;
buflen            854 drivers/usb/gadget/function/f_sourcesink.c 	ss->buflen = ss_opts->bulk_buflen;
buflen             25 drivers/usb/gadget/function/u_midi.h 	unsigned int			buflen;
buflen             48 drivers/usb/gadget/legacy/gmidi.c static unsigned int buflen = 512;
buflen             49 drivers/usb/gadget/legacy/gmidi.c module_param(buflen, uint, S_IRUGO);
buflen             50 drivers/usb/gadget/legacy/gmidi.c MODULE_PARM_DESC(buflen, "MIDI buffer length");
buflen            155 drivers/usb/gadget/legacy/gmidi.c 	midi_opts->buflen = buflen;
buflen            232 drivers/usb/gadget/legacy/zero.c module_param_named(buflen, gzero_options.bulk_buflen, uint, 0);
buflen             94 drivers/usb/gadget/udc/gr_udc.c 	int buflen = ep->is_in ? req->req.length : req->req.actual;
buflen             96 drivers/usb/gadget/udc/gr_udc.c 	int plen = min(rowlen, buflen);
buflen             98 drivers/usb/gadget/udc/gr_udc.c 	dev_dbg(ep->dev->dev, "%s: 0x%p, %d bytes data%s:\n", str, req, buflen,
buflen             99 drivers/usb/gadget/udc/gr_udc.c 		(buflen > plen ? " (truncated)" : ""));
buflen            380 drivers/usb/gadget/udc/s3c-hsudc.c 	u32 buflen, rcnt, rlen;
buflen            391 drivers/usb/gadget/udc/s3c-hsudc.c 	buflen = hsreq->req.length - hsreq->req.actual;
buflen            396 drivers/usb/gadget/udc/s3c-hsudc.c 	hsreq->req.actual += min(rlen, buflen);
buflen            401 drivers/usb/gadget/udc/s3c-hsudc.c 		if (buflen) {
buflen            403 drivers/usb/gadget/udc/s3c-hsudc.c 			buflen--;
buflen            170 drivers/usb/host/isp116x-hcd.c 	int buflen = isp116x->atl_last_dir == PTD_DIR_IN
buflen            174 drivers/usb/host/isp116x-hcd.c 	isp116x_write_reg16(isp116x, HCXFERCTR, buflen);
buflen            184 drivers/usb/host/isp116x-hcd.c 		buflen -= sizeof(struct ptd);
buflen            188 drivers/usb/host/isp116x-hcd.c 			buflen -= ALIGN(ep->length, 4);
buflen            191 drivers/usb/host/isp116x-hcd.c 	BUG_ON(buflen);
buflen            202 drivers/usb/host/isp116x-hcd.c 	int buflen = isp116x->atl_last_dir == PTD_DIR_IN
buflen            206 drivers/usb/host/isp116x-hcd.c 	isp116x_write_reg16(isp116x, HCXFERCTR, buflen);
buflen            214 drivers/usb/host/isp116x-hcd.c 		buflen -= sizeof(struct ptd);
buflen            218 drivers/usb/host/isp116x-hcd.c 			buflen -= ALIGN(ep->length, 4);
buflen            223 drivers/usb/host/isp116x-hcd.c 	BUG_ON(buflen);
buflen            858 drivers/usb/musb/cppi_dma.c 		bd->buflen = bd_len;
buflen           1046 drivers/usb/musb/cppi_dma.c 		if (!completed && len < bd->buflen) {
buflen           1054 drivers/usb/musb/cppi_dma.c 					len, bd->buflen,
buflen             66 drivers/usb/musb/cppi_dma.h 	u32		buflen;		/* for RX: original buffer length */
buflen            334 drivers/usb/serial/io_edgeport.c static void unicode_to_ascii(char *string, int buflen,
buflen           2616 drivers/usb/serial/io_edgeport.c static void unicode_to_ascii(char *string, int buflen,
buflen           2621 drivers/usb/serial/io_edgeport.c 	if (buflen <= 0)	/* never happens, but... */
buflen           2623 drivers/usb/serial/io_edgeport.c 	--buflen;		/* space for nul */
buflen           2626 drivers/usb/serial/io_edgeport.c 		if (i >= buflen)
buflen            122 drivers/usb/storage/protocol.c 	unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr,
buflen            141 drivers/usb/storage/protocol.c 	while (sg_miter_next(&miter) && cnt < buflen) {
buflen            143 drivers/usb/storage/protocol.c 				buflen - cnt);
buflen            170 drivers/usb/storage/protocol.c 	unsigned int buflen, struct scsi_cmnd *srb)
buflen            175 drivers/usb/storage/protocol.c 	buflen = min(buflen, scsi_bufflen(srb));
buflen            176 drivers/usb/storage/protocol.c 	buflen = usb_stor_access_xfer_buf(buffer, buflen, srb, &sg, &offset,
buflen            178 drivers/usb/storage/protocol.c 	if (buflen < scsi_bufflen(srb))
buflen            179 drivers/usb/storage/protocol.c 		scsi_set_resid(srb, scsi_bufflen(srb) - buflen);
buflen             37 drivers/usb/storage/protocol.h 	unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **,
buflen             41 drivers/usb/storage/protocol.h 	unsigned int buflen, struct scsi_cmnd *srb);
buflen            348 drivers/usb/storage/sddr09.c sddr09_request_sense(struct us_data *us, unsigned char *sensebuf, int buflen) {
buflen            355 drivers/usb/storage/sddr09.c 	command[4] = buflen;
buflen            362 drivers/usb/storage/sddr09.c 			sensebuf, buflen, NULL);
buflen            695 drivers/vhost/net.c 	int buflen = SKB_DATA_ALIGN(sizeof(struct skb_shared_info));
buflen            708 drivers/vhost/net.c 	buflen += SKB_DATA_ALIGN(len + pad);
buflen            710 drivers/vhost/net.c 	if (unlikely(!vhost_net_page_frag_refill(net, buflen,
buflen            747 drivers/vhost/net.c 	hdr->buflen = buflen;
buflen            750 drivers/vhost/net.c 	alloc_frag->offset += buflen;
buflen           2931 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		u8 *buf, int buflen, enum dss_dsi_content_type type)
buflen           2964 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		if (buflen < 1) {
buflen           2981 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		if (buflen < 2) {
buflen           3000 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		if (len > buflen) {
buflen           3040 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		u8 *buf, int buflen)
buflen           3053 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	r = dsi_vc_read_rx_fifo(dsidev, channel, buf, buflen,
buflen           3058 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	if (r != buflen) {
buflen           3070 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		u8 *reqdata, int reqlen, u8 *buf, int buflen)
buflen           3083 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	r = dsi_vc_read_rx_fifo(dsidev, channel, buf, buflen,
buflen           3088 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	if (r != buflen) {
buflen             81 fs/9p/cache.c  					    uint16_t buflen,
buflen             86 fs/9p/cache.c  	if (buflen != sizeof(v9inode->qid.version))
buflen             71 fs/9p/vfs_dir.c static struct p9_rdir *v9fs_alloc_rdir_buf(struct file *filp, int buflen)
buflen             75 fs/9p/vfs_dir.c 		fid->rdir = kzalloc(sizeof(struct p9_rdir) + buflen, GFP_KERNEL);
buflen             92 fs/9p/vfs_dir.c 	int buflen;
buflen             99 fs/9p/vfs_dir.c 	buflen = fid->clnt->msize - P9_IOHDRSZ;
buflen            101 fs/9p/vfs_dir.c 	rdir = v9fs_alloc_rdir_buf(file, buflen);
buflen            105 fs/9p/vfs_dir.c 	kvec.iov_len = buflen;
buflen            111 fs/9p/vfs_dir.c 			iov_iter_kvec(&to, READ, &kvec, 1, buflen);
buflen            152 fs/9p/vfs_dir.c 	int buflen;
buflen            159 fs/9p/vfs_dir.c 	buflen = fid->clnt->msize - P9_READDIRHDRSZ;
buflen            161 fs/9p/vfs_dir.c 	rdir = v9fs_alloc_rdir_buf(file, buflen);
buflen            167 fs/9p/vfs_dir.c 			err = p9_client_readdir(fid, rdir->buf, buflen,
buflen             13 fs/afs/cache.c 						       uint16_t buflen,
buflen             42 fs/afs/cache.c 						       uint16_t buflen,
buflen             50 fs/afs/cache.c 	       buffer, buflen);
buflen             55 fs/afs/cache.c 	if (buflen != sizeof(aux)) {
buflen             56 fs/afs/cache.c 		_leave(" = OBSOLETE [len %hx != %zx]", buflen, sizeof(aux));
buflen             33 fs/anon_inodes.c static char *anon_inodefs_dname(struct dentry *dentry, char *buffer, int buflen)
buflen             35 fs/anon_inodes.c 	return dynamic_dname(dentry, buffer, buflen, "anon_inode:%s",
buflen             83 fs/bad_inode.c 		int buflen)
buflen            158 fs/cachefiles/daemon.c 				      size_t buflen, loff_t *pos)
buflen            199 fs/cachefiles/daemon.c 	if (n > buflen)
buflen            513 fs/cifs/cifsproto.h 			__u16 fid, struct cifs_ntsd **acl_inf, __u32 *buflen);
buflen            518 fs/cifs/cifsproto.h 		char *acl_inf, const int buflen, const int acl_type,
buflen            522 fs/cifs/cifsproto.h 		const char *local_acl, const int buflen, const int acl_type,
buflen           1567 fs/cifs/cifssmb.c 	unsigned int buflen = server->pdu_size +
buflen           1579 fs/cifs/cifssmb.c 	len = min_t(unsigned int, buflen, server->vals->read_rsp_size) -
buflen           1667 fs/cifs/cifssmb.c 	if (!use_rdma_mr && (data_offset + data_len > buflen)) {
buflen           1680 fs/cifs/cifssmb.c 		 server->total_read, buflen, data_len);
buflen           1683 fs/cifs/cifssmb.c 	if (server->total_read < buflen)
buflen           3508 fs/cifs/cifssmb.c static int cifs_copy_posix_acl(char *trgt, char *src, const int buflen,
buflen           3549 fs/cifs/cifssmb.c 	if ((buflen == 0) || (local_acl == NULL)) {
buflen           3551 fs/cifs/cifssmb.c 	} else if (size > buflen) {
buflen           3584 fs/cifs/cifssmb.c 			       const int buflen, const int acl_type)
buflen           3593 fs/cifs/cifssmb.c 	if ((buflen == 0) || (pACL == NULL) || (cifs_acl == NULL))
buflen           3596 fs/cifs/cifssmb.c 	count = posix_acl_xattr_count((size_t)buflen);
buflen           3598 fs/cifs/cifssmb.c 		 count, buflen, le32_to_cpu(local_acl->a_version));
buflen           3628 fs/cifs/cifssmb.c 		   char *acl_inf, const int buflen, const int acl_type,
buflen           3703 fs/cifs/cifssmb.c 				buflen, acl_type, count);
buflen           3715 fs/cifs/cifssmb.c 		   const char *local_acl, const int buflen,
buflen           3758 fs/cifs/cifssmb.c 	data_count = ACL_to_cifs_posix(parm_data, local_acl, buflen, acl_type);
buflen            136 fs/cifs/ntlmssp.h int build_ntlmssp_auth_blob(unsigned char **pbuffer, u16 *buflen,
buflen            393 fs/cifs/sess.c 					u16 *buflen,
buflen            405 fs/cifs/sess.c 		*buflen = 0;
buflen            412 fs/cifs/sess.c 		*buflen = 0;
buflen            509 fs/cifs/sess.c 	*buflen = tmp - *pbuffer;
buflen           3571 fs/cifs/smb2ops.c 				   unsigned int buflen)
buflen           3581 fs/cifs/smb2ops.c 	sg_set_page(sg, addr, buflen, offset_in_page(buf));
buflen           4138 fs/cifs/smb2ops.c 	unsigned int buflen = server->pdu_size;
buflen           4144 fs/cifs/smb2ops.c 	len = min_t(unsigned int, buflen, server->vals->read_rsp_size +
buflen           2077 fs/cifs/smbdirect.c 	unsigned int buflen, remaining_data_length;
buflen           2128 fs/cifs/smbdirect.c 	buflen = 0;
buflen           2130 fs/cifs/smbdirect.c 		buflen += iov[i].iov_len;
buflen           2131 fs/cifs/smbdirect.c 		if (buflen > max_iov_size) {
buflen           2134 fs/cifs/smbdirect.c 					(buflen-iov[i].iov_len);
buflen           2147 fs/cifs/smbdirect.c 				nvecs = (buflen+max_iov_size-1)/max_iov_size;
buflen           2151 fs/cifs/smbdirect.c 					buflen, nvecs);
buflen           2159 fs/cifs/smbdirect.c 							buflen -
buflen           2179 fs/cifs/smbdirect.c 			buflen = 0;
buflen           2184 fs/cifs/smbdirect.c 				remaining_data_length -= buflen;
buflen           2197 fs/cifs/smbdirect.c 		log_write(INFO, "looping i=%d buflen=%d\n", i, buflen);
buflen           2204 fs/cifs/smbdirect.c 		rqst_page_get_length(rqst, i, &buflen, &offset);
buflen           2205 fs/cifs/smbdirect.c 		nvecs = (buflen + max_iov_size - 1) / max_iov_size;
buflen           2207 fs/cifs/smbdirect.c 			buflen, nvecs);
buflen           2211 fs/cifs/smbdirect.c 				size = buflen - j*max_iov_size;
buflen            277 fs/cifs/transport.c 	unsigned long buflen = 0;
buflen            290 fs/cifs/transport.c 		buflen += iov[i].iov_len;
buflen            300 fs/cifs/transport.c 			buflen += rqst->rq_tailsz;
buflen            306 fs/cifs/transport.c 			buflen += rqst->rq_pagesz * (rqst->rq_npages - 1) -
buflen            308 fs/cifs/transport.c 			buflen += rqst->rq_tailsz;
buflen            312 fs/cifs/transport.c 	return buflen;
buflen             11 fs/d_path.c    static int prepend(char **buffer, int *buflen, const char *str, int namelen)
buflen             13 fs/d_path.c    	*buflen -= namelen;
buflen             14 fs/d_path.c    	if (*buflen < 0)
buflen             38 fs/d_path.c    static int prepend_name(char **buffer, int *buflen, const struct qstr *name)
buflen             44 fs/d_path.c    	*buflen -= dlen + 1;
buflen             45 fs/d_path.c    	if (*buflen < 0)
buflen             77 fs/d_path.c    			char **buffer, int *buflen)
buflen             94 fs/d_path.c    	blen = *buflen;
buflen            108 fs/d_path.c    				blen = *buflen;
buflen            156 fs/d_path.c    	*buflen = blen;
buflen            178 fs/d_path.c    	       char *buf, int buflen)
buflen            180 fs/d_path.c    	char *res = buf + buflen;
buflen            183 fs/d_path.c    	prepend(&res, &buflen, "\0", 1);
buflen            184 fs/d_path.c    	error = prepend_path(path, root, &res, &buflen);
buflen            194 fs/d_path.c    	       char *buf, int buflen)
buflen            197 fs/d_path.c    	char *res = buf + buflen;
buflen            200 fs/d_path.c    	prepend(&res, &buflen, "\0", 1);
buflen            201 fs/d_path.c    	error = prepend_path(path, &root, &res, &buflen);
buflen            215 fs/d_path.c    			     char **buf, int *buflen)
buflen            217 fs/d_path.c    	prepend(buf, buflen, "\0", 1);
buflen            219 fs/d_path.c    		int error = prepend(buf, buflen, " (deleted)", 10);
buflen            224 fs/d_path.c    	return prepend_path(path, root, buf, buflen);
buflen            227 fs/d_path.c    static int prepend_unreachable(char **buffer, int *buflen)
buflen            229 fs/d_path.c    	return prepend(buffer, buflen, "(unreachable)", 13);
buflen            258 fs/d_path.c    char *d_path(const struct path *path, char *buf, int buflen)
buflen            260 fs/d_path.c    	char *res = buf + buflen;
buflen            277 fs/d_path.c    		return path->dentry->d_op->d_dname(path->dentry, buf, buflen);
buflen            281 fs/d_path.c    	error = path_with_deleted(path, &root, &res, &buflen);
buflen            293 fs/d_path.c    char *dynamic_dname(struct dentry *dentry, char *buffer, int buflen,
buflen            304 fs/d_path.c    	if (sz > sizeof(temp) || sz > buflen)
buflen            307 fs/d_path.c    	buffer += buflen - sz;
buflen            311 fs/d_path.c    char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
buflen            313 fs/d_path.c    	char *end = buffer + buflen;
buflen            315 fs/d_path.c    	if (prepend(&end, &buflen, " (deleted)", 11) ||
buflen            316 fs/d_path.c    	    prepend(&end, &buflen, dentry->d_name.name, dentry->d_name.len) ||
buflen            317 fs/d_path.c    	    prepend(&end, &buflen, "/", 1))  
buflen            325 fs/d_path.c    static char *__dentry_path(struct dentry *d, char *buf, int buflen)
buflen            332 fs/d_path.c    	if (buflen < 2)
buflen            338 fs/d_path.c    	end = buf + buflen;
buflen            339 fs/d_path.c    	len = buflen;
buflen            370 fs/d_path.c    char *dentry_path_raw(struct dentry *dentry, char *buf, int buflen)
buflen            372 fs/d_path.c    	return __dentry_path(dentry, buf, buflen);
buflen            376 fs/d_path.c    char *dentry_path(struct dentry *dentry, char *buf, int buflen)
buflen            382 fs/d_path.c    		p = buf + buflen;
buflen            383 fs/d_path.c    		if (prepend(&p, &buflen, "//deleted", 10) != 0)
buflen            385 fs/d_path.c    		buflen++;
buflen            387 fs/d_path.c    	retval = __dentry_path(dentry, buf, buflen);
buflen            441 fs/d_path.c    		int buflen = PATH_MAX;
buflen            443 fs/d_path.c    		prepend(&cwd, &buflen, "\0", 1);
buflen            444 fs/d_path.c    		error = prepend_path(&pwd, &root, &cwd, &buflen);
buflen            452 fs/d_path.c    			error = prepend_unreachable(&cwd, &buflen);
buflen             90 fs/gfs2/rgrp.c 	unsigned int buflen = bi->bi_bytes;
buflen             94 fs/gfs2/rgrp.c 	end = bi->bi_bh->b_data + bi->bi_offset + buflen;
buflen            420 fs/gfs2/rgrp.c 			 unsigned int buflen, u8 state)
buflen            423 fs/gfs2/rgrp.c 	const u8 *end = buffer + buflen;
buflen             32 fs/jffs2/compr_rubin.c 	unsigned int buflen;
buflen             48 fs/jffs2/compr_rubin.c 				 unsigned buflen, unsigned ofs,
buflen             52 fs/jffs2/compr_rubin.c 	pp->buflen = buflen;
buflen             59 fs/jffs2/compr_rubin.c 	if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve))
buflen             42 fs/kernfs/dir.c static int kernfs_name_locked(struct kernfs_node *kn, char *buf, size_t buflen)
buflen             45 fs/kernfs/dir.c 		return strlcpy(buf, "(null)", buflen);
buflen             47 fs/kernfs/dir.c 	return strlcpy(buf, kn->parent ? kn->name : "/", buflen);
buflen            124 fs/kernfs/dir.c 					char *buf, size_t buflen)
buflen            132 fs/kernfs/dir.c 		return strlcpy(buf, "(null)", buflen);
buflen            138 fs/kernfs/dir.c 		return strlcpy(buf, "/", buflen);
buflen            154 fs/kernfs/dir.c 			       len < buflen ? buflen - len : 0);
buflen            161 fs/kernfs/dir.c 			       len < buflen ? buflen - len : 0);
buflen            163 fs/kernfs/dir.c 			       len < buflen ? buflen - len : 0);
buflen            183 fs/kernfs/dir.c int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen)
buflen            189 fs/kernfs/dir.c 	ret = kernfs_name_locked(kn, buf, buflen);
buflen            211 fs/kernfs/dir.c 			  char *buf, size_t buflen)
buflen            217 fs/kernfs/dir.c 	ret = kernfs_path_from_node_locked(to, from, buf, buflen);
buflen           4685 fs/namei.c     int readlink_copy(char __user *buffer, int buflen, const char *link)
buflen           4692 fs/namei.c     	if (len > (unsigned) buflen)
buflen           4693 fs/namei.c     		len = buflen;
buflen           4710 fs/namei.c     int vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen)
buflen           4719 fs/namei.c     			return inode->i_op->readlink(dentry, buffer, buflen);
buflen           4735 fs/namei.c     	res = readlink_copy(buffer, buflen, link);
buflen           4802 fs/namei.c     int page_readlink(struct dentry *dentry, char __user *buffer, int buflen)
buflen           4805 fs/namei.c     	int res = readlink_copy(buffer, buflen,
buflen            536 fs/nfs/dir.c   				struct page **xdr_pages, struct page *page, unsigned int buflen)
buflen            549 fs/nfs/dir.c   	if (buflen == 0)
buflen            552 fs/nfs/dir.c   	xdr_init_decode_pages(&stream, &buf, xdr_pages, buflen);
buflen            230 fs/nfs/dns_resolve.c static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen)
buflen            238 fs/nfs/dns_resolve.c 	if (buf[buflen-1] != '\n')
buflen            240 fs/nfs/dns_resolve.c 	buf[buflen-1] = '\0';
buflen           2117 fs/nfs/flexfilelayout/flexfilelayout.c 		.buflen = PAGE_SIZE,
buflen           2237 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_ntop4(const struct sockaddr *sap, char *buf, const size_t buflen)
buflen           2241 fs/nfs/flexfilelayout/flexfilelayout.c 	return snprintf(buf, buflen, "%pI4", &sin->sin_addr);
buflen           2246 fs/nfs/flexfilelayout/flexfilelayout.c 			  const int buflen)
buflen           2257 fs/nfs/flexfilelayout/flexfilelayout.c 		return snprintf(buf, buflen, "::");
buflen           2265 fs/nfs/flexfilelayout/flexfilelayout.c 		return snprintf(buf, buflen, "::1");
buflen           2274 fs/nfs/flexfilelayout/flexfilelayout.c 		return snprintf(buf, buflen, "::ffff:%pI4",
buflen           2280 fs/nfs/flexfilelayout/flexfilelayout.c 	return snprintf(buf, buflen, "%pI6c", addr);
buflen            431 fs/nfs/internal.h 		      char *buffer, ssize_t buflen, unsigned flags);
buflen            594 fs/nfs/internal.h 				char *buffer, ssize_t buflen)
buflen            597 fs/nfs/internal.h 	return nfs_path(&dummy, dentry, buffer, buflen, NFS_PATH_CANONICAL);
buflen             51 fs/nfs/namespace.c char *nfs_path(char **p, struct dentry *dentry, char *buffer, ssize_t buflen,
buflen             60 fs/nfs/namespace.c 	end = buffer+buflen;
buflen             62 fs/nfs/namespace.c 	buflen--;
buflen             71 fs/nfs/namespace.c 		buflen -= namelen + 1;
buflen             72 fs/nfs/namespace.c 		if (buflen < 0)
buflen             86 fs/nfs/namespace.c 		if (--buflen < 0) {
buflen            107 fs/nfs/namespace.c 	buflen -= namelen;
buflen            108 fs/nfs/namespace.c 	if (buflen < 0) {
buflen            180 fs/nfs/nfs4idmap.c static int nfs_map_numeric_to_string(__u32 id, char *buf, size_t buflen)
buflen            182 fs/nfs/nfs4idmap.c 	return snprintf(buf, buflen, "%u", id);
buflen            350 fs/nfs/nfs4idmap.c 				     size_t buflen, struct idmap *idmap)
buflen            357 fs/nfs/nfs4idmap.c 	ret = nfs_idmap_get_key(id_str, id_len, type, buf, buflen, idmap);
buflen            776 fs/nfs/nfs4idmap.c int nfs_map_uid_to_name(const struct nfs_server *server, kuid_t uid, char *buf, size_t buflen)
buflen            784 fs/nfs/nfs4idmap.c 		ret = nfs_idmap_lookup_name(id, "user", buf, buflen, idmap);
buflen            786 fs/nfs/nfs4idmap.c 		ret = nfs_map_numeric_to_string(id, buf, buflen);
buflen            790 fs/nfs/nfs4idmap.c int nfs_map_gid_to_group(const struct nfs_server *server, kgid_t gid, char *buf, size_t buflen)
buflen            798 fs/nfs/nfs4idmap.c 		ret = nfs_idmap_lookup_name(id, "group", buf, buflen, idmap);
buflen            800 fs/nfs/nfs4idmap.c 		ret = nfs_map_numeric_to_string(id, buf, buflen);
buflen             34 fs/nfs/nfs4namespace.c 					 char *buffer, ssize_t buflen)
buflen             36 fs/nfs/nfs4namespace.c 	char *end = buffer + buflen;
buflen             40 fs/nfs/nfs4namespace.c 	buflen--;
buflen             45 fs/nfs/nfs4namespace.c 		buflen -= component->len + 1;
buflen             46 fs/nfs/nfs4namespace.c 		if (buflen < 0)
buflen             84 fs/nfs/nfs4namespace.c static char *nfs4_path(struct dentry *dentry, char *buffer, ssize_t buflen)
buflen             87 fs/nfs/nfs4namespace.c 	char *path = nfs_path(&limit, dentry, buffer, buflen,
buflen           5492 fs/nfs/nfs4proc.c static int buf_to_pages_noslab(const void *buf, size_t buflen,
buflen           5501 fs/nfs/nfs4proc.c 		len = min_t(size_t, PAGE_SIZE, buflen);
buflen           5508 fs/nfs/nfs4proc.c 		buflen -= len;
buflen           5511 fs/nfs/nfs4proc.c 	} while (buflen != 0);
buflen           5542 fs/nfs/nfs4proc.c static inline ssize_t nfs4_read_cached_acl(struct inode *inode, char *buf, size_t buflen)
buflen           5557 fs/nfs/nfs4proc.c 	if (acl->len > buflen)
buflen           5570 fs/nfs/nfs4proc.c 	size_t buflen = sizeof(*acl) + acl_len;
buflen           5572 fs/nfs/nfs4proc.c 	if (buflen <= PAGE_SIZE) {
buflen           5573 fs/nfs/nfs4proc.c 		acl = kmalloc(buflen, GFP_KERNEL);
buflen           5599 fs/nfs/nfs4proc.c static ssize_t __nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t buflen)
buflen           5605 fs/nfs/nfs4proc.c 		.acl_len = buflen,
buflen           5608 fs/nfs/nfs4proc.c 		.acl_len = buflen,
buflen           5615 fs/nfs/nfs4proc.c 	unsigned int npages = DIV_ROUND_UP(buflen, PAGE_SIZE) + 1;
buflen           5635 fs/nfs/nfs4proc.c 		__func__, buf, buflen, npages, args.acl_len);
buflen           5651 fs/nfs/nfs4proc.c 		if (res.acl_len > buflen) {
buflen           5668 fs/nfs/nfs4proc.c static ssize_t nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t buflen)
buflen           5675 fs/nfs/nfs4proc.c 		ret = __nfs4_get_acl_uncached(inode, buf, buflen);
buflen           5684 fs/nfs/nfs4proc.c static ssize_t nfs4_proc_get_acl(struct inode *inode, void *buf, size_t buflen)
buflen           5696 fs/nfs/nfs4proc.c 	ret = nfs4_read_cached_acl(inode, buf, buflen);
buflen           5701 fs/nfs/nfs4proc.c 	return nfs4_get_acl_uncached(inode, buf, buflen);
buflen           5704 fs/nfs/nfs4proc.c static int __nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen)
buflen           5711 fs/nfs/nfs4proc.c 		.acl_len	= buflen,
buflen           5719 fs/nfs/nfs4proc.c 	unsigned int npages = DIV_ROUND_UP(buflen, PAGE_SIZE);
buflen           5726 fs/nfs/nfs4proc.c 	i = buf_to_pages_noslab(buf, buflen, arg.acl_pages);
buflen           5753 fs/nfs/nfs4proc.c static int nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen)
buflen           5758 fs/nfs/nfs4proc.c 		err = __nfs4_proc_set_acl(inode, buf, buflen);
buflen           5768 fs/nfs/nfs4proc.c 					size_t buflen)
buflen           5772 fs/nfs/nfs4proc.c 	struct nfs4_label label = {0, 0, buflen, buf};
buflen           5798 fs/nfs/nfs4proc.c 	if (buflen < label.len)
buflen           5804 fs/nfs/nfs4proc.c 					size_t buflen)
buflen           5815 fs/nfs/nfs4proc.c 		err = _nfs4_get_security_label(inode, buf, buflen);
buflen           5879 fs/nfs/nfs4proc.c nfs4_set_security_label(struct inode *inode, const void *buf, size_t buflen)
buflen           5893 fs/nfs/nfs4proc.c 	ilabel.len = buflen;
buflen           7310 fs/nfs/nfs4proc.c 				   size_t buflen, int flags)
buflen           7312 fs/nfs/nfs4proc.c 	return nfs4_proc_set_acl(inode, buf, buflen);
buflen           7317 fs/nfs/nfs4proc.c 				   const char *key, void *buf, size_t buflen)
buflen           7319 fs/nfs/nfs4proc.c 	return nfs4_proc_get_acl(inode, buf, buflen);
buflen           7332 fs/nfs/nfs4proc.c 				     size_t buflen, int flags)
buflen           7335 fs/nfs/nfs4proc.c 		return nfs4_set_security_label(inode, buf, buflen);
buflen           7342 fs/nfs/nfs4proc.c 				     const char *key, void *buf, size_t buflen)
buflen           7345 fs/nfs/nfs4proc.c 		return nfs4_get_security_label(inode, buf, buflen);
buflen            455 fs/nfsd/nfs3proc.c 	resp->buflen = count;
buflen            519 fs/nfsd/nfs3proc.c 	resp->buflen = resp->count;
buflen            952 fs/nfsd/nfs3xdr.c 	if (cd->buflen < elen) {
buflen           1036 fs/nfsd/nfs3xdr.c 	cd->buflen -= num_entry_words;
buflen            198 fs/nfsd/nfs4idmap.c idtoname_parse(struct cache_detail *cd, char *buf, int buflen)
buflen            205 fs/nfsd/nfs4idmap.c 	if (buf[buflen - 1] != '\n')
buflen            207 fs/nfsd/nfs4idmap.c 	buf[buflen - 1]= '\0';
buflen            361 fs/nfsd/nfs4idmap.c nametoid_parse(struct cache_detail *cd, char *buf, int buflen)
buflen            367 fs/nfsd/nfs4idmap.c 	if (buf[buflen - 1] != '\n')
buflen            369 fs/nfsd/nfs4idmap.c 	buf[buflen - 1]= '\0';
buflen           1911 fs/nfsd/nfs4proc.c 	buf->buflen = PAGE_SIZE * (1 + rqstp->rq_page_end - buf->pages)
buflen           3589 fs/nfsd/nfs4state.c 	int buflen;
buflen           3656 fs/nfsd/nfs4state.c 	buflen = (seq->cachethis) ?
buflen           3661 fs/nfsd/nfs4state.c 	if (xdr_restrict_buflen(xdr, buflen - rqstp->rq_auth_slack))
buflen           3663 fs/nfsd/nfs4state.c 	svc_reserve(rqstp, buflen);
buflen           2957 fs/nfsd/nfs4xdr.c 	buf->buflen = bytes;
buflen           3510 fs/nfsd/nfs4xdr.c 				buf->buflen - buf->len);
buflen           3511 fs/nfsd/nfs4xdr.c 	buf->buflen = buf->len + space_left;
buflen           3604 fs/nfsd/nfs4xdr.c 			 (xdr->buf->buflen - xdr->buf->len));
buflen           3686 fs/nfsd/nfs4xdr.c 	bytes_left = xdr->buf->buflen - xdr->buf->len
buflen           4418 fs/nfsd/nfs4xdr.c 	if (buf->len + respsize <= buf->buflen)
buflen            546 fs/nfsd/nfsproc.c 	resp->buflen = count;
buflen            523 fs/nfsd/nfsxdr.c 	int	buflen, slen;
buflen            541 fs/nfsd/nfsxdr.c 	if ((buflen = cd->buflen - slen - 4) < 0) {
buflen            555 fs/nfsd/nfsxdr.c 	cd->buflen = buflen;
buflen            110 fs/nfsd/xdr.h  	int			buflen;
buflen            187 fs/nfsd/xdr3.h 	int			buflen;
buflen             23 fs/nsfs.c      static char *ns_dname(struct dentry *dentry, char *buffer, int buflen)
buflen             28 fs/nsfs.c      	return dynamic_dname(dentry, buffer, buflen, "%s:[%lu]",
buflen            896 fs/open.c      char *file_path(struct file *filp, char *buf, int buflen)
buflen            898 fs/open.c      	return d_path(&filp->f_path, buf, buflen);
buflen            232 fs/overlayfs/copy_up.c 	int buflen = MAX_HANDLE_SZ;
buflen            235 fs/overlayfs/copy_up.c 	buf = kmalloc(buflen, GFP_KERNEL);
buflen            244 fs/overlayfs/copy_up.c 	dwords = buflen >> 2;
buflen            246 fs/overlayfs/copy_up.c 	buflen = (dwords << 2);
buflen            250 fs/overlayfs/copy_up.c 	    WARN_ON(buflen > MAX_HANDLE_SZ) ||
buflen            255 fs/overlayfs/copy_up.c 	fh_len = offsetof(struct ovl_fh, fid) + buflen;
buflen            276 fs/overlayfs/copy_up.c 	memcpy(fh->fid, buf, buflen);
buflen            907 fs/overlayfs/dir.c 	int buflen = ovl_redirect_max + 1;
buflen            915 fs/overlayfs/dir.c 	buf = ret = kmalloc(buflen, GFP_KERNEL);
buflen            919 fs/overlayfs/dir.c 	buflen--;
buflen            920 fs/overlayfs/dir.c 	buf[buflen] = '\0';
buflen            935 fs/overlayfs/dir.c 		if (thislen + (name[0] != '/') > buflen) {
buflen            941 fs/overlayfs/dir.c 		buflen -= thislen;
buflen            942 fs/overlayfs/dir.c 		memcpy(&buf[buflen], name, thislen);
buflen            950 fs/overlayfs/dir.c 		if (buf[buflen] == '/')
buflen            952 fs/overlayfs/dir.c 		buflen--;
buflen            953 fs/overlayfs/dir.c 		buf[buflen] = '/';
buflen            955 fs/overlayfs/dir.c 	ret = kstrdup(&buf[buflen], GFP_KERNEL);
buflen            214 fs/overlayfs/export.c static int ovl_d_to_fh(struct dentry *dentry, char *buf, int buflen)
buflen            234 fs/overlayfs/export.c 	if (fh->len > buflen)
buflen            246 fs/overlayfs/export.c 			    dentry, err, buflen, fh ? (int)fh->len : 0,
buflen            718 fs/pipe.c      static char *pipefs_dname(struct dentry *dentry, char *buffer, int buflen)
buflen            720 fs/pipe.c      	return dynamic_dname(dentry, buffer, buflen, "pipe:[%lu]",
buflen           1635 fs/proc/base.c static int do_proc_readlink(struct path *path, char __user *buffer, int buflen)
buflen           1650 fs/proc/base.c 	if (len > buflen)
buflen           1651 fs/proc/base.c 		len = buflen;
buflen           1659 fs/proc/base.c static int proc_pid_readlink(struct dentry * dentry, char __user * buffer, int buflen)
buflen           1673 fs/proc/base.c 	error = do_proc_readlink(&path, buffer, buflen);
buflen            314 fs/proc/kcore.c read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos)
buflen            323 fs/proc/kcore.c 	size_t orig_buflen = buflen;
buflen            333 fs/proc/kcore.c 	if (buflen && *fpos < sizeof(struct elfhdr)) {
buflen            355 fs/proc/kcore.c 		tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos);
buflen            362 fs/proc/kcore.c 		buflen -= tsz;
buflen            367 fs/proc/kcore.c 	if (buflen && *fpos < phdrs_offset + phdrs_len) {
buflen            400 fs/proc/kcore.c 		tsz = min_t(size_t, buflen, phdrs_offset + phdrs_len - *fpos);
buflen            410 fs/proc/kcore.c 		buflen -= tsz;
buflen            415 fs/proc/kcore.c 	if (buflen && *fpos < notes_offset + notes_len) {
buflen            450 fs/proc/kcore.c 		tsz = min_t(size_t, buflen, notes_offset + notes_len - *fpos);
buflen            459 fs/proc/kcore.c 		buflen -= tsz;
buflen            468 fs/proc/kcore.c 	if ((tsz = (PAGE_SIZE - (start & ~PAGE_MASK))) > buflen)
buflen            469 fs/proc/kcore.c 		tsz = buflen;
buflen            472 fs/proc/kcore.c 	while (buflen) {
buflen            533 fs/proc/kcore.c 		buflen -= tsz;
buflen            537 fs/proc/kcore.c 		tsz = (buflen > PAGE_SIZE ? PAGE_SIZE : buflen);
buflen            544 fs/proc/kcore.c 	return orig_buflen - buflen;
buflen             63 fs/proc/namespaces.c static int proc_ns_readlink(struct dentry *dentry, char __user *buffer, int buflen)
buflen             78 fs/proc/namespaces.c 			res = readlink_copy(buffer, buflen, name);
buflen            296 fs/proc/vmcore.c static ssize_t __read_vmcore(char *buffer, size_t buflen, loff_t *fpos,
buflen            304 fs/proc/vmcore.c 	if (buflen == 0 || *fpos >= vmcore_size)
buflen            308 fs/proc/vmcore.c 	if (buflen > vmcore_size - *fpos)
buflen            309 fs/proc/vmcore.c 		buflen = vmcore_size - *fpos;
buflen            313 fs/proc/vmcore.c 		tsz = min(elfcorebuf_sz - (size_t)*fpos, buflen);
buflen            316 fs/proc/vmcore.c 		buflen -= tsz;
buflen            322 fs/proc/vmcore.c 		if (buflen == 0)
buflen            343 fs/proc/vmcore.c 				  (size_t)*fpos, buflen);
buflen            348 fs/proc/vmcore.c 			buflen -= tsz;
buflen            354 fs/proc/vmcore.c 			if (!buflen)
buflen            360 fs/proc/vmcore.c 		tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, buflen);
buflen            365 fs/proc/vmcore.c 		buflen -= tsz;
buflen            371 fs/proc/vmcore.c 		if (buflen == 0)
buflen            379 fs/proc/vmcore.c 					    buflen);
buflen            385 fs/proc/vmcore.c 			buflen -= tsz;
buflen            391 fs/proc/vmcore.c 			if (buflen == 0)
buflen            400 fs/proc/vmcore.c 			   size_t buflen, loff_t *fpos)
buflen            402 fs/proc/vmcore.c 	return __read_vmcore((__force char *) buffer, buflen, fpos, 1);
buflen            450 fs/reiserfs/namei.c 	int buflen, paste_size;
buflen            468 fs/reiserfs/namei.c 	buflen = DEH_SIZE + ROUND_UP(namelen);
buflen            469 fs/reiserfs/namei.c 	if (buflen > sizeof(small_buf)) {
buflen            470 fs/reiserfs/namei.c 		buffer = kmalloc(buflen, GFP_NOFS);
buflen            478 fs/reiserfs/namei.c 	     STAT_DATA_V1) ? (DEH_SIZE + namelen) : buflen;
buflen             39 fs/romfs/internal.h 			  void *buf, size_t buflen);
buflen             24 fs/romfs/storage.c 			  void *buf, size_t buflen)
buflen             29 fs/romfs/storage.c 	ret = ROMFS_MTD_READ(sb, pos, buflen, &rlen, buf);
buflen             30 fs/romfs/storage.c 	return (ret < 0 || rlen != buflen) ? -EIO : 0;
buflen            104 fs/romfs/storage.c 			  void *buf, size_t buflen)
buflen            111 fs/romfs/storage.c 	while (buflen > 0) {
buflen            113 fs/romfs/storage.c 		segment = min_t(size_t, buflen, ROMBSIZE - offset);
buflen            120 fs/romfs/storage.c 		buflen -= segment;
buflen            215 fs/romfs/storage.c 		   void *buf, size_t buflen)
buflen            222 fs/romfs/storage.c 	if (buflen > limit - pos)
buflen            223 fs/romfs/storage.c 		buflen = limit - pos;
buflen            227 fs/romfs/storage.c 		return romfs_mtd_read(sb, pos, buf, buflen);
buflen            231 fs/romfs/storage.c 		return romfs_blk_read(sb, pos, buf, buflen);
buflen             37 fs/xfs/libxfs/xfs_attr_remote.c 		int buflen = XFS_ATTR3_RMT_BUF_SPACE(mp, mp->m_sb.sb_blocksize);
buflen             38 fs/xfs/libxfs/xfs_attr_remote.c 		return (attrlen + buflen - 1) / buflen;
buflen            579 fs/xfs/libxfs/xfs_fs.h 	__u32				buflen;	/* length of buffer supplied */
buflen             30 fs/xfs/libxfs/xfs_symlink_remote.c 	int buflen = XFS_SYMLINK_BUF_SPACE(mp, mp->m_sb.sb_blocksize);
buflen             32 fs/xfs/libxfs/xfs_symlink_remote.c 	return (pathlen + buflen - 1) / buflen;
buflen            385 fs/xfs/xfs_ioctl.c 	if (al_hreq.buflen < sizeof(struct attrlist) ||
buflen            386 fs/xfs/xfs_ioctl.c 	    al_hreq.buflen > XFS_XATTR_LIST_MAX)
buflen            399 fs/xfs/xfs_ioctl.c 	kbuf = kmem_zalloc_large(al_hreq.buflen, 0);
buflen            404 fs/xfs/xfs_ioctl.c 	error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen,
buflen            414 fs/xfs/xfs_ioctl.c 	if (copy_to_user(al_hreq.buffer, kbuf, al_hreq.buflen))
buflen            369 fs/xfs/xfs_ioctl32.c 	if (al_hreq.buflen < sizeof(struct attrlist) ||
buflen            370 fs/xfs/xfs_ioctl32.c 	    al_hreq.buflen > XFS_XATTR_LIST_MAX)
buflen            384 fs/xfs/xfs_ioctl32.c 	kbuf = kmem_zalloc_large(al_hreq.buflen, 0);
buflen            389 fs/xfs/xfs_ioctl32.c 	error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen,
buflen            399 fs/xfs/xfs_ioctl32.c 	if (copy_to_user(compat_ptr(al_hreq.buffer), kbuf, al_hreq.buflen))
buflen            118 fs/xfs/xfs_ioctl32.h 	__u32				buflen;	/* length of buffer supplied */
buflen             49 include/acpi/apei.h 		  size_t buflen);
buflen             97 include/crypto/drbg.h 			unsigned char *buf, unsigned int buflen,
buflen             47 include/crypto/nhpoly1305.h 	unsigned int buflen;
buflen             34 include/crypto/poly1305.h 	unsigned int buflen;
buflen            499 include/drm/drm_edid.h 			       int buflen);
buflen             20 include/keys/big_key-type.h extern long big_key_read(const struct key *key, char *buffer, size_t buflen);
buflen             48 include/keys/trusted.h int trusted_tpm_send(unsigned char *cmd, size_t buflen);
buflen             44 include/keys/user-type.h extern long user_read(const struct key *key, char *buffer, size_t buflen);
buflen             43 include/linux/audit.h 	u32			buflen; /* for data alloc on list rules */
buflen            179 include/linux/bitmap.h extern int __bitmap_parse(const char *buf, unsigned int buflen, int is_user,
buflen            435 include/linux/bitmap.h static inline int bitmap_parse(const char *buf, unsigned int buflen,
buflen            438 include/linux/bitmap.h 	return __bitmap_parse(buf, buflen, 0, maskp, nmaskbits);
buflen            486 include/linux/blk-cgroup.h static inline int blkg_path(struct blkcg_gq *blkg, char *buf, int buflen)
buflen            488 include/linux/blk-cgroup.h 	return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen);
buflen             23 include/linux/cdrom.h 	unsigned int 		buflen;
buflen            119 include/linux/cgroup.h int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen);
buflen            648 include/linux/cgroup.h static inline int cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen)
buflen            650 include/linux/cgroup.h 	return kernfs_name(cgrp->kn, buf, buflen);
buflen            653 include/linux/cgroup.h static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen)
buflen            655 include/linux/cgroup.h 	return kernfs_path(cgrp->kn, buf, buflen);
buflen            698 include/linux/cgroup.h 					char *buf, size_t buflen);
buflen            745 include/linux/cgroup.h 	char *buf, size_t buflen) {}
buflen            872 include/linux/cgroup.h int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen,
buflen             23 include/linux/if_tun.h 	int buflen;
buflen            321 include/linux/kernfs.h int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen);
buflen            323 include/linux/kernfs.h 			  char *buf, size_t buflen);
buflen            398 include/linux/kernfs.h static inline int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen)
buflen            403 include/linux/kernfs.h 					char *buf, size_t buflen)
buflen            515 include/linux/kernfs.h static inline int kernfs_path(struct kernfs_node *kn, char *buf, size_t buflen)
buflen            517 include/linux/kernfs.h 	return kernfs_path_from_node(kn, NULL, buf, buflen);
buflen            130 include/linux/key-type.h 	long (*read)(const struct key *key, char *buffer, size_t buflen);
buflen            154 include/linux/kobject.h 	int buflen;
buflen            960 include/linux/libata.h 			unsigned char *buf, unsigned int buflen, int rw);
buflen           1844 include/linux/libata.h 			unsigned char *buf, unsigned int buflen, int rw);
buflen           1846 include/linux/libata.h 			unsigned char *buf, unsigned int buflen, int rw);
buflen           1622 include/linux/mm.h int get_cmdline(struct task_struct *task, char *buffer, int buflen);
buflen             30 include/linux/of_pdt.h 	int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
buflen            140 include/linux/scatterlist.h 			      unsigned int buflen)
buflen            145 include/linux/scatterlist.h 	sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf));
buflen            295 include/linux/scatterlist.h 		      size_t buflen, off_t skip, bool to_buffer);
buflen            298 include/linux/scatterlist.h 			   const void *buf, size_t buflen);
buflen            300 include/linux/scatterlist.h 			 void *buf, size_t buflen);
buflen            303 include/linux/scatterlist.h 			    const void *buf, size_t buflen, off_t skip);
buflen            305 include/linux/scatterlist.h 			  void *buf, size_t buflen, off_t skip);
buflen            307 include/linux/scatterlist.h 		       size_t buflen, off_t skip);
buflen            135 include/linux/sunrpc/svc_xprt.h int	svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen);
buflen             65 include/linux/sunrpc/xdr.h 	unsigned int	buflen,		/* Total length of storage buffer */
buflen             79 include/linux/sunrpc/xdr.h 	buf->buflen = len;
buflen            264 include/linux/sunrpc/xdr.h extern void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen);
buflen            151 include/linux/thunderbolt.h 			 const void *buf, size_t buflen);
buflen            171 include/linux/tpm.h extern int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen);
buflen            198 include/linux/tpm.h static inline int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen)
buflen             50 include/linux/usb/cdc.h 				int buflen);
buflen            786 include/linux/usb/gadget.h 	void *buf, unsigned buflen, const struct usb_descriptor_header **desc);
buflen            203 include/linux/usb/rndis_host.h rndis_command(struct usbnet *dev, struct rndis_msg_hdr *buf, int buflen);
buflen            385 include/scsi/libiscsi.h 				int buflen);
buflen            405 include/scsi/libiscsi.h 			   enum iscsi_param param, char *buf, int buflen);
buflen            207 include/scsi/scsi_cmnd.h 					   void *buf, int buflen)
buflen            210 include/scsi/scsi_cmnd.h 				   buf, buflen);
buflen            214 include/scsi/scsi_cmnd.h 					 void *buf, int buflen)
buflen            217 include/scsi/scsi_cmnd.h 				 buf, buflen);
buflen             92 include/scsi/scsi_transport_iscsi.h 			  char *buf, int buflen);
buflen            103 include/scsi/scsi_transport_iscsi.h 			       int buflen);
buflen             73 include/sound/hda_chmap.h void snd_hdac_print_channel_allocation(int spk_alloc, char *buf, int buflen);
buflen            504 include/uapi/linux/audit.h 	__u32		buflen;	/* total length of string fields */
buflen            286 include/uapi/linux/cdrom.h 	unsigned int 		buflen;
buflen            289 include/xen/interface/io/netif.h 					const uint8_t *buf, unsigned int buflen)
buflen            301 include/xen/interface/io/netif.h 	for (bufi = 0; bufi < buflen; bufi++) {
buflen            521 kernel/auditfilter.c 			entry->rule.buflen += f_val;
buflen            545 kernel/auditfilter.c 			entry->rule.buflen += f_val;
buflen            557 kernel/auditfilter.c 			entry->rule.buflen += f_val;
buflen            573 kernel/auditfilter.c 			entry->rule.buflen += f_val;
buflen            590 kernel/auditfilter.c 			entry->rule.buflen += f_val;
buflen            632 kernel/auditfilter.c 	data = kmalloc(sizeof(*data) + krule->buflen, GFP_KERNEL);
buflen            657 kernel/auditfilter.c 			data->buflen += data->values[i] =
buflen            661 kernel/auditfilter.c 			data->buflen += data->values[i] =
buflen            666 kernel/auditfilter.c 			data->buflen += data->values[i] =
buflen            671 kernel/auditfilter.c 			data->buflen += data->values[i] =
buflen            675 kernel/auditfilter.c 			data->buflen += data->values[i] =
buflen            831 kernel/auditfilter.c 	new->buflen = old->buflen;
buflen           1086 kernel/auditfilter.c 					       sizeof(*data) + data->buflen);
buflen            215 kernel/cgroup/cgroup-internal.h int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
buflen           2290 kernel/cgroup/cgroup.c int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
buflen           2295 kernel/cgroup/cgroup.c 	return kernfs_path_from_node(cgrp->kn, root->kn, buf, buflen);
buflen           2298 kernel/cgroup/cgroup.c int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen,
buflen           2306 kernel/cgroup/cgroup.c 	ret = cgroup_path_ns_locked(cgrp, buf, buflen, ns);
buflen           2328 kernel/cgroup/cgroup.c int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen)
buflen           2342 kernel/cgroup/cgroup.c 		ret = cgroup_path_ns_locked(cgrp, buf, buflen, &init_cgroup_ns);
buflen           2345 kernel/cgroup/cgroup.c 		ret = strlcpy(buf, "/", buflen);
buflen           5854 kernel/cgroup/cgroup.c 					char *buf, size_t buflen)
buflen           5861 kernel/cgroup/cgroup.c 	kernfs_path(kn, buf, buflen);
buflen            262 kernel/sched/autogroup.c int autogroup_path(struct task_group *tg, char *buf, int buflen)
buflen            267 kernel/sched/autogroup.c 	return snprintf(buf, buflen, "%s-%ld", "/autogroup", tg->autogroup->id);
buflen             38 kernel/sched/autogroup.h extern int autogroup_path(struct task_group *tg, char *buf, int buflen);
buflen             55 kernel/sched/autogroup.h static inline int autogroup_path(struct task_group *tg, char *buf, int buflen)
buflen            376 lib/bitmap.c   int __bitmap_parse(const char *buf, unsigned int buflen,
buflen            392 lib/bitmap.c   		while (buflen) {
buflen            400 lib/bitmap.c   			buflen--;
buflen            441 lib/bitmap.c   	} while (buflen && c == ',');
buflen            256 lib/kobject_uevent.c 	len = strlcpy(&env->buf[env->buflen], subsystem,
buflen            257 lib/kobject_uevent.c 		      sizeof(env->buf) - env->buflen);
buflen            258 lib/kobject_uevent.c 	if (len >= (sizeof(env->buf) - env->buflen)) {
buflen            264 lib/kobject_uevent.c 	env->argv[1] = &env->buf[env->buflen];
buflen            267 lib/kobject_uevent.c 	env->buflen += len + 1;
buflen            289 lib/kobject_uevent.c 	skb = alloc_skb(len + env->buflen, GFP_KERNEL);
buflen            297 lib/kobject_uevent.c 	skb_put_data(skb, env->buf, env->buflen);
buflen            435 lib/kobject_uevent.c 				env->buflen - len);
buflen            442 lib/kobject_uevent.c 		env->buflen -= len;
buflen            664 lib/kobject_uevent.c 	len = vsnprintf(&env->buf[env->buflen],
buflen            665 lib/kobject_uevent.c 			sizeof(env->buf) - env->buflen,
buflen            669 lib/kobject_uevent.c 	if (len >= (sizeof(env->buf) - env->buflen)) {
buflen            674 lib/kobject_uevent.c 	env->envp[env->envp_idx++] = &env->buf[env->buflen];
buflen            675 lib/kobject_uevent.c 	env->buflen += len + 1;
buflen            138 lib/scatterlist.c void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen)
buflen            141 lib/scatterlist.c 	sg_set_buf(sg, buf, buflen);
buflen            841 lib/scatterlist.c 		      size_t buflen, off_t skip, bool to_buffer)
buflen            857 lib/scatterlist.c 	while ((offset < buflen) && sg_miter_next(&miter)) {
buflen            860 lib/scatterlist.c 		len = min(miter.length, buflen - offset);
buflen            887 lib/scatterlist.c 			   const void *buf, size_t buflen)
buflen            889 lib/scatterlist.c 	return sg_copy_buffer(sgl, nents, (void *)buf, buflen, 0, false);
buflen            904 lib/scatterlist.c 			 void *buf, size_t buflen)
buflen            906 lib/scatterlist.c 	return sg_copy_buffer(sgl, nents, buf, buflen, 0, true);
buflen            922 lib/scatterlist.c 			    const void *buf, size_t buflen, off_t skip)
buflen            924 lib/scatterlist.c 	return sg_copy_buffer(sgl, nents, (void *)buf, buflen, skip, false);
buflen            940 lib/scatterlist.c 			  void *buf, size_t buflen, off_t skip)
buflen            942 lib/scatterlist.c 	return sg_copy_buffer(sgl, nents, buf, buflen, skip, true);
buflen            956 lib/scatterlist.c 		       size_t buflen, off_t skip)
buflen            967 lib/scatterlist.c 	while (offset < buflen && sg_miter_next(&miter)) {
buflen            970 lib/scatterlist.c 		len = min(miter.length, buflen - offset);
buflen            160 lib/test_hexdump.c static void __init test_hexdump_overflow(size_t buflen, size_t len,
buflen            174 lib/test_hexdump.c 	r = hex_dump_to_buffer(data_b, len, rs, gs, buf, buflen, ascii);
buflen            188 lib/test_hexdump.c 	f = min_t(int, e + 1, buflen);
buflen            189 lib/test_hexdump.c 	if (buflen) {
buflen            201 lib/test_hexdump.c 			len, buflen, strnlen(buf, sizeof(buf)));
buflen            208 lib/test_hexdump.c static void __init test_hexdump_overflow_set(size_t buflen, bool ascii)
buflen            217 lib/test_hexdump.c 		test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii);
buflen            861 mm/util.c      int get_cmdline(struct task_struct *task, char *buffer, int buflen)
buflen            881 mm/util.c      	if (len > buflen)
buflen            882 mm/util.c      		len = buflen;
buflen            890 mm/util.c      	if (res > 0 && buffer[res-1] != '\0' && len < buflen) {
buflen            896 mm/util.c      			if (len > buflen - res)
buflen            897 mm/util.c      				len = buflen - res;
buflen           2851 mm/vmalloc.c   	unsigned long buflen = count;
buflen           2895 mm/vmalloc.c   	if (buf != buf_start + buflen)
buflen           2896 mm/vmalloc.c   		memset(buf, 0, buflen - (buf - buf_start));
buflen           2898 mm/vmalloc.c   	return buflen;
buflen           2930 mm/vmalloc.c   	unsigned long n, buflen;
buflen           2936 mm/vmalloc.c   	buflen = count;
buflen           2972 mm/vmalloc.c   	return buflen;
buflen            400 net/dccp/options.c 	const u16 buflen = dccp_ackvec_buflen(av);
buflen            402 net/dccp/options.c 	const u8 nr_opts = DIV_ROUND_UP(buflen, DCCP_SINGLE_OPT_MAXLEN);
buflen            403 net/dccp/options.c 	u16 len = buflen + 2 * nr_opts;
buflen            429 net/dccp/options.c 	len  = buflen;
buflen            305 net/dns_resolver/dns_key.c 			      char *buffer, size_t buflen)
buflen            312 net/dns_resolver/dns_key.c 	return user_read(key, buffer, buflen);
buflen            367 net/mac80211/debugfs.c 			  int buflen))
buflen            384 net/mac80211/debugfs.c 				 char *buf, int buflen)			\
buflen            386 net/mac80211/debugfs.c 	return scnprintf(buf, buflen, "%u\n", stats->name);		\
buflen             70 net/mac80211/debugfs_netdev.c 	int buflen)							\
buflen             72 net/mac80211/debugfs_netdev.c 	return scnprintf(buf, buflen, format_string, sdata->field);	\
buflen             86 net/mac80211/debugfs_netdev.c 	char *buf, int buflen)						\
buflen             91 net/mac80211/debugfs_netdev.c 		p += scnprintf(p, buflen + buf - p, "%.2x ",		\
buflen             94 net/mac80211/debugfs_netdev.c 	p += scnprintf(p, buflen + buf - p, "\n");			\
buflen            101 net/mac80211/debugfs_netdev.c 	char *buf, int buflen)						\
buflen            103 net/mac80211/debugfs_netdev.c 	return scnprintf(buf, buflen, "%d\n", atomic_read(&sdata->field));\
buflen            109 net/mac80211/debugfs_netdev.c 	int buflen)							\
buflen            111 net/mac80211/debugfs_netdev.c 	return scnprintf(buf, buflen, "%pM\n", sdata->field);		\
buflen            117 net/mac80211/debugfs_netdev.c 	char *buf, int buflen)						\
buflen            119 net/mac80211/debugfs_netdev.c 	return scnprintf(buf, buflen, "%d\n",				\
buflen            180 net/mac80211/debugfs_netdev.c 				char *buf, int buflen)
buflen            186 net/mac80211/debugfs_netdev.c 		len += scnprintf(buf + len, buflen - len, "%04x ", mask[i]);
buflen            187 net/mac80211/debugfs_netdev.c 	len += scnprintf(buf + len, buflen - len, "\n");
buflen            196 net/mac80211/debugfs_netdev.c 				char *buf, int buflen)
buflen            202 net/mac80211/debugfs_netdev.c 		len += scnprintf(buf + len, buflen - len, "%04x ", mask[i]);
buflen            203 net/mac80211/debugfs_netdev.c 	len += scnprintf(buf + len, buflen - len, "\n");
buflen            218 net/mac80211/debugfs_netdev.c 			   char *buf, int buflen)
buflen            222 net/mac80211/debugfs_netdev.c 	len = scnprintf(buf, buflen, "AC queues: VO:%d VI:%d BE:%d BK:%d\n",
buflen            229 net/mac80211/debugfs_netdev.c 		len += scnprintf(buf + len, buflen - len, "cab queue: %d\n",
buflen            279 net/mac80211/debugfs_netdev.c 				     char *buf, int buflen)
buflen            282 net/mac80211/debugfs_netdev.c 		return snprintf(buf, buflen, "request: %s\nused: %s\n",
buflen            286 net/mac80211/debugfs_netdev.c 		return snprintf(buf, buflen, "request: %s\nused: %s\n",
buflen            293 net/mac80211/debugfs_netdev.c 				       const char *buf, int buflen)
buflen            298 net/mac80211/debugfs_netdev.c 		if (strncmp(buf, smps_modes[mode], buflen) == 0) {
buflen            301 net/mac80211/debugfs_netdev.c 				return buflen;
buflen            311 net/mac80211/debugfs_netdev.c 	struct ieee80211_sub_if_data *sdata, const char *buf, int buflen)
buflen            372 net/mac80211/debugfs_netdev.c 	return buflen;
buflen            377 net/mac80211/debugfs_netdev.c 	struct ieee80211_sub_if_data *sdata, const char *buf, int buflen)
buflen            384 net/mac80211/debugfs_netdev.c 	return buflen;
buflen            389 net/mac80211/debugfs_netdev.c 	const struct ieee80211_sub_if_data *sdata, char *buf, int buflen)
buflen            393 net/mac80211/debugfs_netdev.c 	return snprintf(buf, buflen, "0x%x\n", ifmgd->uapsd_queues);
buflen            397 net/mac80211/debugfs_netdev.c 	struct ieee80211_sub_if_data *sdata, const char *buf, int buflen)
buflen            412 net/mac80211/debugfs_netdev.c 	return buflen;
buflen            417 net/mac80211/debugfs_netdev.c 	const struct ieee80211_sub_if_data *sdata, char *buf, int buflen)
buflen            421 net/mac80211/debugfs_netdev.c 	return snprintf(buf, buflen, "0x%x\n", ifmgd->uapsd_max_sp_len);
buflen            425 net/mac80211/debugfs_netdev.c 	struct ieee80211_sub_if_data *sdata, const char *buf, int buflen)
buflen            440 net/mac80211/debugfs_netdev.c 	return buflen;
buflen            445 net/mac80211/debugfs_netdev.c 	const struct ieee80211_sub_if_data *sdata, char *buf, int buflen)
buflen            453 net/mac80211/debugfs_netdev.c 	return snprintf(buf, buflen, "%d\n", tdls_wider_bw);
buflen            457 net/mac80211/debugfs_netdev.c 	struct ieee80211_sub_if_data *sdata, const char *buf, int buflen)
buflen            468 net/mac80211/debugfs_netdev.c 	return buflen;
buflen            479 net/mac80211/debugfs_netdev.c 	const struct ieee80211_sub_if_data *sdata, char *buf, int buflen)
buflen            481 net/mac80211/debugfs_netdev.c 	return scnprintf(buf, buflen, "%u\n",
buflen            487 net/mac80211/debugfs_netdev.c 	const struct ieee80211_sub_if_data *sdata, char *buf, int buflen)
buflen            502 net/mac80211/debugfs_netdev.c 			buflen,
buflen            527 net/mac80211/debugfs_netdev.c 	const struct ieee80211_sub_if_data *sdata, char *buf, int buflen)
buflen            534 net/mac80211/debugfs_netdev.c 	return scnprintf(buf, buflen, "0x%016llx\n", (unsigned long long) tsf);
buflen            538 net/mac80211/debugfs_netdev.c 	struct ieee80211_sub_if_data *sdata, const char *buf, int buflen)
buflen            551 net/mac80211/debugfs_netdev.c 		if (buflen > 10 && buf[1] == '=') {
buflen            579 net/mac80211/debugfs_netdev.c 	return buflen;
buflen            963 net/netfilter/ipvs/ip_vs_sync.c 				     const size_t buflen)
buflen            977 net/netfilter/ipvs/ip_vs_sync.c 		if (p + SIMPLE_CONN_SIZE > buffer+buflen) {
buflen            987 net/netfilter/ipvs/ip_vs_sync.c 			if (p > buffer+buflen) {
buflen           1208 net/netfilter/ipvs/ip_vs_sync.c 				  const size_t buflen)
buflen           1214 net/netfilter/ipvs/ip_vs_sync.c 	if (buflen < sizeof(struct ip_vs_sync_mesg_v0)) {
buflen           1219 net/netfilter/ipvs/ip_vs_sync.c 	if (buflen != ntohs(m2->size)) {
buflen           1241 net/netfilter/ipvs/ip_vs_sync.c 			if (p + sizeof(s->v4) > buffer+buflen) {
buflen           1249 net/netfilter/ipvs/ip_vs_sync.c 			if (msg_end  > buffer+buflen) {
buflen           1270 net/netfilter/ipvs/ip_vs_sync.c 		ip_vs_process_message_v0(ipvs, buffer, buflen);
buflen           1614 net/netfilter/ipvs/ip_vs_sync.c ip_vs_receive(struct socket *sock, char *buffer, const size_t buflen)
buflen           1617 net/netfilter/ipvs/ip_vs_sync.c 	struct kvec		iov = {buffer, buflen};
buflen           1623 net/netfilter/ipvs/ip_vs_sync.c 	iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, buflen);
buflen             34 net/netfilter/nf_nat_ftp.c 			      char *buffer, size_t buflen,
buflen             40 net/netfilter/nf_nat_ftp.c 		return snprintf(buffer, buflen, "%u,%u,%u,%u,%u,%u",
buflen             49 net/netfilter/nf_nat_ftp.c 			return snprintf(buffer, buflen, "|1|%pI4|%u|",
buflen             52 net/netfilter/nf_nat_ftp.c 			return snprintf(buffer, buflen, "|2|%pI6|%u|",
buflen             55 net/netfilter/nf_nat_ftp.c 		return snprintf(buffer, buflen, "|||%u|", port);
buflen             76 net/netfilter/nf_nat_ftp.c 	unsigned int buflen;
buflen            108 net/netfilter/nf_nat_ftp.c 	buflen = nf_nat_ftp_fmt_cmd(ct, type, buffer, sizeof(buffer),
buflen            110 net/netfilter/nf_nat_ftp.c 	if (!buflen)
buflen            116 net/netfilter/nf_nat_ftp.c 				      matchlen, buffer, buflen))
buflen             38 net/netfilter/nf_nat_sip.c 				  const char *buffer, unsigned int buflen)
buflen             52 net/netfilter/nf_nat_sip.c 						buffer, buflen, false))
buflen             60 net/netfilter/nf_nat_sip.c 					      buffer, buflen))
buflen             66 net/netfilter/nf_nat_sip.c 	*datalen += buflen - matchlen;
buflen            103 net/netfilter/nf_nat_sip.c 	unsigned int buflen;
buflen            122 net/netfilter/nf_nat_sip.c 	buflen = sip_sprintf_addr_port(ct, buffer, &newaddr, ntohs(newport));
buflen            124 net/netfilter/nf_nat_sip.c 			     matchoff, matchlen, buffer, buflen);
buflen            182 net/netfilter/nf_nat_sip.c 		unsigned int olen, matchend, poff, plen, buflen, n;
buflen            215 net/netfilter/nf_nat_sip.c 			buflen = sip_sprintf_addr(ct, buffer,
buflen            219 net/netfilter/nf_nat_sip.c 					   poff, plen, buffer, buflen)) {
buflen            232 net/netfilter/nf_nat_sip.c 			buflen = sip_sprintf_addr(ct, buffer,
buflen            236 net/netfilter/nf_nat_sip.c 					   poff, plen, buffer, buflen)) {
buflen            250 net/netfilter/nf_nat_sip.c 			buflen = sprintf(buffer, "%u", ntohs(p));
buflen            252 net/netfilter/nf_nat_sip.c 					   poff, plen, buffer, buflen)) {
buflen            388 net/netfilter/nf_nat_sip.c 	unsigned int buflen;
buflen            433 net/netfilter/nf_nat_sip.c 		buflen = sip_sprintf_addr_port(ct, buffer, &newaddr, port);
buflen            435 net/netfilter/nf_nat_sip.c 				   matchoff, matchlen, buffer, buflen)) {
buflen            455 net/netfilter/nf_nat_sip.c 	int buflen, c_len;
buflen            469 net/netfilter/nf_nat_sip.c 	buflen = sprintf(buffer, "%u", c_len);
buflen            471 net/netfilter/nf_nat_sip.c 			     matchoff, matchlen, buffer, buflen);
buflen            480 net/netfilter/nf_nat_sip.c 			     char *buffer, int buflen)
buflen            490 net/netfilter/nf_nat_sip.c 			     matchoff, matchlen, buffer, buflen) ? 0 : -EINVAL;
buflen            504 net/netfilter/nf_nat_sip.c 	unsigned int buflen;
buflen            506 net/netfilter/nf_nat_sip.c 	buflen = sip_sprintf_addr(ct, buffer, addr, false);
buflen            508 net/netfilter/nf_nat_sip.c 			      sdpoff, type, term, buffer, buflen))
buflen            522 net/netfilter/nf_nat_sip.c 	unsigned int buflen;
buflen            524 net/netfilter/nf_nat_sip.c 	buflen = sprintf(buffer, "%u", port);
buflen            526 net/netfilter/nf_nat_sip.c 			   matchoff, matchlen, buffer, buflen))
buflen            541 net/netfilter/nf_nat_sip.c 	unsigned int buflen;
buflen            544 net/netfilter/nf_nat_sip.c 	buflen = sip_sprintf_addr(ct, buffer, addr, false);
buflen            546 net/netfilter/nf_nat_sip.c 			      SDP_HDR_OWNER, SDP_HDR_MEDIA, buffer, buflen))
buflen            551 net/netfilter/nf_nat_sip.c 				  buffer, buflen)) {
buflen             53 net/phonet/pep.c 	int buflen = *plen;
buflen             62 net/phonet/pep.c 	if (buflen > ph->sb_len)
buflen             63 net/phonet/pep.c 		buflen = ph->sb_len;
buflen             64 net/phonet/pep.c 	data = skb_header_pointer(skb, 2, buflen, buf);
buflen            238 net/rds/message.c 		unsigned int *pos, void *buf, unsigned int *buflen)
buflen            258 net/rds/message.c 	if (ext_len < *buflen)
buflen            259 net/rds/message.c 		*buflen = ext_len;
buflen            260 net/rds/message.c 	memcpy(buf, src + offset, *buflen);
buflen            265 net/rds/message.c 	*buflen = 0;
buflen            861 net/rds/rds.h  			       unsigned int *pos, void *buf, unsigned int *buflen);
buflen           1045 net/rxrpc/key.c 		       char *buffer, size_t buflen)
buflen           1124 net/rxrpc/key.c 	if (!buffer || buflen < size)
buflen            270 net/smc/smc_clc.c int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen,
buflen            278 net/smc/smc_clc.c 	struct kvec vec = {buf, buflen};
buflen            323 net/smc/smc_clc.c 	    (datlen > buflen) ||
buflen            192 net/smc/smc_clc.h int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen,
buflen            291 net/socket.c   static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
buflen            293 net/socket.c   	return dynamic_dname(dentry, buffer, buflen, "socket:[%lu]",
buflen             29 net/sunrpc/addr.c 				  char *buf, const int buflen)
buflen             40 net/sunrpc/addr.c 		return snprintf(buf, buflen, "::");
buflen             48 net/sunrpc/addr.c 		return snprintf(buf, buflen, "::1");
buflen             57 net/sunrpc/addr.c 		return snprintf(buf, buflen, "::ffff:%pI4",
buflen             63 net/sunrpc/addr.c 	return snprintf(buf, buflen, "%pI6c", addr);
buflen             67 net/sunrpc/addr.c 			char *buf, const size_t buflen)
buflen             74 net/sunrpc/addr.c 	len = rpc_ntop6_noscopeid(sap, buf, buflen);
buflen             89 net/sunrpc/addr.c 	if (unlikely(len > buflen))
buflen             99 net/sunrpc/addr.c 				  char *buf, const int buflen)
buflen            105 net/sunrpc/addr.c 			char *buf, const size_t buflen)
buflen            113 net/sunrpc/addr.c 		     char *buf, const size_t buflen)
buflen            117 net/sunrpc/addr.c 	return snprintf(buf, buflen, "%pI4", &sin->sin_addr);
buflen            129 net/sunrpc/addr.c size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen)
buflen            133 net/sunrpc/addr.c 		return rpc_ntop4(sap, buf, buflen);
buflen            135 net/sunrpc/addr.c 		return rpc_ntop6(sap, buf, buflen);
buflen            142 net/sunrpc/addr.c static size_t rpc_pton4(const char *buf, const size_t buflen,
buflen            148 net/sunrpc/addr.c 	if (buflen > INET_ADDRSTRLEN || salen < sizeof(struct sockaddr_in))
buflen            153 net/sunrpc/addr.c 	if (in4_pton(buf, buflen, addr, '\0', NULL) == 0)
buflen            162 net/sunrpc/addr.c 			      const size_t buflen, const char *delim,
buflen            168 net/sunrpc/addr.c 	if ((buf + buflen) == delim)
buflen            177 net/sunrpc/addr.c 	len = (buf + buflen) - delim - 1;
buflen            203 net/sunrpc/addr.c static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen,
buflen            210 net/sunrpc/addr.c 	if (buflen > (INET6_ADDRSTRLEN + IPV6_SCOPE_ID_LEN) ||
buflen            216 net/sunrpc/addr.c 	if (in6_pton(buf, buflen, addr, IPV6_SCOPE_DELIMITER, &delim) == 0)
buflen            219 net/sunrpc/addr.c 	if (!rpc_parse_scope_id(net, buf, buflen, delim, sin6))
buflen            226 net/sunrpc/addr.c static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen,
buflen            248 net/sunrpc/addr.c size_t rpc_pton(struct net *net, const char *buf, const size_t buflen,
buflen            253 net/sunrpc/addr.c 	for (i = 0; i < buflen; i++)
buflen            255 net/sunrpc/addr.c 			return rpc_pton6(net, buf, buflen, sap, salen);
buflen            256 net/sunrpc/addr.c 	return rpc_pton4(buf, buflen, sap, salen);
buflen            431 net/sunrpc/auth_gss/auth_gss.c 		char __user *buf, size_t buflen)
buflen            438 net/sunrpc/auth_gss/auth_gss.c 	return rpc_pipe_generic_upcall(file, msg, buf, buflen);
buflen            449 net/sunrpc/auth_gss/auth_gss.c 	size_t buflen = sizeof(gss_msg->databuf);
buflen            452 net/sunrpc/auth_gss/auth_gss.c 	len = scnprintf(p, buflen, "mech=%s uid=%d", mech->gm_name,
buflen            454 net/sunrpc/auth_gss/auth_gss.c 	buflen -= len;
buflen            463 net/sunrpc/auth_gss/auth_gss.c 		len = scnprintf(p, buflen, " target=%s", target_name);
buflen            464 net/sunrpc/auth_gss/auth_gss.c 		buflen -= len;
buflen            483 net/sunrpc/auth_gss/auth_gss.c 			len = scnprintf(p, buflen, " service=%s",
buflen            486 net/sunrpc/auth_gss/auth_gss.c 			len = scnprintf(p, buflen,
buflen            490 net/sunrpc/auth_gss/auth_gss.c 		buflen -= len;
buflen            496 net/sunrpc/auth_gss/auth_gss.c 		len = scnprintf(p, buflen, " enctypes=%s",
buflen            498 net/sunrpc/auth_gss/auth_gss.c 		buflen -= len;
buflen            503 net/sunrpc/auth_gss/auth_gss.c 	len = scnprintf(p, buflen, "\n");
buflen            516 net/sunrpc/auth_gss/auth_gss.c 		char __user *buf, size_t buflen)
buflen            530 net/sunrpc/auth_gss/auth_gss.c 	return rpc_pipe_generic_upcall(file, msg, buf, buflen);
buflen           1865 net/sunrpc/auth_gss/auth_gss.c 	if (unlikely(snd_buf->len > snd_buf->buflen))
buflen            959 net/sunrpc/auth_gss/svcauth_gss.c 		buf->buflen = RPCSVC_MAXPAYLOAD;
buflen           1397 net/sunrpc/clnt.c static int rpc_anyaddr(int family, struct sockaddr *buf, size_t buflen)
buflen           1401 net/sunrpc/clnt.c 		if (buflen < sizeof(rpc_inaddr_loopback))
buflen           1407 net/sunrpc/clnt.c 		if (buflen < sizeof(rpc_in6addr_loopback))
buflen           1437 net/sunrpc/clnt.c int rpc_localaddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)
buflen           1458 net/sunrpc/clnt.c 		return rpc_anyaddr(sap->sa_family, buf, buflen);
buflen            105 net/sunrpc/rpc_pipe.c 				char __user *dst, size_t buflen)
buflen            108 net/sunrpc/rpc_pipe.c 	size_t mlen = min(msg->len - msg->copied, buflen);
buflen           1518 net/sunrpc/svc.c 	rqstp->rq_res.buflen = PAGE_SIZE;
buflen           1328 net/sunrpc/svc_xprt.c int svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen)
buflen           1343 net/sunrpc/svc_xprt.c 		len = svc_one_xprt_name(xprt, pos, buflen - totlen);
buflen            323 net/sunrpc/svcsock.c 			    unsigned int nr, size_t buflen, unsigned int base)
buflen            333 net/sunrpc/svcsock.c 	iov_iter_kvec(&msg.msg_iter, READ, iov, nr, buflen);
buflen            336 net/sunrpc/svcsock.c 		buflen -= base;
buflen            342 net/sunrpc/svcsock.c 	if (len == buflen)
buflen            183 net/sunrpc/xdr.c 	unsigned int buflen = head->iov_len;
buflen            192 net/sunrpc/xdr.c 	tail->iov_len = buflen - offset;
buflen            196 net/sunrpc/xdr.c 	xdr->buflen += len;
buflen            430 net/sunrpc/xdr.c 	buf->buflen -= len;
buflen            432 net/sunrpc/xdr.c 	if (buf->len > buf->buflen)
buflen            433 net/sunrpc/xdr.c 		buf->len = buf->buflen;
buflen            459 net/sunrpc/xdr.c 	tailbuf_len = buf->buflen - buf->head->iov_len - buf->page_len;
buflen            483 net/sunrpc/xdr.c 	buf->buflen -= len;
buflen            485 net/sunrpc/xdr.c 	if (buf->len > buf->buflen)
buflen            486 net/sunrpc/xdr.c 		buf->len = buf->buflen;
buflen            526 net/sunrpc/xdr.c 	int scratch_len = buf->buflen - buf->page_len - buf->tail[0].iov_len;
buflen            585 net/sunrpc/xdr.c 	if (xdr->buf->len + nbytes > xdr->buf->buflen)
buflen            610 net/sunrpc/xdr.c 	space_left = xdr->buf->buflen - xdr->buf->len;
buflen            740 net/sunrpc/xdr.c 	if (newbuflen > buf->buflen)
buflen            744 net/sunrpc/xdr.c 	buf->buflen = newbuflen;
buflen            779 net/sunrpc/xdr.c 	buf->buflen += len;
buflen            891 net/sunrpc/xdr.c 	buf->buflen =  len;
buflen            921 net/sunrpc/xdr.c void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen)
buflen            924 net/sunrpc/xdr.c 	xdr->scratch.iov_len = buflen;
buflen           1090 net/sunrpc/xdr.c 	buf->buflen = buf->len = iov->iov_len;
buflen           1112 net/sunrpc/xdr.c 	subbuf->buflen = subbuf->len = len;
buflen           1323 net/sunrpc/xdr.c 	if (mic->len > buf->buflen - buf->len)
buflen           1726 net/sunrpc/xprt.c 	req->rq_snd_buf.buflen = 0;
buflen           1728 net/sunrpc/xprt.c 	req->rq_rcv_buf.buflen = 0;
buflen            169 net/sunrpc/xprtrdma/rpc_rdma.c 	return rqst->rq_rcv_buf.buflen <= r_xprt->rx_ep.rep_max_inline_recv;
buflen            376 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c 	arg->buflen = ctxt->rc_byte_len;
buflen            666 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c 	rqstp->rq_arg.buflen = head->rc_arg.buflen;
buflen            752 net/sunrpc/xprtrdma/svc_rdma_rw.c 	head->rc_arg.buflen += info->ri_chunklen;
buflen            783 net/sunrpc/xprtrdma/svc_rdma_rw.c 	head->rc_arg.buflen += info->ri_chunklen;
buflen            830 net/sunrpc/xprtrdma/svc_rdma_rw.c 	head->rc_arg.buflen = rqstp->rq_arg.buflen;
buflen           1399 net/sunrpc/xprtsock.c 	if ((copied = rovr->rq_private_buf.buflen) > repsize)
buflen           1739 net/tipc/socket.c 			size_t buflen,	int flags)
buflen           1752 net/tipc/socket.c 	if (unlikely(!buflen))
buflen           1787 net/tipc/socket.c 		copy = min_t(int, dlen, buflen);
buflen           1847 net/tipc/socket.c 			   size_t buflen, int flags)
buflen           1860 net/tipc/socket.c 	if (unlikely(!buflen))
buflen           1869 net/tipc/socket.c 	required = sock_rcvlowat(sk, flags & MSG_WAITALL, buflen);
buflen           1902 net/tipc/socket.c 			copy = min_t(int, dlen - offset, buflen - copied);
buflen           1932 net/tipc/socket.c 		if (copied == buflen || err)
buflen             13 net/wireless/debugfs.c #define DEBUGFS_READONLY_FILE(name, buflen, fmt, value...)		\
buflen             18 net/wireless/debugfs.c 	char buf[buflen];						\
buflen             21 net/wireless/debugfs.c 	res = scnprintf(buf, buflen, fmt "\n", ##value);		\
buflen            722 net/wireless/reg.c static void __init load_keys_from_buffer(const u8 *p, unsigned int buflen)
buflen            724 net/wireless/reg.c 	const u8 *end = p + buflen;
buflen            520 scripts/dtc/libfdt/fdt_ro.c int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen)
buflen            528 scripts/dtc/libfdt/fdt_ro.c 	if (buflen < 2)
buflen            545 scripts/dtc/libfdt/fdt_ro.c 			if ((p + namelen + 1) <= buflen) {
buflen            859 scripts/dtc/libfdt/libfdt.h int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen);
buflen           2472 security/apparmor/apparmorfs.c 			   int buflen)
buflen           2480 security/apparmor/apparmorfs.c 		res = readlink_copy(buffer, buflen, name);
buflen             25 security/apparmor/path.c static int prepend(char **buffer, int buflen, const char *str, int namelen)
buflen             27 security/apparmor/path.c 	buflen -= namelen;
buflen             28 security/apparmor/path.c 	if (buflen < 0)
buflen             95 security/apparmor/path.c 	int buflen = aa_g_path_max - isdir;
buflen             99 security/apparmor/path.c 		res = dentry_path(path->dentry, buf, buflen);
buflen            122 security/apparmor/path.c 		res = __d_path(path, &root, buf, buflen);
buflen            125 security/apparmor/path.c 		res = d_absolute_path(path, buf, buflen);
buflen            140 security/apparmor/path.c 		res = dentry_path_raw(path->dentry, buf, buflen);
buflen             36 security/integrity/ima/ima_template_lib.c 	u32 buflen = datalen;
buflen             39 security/integrity/ima/ima_template_lib.c 		buflen = datalen + 1;
buflen             41 security/integrity/ima/ima_template_lib.c 	buf = kzalloc(buflen, GFP_KERNEL);
buflen             61 security/integrity/ima/ima_template_lib.c 	field_data->len = buflen;
buflen             71 security/integrity/ima/ima_template_lib.c 	u32 buflen = field_data->len;
buflen             75 security/integrity/ima/ima_template_lib.c 		buf_ptr = strnchr(field_data->data, buflen, ':');
buflen             81 security/integrity/ima/ima_template_lib.c 		buflen -= buf_ptr - field_data->data;
buflen             85 security/integrity/ima/ima_template_lib.c 		if (!buflen)
buflen             87 security/integrity/ima/ima_template_lib.c 		ima_print_digest(m, buf_ptr, buflen);
buflen            355 security/keys/big_key.c long big_key_read(const struct key *key, char *buffer, size_t buflen)
buflen            360 security/keys/big_key.c 	if (!buffer || buflen < datalen)
buflen             17 security/keys/compat_dh.c 			      char __user *buffer, size_t buflen,
buflen             24 security/keys/compat_dh.c 		return __keyctl_dh_compute(params, buffer, buflen, NULL);
buflen             35 security/keys/compat_dh.c 	return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy);
buflen            200 security/keys/dh.c 				 char __user *buffer, size_t buflen,
buflen            205 security/keys/dh.c 	size_t outbuf_len = roundup(buflen,
buflen            218 security/keys/dh.c 	ret = buflen;
buflen            219 security/keys/dh.c 	if (copy_to_user(buffer, outbuf, buflen) != 0)
buflen            228 security/keys/dh.c 			 char __user *buffer, size_t buflen,
buflen            245 security/keys/dh.c 	if (!params || (!buffer && buflen)) {
buflen            262 security/keys/dh.c 		if (buflen > KEYCTL_KDF_MAX_OUTPUT_LEN ||
buflen            332 security/keys/dh.c 		if (buflen == 0) {
buflen            335 security/keys/dh.c 		} else if (outlen > buflen) {
buflen            386 security/keys/dh.c 		ret = keyctl_dh_compute_kdf(sdesc, buffer, buflen, outbuf,
buflen            411 security/keys/dh.c 		       char __user *buffer, size_t buflen,
buflen            417 security/keys/dh.c 		return __keyctl_dh_compute(params, buffer, buflen, NULL);
buflen            422 security/keys/dh.c 	return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy);
buflen            327 security/keys/encrypted-keys/encrypted.c 		     const u8 *buf, unsigned int buflen)
buflen            334 security/keys/encrypted-keys/encrypted.c 	err = crypto_shash_digest(desc, buf, buflen, digest);
buflen            340 security/keys/encrypted-keys/encrypted.c 		     const u8 *buf, unsigned int buflen)
buflen            354 security/keys/encrypted-keys/encrypted.c 		err = calc_hash(tfm, digest, buf, buflen);
buflen            913 security/keys/encrypted-keys/encrypted.c 			   size_t buflen)
buflen            931 security/keys/encrypted-keys/encrypted.c 	if (!buffer || buflen < asciiblob_len)
buflen            239 security/keys/internal.h 				size_t buflen);
buflen            271 security/keys/internal.h 				char __user *buffer, size_t buflen,
buflen            278 security/keys/internal.h 				     char __user *buffer, size_t buflen,
buflen            287 security/keys/internal.h 				char __user *buffer, size_t buflen,
buflen            334 security/keys/internal.h extern long keyctl_capabilities(unsigned char __user *_buffer, size_t buflen);
buflen            643 security/keys/keyctl.c 			 size_t buflen)
buflen            689 security/keys/keyctl.c 	if (buffer && buflen >= ret) {
buflen            800 security/keys/keyctl.c static long __keyctl_read_key(struct key *key, char *buffer, size_t buflen)
buflen            807 security/keys/keyctl.c 		ret = key->type->read(key, buffer, buflen);
buflen            822 security/keys/keyctl.c long keyctl_read_key(key_serial_t keyid, char __user *buffer, size_t buflen)
buflen            866 security/keys/keyctl.c 	if (!buffer || !buflen) {
buflen            887 security/keys/keyctl.c 	key_data_len = (buflen <= PAGE_SIZE) ? buflen : 0;
buflen            903 security/keys/keyctl.c 		if (ret <= 0 || ret > buflen)
buflen           1551 security/keys/keyctl.c 			 size_t buflen)
buflen           1581 security/keys/keyctl.c 		if (buffer && buflen > 0 &&
buflen           1586 security/keys/keyctl.c 		if (buffer && buflen > 0) {
buflen           1587 security/keys/keyctl.c 			if (buflen > ret)
buflen           1588 security/keys/keyctl.c 				buflen = ret;
buflen           1590 security/keys/keyctl.c 			if (copy_to_user(buffer, context, buflen) != 0)
buflen           1757 security/keys/keyctl.c long keyctl_capabilities(unsigned char __user *_buffer, size_t buflen)
buflen           1759 security/keys/keyctl.c 	size_t size = buflen;
buflen           1766 security/keys/keyctl.c 		if (size < buflen &&
buflen           1767 security/keys/keyctl.c 		    clear_user(_buffer + size, buflen - size) != 0)
buflen             82 security/keys/keyring.c 			 char __user *buffer, size_t buflen);
buflen            453 security/keys/keyring.c 	size_t			buflen;
buflen            464 security/keys/keyring.c 	       key->type->name, key->serial, ctx->count, ctx->buflen);
buflen            466 security/keys/keyring.c 	if (ctx->count >= ctx->buflen)
buflen            482 security/keys/keyring.c 			 char __user *buffer, size_t buflen)
buflen            487 security/keys/keyring.c 	kenter("{%d},,%zu", key_serial(keyring), buflen);
buflen            489 security/keys/keyring.c 	if (buflen & (sizeof(key_serial_t) - 1))
buflen            493 security/keys/keyring.c 	if (buffer && buflen) {
buflen            495 security/keys/keyring.c 		ctx.buflen = buflen;
buflen            507 security/keys/keyring.c 	if (ret <= buflen)
buflen             83 security/keys/request_key_auth.c 				  char *buffer, size_t buflen)
buflen             96 security/keys/request_key_auth.c 	if (buffer && buflen > 0) {
buflen             97 security/keys/request_key_auth.c 		if (buflen > datalen)
buflen             98 security/keys/request_key_auth.c 			buflen = datalen;
buflen            100 security/keys/request_key_auth.c 		memcpy(buffer, rka->callout_info, buflen);
buflen            364 security/keys/trusted.c int trusted_tpm_send(unsigned char *cmd, size_t buflen)
buflen            372 security/keys/trusted.c 	rc = tpm_send(chip, cmd, buflen);
buflen           1148 security/keys/trusted.c 			 size_t buflen)
buflen           1158 security/keys/trusted.c 	if (buffer && buflen >= 2 * p->blob_len) {
buflen            171 security/keys/user_defined.c long user_read(const struct key *key, char *buffer, size_t buflen)
buflen            180 security/keys/user_defined.c 	if (buffer && buflen > 0) {
buflen            181 security/keys/user_defined.c 		if (buflen > upayload->datalen)
buflen            182 security/keys/user_defined.c 			buflen = upayload->datalen;
buflen            184 security/keys/user_defined.c 		memcpy(buffer, upayload->data, buflen);
buflen             94 security/tomoyo/realpath.c 				      const int buflen)
buflen             98 security/tomoyo/realpath.c 	if (buflen >= 256) {
buflen            100 security/tomoyo/realpath.c 		pos = d_absolute_path(path, buffer, buflen - 1);
buflen            105 security/tomoyo/realpath.c 				buffer[buflen - 2] = '/';
buflen            106 security/tomoyo/realpath.c 				buffer[buflen - 1] = '\0';
buflen            125 security/tomoyo/realpath.c 				    const int buflen)
buflen            129 security/tomoyo/realpath.c 	if (buflen >= 256) {
buflen            130 security/tomoyo/realpath.c 		pos = dentry_path_raw(dentry, buffer, buflen - 1);
buflen            135 security/tomoyo/realpath.c 				buffer[buflen - 2] = '/';
buflen            136 security/tomoyo/realpath.c 				buffer[buflen - 1] = '\0';
buflen            153 security/tomoyo/realpath.c 				   const int buflen)
buflen            156 security/tomoyo/realpath.c 	char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen);
buflen             90 sound/aoa/soundbus/core.c 		int tmp = env->buflen;
buflen             94 sound/aoa/soundbus/core.c 		compat += env->buflen - tmp;
buflen             95 sound/aoa/soundbus/core.c 		cplen -= env->buflen - tmp;
buflen            247 sound/hda/hdmi_chmap.c void snd_hdac_print_channel_allocation(int spk_alloc, char *buf, int buflen)
buflen            253 sound/hda/hdmi_chmap.c 			j += scnprintf(buf + j, buflen - j,  " %s",
buflen           4017 sound/pci/hda/hda_codec.c void snd_print_pcm_bits(int pcm, char *buf, int buflen)
buflen           4024 sound/pci/hda/hda_codec.c 			j += scnprintf(buf + j, buflen - j,  " %d", bits[i]);
buflen            353 sound/pci/hda/hda_eld.c static void hdmi_print_pcm_rates(int pcm, char *buf, int buflen)
buflen            363 sound/pci/hda/hda_eld.c 			j += scnprintf(buf + j, buflen - j,  " %d",
buflen            268 sound/pci/hda/hda_local.h void snd_print_pcm_bits(int pcm, char *buf, int buflen);
buflen            718 sound/pci/hda/hda_local.h void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen);
buflen             54 sound/usb/helper.c void *snd_usb_find_csint_desc(void *buffer, int buflen, void *after, u8 dsubtype)
buflen             58 sound/usb/helper.c 	while ((p = snd_usb_find_desc(buffer, buflen, p,
buflen             69 sound/usb/mixer.c 	unsigned int buflen;
buflen            116 sound/usb/mixer.c check_mapped_name(const struct usbmix_name_map *p, char *buf, int buflen)
buflen            121 sound/usb/mixer.c 	buflen--;
buflen            122 sound/usb/mixer.c 	return strlcpy(buf, p->name, buflen);
buflen            151 sound/usb/mixer.c 				      int index, char *buf, int buflen)
buflen            159 sound/usb/mixer.c 			return strlcpy(buf, p->names[index], buflen);
buflen            173 sound/usb/mixer.c 	while ((hdr = snd_usb_find_desc(state->buffer, state->buflen, hdr,
buflen           3100 sound/usb/mixer.c 	state.buflen = mixer->hostif->extralen;
buflen            125 tools/accounting/getdelays.c 	int r, buflen;
buflen            144 tools/accounting/getdelays.c 	buflen = msg.n.nlmsg_len ;
buflen            147 tools/accounting/getdelays.c 	while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr,
buflen            148 tools/accounting/getdelays.c 			   sizeof(nladdr))) < buflen) {
buflen            151 tools/accounting/getdelays.c 			buflen -= r;
buflen             31 tools/include/linux/string.h char *str_error_r(int errnum, char *buf, size_t buflen);
buflen             21 tools/lib/str_error_r.c char *str_error_r(int errnum, char *buf, size_t buflen)
buflen             23 tools/lib/str_error_r.c 	int err = strerror_r(errnum, buf, buflen);
buflen             25 tools/lib/str_error_r.c 		snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, [buf], %zd)=%d", errnum, buflen, err);
buflen            544 tools/lib/traceevent/event-parse.h 		 char *buf, size_t buflen);
buflen            735 tools/lib/traceevent/event-parse.h 			char *buf, size_t buflen);
buflen           1369 tools/lib/traceevent/parse-filter.c 			char *buf, size_t buflen)
buflen           1375 tools/lib/traceevent/parse-filter.c 		size_t len = snprintf(buf, buflen, "%s", filter->error_buffer);
buflen           1377 tools/lib/traceevent/parse-filter.c 		if (len > buflen)
buflen           1382 tools/lib/traceevent/parse-filter.c 	return tep_strerror(filter->tep, err, buf, buflen);
buflen             30 tools/lib/traceevent/tep_strerror.c 		 enum tep_errno errnum, char *buf, size_t buflen)
buflen             35 tools/lib/traceevent/tep_strerror.c 	if (!buflen)
buflen             39 tools/lib/traceevent/tep_strerror.c 		int err = strerror_r(errnum, buf, buflen);
buflen             40 tools/lib/traceevent/tep_strerror.c 		buf[buflen - 1] = 0;
buflen             50 tools/lib/traceevent/tep_strerror.c 	snprintf(buf, buflen, "%s", msg);
buflen           1601 tools/perf/util/annotate.c 			      int errnum, char *buf, size_t buflen)
buflen           1605 tools/perf/util/annotate.c 	BUG_ON(buflen == 0);
buflen           1608 tools/perf/util/annotate.c 		str_error_r(errnum, buf, buflen);
buflen           1622 tools/perf/util/annotate.c 		scnprintf(buf, buflen,
buflen           1632 tools/perf/util/annotate.c 		scnprintf(buf, buflen, "Please link with binutils's libopcode to enable BPF annotation");
buflen           1635 tools/perf/util/annotate.c 		scnprintf(buf, buflen, "Problems with arch specific instruction name regular expressions.");
buflen           1638 tools/perf/util/annotate.c 		scnprintf(buf, buflen, "Problems while parsing the CPUID in the arch specific initialization.");
buflen           1641 tools/perf/util/annotate.c 		scnprintf(buf, buflen, "Invalid BPF file: %s.", dso->long_name);
buflen           1644 tools/perf/util/annotate.c 		scnprintf(buf, buflen, "The %s BPF file has no BTF section, compile with -g or use pahole -J.",
buflen           1648 tools/perf/util/annotate.c 		scnprintf(buf, buflen, "Internal error: Invalid %d error code\n", errnum);
buflen            382 tools/perf/util/annotate.h 				 int errnum, char *buf, size_t buflen);
buflen           1330 tools/perf/util/dso.c int dso__strerror_load(struct dso *dso, char *buf, size_t buflen)
buflen           1344 tools/perf/util/dso.c 	BUG_ON(buflen == 0);
buflen           1347 tools/perf/util/dso.c 		const char *err = str_error_r(errnum, buf, buflen);
buflen           1350 tools/perf/util/dso.c 			scnprintf(buf, buflen, "%s", err);
buflen           1359 tools/perf/util/dso.c 	scnprintf(buf, buflen, "%s", dso_load__error_str[idx]);
buflen            367 tools/perf/util/dso.h int dso__strerror_load(struct dso *dso, char *buf, size_t buflen);
buflen           2637 tools/perf/util/hist.c 	size_t buflen = sizeof(buf);
buflen           2649 tools/perf/util/hist.c 		perf_evsel__group_desc(evsel, buf, buflen);
buflen            397 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c int intel_pt__strerror(int code, char *buf, size_t buflen)
buflen            401 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	strlcpy(buf, intel_pt_err_msgs[code], buflen);
buflen            268 tools/perf/util/intel-pt-decoder/intel-pt-decoder.h int intel_pt__strerror(int code, char *buf, size_t buflen);
buflen            117 tools/perf/util/target.c 			  char *buf, size_t buflen)
buflen            122 tools/perf/util/target.c 	BUG_ON(buflen == 0);
buflen            125 tools/perf/util/target.c 		str_error_r(errnum, buf, buflen);
buflen            138 tools/perf/util/target.c 		snprintf(buf, buflen, "%s", msg);
buflen            143 tools/perf/util/target.c 		snprintf(buf, buflen, msg, target->uid_str);
buflen             50 tools/perf/util/target.h int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
buflen             24 tools/power/cpupower/lib/cpufreq.c 					    char *buf, size_t buflen)
buflen             30 tools/power/cpupower/lib/cpufreq.c 	return cpupower_read_sysfs(path, buf, buflen);
buflen             54 tools/power/cpupower/lib/cpuidle.c 					    size_t buflen)
buflen             67 tools/power/cpupower/lib/cpuidle.c 	numread = read(fd, buf, buflen - 1);
buflen            315 tools/power/cpupower/lib/cpuidle.c 					    size_t buflen)
buflen            321 tools/power/cpupower/lib/cpuidle.c 	return cpupower_read_sysfs(path, buf, buflen);
buflen             17 tools/power/cpupower/lib/cpupower.c unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen)
buflen             26 tools/power/cpupower/lib/cpupower.c 	numread = read(fd, buf, buflen - 1);
buflen              6 tools/power/cpupower/lib/cpupower_intern.h unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);
buflen            249 tools/power/cpupower/utils/helpers/bitmask.c static inline int emit(char *buf, int buflen, int rbot, int rtop, int len)
buflen            252 tools/power/cpupower/utils/helpers/bitmask.c 		len += snprintf(buf + len, max(buflen - len, 0), ",");
buflen            254 tools/power/cpupower/utils/helpers/bitmask.c 		len += snprintf(buf + len, max(buflen - len, 0), "%d", rbot);
buflen            256 tools/power/cpupower/utils/helpers/bitmask.c 		len += snprintf(buf + len, max(buflen - len, 0), "%d-%d",
buflen            275 tools/power/cpupower/utils/helpers/bitmask.c int bitmask_displaylist(char *buf, int buflen, const struct bitmask *bmp)
buflen            281 tools/power/cpupower/utils/helpers/bitmask.c 	if (buflen > 0)
buflen            288 tools/power/cpupower/utils/helpers/bitmask.c 			len = emit(buf, buflen, rbot, rtop, len);
buflen             18 tools/power/cpupower/utils/helpers/sysfs.c unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen)
buflen             27 tools/power/cpupower/utils/helpers/sysfs.c 	numread = read(fd, buf, buflen - 1);
buflen            125 tools/power/cpupower/utils/helpers/sysfs.c 			     const char *fname, char *buf, size_t buflen)
buflen            138 tools/power/cpupower/utils/helpers/sysfs.c 	numread = read(fd, buf, buflen - 1);
buflen            385 tools/power/cpupower/utils/helpers/sysfs.c 					    size_t buflen)
buflen            391 tools/power/cpupower/utils/helpers/sysfs.c 	return sysfs_read_file(path, buf, buflen);
buflen              9 tools/power/cpupower/utils/helpers/sysfs.h extern unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen);
buflen            105 tools/testing/selftests/android/ion/ionapp_export.c 	map_len = info.buflen;
buflen            111 tools/testing/selftests/android/ion/ionapp_export.c 	skinfo.buflen = map_len;
buflen             55 tools/testing/selftests/android/ion/ionapp_import.c 	info.buflen = ION_BUFFER_LEN;
buflen             64 tools/testing/selftests/android/ion/ionapp_import.c 	map_len = info.buflen;
buflen            128 tools/testing/selftests/android/ion/ionutils.c 	ion_info->buflen = maplen;
buflen            161 tools/testing/selftests/android/ion/ionutils.c 	map_len = ion_info->buflen;
buflen            179 tools/testing/selftests/android/ion/ionutils.c 	ion_info->buflen = map_len;
buflen            195 tools/testing/selftests/android/ion/ionutils.c 		munmap(ion_info->buffer, ion_info->buflen);
buflen             15 tools/testing/selftests/android/ion/ionutils.h 	unsigned long buflen;
buflen             24 tools/testing/selftests/android/ion/ionutils.h 	unsigned long buflen;
buflen             82 tools/testing/selftests/filesystems/devpts_pts.c static int resolve_procfd_symlink(int fd, char *buf, size_t buflen)
buflen             91 tools/testing/selftests/filesystems/devpts_pts.c 	ret = readlink(procfd, buf, buflen);
buflen             92 tools/testing/selftests/filesystems/devpts_pts.c 	if (ret < 0 || (size_t)ret >= buflen)
buflen            104 tools/testing/selftests/net/nettest.c static char *timestamp(char *timebuf, int buflen)
buflen            109 tools/testing/selftests/net/nettest.c 	if (strftime(timebuf, buflen, "%T", localtime(&now)) == 0) {
buflen            110 tools/testing/selftests/net/nettest.c 		memset(timebuf, 0, buflen);
buflen            111 tools/testing/selftests/net/nettest.c 		strncpy(timebuf, "00:00:00", buflen-1);
buflen            300 tools/testing/selftests/rseq/param_test.c 	intptr_t buflen;
buflen            317 tools/testing/selftests/rseq/param_test.c 	intptr_t buflen;
buflen            701 tools/testing/selftests/rseq/param_test.c 		if (offset == buffer->c[cpu].buflen)
buflen            830 tools/testing/selftests/rseq/param_test.c 		buffer.c[i].buflen = CPU_SETSIZE * BUFFER_ITEM_PER_CPU;
buflen            907 tools/testing/selftests/rseq/param_test.c 		if (offset == buffer->c[cpu].buflen)
buflen           1045 tools/testing/selftests/rseq/param_test.c 		buffer.c[i].buflen = CPU_SETSIZE * MEMCPY_BUFFER_ITEM_PER_CPU;
buflen            154 tools/testing/vsock/control.c 	size_t buflen = 0;
buflen            161 tools/testing/vsock/control.c 		if (idx >= buflen) {
buflen            164 tools/testing/vsock/control.c 			new_buf = realloc(buf, buflen + 80);
buflen            171 tools/testing/vsock/control.c 			buflen += 80;
buflen            161 tools/virtio/linux/scatterlist.h 			      unsigned int buflen)
buflen            163 tools/virtio/linux/scatterlist.h 	sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf));
buflen            167 tools/virtio/linux/scatterlist.h 			       const void *buf, unsigned int buflen)
buflen            170 tools/virtio/linux/scatterlist.h 	sg_set_buf(sg, buf, buflen);