Searched refs:check_size (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/drivers/pci/ |
A D | vpd.c | 106 if (vpd->len == 0 && check_size) { in pci_vpd_available() 156 void *arg, bool check_size) in pci_vpd_read() argument 164 if (!pci_vpd_available(dev, check_size)) in pci_vpd_read() 170 max_len = check_size ? vpd->len : PCI_VPD_MAX_SIZE; in pci_vpd_read() 220 const void *arg, bool check_size) in pci_vpd_write() argument 228 if (!pci_vpd_available(dev, check_size)) in pci_vpd_write() 234 max_len = check_size ? vpd->len : PCI_VPD_MAX_SIZE; in pci_vpd_write() 388 bool check_size) in __pci_read_vpd() argument 397 ret = pci_vpd_read(dev, pos, count, buf, check_size); in __pci_read_vpd() 402 return pci_vpd_read(dev, pos, count, buf, check_size); in __pci_read_vpd() [all …]
|
/linux-6.3-rc2/fs/pstore/ |
A D | blk.c | 75 #define check_size(name, alignsize) ({ \ macro 89 _##name_ = check_size(name, alignsize); \ 246 info->kmsg_size = check_size(kmsg_size, 4096); in pstore_blk_get_config() 247 info->pmsg_size = check_size(pmsg_size, 4096); in pstore_blk_get_config() 248 info->ftrace_size = check_size(ftrace_size, 4096); in pstore_blk_get_config() 249 info->console_size = check_size(console_size, 4096); in pstore_blk_get_config()
|
A D | zone.c | 1316 #define check_size(name, size) { \ in register_pstore_zone() macro 1328 check_size(total_size, 4096); in register_pstore_zone() 1329 check_size(kmsg_size, SECTOR_SIZE); in register_pstore_zone() 1330 check_size(pmsg_size, SECTOR_SIZE); in register_pstore_zone() 1331 check_size(console_size, SECTOR_SIZE); in register_pstore_zone() 1332 check_size(ftrace_size, SECTOR_SIZE); in register_pstore_zone() 1334 #undef check_size in register_pstore_zone()
|
/linux-6.3-rc2/sound/core/oss/ |
A D | pcm_plugin.c | 205 bool check_size) in calc_dst_frames() argument 212 if (check_size && plugin->buf_frames && in calc_dst_frames() 227 bool check_size) in calc_src_frames() argument 239 if (check_size && plugin->buf_frames && in calc_src_frames()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_color.c | 2374 int check_size, int precision) in intel_lut_equal() argument 2395 if (check_size > lut_size1) in intel_lut_equal() 2403 if (!check_size) in intel_lut_equal() 2404 check_size = lut_size1; in intel_lut_equal() 2406 return intel_lut_entries_equal(lut1, lut2, check_size, err); in intel_lut_equal() 2414 int check_size = 0; in i9xx_lut_equal() local 2422 check_size = 128; in i9xx_lut_equal() 2424 return intel_lut_equal(blob1, blob2, check_size, in i9xx_lut_equal() 2498 int check_size = 0; in icl_lut_equal() local 2507 check_size = 9; in icl_lut_equal() [all …]
|
Completed in 18 milliseconds