| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_late_bind_fw.c | 62 size_t min_size = sizeof(*header); in parse_cpd_header() local 69 if (size < min_size || header->header_marker != GSC_CPD_HEADER_MARKER) in parse_cpd_header() 78 min_size = header->header_length + sizeof(struct gsc_cpd_entry) * header->num_of_entries; in parse_cpd_header() 79 if (size < min_size) { in parse_cpd_header() 81 fw_id_to_name[lb_fw->id], size, min_size); in parse_cpd_header() 97 min_size = offset + sizeof(struct gsc_manifest_header); in parse_cpd_header() 98 if (size < min_size) { in parse_cpd_header() 100 fw_id_to_name[lb_fw->id], size, min_size); in parse_cpd_header() 118 size_t min_size = sizeof(*header); in parse_lb_layout() local 125 if (size < min_size || header->header_marker != CSC_FPT_HEADER_MARKER) in parse_lb_layout() [all …]
|
| /linux/include/media/ |
| H A 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/arch/x86/include/asm/ |
| H A 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/drivers/gpu/drm/i915/gt/uc/ |
| H A 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/arch/powerpc/kernel/ |
| H A 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/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
| H A D | devlink_resources.sh | 71 local min_size 85 min_size=$(devlink_resource_get kvd "$j" | \ 87 size=$((size - min_size))
|
| /linux/drivers/tee/optee/ |
| H A D | protmem.c | 208 size_t *min_size, u_int *pa_width, in get_protmem_config() argument 268 *min_size = params[0].u.value.a; in get_protmem_config() 293 size_t min_size; in optee_protmem_alloc_dyn_pool() local 302 rc = get_protmem_config(optee, id, &min_size, &pa_width, NULL, in optee_protmem_alloc_dyn_pool() 313 rc = get_protmem_config(optee, id, &min_size, &pa_width, in optee_protmem_alloc_dyn_pool() 325 rp->page_count = min_size / PAGE_SIZE; in optee_protmem_alloc_dyn_pool()
|
| /linux/drivers/mmc/core/ |
| H A 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/arch/powerpc/include/asm/ |
| H A D | nvram.h | 28 int min_size; /* minimum acceptable size (0 means req_size) */ member 64 int req_size, int min_size);
|
| /linux/arch/mips/txx9/generic/ |
| H A 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/drivers/net/ethernet/chelsio/cxgb4/ |
| H A 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/fs/jfs/ |
| H A D | xattr.c | 426 static int ea_get(struct inode *inode, struct ea_buffer *ea_buf, int min_size) in ea_get() argument 444 if (min_size == 0) { in ea_get() 450 if ((min_size <= sizeof (ji->i_inline_ea)) && in ea_get() 458 DXDsize(&ea_buf->new_ea, min_size); in ea_get() 463 if (min_size <= sizeof (ji->i_inline_ea)) { in ea_get() 478 size = max(min_size, ea_size); in ea_get() 505 blocks_needed = (min_size + sb->s_blocksize - 1) >> in ea_get() 524 DXDsize(&ea_buf->new_ea, min_size); in ea_get() 537 ea_buf->max_size = (min_size + sb->s_blocksize - 1) & in ea_get()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_drv.h | 21 int pvr_get_uobj(u64 usr_ptr, u32 usr_size, u32 min_size, u32 obj_size, void *out); 22 int pvr_set_uobj(u64 usr_ptr, u32 usr_size, u32 min_size, u32 obj_size, const void *in);
|
| /linux/kernel/bpf/ |
| H A D | check_btf.c | 37 u32 i, nfuncs, urec_size, min_size; in prepare_btf_func() local 64 min_size = min_t(u32, krec_size, urec_size); in prepare_btf_func() 80 &min_size, sizeof(min_size))) in prepare_btf_func() 86 if (copy_from_bpfptr(&krecord[i], urecord, min_size)) { in prepare_btf_func()
|
| /linux/include/linux/ |
| H A D | wmi.h | 67 const struct wmi_buffer *in, struct wmi_buffer *out, size_t min_size); 73 size_t min_size);
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gem_framebuffer_helper.c | 177 unsigned int min_size; in drm_gem_fb_init_with_funcs() local 186 min_size = (height - 1) * mode_cmd->pitches[i] in drm_gem_fb_init_with_funcs() 190 if (objs[i]->size < min_size) { in drm_gem_fb_init_with_funcs() 193 objs[i]->size, min_size, i); in drm_gem_fb_init_with_funcs()
|
| /linux/lib/ |
| H A D | rhashtable.c | 414 if (size < ht->p.min_size) in rhashtable_shrink() 415 size = ht->p.min_size; in rhashtable_shrink() 1110 (unsigned long)params->min_size); in rounded_hashtable_size() 1113 (unsigned long)params->min_size); in rounded_hashtable_size() 1183 if (params->min_size) in __rhashtable_init_noprof() 1184 ht->p.min_size = roundup_pow_of_two(params->min_size); in __rhashtable_init_noprof() 1195 ht->p.min_size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); in __rhashtable_init_noprof() 1216 size = max_t(u16, ht->p.min_size, HASH_MIN_SIZE); in __rhashtable_init_noprof()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_main.c | 439 u32 min_size, cpp_id; in nfp_net_pci_map_mem() local 443 min_size = pf->max_data_vnics * NFP_PF_CSR_SLICE_SIZE; in nfp_net_pci_map_mem() 445 min_size, &pf->data_vnic_bar); in nfp_net_pci_map_mem() 452 min_size = NFP_MAC_STATS_SIZE * (pf->eth_tbl->max_index + 1); in nfp_net_pci_map_mem() 454 "net.macstats", min_size, in nfp_net_pci_map_mem() 476 min_size = NFP_NET_VF_CFG_SZ * pf->limit_vfs + NFP_NET_VF_CFG_MB_SZ; in nfp_net_pci_map_mem() 479 min_size, &pf->vfcfg_tbl2_area); in nfp_net_pci_map_mem()
|
| /linux/tools/perf/scripts/python/ |
| H A D | parallel-perf.py | 490 def SplitTimeRangesByTraceDataDensity(time_ranges, cpus, nr, cmd, file_name, per_cpu, min_size, min… argument 523 if min_size < 1: 524 min_size = 1 526 if mx < min_size: 536 min_size = 1 541 if interval < min_size: 542 interval = min_size 546 print("min_size", min_size) 774 self.min_size, self.min_interval, self.verbosity)
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_fb.c | 181 unsigned int min_size; in msm_framebuffer_init() local 183 min_size = (height - 1) * mode_cmd->pitches[i] in msm_framebuffer_init() 187 if (bos[i]->size < min_size) { in msm_framebuffer_init()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_bios.c | 167 size_t min_size; member 170 .min_size = sizeof(struct bdb_general_features), }, 172 .min_size = sizeof(struct bdb_general_definitions), }, 174 .min_size = sizeof(struct bdb_psr), }, 176 .min_size = sizeof(struct bdb_driver_features), }, 178 .min_size = sizeof(struct bdb_sdvo_lvds_options), }, 180 .min_size = sizeof(struct bdb_sdvo_lvds_dtd), }, 182 .min_size = sizeof(struct bdb_edp), }, 184 .min_size = sizeof(struct bdb_lfp_options), }, 190 .min_size = sizeof(struct bdb_lfp_data_ptrs), }, [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A 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()
|
| H A D | i915_gem_evict.h | 18 u64 min_size, u64 alignment,
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-m2m.c | 431 u32 min_size, halign, depth = 0; in fimc_m2m_try_selection() local 451 min_size = (f == &ctx->s_frame) ? in fimc_m2m_try_selection() 463 v4l_bound_align_image(&s->r.width, min_size, f->o_width, in fimc_m2m_try_selection() 464 ffs(min_size) - 1, in fimc_m2m_try_selection() 465 &s->r.height, min_size, f->o_height, in fimc_m2m_try_selection() 474 s->r.left = round_down(s->r.left, min_size); in fimc_m2m_try_selection()
|
| /linux/include/uapi/linux/ |
| H A D | atmbr2684.h | 92 int min_size; /* we will pad smaller packets than this */ member
|