Searched refs:buflen (Results 1 – 3 of 3) sorted by relevance
/block/partitions/ |
D | ldm.c | 635 static int ldm_relative(const u8 *buffer, int buflen, int base, int offset) in ldm_relative() argument 639 if (!buffer || offset < 0 || base > buflen) { in ldm_relative() 644 if (base > buflen) in ldm_relative() 645 ldm_error("base (%d) > buflen (%d)", base, buflen); in ldm_relative() 648 if (base + buffer[base] >= buflen) { in ldm_relative() 650 buffer[base], buflen); in ldm_relative() 706 static int ldm_get_vstr (const u8 *block, u8 *buffer, int buflen) in ldm_get_vstr() argument 713 if (length >= buflen) { in ldm_get_vstr() 714 ldm_error ("Truncating string %d -> %d.", length, buflen); in ldm_get_vstr() 715 length = buflen - 1; in ldm_get_vstr() [all …]
|
/block/ |
D | compat_ioctl.c | 111 compat_uint_t buflen; member 162 copy_in_user(&cgc->buflen, &cgc32->buflen, in compat_cdrom_generic_command()
|
D | scsi_ioctl.c | 623 hdr.dxfer_len = cgc.buflen; in scsi_cmd_ioctl() 660 cgc.buflen = hdr.resid; in scsi_cmd_ioctl()
|