/kernel/linux/linux-6.6/drivers/pci/ |
H A D | vpd.c | 99 static bool pci_vpd_available(struct pci_dev *dev, bool check_size) in pci_vpd_available() argument 106 if (vpd->len == 0 && check_size) { in pci_vpd_available() 156 void *arg, bool check_size) in pci_vpd_read() 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() 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() 418 bool check_size) in __pci_read_vpd() 427 ret = pci_vpd_read(dev, pos, count, buf, check_size); in __pci_read_vpd() 155 pci_vpd_read(struct pci_dev *dev, loff_t pos, size_t count, void *arg, bool check_size) pci_vpd_read() argument 219 pci_vpd_write(struct pci_dev *dev, loff_t pos, size_t count, const void *arg, bool check_size) pci_vpd_write() argument 417 __pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf, bool check_size) __pci_read_vpd() argument 455 __pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void *buf, bool check_size) __pci_write_vpd() argument [all...] |
/kernel/linux/linux-6.6/fs/pstore/ |
H 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()
|
H 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() macro
|
/kernel/linux/linux-5.10/fs/pstore/ |
H A D | blk.c | 110 #define check_size(name, alignsize) ({ \ macro 145 _##name_ = check_size(name, alignsize); \ in __register_pstore_device() 485 info->kmsg_size = check_size(kmsg_size, 4096); in pstore_blk_get_config() 486 info->pmsg_size = check_size(pmsg_size, 4096); in pstore_blk_get_config() 487 info->ftrace_size = check_size(ftrace_size, 4096); in pstore_blk_get_config() 488 info->console_size = check_size(console_size, 4096); in pstore_blk_get_config() 489 info->blackbox_size = check_size(blackbox_size, 4096); in pstore_blk_get_config()
|
H A D | zone.c | 1346 #define check_size(name, size) { \ in register_pstore_zone() macro 1358 check_size(total_size, 4096); in register_pstore_zone() 1359 check_size(kmsg_size, SECTOR_SIZE); in register_pstore_zone() 1360 check_size(pmsg_size, SECTOR_SIZE); in register_pstore_zone() 1361 check_size(console_size, SECTOR_SIZE); in register_pstore_zone() 1362 check_size(ftrace_size, SECTOR_SIZE); in register_pstore_zone() 1363 check_size(blackbox_size, SECTOR_SIZE); in register_pstore_zone() 1365 #undef check_size in register_pstore_zone() macro
|
/kernel/linux/linux-5.10/sound/core/oss/ |
H A D | pcm_plugin.c | 204 bool check_size) in calc_dst_frames() 211 if (check_size && plugin->buf_frames && in calc_dst_frames() 226 bool check_size) in calc_src_frames() 238 if (check_size && plugin->buf_frames && in calc_src_frames() 202 calc_dst_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) calc_dst_frames() argument 224 calc_src_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) calc_src_frames() argument
|
/kernel/linux/linux-6.6/sound/core/oss/ |
H A D | pcm_plugin.c | 205 bool check_size) in calc_dst_frames() 212 if (check_size && plugin->buf_frames && in calc_dst_frames() 227 bool check_size) in calc_src_frames() 239 if (check_size && plugin->buf_frames && in calc_src_frames() 203 calc_dst_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) calc_dst_frames() argument 225 calc_src_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) calc_src_frames() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_color.c | 2892 int check_size, int precision) in intel_lut_equal() 2913 if (check_size > lut_size1) in intel_lut_equal() 2921 if (!check_size) in intel_lut_equal() 2922 check_size = lut_size1; in intel_lut_equal() 2924 return intel_lut_entries_equal(lut1, lut2, check_size, err); in intel_lut_equal() 2932 int check_size = 0; in i9xx_lut_equal() local 2940 check_size = 128; in i9xx_lut_equal() 2942 return intel_lut_equal(blob1, blob2, check_size, in i9xx_lut_equal() 3016 int check_size = 0; in icl_lut_equal() local 3025 check_size in icl_lut_equal() 2890 intel_lut_equal(const struct drm_property_blob *blob1, const struct drm_property_blob *blob2, int check_size, int precision) intel_lut_equal() argument [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | fsl_pamu_domain.c | 275 static int check_size(u64 size, dma_addr_t iova) in check_size() function 566 ret = check_size(size, domain->geometry.aperture_start); in fsl_pamu_window_enable() 727 if (check_size(geom_size, geom_attr->aperture_start) || in configure_domain_geometry()
|