/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 61 __u32 i, max_entries = bpf_map__max_entries(src); local 67 for (i = 0; i < max_entries; i++) {
|
H A D | syscall.c | 9 int max_entries; member in struct:args 19 .max_entries = 1024,
|
H A D | bpf_obj_id.c | 89 !ASSERT_EQ(map_infos[i].max_entries, 1, "max_entries") ||
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 300 opts.n = info.max_entries; 340 int max_entries; local 344 max_entries = MAX_ENTRIES_HASH_OF_MAPS; 346 max_entries = MAX_ENTRIES; 348 map_fd = bpf_map_create(type, name, key_size, val_size, max_entries, map_opts);
|
/linux-master/tools/bpf/bpftool/ |
H A D | feature.c | 596 int key_size, value_size, max_entries; local 603 max_entries = 1; 605 fd = bpf_map_create(map_type, NULL, key_size, value_size, max_entries,
|
/linux-master/lib/ |
H A D | test_bpf.c | 15501 progs->map.max_entries = ntests + 1;
|
/linux-master/kernel/bpf/ |
H A D | map_in_map.c | 48 inner_map_meta->max_entries = inner_map->max_entries;
|
/linux-master/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-main.c | 1464 static int omapfb_parse_vram_param(const char *param, int max_entries, argument 1485 if (fbnum >= max_entries)
|
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 730 struct zfcp_adapter *adapter, int max_entries) 759 for (x = 1; x < max_entries && !last; x++) { 809 int chain, max_entries, buf_num, max_bytes; local 815 max_entries = chain ? ZFCP_FC_GPN_FT_MAX_ENT : ZFCP_FC_GPN_FT_ENT_PAGE; 832 ret = zfcp_fc_eval_gpn_ft(fc_req, adapter, max_entries); 729 zfcp_fc_eval_gpn_ft(struct zfcp_fc_req *fc_req, struct zfcp_adapter *adapter, int max_entries) argument
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 3201 acl_cfg.max_entries = DPAA2_ETHSW_PORT_MAX_ACL_ENTRIES;
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hsi.h | 6333 __le16 max_entries; member in struct:hwrm_queue_dscp_qcaps_output
|
/linux-master/kernel/ |
H A D | stacktrace.c | 273 .max_entries = size, 297 .max_entries = size, 321 .max_entries = size, 347 .max_entries = size, 367 .max_entries = size,
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | tailcall_poke.c | 10 __uint(max_entries, 1);
|
H A D | test_sockmap_listen.c | 12 __uint(max_entries, 2); 19 __uint(max_entries, 2); 26 __uint(max_entries, 2); 33 __uint(max_entries, 2); 40 __uint(max_entries, 1);
|
H A D | cb_refs.c | 15 __uint(max_entries, 16);
|
/linux-master/drivers/net/netdevsim/ |
H A D | bpf.c | 492 if (offmap->map.max_entries > NSIM_BPF_MAX_KEYS)
|
/linux-master/kernel/locking/ |
H A D | lockdep.c | 564 int max_entries; local 570 max_entries = MAX_STACK_TRACE_ENTRIES - nr_stack_trace_entries - 573 if (max_entries <= 0) { 582 trace->nr_entries = stack_trace_save(trace->entries, max_entries, 3);
|
/linux-master/include/linux/ceph/ |
H A D | ceph_fs.h | 428 __le32 max_entries; /* how many dentries to grab */ member in struct:ceph_mds_request_args::__anon276
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | kwork_top.bpf.c | 61 __uint(max_entries, MAX_ENTRIES); 68 __uint(max_entries, MAX_ENTRIES); 75 __uint(max_entries, MAX_ENTRIES); 82 __uint(max_entries, MAX_NR_CPUS);
|
/linux-master/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 292 * if (index >= array->map.max_entries) 295 EMIT(PPC_RAW_LWZ(bpf_to_ppc(TMP_REG_1), b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)));
|
H A D | bpf_jit_comp32.c | 233 * if (index >= array->map.max_entries) 236 EMIT(PPC_RAW_LWZ(_R0, b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)));
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | init.c | 318 u32 rcvtids, max_entries; local 392 max_entries = rcd->rcv_array_groups * 394 rcvtids = ((max_entries * hfi1_rcvarr_split) / 100); 1816 u32 max_entries, egrtop, alloced_bytes = 0; local 1938 max_entries = rcd->rcv_array_groups * dd->rcv_entries.group_size; 1940 rcd->expected_count = max_entries - egrtop;
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_std_types_device.c | 321 int max_entries; local 338 max_entries = uverbs_attr_ptr_get_array_size( 341 if (max_entries <= 0) 342 return max_entries ?: -EINVAL; 349 entries = uverbs_kcalloc(attrs, max_entries, sizeof(*entries)); 353 num_entries = rdma_query_gid_table(ib_dev, entries, max_entries);
|
H A D | cache.c | 1245 * rdma_query_gid_table - Reads GID table entries of all the ports of a device up to max_entries. 1248 * @max_entries: Maximum number of entries that can be returned. 1249 * Entries array must be allocated to hold max_entries number of entries. 1255 size_t max_entries) 1270 if (num_entries >= max_entries) { 1253 rdma_query_gid_table(struct ib_device *device, struct ib_uverbs_gid_entry *entries, size_t max_entries) argument
|
/linux-master/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 1635 uint32_t max_entries = 3 - 1; local 1647 max_entries += ramp->num_entries; 1653 rgb_user, coeff, CHANNEL_NAME_RED, max_entries); 1655 rgb_user, coeff, CHANNEL_NAME_GREEN, max_entries); 1657 rgb_user, coeff, CHANNEL_NAME_BLUE, max_entries);
|