Home
last modified time | relevance | path

Searched refs:min_size (Results 1 – 25 of 92) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c47 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()
/kernel/linux/linux-5.10/include/media/
Dv4l2-rect.h31 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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dgart.h92 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument
105 if (aper_size < min_size) { in aperture_valid()
107 aper_size>>20, min_size>>20); in aperture_valid()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Ddevlink_resources.sh71 local min_size
85 min_size=$(devlink_resource_get kvd "$j" | \
87 size=$((size - min_size))
/kernel/linux/linux-5.10/arch/x86/mm/
Dnuma_emulation.c224 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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dnvram_64.c53 .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()
842 int req_size, int min_size) in nvram_create_partition() argument
856 min_size = ALIGN(min_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition()
861 if (min_size == 0) in nvram_create_partition()
862 min_size = req_size; in nvram_create_partition()
863 if (min_size > req_size) in nvram_create_partition()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio_cis.c116 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()
/kernel/linux/linux-5.10/arch/mips/txx9/generic/
Dpci.c119 int min_size = 0x10000; in txx9_alloc_pci_controller() local
158 for (; mem_size >= min_size; mem_size /= 2) { in txx9_alloc_pci_controller()
165 if (mem_size < min_size) in txx9_alloc_pci_controller()
180 for (; io_size >= min_size; io_size /= 2) { in txx9_alloc_pci_controller()
187 if (io_size < min_size) in txx9_alloc_pci_controller()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dnvram.h28 int min_size; /* minimum acceptable size (0 means req_size) */ member
64 int req_size, int min_size);
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_cudbg.c168 u32 size, min_size, total_size = 0; in cxgb4_cudbg_collect() local
193 min_size = sizeof(struct cudbg_hdr) + in cxgb4_cudbg_collect()
196 if (size < min_size) in cxgb4_cudbg_collect()
217 dbg_buff.offset += min_size; in cxgb4_cudbg_collect()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtrtl.c258 size_t min_size; in rtlbt_parse_firmware() local
280 min_size = sizeof(struct rtl_epatch_header) + sizeof(extension_sig) + 3; in rtlbt_parse_firmware()
281 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware()
359 min_size += 8 * num_patches; in rtlbt_parse_firmware()
360 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware()
385 min_size = patch_offset + patch_length; in rtlbt_parse_firmware()
386 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware()
/kernel/linux/linux-5.10/fs/jfs/
Dxattr.c426 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gem_evict.c89 u64 min_size, u64 alignment, in i915_gem_evict_something() argument
103 trace_i915_gem_evict(vm, min_size, alignment, flags); in i915_gem_evict_something()
122 min_size, alignment, color, in i915_gem_evict_something()
/kernel/linux/linux-5.10/include/rdma/
Duverbs_ioctl.h813 size_t min_size; in _uverbs_copy_from_or_zero() local
818 min_size = min_t(size_t, size, attr->ptr_attr.len); in _uverbs_copy_from_or_zero()
821 memcpy(to, &attr->ptr_attr.data, min_size); in _uverbs_copy_from_or_zero()
823 min_size)) in _uverbs_copy_from_or_zero()
826 if (size > min_size) in _uverbs_copy_from_or_zero()
827 memset(to + min_size, 0, size - min_size); in _uverbs_copy_from_or_zero()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c448 u32 min_size, cpp_id; in nfp_net_pci_map_mem() local
452 min_size = pf->max_data_vnics * NFP_PF_CSR_SLICE_SIZE; in nfp_net_pci_map_mem()
454 min_size, &pf->data_vnic_bar); in nfp_net_pci_map_mem()
461 min_size = NFP_MAC_STATS_SIZE * (pf->eth_tbl->max_index + 1); in nfp_net_pci_map_mem()
463 "net.macstats", min_size, in nfp_net_pci_map_mem()
485 min_size = NFP_NET_VF_CFG_SZ * pf->limit_vfs + NFP_NET_VF_CFG_MB_SZ; in nfp_net_pci_map_mem()
488 min_size, &pf->vfcfg_tbl2_area); in nfp_net_pci_map_mem()
/kernel/linux/linux-5.10/lib/
Drhashtable.c395 if (size < ht->p.min_size) in rhashtable_shrink()
396 size = ht->p.min_size; in rhashtable_shrink()
960 (unsigned long)params->min_size); in rounded_hashtable_size()
963 (unsigned long)params->min_size); in rounded_hashtable_size()
1030 if (params->min_size) in rhashtable_init()
1031 ht->p.min_size = roundup_pow_of_two(params->min_size); in rhashtable_init()
1042 ht->p.min_size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); in rhashtable_init()
1063 size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); in rhashtable_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_fb.c174 unsigned int min_size; in msm_framebuffer_init() local
176 min_size = (height - 1) * mode_cmd->pitches[i] in msm_framebuffer_init()
180 if (bos[i]->size < min_size) { in msm_framebuffer_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_framebuffer_helper.c164 unsigned int min_size; in drm_gem_fb_init_with_funcs() local
173 min_size = (height - 1) * mode_cmd->pitches[i] in drm_gem_fb_init_with_funcs()
177 if (objs[i]->size < min_size) { in drm_gem_fb_init_with_funcs()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-xgene.c375 u32 min_size; in xgene_pcie_setup_ob_reg() local
379 min_size = SZ_128M; in xgene_pcie_setup_ob_reg()
381 min_size = 128; in xgene_pcie_setup_ob_reg()
385 if (size >= min_size) in xgene_pcie_setup_ob_reg()
389 (u64)size, min_size); in xgene_pcie_setup_ob_reg()
/kernel/liteos_a/fs/proc/os_adapt/
Dproc_vfs.c230 unsigned int min_size; in VfsProcfsReaddir() local
256 min_size = (dst_name_size < NAME_MAX) ? dst_name_size : NAME_MAX; in VfsProcfsReaddir()
257 result = strncpy_s(dir->fd_dir[i].d_name, dst_name_size, buffer, min_size); in VfsProcfsReaddir()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-m2m.c432 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()
/kernel/linux/linux-5.10/drivers/pci/
Dsetup-bus.c790 resource_size_t min_size, in calculate_iosize() argument
797 if (size < min_size) in calculate_iosize()
798 size = min_size; in calculate_iosize()
817 resource_size_t min_size, in calculate_memsize() argument
823 if (size < min_size) in calculate_memsize()
824 size = min_size; in calculate_memsize()
878 static void pbus_size_io(struct pci_bus *bus, resource_size_t min_size, in pbus_size_io() argument
923 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io()
926 calculate_iosize(size, min_size, size1, add_size, children_add_size, in pbus_size_io()
991 unsigned long type3, resource_size_t min_size, in pbus_size_mem() argument
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Datmbr2684.h67 int min_size; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Datmbr2684.h55 int min_size; member
/kernel/linux/linux-5.10/include/uapi/linux/
Datmbr2684.h92 int min_size; /* we will pad smaller packets than this */ member

1234