check_size
int check_size, int precision)
if (check_size > lut_size1)
if (!check_size)
check_size = lut_size1;
return intel_lut_entries_equal(lut1, lut2, check_size, err);
int check_size = 0;
check_size = 128;
return intel_lut_equal(blob1, blob2, check_size,
int check_size = 0;
check_size = 9;
return intel_lut_equal(blob1, blob2, check_size,
if (vpd->len == 0 && check_size) {
void *arg, bool check_size)
if (!pci_vpd_available(dev, check_size))
max_len = check_size ? vpd->len : PCI_VPD_MAX_SIZE;
const void *arg, bool check_size)
if (!pci_vpd_available(dev, check_size))
max_len = check_size ? vpd->len : PCI_VPD_MAX_SIZE;
bool check_size)
ret = pci_vpd_read(dev, pos, count, buf, check_size);
return pci_vpd_read(dev, pos, count, buf, check_size);
const void *buf, bool check_size)
ret = pci_vpd_write(dev, pos, count, buf, check_size);
return pci_vpd_write(dev, pos, count, buf, check_size);
static bool pci_vpd_available(struct pci_dev *dev, bool check_size)
info->kmsg_size = check_size(kmsg_size, 4096);
info->pmsg_size = check_size(pmsg_size, 4096);
info->ftrace_size = check_size(ftrace_size, 4096);
info->console_size = check_size(console_size, 4096);
_##name_ = check_size(name, alignsize); \
check_size(total_size, 4096);
check_size(kmsg_size, SECTOR_SIZE);
check_size(pmsg_size, SECTOR_SIZE);
check_size(console_size, SECTOR_SIZE);
check_size(ftrace_size, SECTOR_SIZE);
bool check_size)
if (check_size && plugin->buf_frames &&
bool check_size)
if (check_size && plugin->buf_frames &&