Lines Matching refs:IO_BUFFER_LENGTH
26 #define IO_BUFFER_LENGTH 2048 macro
354 dev->cmd, IO_BUFFER_LENGTH, in opal_send_cmd()
361 dev->resp, IO_BUFFER_LENGTH, in opal_recv_cmd()
367 size_t buflen = IO_BUFFER_LENGTH; in opal_recv_check()
471 if (hlen > IO_BUFFER_LENGTH - sizeof(*hdr)) { in opal_discovery0_end()
473 sizeof(*hdr), hlen, IO_BUFFER_LENGTH); in opal_discovery0_end()
554 memset(dev->resp, 0, IO_BUFFER_LENGTH); in opal_discovery0()
574 return IO_BUFFER_LENGTH - cmd->pos; in remaining_size()
757 if (cmd->pos >= IO_BUFFER_LENGTH) { in cmd_finalize()
916 slen > IO_BUFFER_LENGTH - sizeof(*hdr)) { in response_parse()
1051 error = response_parse(dev->resp, IO_BUFFER_LENGTH, &dev->parsed); in parse_and_check_status()
1063 memset(dev->cmd, 0, IO_BUFFER_LENGTH); in clear_opal_cmd()
2196 dev->cmd = kmalloc(IO_BUFFER_LENGTH, GFP_KERNEL); in init_opal_dev()
2200 dev->resp = kmalloc(IO_BUFFER_LENGTH, GFP_KERNEL); in init_opal_dev()