Home
last modified time | relevance | path

Searched refs:check_size (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/pci/
H A Dvpd.c99 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() 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()
418 bool check_size) in __pci_read_vpd() argument
427 ret = pci_vpd_read(dev, pos, count, buf, check_size); in __pci_read_vpd()
[all …]
/openbmc/phosphor-debug-collector/tools/dreport.d/include.d/
H A Dfunctions21 if check_size "$name_dir/$file_name"; then
43 if check_size "$name_dir/$(basename "$file_name")"; then
66 if check_size "$name_dir/$(basename "$file_name")"; then
82 function check_size() function
/openbmc/linux/fs/pstore/
H A Dblk.c75 #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 Dzone.c1318 #define check_size(name, size) { \ in register_pstore_zone() macro
1330 check_size(total_size, 4096); in register_pstore_zone()
1331 check_size(kmsg_size, SECTOR_SIZE); in register_pstore_zone()
1332 check_size(pmsg_size, SECTOR_SIZE); in register_pstore_zone()
1333 check_size(console_size, SECTOR_SIZE); in register_pstore_zone()
1334 check_size(ftrace_size, SECTOR_SIZE); in register_pstore_zone()
1336 #undef check_size in register_pstore_zone()
/openbmc/qemu/scripts/
H A Dvmstate-static-checker.py283 check_size(s_item, d_item, sec, desc, s_item["field"])
362 def check_size(s, d, sec, desc=None, field=None): function
/openbmc/linux/sound/core/oss/
H A Dpcm_plugin.c205 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()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_color.c2892 int check_size, int precision) in intel_lut_equal() argument
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 = 9; in icl_lut_equal()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch811 - off64_t check_size;
813 + off_t check_size;
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch5047 +static int check_size(AVCodecContext * const avctx, V4L2m2mContext * const s)
5094 + (ret = check_size(s->avctx, s)) != 0)
6258 +check_size(AVCodecContext * const avctx, V4L2m2mContext * const s, const uint32_t fcc)
6487 + if (check_size(avctx, s, fmts[i]) != 0)