Searched refs:buflen (Results 1 – 4 of 4) 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 | 109 compat_uint_t buflen; member 160 copy_in_user(&cgc->buflen, &cgc32->buflen, in compat_cdrom_generic_command()
|
D | scsi_ioctl.c | 621 hdr.dxfer_len = cgc.buflen; in scsi_cmd_ioctl() 658 cgc.buflen = hdr.resid; in scsi_cmd_ioctl()
|
D | sed-opal.c | 340 size_t buflen = IO_BUFFER_LENGTH; in opal_recv_check() local 354 memset(buffer, 0, buflen); in opal_recv_check()
|