/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 1595 * if (index >= array->map.max_entries) 1599 /* llgf %w1,map.max_entries(%b2) */ 1601 offsetof(struct bpf_array, map.max_entries));
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 352 * if (index >= array->map.max_entries) 359 off = offsetof(struct bpf_array, map.max_entries);
|
/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 432 /* if (index >= array->map.max_entries) 435 off = offsetof(struct bpf_array, map.max_entries);
|
/linux-master/kernel/bpf/ |
H A D | cpumap.c | 90 if (attr->max_entries == 0 || attr->key_size != 4 || 97 if (attr->max_entries > NR_CPUS) 107 cmap->cpu_map = bpf_map_area_alloc(cmap->map.max_entries * 520 if (key_cpu >= map->max_entries) 541 if (unlikely(key_cpu >= cmap->map.max_entries)) 584 for (i = 0; i < cmap->map.max_entries; i++) { 607 if (key >= map->max_entries) 629 if (index >= cmap->map.max_entries) { 634 if (index == cmap->map.max_entries - 1) 651 usage += (u64)map->max_entries * sizeo [all...] |
/linux-master/io_uring/ |
H A D | sqpoll.c | 233 static unsigned int io_sq_tw(struct llist_node **retry_list, int max_entries) argument 239 *retry_list = io_handle_tw_list(*retry_list, &count, max_entries); 240 if (count >= max_entries) 242 max_entries -= count; 245 *retry_list = tctx_task_work_run(tctx, max_entries, &count);
|
/linux-master/drivers/nvme/host/ |
H A D | pci.c | 1943 u32 max_entries, len; 1951 max_entries = tmp; 1953 if (dev->ctrl.hmmaxd && dev->ctrl.hmmaxd < max_entries) 1954 max_entries = dev->ctrl.hmmaxd; 1956 descs = dma_alloc_coherent(dev->dev, max_entries * sizeof(*descs), 1961 bufs = kcalloc(max_entries, sizeof(*bufs), GFP_KERNEL); 1965 for (size = 0; size < preferred && i < max_entries; size += len) { 2000 dma_free_coherent(dev->dev, max_entries * sizeof(*descs), descs, 1937 u32 max_entries, len; local
|
/linux-master/arch/powerpc/kexec/ |
H A D | file_load_64.c | 37 u32 max_entries; /* maximum no. of entries */ member in struct:umem_info 452 if ((um_info->idx + cnt) <= um_info->max_entries) 460 um_info->max_entries = (um_info->size / sizeof(u64)); 676 um_info.max_entries = 0;
|
/linux-master/arch/loongarch/include/asm/ |
H A D | module.h | 17 int max_entries; member in struct:mod_section
|
/linux-master/drivers/s390/block/ |
H A D | dasd_eckd.c | 3371 int max_entries; local 3380 max_entries = trkcount * rpt_max; 3387 if (pos++ > max_entries)
|
/linux-master/lib/ |
H A D | fw_table.c | 135 * @max_entries: how many entries can we process? 154 int proc_num, unsigned int max_entries) 180 if (!max_entries || count < max_entries) 203 if (max_entries && count > max_entries) { 205 id, proc->id, count - max_entries, count); 150 acpi_parse_entries_array(char *id, unsigned long table_size, union fw_table_header *table_header, unsigned long max_length, struct acpi_subtable_proc *proc, int proc_num, unsigned int max_entries) argument
|
/linux-master/include/linux/ |
H A D | fw_table.h | 45 int proc_num, unsigned int max_entries);
|
H A D | acpi.h | 226 acpi_tbl_entry_handler handler, unsigned int max_entries); 229 int proc_num, unsigned int max_entries); 232 unsigned int max_entries);
|
/linux-master/drivers/acpi/ |
H A D | tables.c | 230 int proc_num, unsigned int max_entries) 256 0, proc, proc_num, max_entries); 265 void *arg, unsigned int max_entries) 275 max_entries); 291 unsigned int max_entries) 294 NULL, NULL, max_entries); 298 acpi_tbl_entry_handler handler, unsigned int max_entries) 302 handler, max_entries); 228 acpi_table_parse_entries_array( char *id, unsigned long table_size, struct acpi_subtable_proc *proc, int proc_num, unsigned int max_entries) argument 262 __acpi_table_parse_entries( char *id, unsigned long table_size, int entry_id, acpi_tbl_entry_handler handler, acpi_tbl_entry_handler_arg handler_arg, void *arg, unsigned int max_entries) argument 288 acpi_table_parse_entries(char *id, unsigned long table_size, int entry_id, acpi_tbl_entry_handler handler, unsigned int max_entries) argument 297 acpi_table_parse_madt(enum acpi_madt_type id, acpi_tbl_entry_handler handler, unsigned int max_entries) argument
|
/linux-master/drivers/acpi/numa/ |
H A D | srat.c | 484 acpi_tbl_entry_handler handler, unsigned int max_entries) 488 handler, max_entries); 483 acpi_table_parse_srat(enum acpi_srat_type id, acpi_tbl_entry_handler handler, unsigned int max_entries) argument
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | augmented_raw_syscalls.bpf.c | 30 __uint(max_entries, MAX_CPUS); 42 __uint(max_entries, 512); 54 __uint(max_entries, 512); 79 __uint(max_entries, 64); 124 __uint(max_entries, 1);
|
/linux-master/fs/xfs/ |
H A D | xfs_acl.c | 35 int max_entries) 49 if (count > max_entries || XFS_ACL_SIZE(count) != len) { 31 xfs_acl_from_disk( struct xfs_mount *mp, const struct xfs_acl *aclp, int len, int max_entries) argument
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 561 const int max_entries = ggtt_total_entries(ggtt) - first_entry; local 564 if (WARN(num_entries > max_entries, 566 first_entry, num_entries, max_entries)) 567 num_entries = max_entries; 580 const int max_entries = ggtt_total_entries(ggtt) - first_entry; local 582 if (WARN(num_entries > max_entries, 584 first_entry, num_entries, max_entries)) 585 num_entries = max_entries; 730 const int max_entries = ggtt_total_entries(ggtt) - first_entry; local 733 if (WARN(num_entries > max_entries, [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_dmc.c | 776 u32 num_entries, max_entries; local 783 max_entries = PACKAGE_MAX_FW_INFO_ENTRIES; 785 max_entries = PACKAGE_V2_MAX_FW_INFO_ENTRIES; 793 * We should always have space for max_entries, 796 package_size += max_entries * sizeof(struct intel_fw_info); 807 if (WARN_ON(package_header->num_entries > max_entries)) 808 num_entries = max_entries;
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 906 uint32_t tbuf_size, max_entries, num_entries, i; local 916 max_entries = (tbuf_size - sizeof(struct dmub_debugfs_trace_header)) / 922 num_entries = min(num_entries, max_entries);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_maps.c | 86 * inserted due to max_entries limit. 217 * inserted due to max_entries limit. 268 static int helper_fill_hashmap(int max_entries) argument 274 max_entries, &map_opts); 279 for (i = 0; i < max_entries; i++) { 292 int fd, i, max_entries = 10000; local 296 fd = helper_fill_hashmap(max_entries); 304 assert(i == max_entries); 315 assert(i == max_entries); 324 assert(i == max_entries); [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 23 __uint(max_entries, 256);
|
H A D | xdp_synproxy_kern.c | 74 __uint(max_entries, 2); 81 __uint(max_entries, MAX_ALLOWED_PORTS);
|
H A D | verifier_spill_fill.c | 11 __uint(max_entries, 4096);
|
H A D | verifier_spin_lock.c | 15 __uint(max_entries, 1);
|
H A D | verifier_iterating_callbacks.c | 7 __uint(max_entries, 8); 14 __uint(max_entries, 8);
|