/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
D | intel_gsc_fw.c | 83 size_t min_size = sizeof(*layout); in intel_gsc_fw_get_binary_info() local 86 if (size < min_size) { in intel_gsc_fw_get_binary_info() 87 gt_err(gt, "GSC FW too small! %zu < %zu\n", size, min_size); in intel_gsc_fw_get_binary_info() 141 min_size = layout->boot1.offset + layout->boot1.size; in intel_gsc_fw_get_binary_info() 142 if (size < min_size) { in intel_gsc_fw_get_binary_info() 144 size, min_size); in intel_gsc_fw_get_binary_info() 148 min_size = sizeof(*bpdt_header); in intel_gsc_fw_get_binary_info() 149 if (layout->boot1.size < min_size) { in intel_gsc_fw_get_binary_info() 151 layout->boot1.size, min_size); in intel_gsc_fw_get_binary_info() 162 min_size += sizeof(*bpdt_entry) * bpdt_header->descriptor_count; in intel_gsc_fw_get_binary_info() [all …]
|
D | intel_huc_fw.c | 135 size_t min_size = sizeof(*header); in intel_huc_fw_get_binary_info() local 144 huc_err(huc, "FW too small! %zu < %zu\n", size, min_size); in intel_huc_fw_get_binary_info() 210 min_size = header->header_length + sizeof(*entry) * header->num_of_entries; in intel_huc_fw_get_binary_info() 211 if (size < min_size) { in intel_huc_fw_get_binary_info() 212 huc_err(huc, "FW too small! %zu < %zu\n", size, min_size); in intel_huc_fw_get_binary_info()
|
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_framebuffer.c | 47 u64 min_size; in komeda_fb_afbc_size_check() local 95 min_size = kfb->afbc_size + fb->offsets[0]; in komeda_fb_afbc_size_check() 96 if (min_size > obj->size) { in komeda_fb_afbc_size_check() 98 obj->size, min_size); in komeda_fb_afbc_size_check() 119 u64 min_size; in komeda_fb_none_afbc_size_check() local 139 min_size = komeda_fb_get_pixel_addr(kfb, 0, fb->height, i) in komeda_fb_none_afbc_size_check() 141 if (obj->size < min_size) { in komeda_fb_none_afbc_size_check() 143 i, obj->size, min_size); in komeda_fb_none_afbc_size_check()
|
/linux-6.6.21/include/media/ |
D | v4l2-rect.h | 31 const struct v4l2_rect *min_size) in v4l2_rect_set_min_size() argument 33 if (r->width < min_size->width) in v4l2_rect_set_min_size() 34 r->width = min_size->width; in v4l2_rect_set_min_size() 35 if (r->height < min_size->height) in v4l2_rect_set_min_size() 36 r->height = min_size->height; in v4l2_rect_set_min_size()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | gart.h | 91 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument 104 if (aper_size < min_size) { in aperture_valid() 106 aper_size>>20, min_size>>20); in aperture_valid()
|
/linux-6.6.21/arch/x86/mm/ |
D | numa_emulation.c | 224 u64 min_size; in split_nodes_size_interleave_uniform() local 248 min_size = uniform_size(max_addr, addr, 0, nr_nodes); in split_nodes_size_interleave_uniform() 249 size = min_size; in split_nodes_size_interleave_uniform() 258 min_size = uniform_size(max_addr, addr, in split_nodes_size_interleave_uniform() 261 min_size = ALIGN(max(min_size, FAKE_NODE_MIN_SIZE), FAKE_NODE_MIN_SIZE); in split_nodes_size_interleave_uniform() 262 if (size < min_size) { in split_nodes_size_interleave_uniform() 264 size >> 20, min_size >> 20); in split_nodes_size_interleave_uniform() 265 size = min_size; in split_nodes_size_interleave_uniform()
|
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
D | devlink_resources.sh | 71 local min_size 85 min_size=$(devlink_resource_get kvd "$j" | \ 87 size=$((size - min_size))
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | nvram_64.c | 53 .min_size = 1055, 62 .min_size = 2000, 283 if (p && size < part->min_size) { in nvram_init_os_partition() 293 part->req_size, part->min_size); in nvram_init_os_partition() 301 part->req_size, part->min_size); in nvram_init_os_partition() 844 int req_size, int min_size) in nvram_create_partition() argument 858 min_size = ALIGN(min_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition() 863 if (min_size == 0) in nvram_create_partition() 864 min_size = req_size; in nvram_create_partition() 865 if (min_size > req_size) in nvram_create_partition() [all …]
|
/linux-6.6.21/drivers/mmc/core/ |
D | sdio_cis.c | 116 unsigned char min_size; member 134 if (size >= tpl->min_size) { in cis_tpl_parse() 176 unsigned min_size; in cistpl_funce_func() local 187 min_size = (vsn == SDIO_SDIO_REV_1_00) ? 28 : 42; in cistpl_funce_func() 193 } else if (size < min_size) { in cistpl_funce_func()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | nvram.h | 28 int min_size; /* minimum acceptable size (0 means req_size) */ member 64 int req_size, int min_size);
|
/linux-6.6.21/arch/mips/txx9/generic/ |
D | pci.c | 120 int min_size = 0x10000; in txx9_alloc_pci_controller() local 159 for (; mem_size >= min_size; mem_size /= 2) { in txx9_alloc_pci_controller() 166 if (mem_size < min_size) in txx9_alloc_pci_controller() 181 for (; io_size >= min_size; io_size /= 2) { in txx9_alloc_pci_controller() 188 if (io_size < min_size) in txx9_alloc_pci_controller()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_cudbg.c | 167 u32 size, min_size, total_size = 0; in cxgb4_cudbg_collect() local 192 min_size = sizeof(struct cudbg_hdr) + in cxgb4_cudbg_collect() 195 if (size < min_size) in cxgb4_cudbg_collect() 216 dbg_buff.offset += min_size; in cxgb4_cudbg_collect()
|
/linux-6.6.21/fs/jfs/ |
D | xattr.c | 426 static int ea_get(struct inode *inode, struct ea_buffer *ea_buf, int min_size) in ea_get() argument 442 if (min_size == 0) { in ea_get() 448 if ((min_size <= sizeof (ji->i_inline_ea)) && in ea_get() 456 DXDsize(&ea_buf->new_ea, min_size); in ea_get() 461 if (min_size <= sizeof (ji->i_inline_ea)) { in ea_get() 476 size = max(min_size, ea_size); in ea_get() 503 blocks_needed = (min_size + sb->s_blocksize - 1) >> in ea_get() 522 DXDsize(&ea_buf->new_ea, min_size); in ea_get() 535 ea_buf->max_size = (min_size + sb->s_blocksize - 1) & in ea_get()
|
/linux-6.6.21/lib/ |
D | rhashtable.c | 398 if (size < ht->p.min_size) in rhashtable_shrink() 399 size = ht->p.min_size; in rhashtable_shrink() 964 (unsigned long)params->min_size); in rounded_hashtable_size() 967 (unsigned long)params->min_size); in rounded_hashtable_size() 1034 if (params->min_size) in rhashtable_init() 1035 ht->p.min_size = roundup_pow_of_two(params->min_size); in rhashtable_init() 1046 ht->p.min_size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); in rhashtable_init() 1067 size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); in rhashtable_init()
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_gem_framebuffer_helper.c | 179 unsigned int min_size; in drm_gem_fb_init_with_funcs() local 188 min_size = (height - 1) * mode_cmd->pitches[i] in drm_gem_fb_init_with_funcs() 192 if (objs[i]->size < min_size) { in drm_gem_fb_init_with_funcs() 195 objs[i]->size, min_size, i); in drm_gem_fb_init_with_funcs()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_bios.c | 159 size_t min_size; member 162 .min_size = sizeof(struct bdb_general_features), }, 164 .min_size = sizeof(struct bdb_general_definitions), }, 166 .min_size = sizeof(struct bdb_psr), }, 168 .min_size = sizeof(struct bdb_driver_features), }, 170 .min_size = sizeof(struct bdb_sdvo_lvds_options), }, 172 .min_size = sizeof(struct bdb_sdvo_panel_dtds), }, 174 .min_size = sizeof(struct bdb_edp), }, 176 .min_size = sizeof(struct bdb_lvds_options), }, 182 .min_size = sizeof(struct bdb_lvds_lfp_data_ptrs), }, [all …]
|
/linux-6.6.21/include/rdma/ |
D | uverbs_ioctl.h | 824 size_t min_size; in _uverbs_copy_from_or_zero() local 829 min_size = min_t(size_t, size, attr->ptr_attr.len); in _uverbs_copy_from_or_zero() 832 memcpy(to, &attr->ptr_attr.data, min_size); in _uverbs_copy_from_or_zero() 834 min_size)) in _uverbs_copy_from_or_zero() 837 if (size > min_size) in _uverbs_copy_from_or_zero() 838 memset(to + min_size, 0, size - min_size); in _uverbs_copy_from_or_zero()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_main.c | 440 u32 min_size, cpp_id; in nfp_net_pci_map_mem() local 444 min_size = pf->max_data_vnics * NFP_PF_CSR_SLICE_SIZE; in nfp_net_pci_map_mem() 446 min_size, &pf->data_vnic_bar); in nfp_net_pci_map_mem() 453 min_size = NFP_MAC_STATS_SIZE * (pf->eth_tbl->max_index + 1); in nfp_net_pci_map_mem() 455 "net.macstats", min_size, in nfp_net_pci_map_mem() 477 min_size = NFP_NET_VF_CFG_SZ * pf->limit_vfs + NFP_NET_VF_CFG_MB_SZ; in nfp_net_pci_map_mem() 480 min_size, &pf->vfcfg_tbl2_area); in nfp_net_pci_map_mem()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pci-xgene.c | 371 u32 min_size; in xgene_pcie_setup_ob_reg() local 375 min_size = SZ_128M; in xgene_pcie_setup_ob_reg() 377 min_size = 128; in xgene_pcie_setup_ob_reg() 381 if (size >= min_size) in xgene_pcie_setup_ob_reg() 385 (u64)size, min_size); in xgene_pcie_setup_ob_reg()
|
/linux-6.6.21/drivers/gpu/drm/msm/ |
D | msm_fb.c | 211 unsigned int min_size; in msm_framebuffer_init() local 213 min_size = (height - 1) * mode_cmd->pitches[i] in msm_framebuffer_init() 217 if (bos[i]->size < min_size) { in msm_framebuffer_init()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_gem_evict.c | 150 u64 min_size, u64 alignment, in i915_gem_evict_something() argument 165 trace_i915_gem_evict(vm, min_size, alignment, flags); in i915_gem_evict_something() 184 min_size, alignment, color, in i915_gem_evict_something()
|
D | i915_gem_evict.h | 18 u64 min_size, u64 alignment,
|
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-m2m.c | 432 u32 min_size, halign, depth = 0; in fimc_m2m_try_selection() local 452 min_size = (f == &ctx->s_frame) ? in fimc_m2m_try_selection() 464 v4l_bound_align_image(&s->r.width, min_size, f->o_width, in fimc_m2m_try_selection() 465 ffs(min_size) - 1, in fimc_m2m_try_selection() 466 &s->r.height, min_size, f->o_height, in fimc_m2m_try_selection() 475 s->r.left = round_down(s->r.left, min_size); in fimc_m2m_try_selection()
|
/linux-6.6.21/drivers/bluetooth/ |
D | btrtl.c | 623 size_t min_size; in rtlbt_parse_firmware() local 654 min_size = sizeof(struct rtl_epatch_header) + in rtlbt_parse_firmware() 657 min_size = sizeof(struct rtl_epatch_header_v2) + in rtlbt_parse_firmware() 662 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware() 746 min_size += 8 * num_patches; in rtlbt_parse_firmware() 747 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware() 772 min_size = patch_offset + patch_length; in rtlbt_parse_firmware() 773 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware()
|
/linux-6.6.21/include/uapi/linux/ |
D | atmbr2684.h | 92 int min_size; /* we will pad smaller packets than this */ member
|